X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/60348de6a40d0788d4e2139261e3efacbb4c60c7..dbfceb07227c009a2f411cdb2d32b0311773759e:/index.php diff --git a/index.php b/index.php index 338432c..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();