include_once 'ressources/class.autofs.inc'; include_once 'ressources/class.samba.inc'; $user = new usersMenus(); if ($user->blkid_installed == false) { header('location:users.index.php'); die; } if ($user->AsSystemAdministrator == false or $user->AsSambaAdministrator == false) { die; } if (isset($_GET["uuid-infos"])) { uuid_js(); exit; } if (isset($_GET["uuid-popup"])) { uuid_popup(); exit; } if (isset($_GET["js"])) { js(); exit; } if (isset($_GET["usb_infos"])) { main_usb_infos(); exit; } if (isset($_GET["main"])) { main_switch(); exit; } if (isset($_GET["script"])) {
include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.artica.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.os.system.inc'); include_once('ressources/class.autofs.inc'); include_once('ressources/class.samba.inc'); $user=new usersMenus(); if($user->blkid_installed==false){header('location:users.index.php');die();} if(($user->AsSystemAdministrator==false) OR ($user->AsSambaAdministrator==false)) {die();} if(isset($_GET["uuid-infos"])){uuid_js();exit;} if(isset($_GET["uuid-popup"])){uuid_popup();exit;} if(isset($_GET["js"])){js();exit;} if(isset($_GET["usb_infos"])){main_usb_infos();exit;} if(isset($_GET["main"])){main_switch();exit;} if(isset($_GET["script"])){main_switch_scripts();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["format-index"])){format_js();exit;} if(isset($_GET["format-index-popup"])){format_popup();exit;} if(isset($_GET["format_type"])){format_operation();exit;} if(isset($_GET["change-label-js"])){change_label_js();exit;} if(isset($_GET["change-label-popup"])){change_label_popup();exit;} if(isset($_GET["change-label-perform"])){change_label_perform();exit;} //umount=yes&uuid=$UUID