exit; } if (isset($_GET["search-dabatase-popup"])) { search_database_popup(); exit; } if (isset($_POST["QUERY_SYSLOG_DATE"])) { search_database_popup_save(); exit; } if (isset($_GET["test-nas-js"])) { test_nas_js(); exit; } if (isset($_GET["test-nas-popup"])) { test_nas_popup(); exit; } if (isset($_GET["database-parameters"])) { settings(); exit; } if (isset($_GET["database-tabs"])) { database_tabs(); exit; } if (isset($_GET["search-rotate-events"])) { events_rotate_table(); exit; } tabs();
include_once('ressources/class.users.menus.inc'); include_once('ressources/class.squid.inc'); include_once('ressources/class.status.inc'); include_once('ressources/class.artica.graphs.inc'); $users=new usersMenus(); if(!$users->AsWebStatisticsAdministrator){die();} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_POST["hostname"])){save_hostname();exit;} if(isset($_GET["status"])){status();exit;} if(isset($_GET["status-list"])){status_list();exit;} if(isset($_POST["delete-file"])){delete_file();exit;} if(isset($_POST["scan-now"])){scan_now();exit;} if(isset($_GET["test-nas-popup"])){test_nas_popup();exit;} if(isset($_GET["test-nas-js"])){test_nas_js();exit;} if(isset($_POST["import-now"])){import_now();exit;} if(isset($_GET["events"])){events();exit;} if(isset($_POST["delete-all"])){delete_all();exit;} js(); function test_nas_js(){ header("content-type: application/x-javascript"); $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body("{test_connection}"); echo "YahooWin3('650','$page?test-nas-popup=yes','$title');"; }