exit; } if (isset($_GET["popup"])) { popup(); exit; } if (isset($_GET["vmware-install"])) { popup_install(); exit; } if (isset($_GET["vmware-install-perfom"])) { popup_install_perform(); exit; } if (isset($_GET["vmware-install-logs"])) { popup_install_logs(); exit; } popup(); function js_start() { $page = CurrentPageName(); echo "AnimateDiv('BodyContent');LoadAjax('BodyContent','{$page}?popup=yes');"; } function popup() { $page = CurrentPageName(); $tpl = new templates(); $users = new usersMenus(); $INSTALL_VMWARE_TOOLS = $tpl->_ENGINE_parse_body("{INSTALL_VMWARE_TOOLS}"); $html = "\n\t<div style='font-size:30px;margin-bottom:20px'>{INSTALL_VMWARE_TOOLS_TEXT}</div>\n\t";
include_once('ressources/class.mysql.syslog.inc'); $usersmenus=new usersMenus(); if(!$usersmenus->AsSystemAdministrator){ $tpl=new templates(); $alert=$tpl->_ENGINE_parse_body('{ERROR_NO_PRIVS}'); echo "alert('$alert');"; die(); } if(isset($_GET["vmware-status"])){vmware_status();exit;} if(isset($_GET["popup"])){popup();exit;} if(isset($_GET["vmware-install"])){popup_install();exit;} if(isset($_GET["vmware-install-perfom"])){popup_install_perform();exit;} if(isset($_GET["vmware-install-logs"])){popup_install_logs();exit;} js_start(); function js_start(){ $page=CurrentPageName(); echo "AnimateDiv('BodyContent');LoadAjax('BodyContent','$page?popup=yes');"; } function popup(){ $page=CurrentPageName(); $tpl=new templates(); $INSTALL_VMWARE_TOOLS=$tpl->_ENGINE_parse_body("{INSTALL_VMWARE_TOOLS}"); $html=" <div class=text-info style='font-size:16px'>{INSTALL_VMWARE_TOOLS_TEXT}</div>