X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/537a267d531f17e8919c36a8ba86b8346bc87518..15a3cf0ab9aa9b9896f25241d1e5d7971e95a987:/index.php diff --git a/index.php b/index.php index 29ad11e..54b82d8 100644 --- a/index.php +++ b/index.php @@ -4,7 +4,7 @@ require_once $CFG->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,15 +25,19 @@ 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(); echo "$numrows quarantined mail(s)"; echo "
Received | Cause | "; - echo "Sender | Recipient | Subject | Action | "; + echo " | Received | Cause | "; + echo "Sender | Recipient | Subject | Action | "; + echo ""; echo " | $received | ". "$quaratinefor | $sender | $recipient | ". - "$subject | $action | $checkbox | "; + "$subject | $action | $checkbox | "; $i++; } $_SESSION['mailInfo'] = $mailInfo; @@ -69,10 +75,10 @@ if ($pageNum > 1) { $page = $pageNum - 1; - $prev = " [Prev]"; - $first = " [First Page] "; + $prev = "
---|