Container::getRouter()->generate('administration'), '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_TRACK_STORED_VALUES)); Database::query("delete from ".Database::get_main_table(TABLE_TRACK_STORED_VALUES_STACK)); echo "Done"; break; default: echo "UNKNOWN COMMAND"; break; } /** * Footer */ Display :: display_footer();