exit; } if (isset($_GET["mac-lock-js"])) { mac_lock_js(); exit; } if (isset($_POST["mac-lock"])) { mac_lock(); exit; } if (isset($_GET["mac-unlock-js"])) { mac_unlock_js(); exit; } if (isset($_POST["mac-unlock"])) { mac_unlock(); exit; } js(); function link_user_js() { $page = CurrentPageName(); $tpl = new templates(); header("content-type: application/x-javascript"); $title = $tpl->_ENGINE_parse_body("{proxy_alias}: {link_to_an_user}"); $MAC = $_GET["MAC"]; $ipaddr = $_GET["ipaddr"]; $ipaddr = urlencode($ipaddr); $MAC = urlencode($MAC); $html = "YahooWin6('850','{$page}?link-user-popup=yes&MAC={$MAC}&ipaddr={$ipaddr}','{$title}');"; echo $html;
if(isset($_GET["node-infos-RTIME"])){node_infos_realtime();exit;} if(isset($_GET["node-infos-RTIME-LIST"])){node_infos_realtime_list();exit;} if(isset($_GET["link-user-js"])){link_user_js();exit;} if(isset($_GET["link-user-popup"])){link_user_popup();exit;} if(isset($_POST["link-user-save"])){link_user_save();exit;} if(isset($_GET["delete-member-js"])){delete_user_js();exit;} if(isset($_POST["delete-member-perform"])){delete_user_perform();exit;} if(isset($_GET["mac-lock-js"])){mac_lock_js();exit;} if(isset($_POST["mac-lock"])){mac_lock();exit;} if(isset($_GET["mac-unlock-js"])){mac_unlock_js();exit;} if(isset($_POST["mac-unlock"])){mac_unlock();exit;} js(); function link_user_js(){ $page=CurrentPageName(); $tpl=new templates(); header("content-type: application/x-javascript"); $title=$tpl->_ENGINE_parse_body("{link_to_an_user}"); $html="YahooWin6('600','$page?link-user-popup=yes&MAC={$_GET["MAC"]}&ipaddr={$_GET["ipaddr"]}','$title');"; echo $html; } function mac_lock_js(){ header("content-type: application/x-javascript"); $MAC=$_GET["MAC"]; $page=CurrentPageName();