include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.samba.inc'); include_once('ressources/class.user.inc'); include_once('ressources/class.computers.inc'); include_once('ressources/class.pdns.inc'); if(!CheckSambaRights()){die();} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["items-list"])){items();exit;} if(isset($_POST["pattern"])){save_files();exit;} if(isset($_POST["del-ID"])){delete_files();exit;} js(); function js(){ $tpl=new templates(); $simple_share=$tpl->_ENGINE_parse_body("{banned_files}"); $page=CurrentPageName(); $html="YahooWin2('535','$page?popup=yes&path={$_GET["path"]}','$simple_share');"; echo $html; } function popup(){
include_once 'ressources/class.user.inc'; include_once 'ressources/class.computers.inc'; include_once 'ressources/class.pdns.inc'; if (!CheckSambaRights()) { die; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["items-list"])) { items(); exit; } if (isset($_POST["pattern"])) { save_files(); exit; } if (isset($_POST["del-ID"])) { delete_files(); exit; } js(); function js() { $tpl = new templates(); $simple_share = $tpl->_ENGINE_parse_body("{banned_files}"); $page = CurrentPageName(); $html = "YahooWin2('535','{$page}?popup=yes&path={$_GET["path"]}','{$simple_share}');"; echo $html; }