Browse link at top
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-07-10 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_properties.php3, feature 439394 (browse link at top of page)
|
||||||
|
|
||||||
2001-07-09 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
2001-07-09 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
* lib.inc.php3, lines 865-867; main.php3, line 78; left.php3, line 55;
|
* lib.inc.php3, lines 865-867; main.php3, line 78; left.php3, line 55;
|
||||||
left.js, line 116: fixed some bugs (including #439553) when
|
left.js, line 116: fixed some bugs (including #439553) when
|
||||||
|
@@ -12,12 +12,23 @@ if (!isset($message)) {
|
|||||||
}
|
}
|
||||||
unset($sql_query);
|
unset($sql_query);
|
||||||
|
|
||||||
|
/*
|
||||||
/**
|
|
||||||
* Selects the db that will be used during this script execution
|
* Selects the db that will be used during this script execution
|
||||||
*/
|
*/
|
||||||
mysql_select_db($db);
|
mysql_select_db($db);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set parameters for links
|
||||||
|
*/
|
||||||
|
$query="server=$server&lang=$lang&db=$db&table=$table&goto=tbl_properties.php3";
|
||||||
|
|
||||||
|
?>
|
||||||
|
<!-- first browse link -->
|
||||||
|
<p>
|
||||||
|
<a href="sql.php3?sql_query=<?php echo urlencode("SELECT * FROM $table"); ?>&pos=0&<?php echo $query; ?>">
|
||||||
|
<b><?php echo $strBrowse; ?></b></a>
|
||||||
|
</p>
|
||||||
|
<?php
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets table informations
|
* Gets table informations
|
||||||
@@ -43,7 +54,8 @@ if (MYSQL_MAJOR_VERSION == "3.23" && intval(MYSQL_MINOR_VERSION) >= 3) {
|
|||||||
if (!empty($showtable['Comment'])) {
|
if (!empty($showtable['Comment'])) {
|
||||||
$show_comment = $showtable['Comment'];
|
$show_comment = $showtable['Comment'];
|
||||||
?>
|
?>
|
||||||
<!-- Table comment -->
|
|
||||||
|
<!-- Table comment -->
|
||||||
<p><i>
|
<p><i>
|
||||||
<?php echo $show_comment . "\n"; ?>
|
<?php echo $show_comment . "\n"; ?>
|
||||||
</i></p>
|
</i></p>
|
||||||
@@ -98,11 +110,11 @@ echo "\n";
|
|||||||
$i = 0;
|
$i = 0;
|
||||||
$aryFields = array();
|
$aryFields = array();
|
||||||
|
|
||||||
|
$query = "server=$server&lang=$lang&db=$db&table=$table&goto=tbl_properties.php3";
|
||||||
|
|
||||||
while ($row = mysql_fetch_array($result)) {
|
while ($row = mysql_fetch_array($result)) {
|
||||||
$i++;
|
$i++;
|
||||||
$bgcolor = ($i % 2) ? $cfgBgcolorOne : $cfgBgcolorTwo;
|
$bgcolor = ($i % 2) ? $cfgBgcolorOne : $cfgBgcolorTwo;
|
||||||
$query = "server=$server&lang=$lang&db=$db&table=$table&goto=tbl_properties.php3";
|
|
||||||
|
|
||||||
$aryFields[] = $row['Field'];
|
$aryFields[] = $row['Field'];
|
||||||
|
|
||||||
if (get_magic_quotes_runtime()) {
|
if (get_magic_quotes_runtime()) {
|
||||||
@@ -166,7 +178,7 @@ while ($row = mysql_fetch_array($result)) {
|
|||||||
?>
|
?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
} // (end while)
|
||||||
echo "\n";
|
echo "\n";
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
|
Reference in New Issue
Block a user