if(isset($_GET["ComputerAddAlias"])){COMPUTER_ADD_ALIAS ();exit ();} if(isset($_REQUEST["new_userid"])){USER_ADD ();exit ();} if(isset($_GET["DotClearUserEnabled"])){SaveLdapUser ();exit ();} if(isset($_GET["SaveLdapUser"])){SaveLdapUser ();exit ();} if(isset($_GET["SaveUserInfos"])){SaveUserInfos ();exit ();} if(isset($_GET["Cyrus_mailbox_apply_settings"])){Cyrus_mailbox_apply_settings ();exit ();} //mailbox if(isset($_GET["ZARAFA_MAILBOX_INFOS"])){ZARAFA_MAILBOX_INFOS_JS();exit;} if(isset($_GET["ZARAFA_MAILBOX_INFOS_POPUP"])){ZARAFA_MAILBOX_INFOS_POPUP();exit;} if(isset($_GET["create-mailbox-wizard"])){USER_MAILBOX_WIZARD_JS ();exit ();} if(isset($_GET["create-mailbox-step1"])){USER_MAILBOX_WIZARD_STEP1 ();exit ();} if(isset($_GET["UserMailBoxEdit"])){UserMailBoxEdit ();exit ();} if(isset($_GET["debug-mailbox-js"])){UserMailBoxDebugJs ();exit ();} if(isset($_GET["debug-mailbox-user"])){UserMailBoxDebugEvents ();exit ();} if(isset($_GET["DeleteUserGroup"])){DeleteUserGroup ();exit ();} if(isset($_GET["section"])){AJAX_USER_STARTER();exit ();} if(isset($_GET["DeleteThisUser"])){USER_DELETE();exit ();} //FTP if(isset($_GET["UserFTPEdit"])){UserFTPEdit();exit ();} if(isset($_GET["SambaUid"])){USER_SAMBA_EDIT();exit ();} if(isset($_GET["RebuildSambaFields"])){USER_SAMBA_REBUILD_NULL();exit ();} if(isset($_GET["smb-section"])){echo USER_SAMBA ($_GET["userid"]);exit ();} if(isset($_GET["AJAX_COMPUTER_MATERIAL_OS_SAVE"])){AJAX_COMPUTER_MATERIAL_OS_SAVE ();exit ();} if(isset($_GET["SaveComputerInfo"])){COMPUTER_SAVE_INFOS ();exit ();} if(isset($_GET["NmapScanComputer"])){COMPUTER_NMAP ();exit ();} if(isset($_GET["DeleteComputer"])){COMPUTER_DELETE ();exit ();} if(isset($_GET["DeletComputerAliases"])){COMPUTER_DELETE_ALIAS ();exit ();}
exit; } if (isset($_GET["ZARAFA_MAILBOX_INFOS_POPUP_INSTANCE"])) { ZARAFA_MAILBOX_INFOS_POPUP(); exit; } if (isset($_GET["create-mailbox-wizard"])) { USER_MAILBOX_WIZARD_JS(); exit; } if (isset($_GET["create-mailbox-step1"])) { USER_MAILBOX_WIZARD_STEP1(); exit; } if (isset($_GET["UserMailBoxEdit"])) { UserMailBoxEdit(); exit; } if (isset($_GET["debug-mailbox-js"])) { UserMailBoxDebugJs(); exit; } if (isset($_GET["debug-mailbox-user"])) { UserMailBoxDebugEvents(); exit; } if (isset($_GET["DeleteUserGroup"])) { DeleteUserGroup(); exit; } if (isset($_GET["section"])) {
<?php include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.user.inc'); include_once('ressources/class.contacts.inc'); if(isset($_GET["SearchUserNull"])){echo SearchUserNull();exit;} if(isset($_GET["userid"])){echo Page($_GET["userid"]);exit;} if(isset($_GET["LoadUsersDatas"])){ echo Page($_GET["LoadUsersDatas"]);exit;} if(isset($_GET["TreeUserMailBoxEdit"])){UserMailBoxEdit();exit;} if(isset($_GET["Cyrus_mailbox_apply_settings"])){Cyrus_mailbox_apply_settings();exit;} if(isset($_GET["TreeUserAddAliases"])){TreeUserAddAliases();exit;} if(isset($_GET["TreeUserDeleteAliases"])){TreeUserDeleteAliases();exit;} if(isset($_GET["DeleteUserGroup"])){DeleteUserGroup();exit;} if(isset($_GET["AddMemberGroup"])){AddMemberGroup();exit;} if(isset($_GET["SaveLdapUser"])){SaveLdapUser();exit;} if(isset($_GET["AddnewMember"])){AddnewMember();exit();} if(isset($_GET["DeleteMember"])){DeleteMember();exit;} if(isset($_GET["finduser"])){finduser();exit;} if(isset($_GET["UserAddressSubmitedForm"])){AddressInfosSave();exit;} function Page($userid){ $usermenu=new usersMenus(); if(!isset($_GET["LoadUsersTab"])){$_GET["LoadUsersTab"]=0;} switch ($_GET["LoadUsersTab"]) { case 0:$body=Main_page_user($userid);break; case 1:$body=PageUserMailBoxForm($userid);break; case 2:$body=UserAliases($userid);break;