exit; } if (isset($_GET["tabs"])) { tabs(); exit; } if (isset($_GET["main-params"])) { params(); exit; } if (isset($_GET["hosts-table"])) { wins_dat(); exit; } if (isset($_GET["name-resolve-order-list"])) { name_resolve_order(); exit; } if (isset($_POST["SaveWins"])) { SaveWins(); exit; } if (isset($_POST["SaveWins"])) { SaveWins(); exit; } if (isset($_GET["browse-wins-list"])) { WinsList(); exit; } js_inline();
<?php include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.mysql.inc'); include_once('ressources/class.samba.inc'); if(isset($_GET["debug-page"])){ini_set('display_errors', 1);ini_set('error_reporting', E_ALL);$GLOBALS["VERBOSE"]=true;} $users=new usersMenus(); if(!$users->AsSambaAdministrator){die("<H1>EXIT</H1>");} if(isset($_GET["tabs"])){tabs();exit;} if(isset($_GET["main-params"])){params();exit;} if(isset($_GET["hosts-table"])){wins_dat();exit;} if(isset($_GET["name-resolve-order-list"])){name_resolve_order();exit;} if(isset($_POST["SaveWins"])){SaveWins();exit;} if(isset($_POST["SaveWins"])){SaveWins();exit;} if(isset($_GET["browse-wins-list"])){WinsList();exit;} js_inline(); function js_inline(){ $page=CurrentPageName(); echo "$('#BodyContent').load('$page?tabs=yes'); "; } function tabs(){ $page=CurrentPageName(); $tpl=new templates();