include 'head.php';
+if (isset($i_dropask)) {
+ $dropdbs = array_keys($i_dropask);
+ echo '<form method="post">';
+ foreach($dropdbs as $dbname) {
+ $msg[] = 'Are you sure you want to drop `'.$dbname.'`? <input style="position:absolute; right:20px;" type="submit" name="drop['.$dbname.']" value="Yes">';
+ }
+ echo '</form>';
+}
+
?>
<h2>Databases</h2>
+<form method="post">
<?php printErrors($err); ?>
<?php printMsgs($msg); ?>
-
-<? if (!DEVEL && 0) { ?>
-<p>
-Thanks for signing up. This interface is nearly ready. We will e-mail you as soon as this portion of the site is ready.
-<br />
-<br />
-- The MIT SQL Team
-</p>
-<? } else { ?>
+</form>
<table width="100%">
<form method="post">
else $percentage = 0;
echo printBar($percentage, $db['Name'], sprintSize($db['nBytes']));
echo '</td><td>';
- echo '<input type="submit" name="drop[',$db['Name'],']" value="drop">';
+ echo '<input type="submit" name="dropask[',$db['Name'],']" value="drop">';
echo '</td></tr>';
}
if ($total>0)
<input type=submit value="Add"></p>
</form>
-<? } ?>
<?php
include 'foot.php';