} $message['rid'] = $rid; //改写通知是否已读状态 $messageServer->markMessage($winduid, $rid); $message['content'] = messageReplace($message['content']); $notReadCount = (int) $messageServer->countNoticesNotRead($winduid); } if ($smstype && in_array($action, array('info', 'next', 'previous'))) { $navtype = $messageServer->getReverseConst($smstype); $navtype = explode('_', $navtype); $nav[$navtype[1]] = 'class = current'; } if (empty($action) || in_array($action, array('unread', 'system', 'postcate', 'active', 'apps', 'comment', 'guestbook'))) { if ($action != 'unread') { $notReadCount = (int) $messageServer->countNoticesNotRead($winduid); list($today, $yesterday, $tTimes, $yTimes, $mTimes) = getSubListInfo($noticeList); } $pages = numofpage($noticeCount, $page, $pageCount, "{$normalUrl}&action={$action}&"); } elseif ($action == 'checkover') { S::gp(array('rid', 'dir'), 'GP'); if ($dir == 'previous') { $message = $messageServer->getUpNotice($winduid, $rid, $smstype); } else { $message = $messageServer->getDownNotice($winduid, $rid, $smstype); } if ($message) { echo "success\t"; } else { echo "over\t"; } ajax_footer();
S::gp(array('rid', 'dir'), 'GP'); if ($dir == 'up') { $message = $messageServer->getGroupUpMessage($userId, $rid); } else { $message = $messageServer->getGroupDownMessage($userId, $rid); } if ($message) { echo "success\t"; } else { echo "over\t"; } ajax_footer(); } $groups = $messageServer->getBlackColony($userId); if (empty($action) || in_array($action, array('all', 'self', 'other'))) { list($today, $yesterday, $tTimes, $yTimes, $mTimes) = getSubListInfo($groupsmsList); $pages = numofpage($groupsmsCount, $page, $pageCount, $url); } if ($subtype == 'groupsms') { $messageServer->resetStatistics(array($userId), 'groupsms_num'); } !defined('AJAX') && (include_once R_P . 'actions/message/ms_header.php'); require messageEot($subtype); if (defined('AJAX')) { ajax_footer(); } else { pwOutPut(); } function getMessageIconTips($value) { global $messageServer, $winduid, $groups;