X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/5c7b972ed26570d2bf4e092d937b81578e84c124..0da9e6e7d82b2cb758626d1ee4eb6b3297d667b1:/index.php diff --git a/index.php b/index.php index 96cfd4e..ec831b0 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 = " "; + $first = " "; } else { $prev = ' '; // we're on page one, don't print previous link $first = ' '; // nor the first page link @@ -80,10 +86,10 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; - $next = " [Next]"; - $last = "[Last Page] "; + $next = " "; + $last = " "; } else { $next = ' '; // we're on the last page, don't print next link $last = ' '; // nor the last page link @@ -92,6 +98,12 @@ $_SESSION['marked'] = serialize($marked); echo ''; + echo ''; + echo ''; + echo ''; echo "
---|