]> andersk Git - sql-web.git/blame - main.php
new templates
[sql-web.git] / main.php
CommitLineData
dc478ec8
JP
1<?php
2
3require_once('mitsql.cfg.php');
4require_once('mitsql.lib.php');
5
6if (!isLoggedIn()) redirect('index');
7
377015e0
JP
8$User = new User($Login->getUserID());
9
10if (isPost()) {
11 if (isset($i_newdb)) {
12 if ($User->addDB($User->getUsername().DELIMETER.$i_newdb)==false) {
13 $err[] = mysql_error();
14 }
15 }
16}
17
dc478ec8
JP
18include 'tpl/main.php';
19
20?>
This page took 0.159476 seconds and 5 git commands to generate.