added drop table link at the top
This commit is contained in:
@@ -110,7 +110,9 @@ if (MYSQL_INT_VERSION >= 32303) {
|
|||||||
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
|
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
|
||||||
<b><?php echo $strInsert; ?></b></a> ]
|
<b><?php echo $strInsert; ?></b></a> ]
|
||||||
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenEmptied); ?>">
|
[ <a href="sql.php3?<?php echo $url_query; ?>&sql_query=<?php echo urlencode('DELETE FROM ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenEmptied); ?>">
|
||||||
<b><?php echo $strEmpty; ?></b></a> ]
|
<b><?php echo $strEmpty; ?></b></a> ]
|
||||||
|
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=true&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenDropped); ?>">
|
||||||
|
<b><?php echo $strDrop; ?></b></a> ]
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
} else {
|
} else {
|
||||||
@@ -122,7 +124,9 @@ if (MYSQL_INT_VERSION >= 32303) {
|
|||||||
[ <b><?php echo $strSelect; ?></b> ]
|
[ <b><?php echo $strSelect; ?></b> ]
|
||||||
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
|
[ <a href="tbl_change.php3?<?php echo $url_query; ?>">
|
||||||
<b><?php echo $strInsert; ?></b></a> ]
|
<b><?php echo $strInsert; ?></b></a> ]
|
||||||
[ <b><?php echo $strEmpty; ?></b> ]
|
[ <b><?php echo $strEmpty; ?></b> ]
|
||||||
|
[ <a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=true&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenDropped); ?>">
|
||||||
|
<b><?php echo $strDrop; ?></b></a> ]
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1003,8 +1007,8 @@ else { // MySQL < 3.23
|
|||||||
<!-- Deletes the table -->
|
<!-- Deletes the table -->
|
||||||
<li>
|
<li>
|
||||||
<a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=true&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenDropped); ?>">
|
<a href="sql.php3?<?php echo ereg_replace('tbl_properties.php3$', 'db_details.php3', $url_query); ?>&back=tbl_properties.php3&reload=true&sql_query=<?php echo urlencode('DROP TABLE ' . backquote($table)); ?>&zero_rows=<?php echo urlencode($strTable . ' ' . htmlspecialchars($table) . ' ' . $strHasBeenDropped); ?>">
|
||||||
<?php echo $strDropTable . ' ' . htmlspecialchars($table); ?></a>
|
<?php echo $strDropTable . ' ' . htmlspecialchars($table); ?></a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user