X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/61fd79d76b35cc957a0fbe75416fed8c72bad710..5ee144945eda9e1688bf8af140e7fee937380eaf:/index.php diff --git a/index.php b/index.php index 42e4130..84f6782 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,17 +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 "Received | Cause | "; echo "Sender | Recipient | Subject | Action | "; - echo ""; + echo " | "; echo " | $received | ". "$quaratinefor | $sender | $recipient | ". - "$subject | $action | $checkbox | "; + "$subject | $action | $checkbox | "; $i++; } $_SESSION['mailInfo'] = $mailInfo; @@ -71,9 +73,9 @@ if ($pageNum > 1) { $page = $pageNum - 1; - $prev = " [ | "; - $first = " "; + $first = " "; } else { $prev = ' '; // we're on page one, don't print previous link @@ -82,9 +84,9 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; - $next = " | "; - $last = " "; + $last = " "; } else { $next = ' '; // we're on the last page, don't print next link
---|