if (strlen($_GET["db"])) {
echo "<p class='error'>" . lang('Invalid database.') . "</p>\n";
} else {
- echo '<a href="' . htmlspecialchars($SELF) . 'database=">' . lang('Create new database') . '</a>';
+ echo '<p><a href="' . htmlspecialchars($SELF) . 'database=">' . lang('Create new database') . '</a></p>';
}
page_footer("db");
exit;
}
?>
-<form action="" method="post"><div>
+<form action="" method="post"><p>
<input name="name" value="<?php echo htmlspecialchars($name); ?>" maxlength="64" />
<select name="collation"><option value="">(<?php echo lang('collation'); ?>)</option><?php echo optionlist(collations(), $collate, "not_vals"); ?></select>
<input type="hidden" name="token" value="<?php echo $token; ?>" />
<input type="submit" value="<?php echo lang('Save'); ?>" />
<?php if (strlen($_GET["db"])) { ?><input type="submit" name="drop" value="<?php echo lang('Drop'); ?>" /><?php } ?>
-</div></form>
+</p></form>
A { color: Blue; }
A:visited { color: Navy; }
H1 { font-size: 150%; margin: 0; }
-H2 { font-size: 150%; margin-top: 0; }
+H2 { font-size: 150%; margin: 0; }
FIELDSET { float: left; padding: .5em; margin: 0; }
-PRE { margin: 0; margin: .12em 0; }
-TABLE { margin-bottom: 1em; }
+PRE { margin: .12em 0; }
+TABLE { margin-top: 1em; }
.error { color: Red; }
.message { color: Green; }
#menu { position: absolute; top: 8px; left: 8px; width: 15em; overflow: auto; white-space: nowrap; }
}
$error = $mysql->error;
}
-
page_header(lang('Indexes') . ': ' . htmlspecialchars($_GET["indexes"]));
if ($_POST) {
echo "<fieldset><legend>" . lang('Action') . "</legend><div><input type='submit' value='" . lang('Select') . "' /></div></fieldset>\n";
echo "</form>\n";
- echo "<div style='clear: left; margin-bottom: 1em;'></div>\n";
+ echo "<div style='clear: left;'></div>\n";
$result = $mysql->query("SELECT SQL_CALC_FOUND_ROWS " . implode(", ", array_map('idf_escape', $columns)) . " FROM " . idf_escape($_GET["select"]) . ($where ? " WHERE " . implode(" AND ", $where) : "") . ($order ? " ORDER BY " . implode(", ", $order) : "") . (strlen($limit) ? " LIMIT " . intval($limit) . " OFFSET " . ($limit * $_GET["page"]) : ""));
if (!$result->num_rows) {