require_once('mitsql.cfg.php');
require_once('mitsql.lib.php');
+include 'tpl/head.php';
+
function getManagedDBs($owner=null) {
- $databases = array_keys(fetchRows(DBSelect('SHOW DATABASES'),'Database'));
+ $databases = array_keys(fetchRows(DBSelect('SELECT Name FROM DB WHERE bEnabled=1'),'Name'));
$owners = array();
foreach($databases as $database) {
if (stristr($database, DELIMETER)) {
return $owners;
}
+/*
$g = getManagedDBs();
print_r($g);
-?>
\ No newline at end of file
+$User = new User($Login->getUserId());
+print_r($User->getDBList());
+*/
+
+phpinfo();
+
+//checkQuotas();
+
+include 'tpl/foot.php';
+?>