getUserField($uid, 'username', 0); } return $cache[$uid]; } ?>

Messages

access == ADMIN && ADMIN_RECEIVE_SUPPORT_MESSAGES); $multihunter_messages = ($session->access == MULTIHUNTER); $totalMessages = count($message->sent1); for ($i = (1 + $s); $i <= (10 + $s); $i++) { if ($totalMessages >= $i) { $msg = $message->sent1[$i - 1]; // row class if ($msg['target'] == 0) { echo ""; } else { echo ""; } // ====================================================== // SENT TYPE (IMPORTANT: păstrăm bug original inbox1) // ====================================================== $sent_as_text = ''; if ( !$support_messages || ($support_messages && $message->inbox1[$i - 1]['target'] != 1) || ($multihunter_messages && $message->inbox1[$i - 1]['target'] != 5) ) { $sent_as_text = ""; } else if ($support_messages) { $sent_as_text = 'S'; } else if ($multihunter_messages) { $sent_as_text = 'M'; } echo ""; // ====================================================== // SUBJECT // ====================================================== echo ""; // ====================================================== // RECIPIENT (cached) // ====================================================== $targetId = (int)$msg['target']; $username = getCachedUsername($targetId, $database, $userCache); $date = $generator->procMtime($msg['time']); echo ""; } $name++; } // ====================================================== // EMPTY STATE // ====================================================== if ($totalMessages == 0) { echo ""; } ?>
Subject Recipient Sent
uid; $MyGold = mysqli_query( $database->dblink, "SELECT plus FROM " . TB_PREFIX . "users WHERE id='$userId' LIMIT 1" ) or die(mysqli_error($database->dblink)); $golds = mysqli_fetch_array($MyGold); $date2 = strtotime("NOW"); if ($golds['plus'] > $date2) { ?> sent1); 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 "«»"; } } ?>
" . $sent_as_text . " " . $msg['topic'] . ""; if ($msg['viewed'] == 0) { echo " (unread)"; } echo " " . $username . " " . $date[0] . " " . $date[1] . "
There are no sent messages available.