X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/f60d3406e610e1028dd0552a6c727df3db4523c4..67d5e2dd3c347e7dccf4429fa204e9b9d76b2aed:/index.php diff --git a/index.php b/index.php index 2714d9a..a7ab837 100644 --- a/index.php +++ b/index.php @@ -1,10 +1,10 @@ root . 'lib/db_factory.php'; require_once $CFG->root . 'lib/utils.inc.php'; - $util = Utils::getInstance(); + $util = new Utils; unset($_SESSION['mailInfo']); if ($util->isLoggedIn()) { @@ -25,8 +25,10 @@ echo $util->getHeader(); echo $util->getHeading(); - echo "{$util->getUser()} - Logout"; + echo "
+ {$util->getUser()}Logout"; $which = ($util->isAdmin() == true) ? 'all' : $util->getUser(); $rows = $DB->getQMails($offset, $rowsPerPage, $which); $numrows = $DB->numRows(); @@ -34,8 +36,8 @@ echo ""; echo "
"; echo ""; - echo ""; + echo ""; echo ""; $mailInfo = array();
ReceivedCauseSenderRecipientSubjectAction