version 1.26, 2003/04/19 09:30:29 |
version 1.27, 2003/04/20 21:41:18 |
|
|
* http://www.platon.sk/projects/phpMyEdit/ |
* http://www.platon.sk/projects/phpMyEdit/ |
*/ |
*/ |
|
|
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.25 2003/04/07 00:35:00 nepto Exp $ */ |
/* $Platon: phpMyEdit/phpMyEditSetup.php,v 1.26 2003/04/19 09:30:29 nepto Exp $ */ |
|
|
?> |
?> |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
Line 126 if ((!$dbl) or empty($submit)) { |
|
Line 126 if ((!$dbl) or empty($submit)) { |
|
} else if (! isset($db)) { |
} else if (! isset($db)) { |
$dbs = @mysql_list_dbs($dbl); |
$dbs = @mysql_list_dbs($dbl); |
$num_dbs = @mysql_num_rows($dbs); |
$num_dbs = @mysql_num_rows($dbs); |
echo '<h1>Please choose a database</h1> |
echo '<h1>Please select a database</h1> |
<form action="'.htmlspecialchars($self).'" method="POST"> |
<form action="'.htmlspecialchars($self).'" method="POST"> |
<input type="hidden" name="hn" value="'.htmlspecialchars($hn).'"> |
<input type="hidden" name="hn" value="'.htmlspecialchars($hn).'"> |
<input type="hidden" name="un" value="'.htmlspecialchars($un).'"> |
<input type="hidden" name="un" value="'.htmlspecialchars($un).'"> |
Line 143 if ((!$dbl) or empty($submit)) { |
|
Line 143 if ((!$dbl) or empty($submit)) { |
|
<input type="submit" name="cancel" value="Cancel"> |
<input type="submit" name="cancel" value="Cancel"> |
</form>'."\n"; |
</form>'."\n"; |
} else if (!isset($tb)) { |
} else if (!isset($tb)) { |
echo '<h1>Please choose a table from database: '.htmlspecialchars($db).'</h1> |
echo '<h1>Please select a table from database: '.htmlspecialchars($db).'</h1> |
<form action="'.htmlspecialchars($self).'" method="POST"> |
<form action="'.htmlspecialchars($self).'" method="POST"> |
<input type="hidden" name="hn" value="'.htmlspecialchars($hn).'"> |
<input type="hidden" name="hn" value="'.htmlspecialchars($hn).'"> |
<input type="hidden" name="un" value="'.htmlspecialchars($un).'"> |
<input type="hidden" name="un" value="'.htmlspecialchars($un).'"> |
Line 163 if ((!$dbl) or empty($submit)) { |
|
Line 163 if ((!$dbl) or empty($submit)) { |
|
<input type="submit" name="cancel" value="Cancel"> |
<input type="submit" name="cancel" value="Cancel"> |
</form>'."\n"; |
</form>'."\n"; |
} else if (!isset($id)) { |
} else if (!isset($id)) { |
echo ' <h1>Please choose an identifier from table: '.htmlspecialchars($tb).'</h1> |
echo ' <h1>Please select an identifier from table: '.htmlspecialchars($tb).'</h1> |
<p> |
<p> |
This field will be used in change, view, copy and delete operations.<br> |
This field will be used in change, view, copy and delete operations.<br> |
The field should be numeric and must uniquely identify a record. |
The field should be numeric and must uniquely identify a record. |