示例#1
0
 function sc_forumjump()
 {
     return forumjump();
 }
示例#2
0
    ';
    foreach ($options as $key => $val) {
        $text .= '<li>' . $val . '</li>';
    }
    $jumpList = $forum->forumGetAllowed();
    $text .= "<li class='divider'></li>";
    foreach ($jumpList as $key => $val) {
        $text .= '<li><a href ="' . e107::url('forum', 'forum', $val) . '">' . LAN_FORUM_1017 . " " . $val['forum_name'] . '</a></li>';
    }
    $text .= '
    </ul>
    </div>';
    return $text;
}
$tVars->POLL = vartrue($pollstr);
$tVars->FORUMJUMP = forumjump();
$tVars->MESSAGE = $thread->message;
$forstr = $tp->simpleParse($FORUMSTART, $tVars);
unset($forrep);
if (!$FORUMREPLYSTYLE) {
    $FORUMREPLYSTYLE = $FORUMTHREADSTYLE;
}
$alt = false;
$i = $thread->page;
foreach ($postList as $postInfo) {
    if ($postInfo['post_options']) {
        $postInfo['post_options'] = unserialize($postInfo['post_options']);
    }
    $loop_uid = (int) $postInfo['post_user'];
    $tnum = $i;
    $i++;
示例#3
0
$MODERATORS = LAN_321 . implode(", ", $modArray);
$THREADSTATUS = !$thread_info['head']['thread_active'] ? LAN_66 : "";
$pref['forum_postspage'] = $pref['forum_postspage'] ? $pref['forum_postspage'] : 10;
$pages = ceil(($replies + 1) / $pref['forum_postspage']);
if ($pages > 1) {
    $parms = $replies + 1 . ",{$pref['forum_postspage']},{$topic_from}," . e_SELF . '?' . $thread_id . '.[FROM],off';
    $GOTOPAGES = $tp->parseTemplate("{NEXTPREV={$parms}}");
}
if (check_class($forum_info['forum_postclass']) && check_class($forum_info['parent_postclass']) || MODERATOR) {
    if ($thread_info['head']['thread_active']) {
        $BUTTONS = "<a href='" . e_PLUGIN . "forum/forum_post.php?rp." . e_QUERY . "'>" . IMAGE_reply . "</a>";
    }
    $BUTTONS .= "<a href='" . e_PLUGIN . "forum/forum_post.php?nt." . $forum_info['forum_id'] . "'>" . IMAGE_newthread . "</a>";
}
$POLL = $pollstr;
$FORUMJUMP = forumjump();
$forstr = $tp->simpleParse($FORUMSTART);
unset($forrep);
if (!$FORUMREPLYSTYLE) {
    $FORUMREPLYSTYLE = $FORUMTHREADSTYLE;
}
$alt = FALSE;
for ($i = 0; $i < count($thread_info) - 1; $i++) {
    unset($post_info);
    $post_info = $thread_info[$i];
    $loop_uid = intval($post_info['user_id']);
    if (!$post_info['thread_user']) {
        // guest
        $tmp = explode(chr(1), $post_info['thread_anon']);
        $ip = $tmp[1];
        $host = $e107->get_host_name($ip);