} elseif ('do_add_topic' == $action) { forum_do_add_topic($sqlm); } elseif ('do_edit_close' == $action) { forum_do_edit_close($sqlm); } elseif ('do_edit_announce' == $action) { forum_do_edit_announce($sqlm); } elseif ('do_edit_stick' == $action) { forum_do_edit_stick($sqlm); } elseif ('move_topic' == $action) { forum_move_topic($sqlm); } elseif ('do_move_topic' == $action) { forum_do_move_topic($sqlm); } elseif ('do_add_post' == $action) { forum_do_add_post($sqlm); } elseif ('delete_post' == $action) { forum_delete_post($sqlm); } elseif ('do_delete_post' == $action) { forum_do_delete_post($sqlm); } elseif ('edit_post' == $action) { forum_edit_post($sqlm); } elseif ('do_edit_post' == $action) { forum_do_edit_post($sqlm); } else { forum_index($sqlr, $sqlm); } // close whats not needed anymore unset($action); unset($action_permission); unset($forum_lang); // page footer require_once 'footer.php';
forum_add_topic(); break; case "do_add_topic": forum_do_add_topic(); break; case "edit_post": forum_edit_post(); break; case "do_edit_post": forum_do_edit_post(); break; case "delete_post": forum_delete_post(); break; case "do_delete_post": forum_do_delete_post(); break; case "do_add_post": forum_do_add_post(); break; case "edit_stick": forum_do_edit_stick(); break; case "edit_announce": forum_do_edit_announce(); break; case "edit_close": forum_do_edit_close(); break; case "move_topic": forum_move_topic();