function main_switch() { switch ($_GET["main"]) { case "yes": main_config(); exit; break; case "logs": main_logs(); exit; break; case "syncevents": main_sync(); exit; break; case "conf": echo main_conf(); exit; break; case "apacheconf": echo main_httpdconf(); exit; break; default: break; } }
function main_switch() { switch ($_GET["main"]) { case "index": index(); exit; break; case "yes": ntpd_main_config(); exit; break; case "logs": main_logs(); exit; break; case "syncevents": main_sync(); exit; break; case "conf": echo main_conf(); exit; break; case "ntpdconf": echo main_ntpdconf(); exit; break; case "server_list": echo main_server_list(); exit; break; default: break; } }
function main_switch() { switch ($_GET["main"]) { case "yes": main_config(); exit; break; case "logs": main_logs(); exit; break; case "syncevents": main_sync(); exit; break; case "conf": echo main_conf(); exit; break; case "iptablesconf": echo main_iptablesconf(); exit; break; case "enablesec": echo main_enable(); exit; break; case "rulestable": echo main_rules_list(); exit; break; case "iptablescurrules": echo main_iptables_current_rules(); exit; case "nic": echo main_rules_list(); exit; break; default: break; } }