exit; } include_once e_PLUGIN . 'forum/forum_class.php'; $forum = new e107forum(); $thread = new e107ForumThread(); // check if user wants to download a file if (vartrue($_GET['id']) && isset($_GET['dl'])) { $forum->sendFile($_GET); exit; } if (e_AJAX_REQUEST) { if (varset($_POST['action']) == 'quickreply') { $forum->ajaxQuickReply(); } if (varset($_POST['action']) == 'track') { $forum->ajaxTrack(); } if (MODERATOR) { $forum->ajaxModerate(); } } if (isset($_GET['last'])) { $_GET['f'] = 'last'; } if (isset($_GET['f']) && $_GET['f'] == 'post') { $thread->processFunction(); } $thread->init(); /* if(isset($_POST['track_toggle'])) {