function Form_maker_Submits() { require_once "Submissions.html.php"; require_once "Submissions.php"; if (!function_exists('print_html_nav')) { require_once "nav_function/nav_html_func.php"; } global $wpdb; if (isset($_GET["task"])) { $task = esc_html($_GET["task"]); } else { $task = "show"; } if (isset($_GET["id"])) { $id = (int) $_GET["id"]; } else { $id = 0; } switch ($task) { case "submits": show_submits(); break; case "edit_submit": editSubmit($id); break; case "remove_submit": remov_submit($id); show_submits(); break; case "remov_cheched": remov_cheched_submission(); show_submits(); break; case "appply_submit": save_submit($id); editSubmit($id); break; case "save_submit": save_submit($id); show_submits(); break; case "cancel": show_submits(); break; default: show_submits(); } }
case 'remove_themes': remove_themes(); break; case 'cancel_themes': cancel_themes(); break; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// case 'cancel_blocked_ips': cancel_blocked_ips(); break; case 'forms': show(); break; case 'submits': show_submits(); break; case 'element': $controller->execute($task); $controller->redirect(); break; case 'select_article': select_article(); break; case 'add': add(); break; case 'add_blocked_ips': add_blocked_ips(); break; case 'cancel':