X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/60348de6a40d0788d4e2139261e3efacbb4c60c7..25420105abd84bf5e0f934f63b0552bbc14e0d4a:/index.php diff --git a/index.php b/index.php index 338432c..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,14 +25,16 @@ 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 ""; @@ -50,10 +52,12 @@ $url = urlencode($id); $checkbox = ""; $recipient = "{$row->recipient}"; - $action = ""; + $action = ""; $action .= ""; - $action .= " "; + $action .= " "; $action .= ""; + $action .= " "; + $action .= ""; $sender = $row->sender; $received = strftime("%c", $row->time_iso); $quaratinefor = $util->convertContent($row->quaratinefor); @@ -71,9 +75,9 @@ if ($pageNum > 1) { $page = $pageNum - 1; - $prev = " "; - $first = " "; } else { $prev = ' '; // we're on page one, don't print previous link @@ -82,9 +86,9 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; - $next = " "; - $last = " "; } else { $next = ' '; // we're on the last page, don't print next link |
---|