X-Git-Url: http://git.datanom.net/qtadmin.git/blobdiff_plain/b95d1cdbc4fe25e3f0df3b94e990f6af7b330c63..6072c9051f0f9b38ac96ac9ea591710134c513d3:/index.php
diff --git a/index.php b/index.php
index 47c88ba..338432c 100644
--- a/index.php
+++ b/index.php
@@ -26,7 +26,7 @@
echo $util->getHeading();
echo "{$util->getUser()}
- Logout";
+ Logout";
$which = ($util->isAdmin() == true) ? 'all' : $util->getUser();
$rows = $DB->getQMails($offset, $rowsPerPage, $which);
$numrows = $DB->numRows();
@@ -34,6 +34,8 @@
echo "
";
echo "Received | Cause | ";
echo "Sender | Recipient | Subject | Action | ";
+ echo " | ";
echo "
";
$mailInfo = array();
@@ -46,10 +48,11 @@
$id = $row->mail_id;
$mailInfo[$id] = serialize($row);
$url = urlencode($id);
- $recipient = "{$row->recipient}";
- $action = "";
+ $checkbox = "";
+ $recipient = "{$row->recipient}";
+ $action = "";
$action .= "
";
- $action .= " ";
+ $action .= " ";
$action .= "
";
$sender = $row->sender;
$received = strftime("%c", $row->time_iso);
@@ -57,7 +60,7 @@
$subject = $row->subject;
echo "$received | ".
"$quaratinefor | $sender | $recipient | ".
- "$subject | $action | ";
+ "$subject | $action | $checkbox | ";
$i++;
}
$_SESSION['mailInfo'] = $mailInfo;
@@ -68,10 +71,10 @@
if ($pageNum > 1) {
$page = $pageNum - 1;
- $prev = " ";
- $first = " ";
+ $prev = " ";
+ $first = " ";
} else {
$prev = ' '; // we're on page one, don't print previous link
$first = ' '; // nor the first page link
@@ -79,10 +82,10 @@
if ($pageNum < $maxPage) {
$page = $pageNum + 1;
- $next = " ";
- $last = " ";
+ $next = " ";
+ $last = " ";
} else {
$next = ' '; // we're on the last page, don't print next link
$last = ' '; // nor the last page link
@@ -91,6 +94,10 @@
$_SESSION['marked'] = serialize($marked);
echo '';
+ echo '';
+ echo '';
echo "$first$prev Showing page $pageNum of
$maxPage pages $next$last
";