X-Git-Url: http://andersk.mit.edu/gitweb/sql-web.git/blobdiff_plain/9c70b48184fc9dc34b9725daa6b3b050fd49e6d0..53f8750e5b66b6986b35b8fc38fbb1c2ab17095f:/tpl/main.php diff --git a/tpl/main.php b/tpl/main.php index 2c019d4..1929731 100644 --- a/tpl/main.php +++ b/tpl/main.php @@ -4,9 +4,9 @@ include 'head.php'; if (isset($i_dropask)) { $dropdbs = array_keys($i_dropask); - echo '
'; + echo ''; foreach($dropdbs as $dbname) { - $msg[] = 'Are you sure you want to drop `'.$dbname.'`? '; + $msg1[] = 'Are you sure you want to drop `'.$dbname.'`? '; } echo '
'; } @@ -14,17 +14,20 @@ if (isset($i_dropask)) { ?>

Databases

-
- - + + +
- +getBytes(); $usage = $bytes['nBytes']; $total = $bytes['nBytesHard']; + if (!count($myDBs)) { + echo ''; + } else foreach($myDBs as $db) { echo '
You have no databases. Add one below.
'; if ($total>0) @@ -50,11 +53,14 @@ if (isset($i_dropask)) {
-
-

-

+ +

+

+

Manage Data

+

One interface we recommend for managing SQL data is phpMyAdmin. Feel free to use it after you've created your databases.

+