X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/ebed93329759e2584eee3c4e2aa1deddc1c32bf8..8b2ac33e19fad0a329f41a30aef6cb1c421d37c8:/index.php?ds=inline diff --git a/index.php b/index.php index 1dc0606..feece41 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,15 +25,19 @@ echo $util->getHeader(); echo $util->getHeading(); - echo "{$util->getUser()} - Logout"; + echo "
+ {$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 ""; echo "
"; - echo ""; + echo ""; + echo ""; echo ""; $mailInfo = array(); @@ -58,7 +62,7 @@ $subject = $row->subject; echo "". - ""; + ""; $i++; } $_SESSION['mailInfo'] = $mailInfo; @@ -70,9 +74,9 @@ if ($pageNum > 1) { $page = $pageNum - 1; $prev = " [Prev]"; + class='whitefooter'>\"Previous\" "; $first = " [First Page] "; + class='whitefooter'>\"First\" "; } else { $prev = ' '; // we're on page one, don't print previous link $first = ' '; // nor the first page link @@ -81,9 +85,9 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; $next = " [Next]"; - $last = "[Last Page] "; + class='whitefooter'>\"Next\" "; + $last = " \"Last\" "; } else { $next = ' '; // we're on the last page, don't print next link $last = ' '; // nor the last page link
ReceivedCauseSenderRecipientSubjectActionSenderRecipientSubjectAction
$received". "$quaratinefor$sender$recipient$subject$action$checkbox
$subject$action$checkbox