'index.php', 'name' => get_lang('PlatformAdmin')); // including the header file (which includes the banner itself) Display :: display_header($tool_name); switch ($_GET["cmd"]) { case "clear_stapi": echo "Are you sure you are willing to erease all storage api data (no backup)? Yes"; break; case "clear_stapi_confirm": Database::query("delete from ".Database::get_main_table(TABLE_MAIN_STORED_VALUES)); Database::query("delete from ".Database::get_main_table(TABLE_MAIN_STORED_STACK)); echo "Done"; break; default: echo "UNKNOWN COMMAND"; break; } /** * Footer */ Display :: display_footer();