function switchTab() { switch ($_GET["tab"]) { case 0: GlobalSettings(); break; case 1: main_update(); break; case 2: main_rules(); break; case 3: main_events(); break; case 4: main_stats(); break; case 5: main_license(); break; case 6: main_services(); break; default: GlobalSettings(); break; } }
function switchTab() { switch ($_GET["tab"]) { case "index": index(); exit; case "globalsettings": GlobalSettings(); break; case "update": Update(); break; case "logs": kavmilter_events(); break; case "statistics": kavmilter_stats(); break; case "license": kavmilter_license(); break; default: GlobalSettings(); break; } }