Beispiel #1
0
            header("location: " . e_SELF . "?{$post_num['parent']}.{$topic_from}#post_{$thread_id}");
            exit;
        }
    } else {
        header("Location:" . e_PLUGIN . "forum/forum.php");
        exit;
    }
}
require_once e_PLUGIN . 'forum/forum_shortcodes.php';
if ($action == "track" && USER) {
    $forum->track($thread_id);
    header("location:" . e_SELF . "?{$thread_id}.{$topic_from}");
    exit;
}
if ($action == "untrack" && USER) {
    $forum->untrack($thread_id);
    header("location:" . e_SELF . "?{$thread_id}.{$topic_from}");
    exit;
}
if ($action == "next") {
    $next = $forum->thread_getnext($thread_id, $topic_from);
    if ($next) {
        header("location:" . e_SELF . "?{$next}");
        exit;
    } else {
        require_once HEADERF;
        $ns->tablerender('', LAN_405, array('forum_viewtopic', '405'));
        require_once FOOTERF;
        exit;
    }
}