archived1); for ($i = (1 + $s); $i <= (10 + $s); $i++) { if ($totalMessages >= $i) { // ATENȚIE: păstrăm exact structura originală (archived vs archived1) $msg = $message->archived[$i - 1]; // row class (logică originală) if ($msg['owner'] == 0) { echo ""; } else { echo ""; } // ====================================================== // CHECKBOX // ====================================================== echo ""; // ====================================================== // SUBJECT // ====================================================== echo ""; // ====================================================== // USERNAME (cached) // ====================================================== $ownerId = (int)$msg['owner']; if (!isset($userCache[$ownerId])) { $userCache[$ownerId] = $database->getUserField($ownerId, 'username', 0); } $username = $userCache[$ownerId]; // ====================================================== // DATE // ====================================================== $date = $generator->procMtime($msg['time']); echo ""; } $name++; } // ====================================================== // EMPTY STATE // ====================================================== if ($totalMessages == 0) { echo ""; } ?>
archived1); $s = isset($_GET['s']) ? (int)$_GET['s'] : 0; $tParam = !empty($_GET['t']) ? 't=' . $_GET['t'] . '&' : ''; if (!isset($_GET['s']) && $total < 10) { echo "«»"; } elseif (!isset($_GET['s']) && $total > 10) { echo "«»"; } elseif (isset($_GET['s']) && $total > $_GET['s']) { if ($total > ($_GET['s'] + 10) && $_GET['s'] - 10 < $total && $_GET['s'] != 0) { echo "« »"; } elseif ($total > $_GET['s'] + 10) { echo "«»"; } elseif ($total > 10) { echo "«»"; } } ?>
" . tz_expand_report($msg['topic']) . ""; if ($msg['viewed'] == 0) { echo " (new)"; } echo " " . $username . " " . $date[0] . " " . $date[1] . "
There are no messages available in the archive.