X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/f60d3406e610e1028dd0552a6c727df3db4523c4..dbfceb07227c009a2f411cdb2d32b0311773759e:/index.php diff --git a/index.php b/index.php index 2714d9a..00e9a8b 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 "
+ Rows per page
{$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