X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/850b8d6ac565cb947b39377bd0c4b39395c7ddca..f1c0988bd7f213a40ce3cfcf6d7522bd2fd12afa:/index.php?ds=inline diff --git a/index.php b/index.php index f0a8936..ec831b0 100644 --- a/index.php +++ b/index.php @@ -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 ""; - echo "
"; + echo ""; echo ""; echo ""; @@ -50,10 +52,12 @@ $url = urlencode($id); $checkbox = ""; $recipient = "{$row->recipient}"; - $action = ""; + $action = ""; $action .= "\"Release\""; - $action .= " "; + $action .= " "; $action .= "\"Delete\""; + $action .= " "; + $action .= "\"Block"; $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 = " \"Previous\" "; - $first = " \"First\" "; } else { $prev = ' '; // we're on page one, don't print previous link @@ -82,9 +86,9 @@ if ($pageNum < $maxPage) { $page = $pageNum + 1; - $next = " \"Next\" "; - $last = " \"Last\" "; } else { $next = ' '; // we're on the last page, don't print next link @@ -98,6 +102,8 @@ onclick="javascript: checkAction(\'release\');"/>'; echo ''; + echo ''; echo "

$first$prev Showing page $pageNum of $maxPage pages $next$last

";
ReceivedCauseReceivedCauseSenderRecipientSubjectAction