uid; $MyGold = mysqli_query( $database->dblink, "SELECT plus FROM ".TB_PREFIX."users WHERE id='".$uid."'" ); $golds = mysqli_fetch_array($MyGold); // ======================== PAGINATION ======================== $s = isset($_GET['s']) ? (int)$_GET['s'] : 0; $t = isset($_GET['t']) ? (int)$_GET['t'] : 0; $o = isset($_GET['o']) ? (int)$_GET['o'] : 0; // ======================== URL BUILD HELP ======================== $queryBase = (!empty($_GET['t'])) ? 't='.$_GET['t'].'&' : ''; ?>
= $i) { $row = $message->noticearray[$i - 1]; $type = (!empty($_GET['t']) && $_GET['t'] == 5) ? $row['archive'] : $row['ntype']; if ($type == 23) $type = 22; echo ""; // checkbox echo ""; echo ""; // ================= DATE ================= echo ""; echo ""; } $name++; } // ======================== EMPTY STATE ======================== if ($total == 0) { echo ""; } ?>
Subject: Sent
strtotime("NOW")) { ?> plus) { ?> noticearray); if (!isset($_GET['s']) && $total <= 10) { echo "«»"; } elseif (!isset($_GET['s']) && $total > 10) { echo "«»"; } elseif (isset($_GET['s']) && $total > $s) { $prev = $s - 10; $next = $s + 10; if ($total > $next && $prev >= 0 && $s != 0) { echo "«"; echo "»"; } elseif ($total > $next) { echo "«»"; } elseif ($total > 10) { echo "«»"; } } ?>
"; // ================= ICON LOGIC ================= if ($type >= 15 && $type <= 17) { $iconType = $type - 11; echo "\"".$noticeClass[$iconType]."\""; } elseif ($type >= 18 && $type <= 22) { echo "\"".$noticeClass[$type]."\""; } else { echo "\"".$noticeClass[$type]."\""; } // ================= SUBJECT ================= echo "
".$row['topic'].""; if ($row['viewed'] == 0) { echo " (new)"; } $date = $generator->procMtime($row['time']); echo "
".$date[0]." ".$date[1]."
There are no reports available.