function GetSwap() { $swap = new os_system(); $swapar = $swap->swap(); $mem = $swap->memory(); $swap_percent = $mem["swap"]["percent"]; $swap_used = $mem["swap"]["used"]; $ram_free = $mem["ram"]["free"]; $ram_total = $mem["ram"]["total"]; $operation_disponible = $ram_free - $swap_used; if ($operation_disponible < 0) { $operation_disponible = $swap_used - $ram_free; $operation_disponible = "{no_memory_free_to_empty_cache} ({need}: " . FormatBytes(intval($operation_disponible)) . ")"; } $maxswap = FormatBytes($swapar[2]); $cureswap = FormatBytes($swapar[1]); $tpl = new templates(); echo $tpl->_ENGINE_parse_body("<div style='width:100%;text-align:right;margin-top:10px;color:#640000'>\n\t<span style='font-size:16px;font-weight:bold'>\n\tswap: {$cureswap}/{$maxswap} ({$swapar[0]}%) </span><hr><span style='color:red'>{$operation_disponible}</span></div>"); }
function quicklinks_section_server() { $tpl = new templates(); include_once dirname(__FILE__) . "/ressources/class.os.system.inc"; include_once dirname(__FILE__) . "/ressources/class.os.system.tools.inc"; $os = new os_system(); $users = new usersMenus(); $page = CurrentPageName(); $sock = new sockets(); $cpunum = intval($users->CPU_NUMBER); $array_load = sys_getloadavg(); $org_load = $array_load[2]; $load = intval($org_load); $hash_mem = $os->realMemory(); $mem_used_p = $hash_mem["ram"]["percent"]; $mem_used_kb = FormatBytes($hash_mem["ram"]["used"]); $total = FormatBytes($hash_mem["ram"]["total"]); $swapar = $os->swap(); $sock = new sockets(); $max_vert_fonce = $cpunum; $max_vert_tfonce = $cpunum + 1; $max_orange = $cpunum * 0.75; $max_over = $cpunum * 2; $purc1 = $load / $cpunum; $pourc = round($purc1 * 100, 2); $color = "#5DD13D"; if ($load >= $max_orange) { $color = "#F59C44"; } if ($load > $max_vert_fonce) { $color = "#C5792D"; } if ($load > $max_vert_tfonce) { $color = "#83501F"; } if ($load >= $max_over) { $color = "#640000"; $text = "{overloaded}"; } $DisableMessaging = intval($sock->GET_INFO("DisableMessaging")); if ($DisableMessaging == 1) { if ($users->POSTFIX_INSTALLED) { $EnablePostfix = $tr[] = paragrapheWin("enable-messaging-white-64.png", "{enable_messaging}", "Loadjs('postfix.disable.php');"); } } $OnlySMTP = false; if ($users->SMTP_APPLIANCE) { $OnlySMTP = true; } if ($users->KASPERSKY_SMTP_APPLIANCE) { $OnlySMTP = true; } $SambaEnabled = $sock->GET_INFO("SambaEnabled"); if (!is_numeric($SambaEnabled)) { $SambaEnabled = 1; } $SambaJS = "QuickLinksSamba()"; if ($SambaEnabled == 0) { $SambaJS = "Loadjs('samba.disable.php')"; } $IsPostfixlockedInt = 0; $IsPostfixlocked = base64_decode($sock->getFrameWork("postfix.php?islocked=yes")); if ($IsPostfixlocked == "TRUE") { $IsPostfixlockedInt = 1; } if (!$users->SQUID_INSTALLED) { if (!$users->POSTFIX_INSTALLED) { if ($users->SAMBA_INSTALLED) { if ($SambaEnabled == 1) { $ONLY_SAMBA = true; } } } } $DisableFrontBrowseComputers = $sock->GET_INFO('DisableFrontBrowseComputers'); $EnableRemoteStatisticsAppliance = $sock->GET_INFO("EnableRemoteStatisticsAppliance"); if (!is_numeric($DisableFrontBrowseComputers)) { $DisableFrontBrowseComputers = 0; } if (!is_numeric($EnableRemoteStatisticsAppliance)) { $EnableRemoteStatisticsAppliance = 0; } $ProductName = "Artica"; $ProductNamef = dirname(__FILE__) . "/ressources/templates/{$_COOKIE["artica-template"]}/ProducName.conf"; if (is_file($ProductNamef)) { $ProductName = trim(@file_get_contents($ProductNamef)); } if ($users->AsSystemAdministrator) { $artica_meta = paragrapheWin("management-console-64.png", "{$ProductName} Meta", "AnimateDiv('BodyContent');\n\t\t\t\tLoadAjax('BodyContent','artica-meta.php');"); $time_ntp = paragrapheWin("ntp-time-64-white.png", "{server_time2}", "AnimateDiv('BodyContent');\n\t\t\t\tLoadAjax('BodyContent','index.time.php?tabs=yes');"); $sensors = paragrapheWin("temperature-64.png", "{temperature}", "AnimateDiv('BodyContent');\n\t\t\t\tLoadAjax('BodyContent','system.sensors.php');"); } $EnableWebProxyStatsAppliance = $sock->GET_INFO("EnableWebProxyStatsAppliance"); $LDAP = paragrapheWin("mysql-white-64.png", "{APP_LDAP}", "AnimateDiv('BodyContent');Loadjs('system.ldap.php');"); $MySQL = paragrapheWin("mysql-white-64.png", "MySQL", "AnimateDiv('BodyContent');Loadjs('system.mysql.php');"); if (!$users->KASPERSKY_WEB_APPLIANCE) { if (!$users->SQUID_APPLIANCE) { if (!$users->SQUID_REVERSE_APPLIANCE) { if ($users->AsSambaAdministrator) { if ($users->SAMBA_INSTALLED) { $samba = paragrapheWin("nas-white-64.png", "{APP_SAMBA}", "{$SambaJS}"); } } } } } if ($users->OCSI_INSTALLED) { if ($users->AsInventoryAdmin) { $ocs = paragrapheWin("computers2-white-64.png", "{APP_OCSI}", "Loadjs('ocs.ng.php?in-front-ajax=yes&newinterface=yes')"); } } if ($users->APACHE_INSTALLED) { if ($users->AsAnAdministratorGeneric) { if ($GLOBALS["VERBOSE"]) { echo "FreeWebs\n"; } $freewebs = paragrapheWin("freewebs-white-64.png", "{webservers}", "QuickLinkSystems('section_freeweb')"); $wp = paragrapheWin("wp-64-white.png", "Wordpress", "LoadAjax('BodyContent','wordpress.php');"); } } if ($users->EJABBERD_INSTALLED) { if ($users->AsPostfixAdministrator) { $ejabberd = paragrapheWin("chat-white-64.png", "{INSTANT_MESSAGING}", "LoadAjax('BodyContent','ejabberd.php');"); } } if ($users->UPDATE_UTILITYV2_INSTALLED) { $updateutility = paragrapheWin("update-kaspersky-64.png", "UpdateUtility", "LoadAjax('BodyContent','UpdateUtility.php');"); } if ($users->AsSystemAdministrator) { if ($users->FREERADIUS_INSTALLED) { $freeradius = paragrapheWin("radius-white-64.png", "{APP_FREERADIUS}", "LoadAjax('BodyContent','freeradius.php');"); } if ($users->HAPROXY_INSTALLED) { $haProxy = paragrapheWin("load-balance-white-64.png", "{load_balancing}", "Loadjs('haproxy.php')"); } } if ($users->AsSambaAdministrator) { if ($SambaEnabled == 1) { if ($users->DROPBOX_INSTALLED) { $dropbox = paragrapheWin("dropbox-white-64.png", "{APP_DROPBOX}", "Loadjs('samba.dropbox.php')"); } } } if ($users->AsSystemAdministrator) { $logrotate = paragrapheWin("traces-white-64.png", "{system_logs}", "Loadjs('logrotate.php?in-front-ajax=yes')"); if ($users->VMWARE_HOST) { $vmware = paragrapheWin("vmware-white-64.png", "{APP_VMTOOLS}", "Loadjs('VMWareTools.php')"); } } if ($OnlySMTP) { $samba = null; $computers = null; $fetchmail = null; } // if ($users->AsSystemAdministrator) { $tr[] = paragrapheWin("hostname-white-64.png", "{hostname}", "Loadjs('system.nic.config.php?change-hostname-js=yes');"); $tr[] = paragrapheWin("harddrive-white-64.png", "{internal_hard_drives}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','{$page}?function=section_btrfs');"); $tr[] = $sensors; $tr[] = $time_ntp; $tr[] = paragrapheWin("optimize-64.png", "{system_optimization}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','system.optimize.php')"); $tr[] = paragrapheWin("settings-server-64.png", "{general_settings}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','{$page}?function=section_computers_infos')"); $tr[] = paragrapheWin("directory-white-64.png", "{explorer}", "Loadjs('tree.php')"); $tr[] = paragrapheWin("snmp-64-white.png", "SNMP", "Loadjs('system.snmp.php');"); $tr[] = paragrapheWin("ssh-64.png", "{APP_OPENSSH}", "AnimateDiv('BodyContent');Loadjs('sshd.php?in-front-ajax=yes&tabsize=14');"); $tr[] = paragrapheWin("clamav-64-white.png", "{APP_CLAMAV}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','clamd.php?tabs=yes');"); $tr[] = paragrapheWin("sync-64-white.png", "{APP_SYNCTHING}", "LoadAjax('BodyContent','syncthing.php');"); } if ($users->POWER_DNS_INSTALLED) { $PowerDNS = paragrapheWin("dns-white-64.png", "PowerDNS", "AnimateDiv('BodyContent');LoadAjax('BodyContent','pdns.php?tabs=yes&expand=yes');"); } $tr[] = paragrapheWin("certificate-white-64.png", "{certificates_center}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','certificates.center.php?tabs=yes');"); $hostname = paragrapheWin("hostname-white-64.png", "{hostname}", "Loadjs('system.nic.config.php?change-hostname-js=yes');"); // if (!$users->dnsmasq_installed) { $dnsmasq = null; } if (!$users->dhcp_installed) { $dhcp = null; } if (!$users->OPENVPN_INSTALLED) { $openvpn = null; } if ($users->OCSI_INSTALLED) { $computers = null; } else { $ocs = null; } $stats = paragrapheWin("statistics3-white-64.png", "{statistics}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','quicklinks.network.php?function=section_statistics')"); if (!$users->AsSystemAdministrator) { $hostname = null; } $tr[] = $artica_meta; $tr[] = $dhcp; $tr[] = $PowerDNS; $tr[] = $dnsmasq; $tr[] = $logrotate; $tr[] = $vmware; $tr[] = $freewebs; $tr[] = $wp; $tr[] = paragrapheWin("FTP-white-64.png", "FTP", "AnimateDiv('BodyContent');LoadAjax('BodyContent','vsftpd.php');"); $tr[] = $roundcube; $tr[] = $haProxy; $tr[] = $computers; if ($users->AsSystemAdministrator) { $tr[] = $MySQL; $tr[] = $LDAP; } $tr[] = $samba; $tr[] = $ocs; $tr[] = $updateutility; $tr[] = $ejabberd; $tr[] = $hamachi; $tr[] = $openvpn; $tr[] = $freeradius; $tr[] = $stats; $html = $tpl->_ENGINE_parse_body("<div style='font-size:48px;color:white'>\n\t<table style='width:50%'>\n\t<tr>\n\t\t<td nowrap style='padding-left:10px;font-size:48px;color:white' nowrap>{load}: {$org_load}</td>\n\t\t<td nowrap style='padding-left:10px;border-left:2px solid white;font-size:48px;color:white' nowrap>{memory}: {$mem_used_p}%</td>\n\t\t<td nowrap style='padding-left:10px;border-left:2px solid white;font-size:48px;color:white' nowrap>SWAP: {$swapar[0]}%</td>\t\t\n\t</tr>\n\t</table>\t\t\n\t</div>\n\t") . CompileTr5_win($tr); echo $html; }
function quicklinks_section_server() { $tpl = new templates(); include_once dirname(__FILE__) . "/ressources/class.os.system.inc"; include_once dirname(__FILE__) . "/ressources/class.os.system.tools.inc"; $os = new os_system(); $users = new usersMenus(); $page = CurrentPageName(); $sock = new sockets(); if ($GLOBALS["AS_ROOT"]) { $users->AsSystemAdministrator = true; } $CachePage = "/usr/share/artica-postfix/ressources/logs/web/" . __FUNCTION__ . ".html"; if (!$GLOBALS["AS_ROOT"]) { if ($users->AsSystemAdministrator) { if (is_file($CachePage)) { $tpl = new templates(); echo $tpl->_ENGINE_parse_body(@file_get_contents($CachePage)); return; } } } $SQUIDEnable = trim($sock->GET_INFO("SQUIDEnable")); $EnableNginx = intval($sock->GET_INFO("EnableNginx")); if (!is_numeric($SQUIDEnable)) { $SQUIDEnable = 1; } $cpunum = intval($users->CPU_NUMBER); $array_load = sys_getloadavg(); $org_load = $array_load[2]; $load = intval($org_load); $hash_mem = $os->realMemory(); $mem_used_p = $hash_mem["ram"]["percent"]; $mem_used_kb = FormatBytes($hash_mem["ram"]["used"]); $total = FormatBytes($hash_mem["ram"]["total"]); $swapar = $os->swap(); $sock = new sockets(); $max_vert_fonce = $cpunum; $max_vert_tfonce = $cpunum + 1; $max_orange = $cpunum * 0.75; $max_over = $cpunum * 2; $purc1 = $load / $cpunum; $pourc = round($purc1 * 100, 2); $color = "#5DD13D"; if ($load >= $max_orange) { $color = "#F59C44"; } if ($load > $max_vert_fonce) { $color = "#C5792D"; } if ($load > $max_vert_tfonce) { $color = "#83501F"; } if ($load >= $max_over) { $color = "#640000"; $text = "{overloaded}"; } $DisableMessaging = intval($sock->GET_INFO("DisableMessaging")); if ($DisableMessaging == 1) { if ($users->POSTFIX_INSTALLED) { $EnablePostfix = $tr[] = paragrapheWin("enable-messaging-white-64.png", "{enable_messaging}", "Loadjs('postfix.disable.php');"); } } $OnlySMTP = false; if ($users->SMTP_APPLIANCE) { $OnlySMTP = true; } if ($users->KASPERSKY_SMTP_APPLIANCE) { $OnlySMTP = true; } $SambaEnabled = $sock->GET_INFO("SambaEnabled"); if (!is_numeric($SambaEnabled)) { $SambaEnabled = 1; } $SambaJS = "QuickLinksSamba()"; if ($SambaEnabled == 0) { $SambaJS = "Loadjs('samba.disable.php')"; } $IsPostfixlockedInt = 0; $IsPostfixlocked = base64_decode($sock->getFrameWork("postfix.php?islocked=yes")); if ($IsPostfixlocked == "TRUE") { $IsPostfixlockedInt = 1; } if (!$users->SQUID_INSTALLED) { if (!$users->POSTFIX_INSTALLED) { if ($users->SAMBA_INSTALLED) { if ($SambaEnabled == 1) { $ONLY_SAMBA = true; } } } } $DisableFrontBrowseComputers = $sock->GET_INFO('DisableFrontBrowseComputers'); $EnableRemoteStatisticsAppliance = $sock->GET_INFO("EnableRemoteStatisticsAppliance"); if (!is_numeric($DisableFrontBrowseComputers)) { $DisableFrontBrowseComputers = 0; } if (!is_numeric($EnableRemoteStatisticsAppliance)) { $EnableRemoteStatisticsAppliance = 0; } $ProductName = "Artica"; $ProductNamef = dirname(__FILE__) . "/ressources/templates/{$_COOKIE["artica-template"]}/ProducName.conf"; if (is_file($ProductNamef)) { $ProductName = trim(@file_get_contents($ProductNamef)); } if ($users->AsSystemAdministrator) { } $EnableWebProxyStatsAppliance = $sock->GET_INFO("EnableWebProxyStatsAppliance"); if (!$users->KASPERSKY_WEB_APPLIANCE) { if (!$users->SQUID_APPLIANCE) { if (!$users->SQUID_REVERSE_APPLIANCE) { if ($users->AsSambaAdministrator) { if ($users->SAMBA_INSTALLED) { $samba = paragrapheWin("nas-white-64.png", "{APP_SAMBA}", "{$SambaJS}"); } } } } } if ($users->OCSI_INSTALLED) { if ($users->AsInventoryAdmin) { $ocs = paragrapheWin("computers2-white-64.png", "{APP_OCSI}", "Loadjs('ocs.ng.php?in-front-ajax=yes&newinterface=yes')"); } } if ($users->EJABBERD_INSTALLED) { if ($users->AsPostfixAdministrator) { $ejabberd = paragrapheWin("chat-white-64.png", "{INSTANT_MESSAGING}", "LoadAjax('BodyContent','ejabberd.php');"); } } if ($users->UPDATE_UTILITYV2_INSTALLED) { $updateutility = paragrapheWin("update-kaspersky-64.png", "UpdateUtility", "LoadAjax('BodyContent','UpdateUtility.php');"); } if ($OnlySMTP) { $samba = null; $computers = null; $fetchmail = null; } // // if (!$users->dnsmasq_installed) { $dnsmasq = null; } if (!$users->dhcp_installed) { $dhcp = null; } if (!$users->OPENVPN_INSTALLED) { $openvpn = null; } if ($users->OCSI_INSTALLED) { $computers = null; } else { $ocs = null; } $stats = paragrapheWin("statistics3-white-64.png", "{statistics}", "AnimateDiv('BodyContent');LoadAjax('BodyContent','quicklinks.network.php?function=section_statistics')"); if (!$users->AsSystemAdministrator) { $hostname = null; } $tr[] = $artica_meta; $tr[] = $dhcp; $tr[] = $PowerDNS; $tr[] = $dnsmasq; $tr[] = $logrotate; $tr[] = $tasks; $tr[] = $vmware; $tr[] = $freewebs; $tr[] = $wp; $tr[] = $haProxy; $tr[] = $computers; if ($users->AsSystemAdministrator) { $tr[] = $MySQL; $tr[] = $LDAP; } $tr[] = $reactive_squid; $tr[] = $nginx; $tr[] = $samba; $tr[] = $ocs; $tr[] = $updateutility; $tr[] = $ejabberd; $tr[] = $openvpn; $tr[] = $freeradius; $tr[] = $stats; $html = $tpl->_ENGINE_parse_body("<div style='font-size:48px;color:white'>\n\t<table style='width:50%'>\n\t<tr>\n\t\t<td nowrap style='padding-left:10px;font-size:48px;color:white' nowrap>{load}: {$org_load}</td>\n\t\t<td nowrap style='padding-left:10px;border-left:2px solid white;font-size:48px;color:white' nowrap>{memory}: {$mem_used_p}%</td>\n\t\t<td nowrap style='padding-left:10px;border-left:2px solid white;font-size:48px;color:white' nowrap>SWAP: {$swapar[0]}%</td>\t\t\n\t</tr>\n\t</table>\t\t\n\t</div>\n\t") . CompileTr7_win($tr); if ($GLOBALS['AS_ROOT']) { @file_put_contents($CachePage, $html); } echo $html; }
function high_menus() { return; $sock = new sockets(); $FixedLanguage = $sock->GET_INFO("FixedLanguage"); if (!isset($GLOBALS["CLASS_USERS_MENUS"])) { $users = new usersMenus(); $GLOBALS["CLASS_USERS_MENUS"] = $users; } else { $users = $GLOBALS["CLASS_USERS_MENUS"]; } $tpl = new templates(); if (is_file("ressources/templates/{$_COOKIE["artica-template"]}/HEAD_MENUS")) { $html = @file_get_contents("ressources/templates/{$_COOKIE["artica-template"]}/HEAD_MENUS"); $html = str_replace("%articaver%", $users->ARTICA_VERSION, $html); echo $tpl->_ENGINE_parse_body($html); return; } include_once dirname(__FILE__) . "/ressources/class.html.tools.inc"; $htmlT = new htmltools_inc(); $lang = $htmlT->LanguageArray(); $users = new usersMenus(); if (!is_numeric($_SESSION["SWITCH_HIGH_MENUS"])) { $_SESSION["SWITCH_HIGH_MENUS"] = 1; } if ($users->AsAnAdministratorGeneric) { if ($_SESSION["SWITCH_HIGH_MENUS"] == 1) { $html = "\t\n\t\t\t<table style='width:80%;padding:0px;margin:0px;border:0px;margin-top:2px'>\n\t\t\t<tr>\n\t\t\t"; if ($_SESSION["uid"] == -100) { $html = $html . "<td><a href='#' OnClick=\"javascript:Loadjs('artica.settings.php?js=yes&func-AccountsInterface=yes');\" style='color:#CCCCCC;font-size:11px;text-decoration:underline'>Manager</a></td>\n\t\t\t<td style='color:white;font-size:11px;'> | </td>"; } $html = $html . "\n\t\t\t\t<td><a href='#' OnClick=\"javascript:logoff();\" style='color:#CCCCCC;font-size:11px;text-decoration:underline'>{logoff}</a></td>\n\t\t\t\t<td style='color:white;font-size:11px;'> | </td>\n\t\t\t<td><a href='#' OnClick=\"javascript:Loadjs('chg.language.php');\" style='color:#CCCCCC;font-size:11px;text-decoration:underline'>{language}: {$tpl->language}</a></td>\n\t\t\t<td style='color:white;font-size:11px;'> | </td>\n\t\t\t<td><a href='#' OnClick=\"javascript:Loadjs('artica.update.php?js=yes')\" style='color:#CCCCCC;font-size:11px;text-decoration:underline'>{version}: {$users->ARTICA_VERSION}</a></td>\n\t\t\t<td style='color:white;font-size:11px;'> | </td>\n\t\t\t<td><a href='#' OnClick=\"javascript:AjaxTopMenuTiny('div-high-menus','Inotify.php?switch-high=yes');\" \n\t\t\tstyle='color:#CCCCCC;font-size:11px;'>»»</a></td>\t\t\t\t\n\t\t\t</tr>\n\t\t\t</table>\n\t\t\t"; $_SESSION["SWITCH_HIGH_MENUS"] = 0; echo $tpl->_ENGINE_parse_body($html); } else { include_once dirname(__FILE__) . "/ressources/class.os.system.inc"; include_once dirname(__FILE__) . "/ressources/class.os.system.tools.inc"; $os = new os_system(); $cpunum = intval($users->CPU_NUMBER); $array_load = sys_getloadavg(); $org_load = $array_load[2]; $load = intval($org_load); $hash_mem = $os->realMemory(); $mem_used_p = $hash_mem["ram"]["percent"]; $mem_used_kb = FormatBytes($hash_mem["ram"]["used"]); $total = FormatBytes($hash_mem["ram"]["total"]); $swapar = $os->swap(); $max_vert_fonce = $cpunum; $max_vert_tfonce = $cpunum + 1; $max_orange = $cpunum * 0.75; $max_over = $cpunum * 2; $purc1 = $load / $cpunum; $pourc = round($purc1 * 100, 2); $color = "#5DD13D"; if ($load >= $max_orange) { $color = "#F59C44"; } if ($load > $max_vert_fonce) { $color = "#C5792D"; } if ($load > $max_vert_tfonce) { $color = "#83501F"; } if ($load >= $max_over) { $color = "#640000"; $text = "{overloaded}"; } $html = "\t\n\t\t\t<table style='width:80%;padding:0px;margin:0px;border:0px;margin-top:2px'>\n\t\t\t<tbody>\n\t\t\t<tr>"; if ($_SESSION["uid"] == -100) { $html = $html . "<td><a href='#' OnClick=\"javascript:Loadjs('artica.settings.php?js=yes&func-AccountsInterface=yes');\" style='color:#CCCCCC;font-size:11px;text-decoration:underline'>Manager</a></td>\n\t\t\t<td style='color:white;font-size:11px;'> | </td>"; } $html = $html . "<td nowrap><a href='#' OnClick=\"javascript:logoff();\" style='color:#CCCCCC;font-size:11px;text-decoration:underline'>{logoff}</a></td>\n\t\t\t<td style='color:white;font-size:11px;'> | </td>\t\t\n\t\t\t<td nowrap><a href='#' OnClick=\"javascript:Loadjs('chg.language.php');\" \n\t\t\tstyle='color:#CCCCCC;font-size:11px;'>{load}: {$org_load}</a></td>\t\n\t\t\t<td style='color:white;font-size:11px;' nowrap> | </td>\n\t\t\t<td nowrap><a href='#' OnClick=\"javascript:Loadjs('chg.language.php');\" \n\t\t\tstyle='color:#CCCCCC;font-size:11px;' nowrap>mem: {$mem_used_p}%</a></td>\n\t\t\t<td style='color:white;font-size:11px;' nowrap> | </td>\n<td nowrap><a href='#' OnClick=\"javascript:Loadjs('chg.language.php');\" \n\t\t\tstyle='color:#CCCCCC;font-size:11px;' nowrap>swap: {$swapar[0]}%</a></td>\t\n\t\t\t<td style='color:white;font-size:11px;'> | </td>\n\t\t\t<td nowrap><a href='#' OnClick=\"javascript:AjaxTopMenuTiny('div-high-menus','Inotify.php?switch-high=yes');\" \n\t\t\tstyle='color:#CCCCCC;font-size:11px;'>»»</a></td>\t\t\t\t\t\t\n\t\t\t</tR>\n\t\t\t</tbody>\n\t\t\t</table>\n\t\t\t"; $_SESSION["SWITCH_HIGH_MENUS"] = 1; echo $tpl->_ENGINE_parse_body($html); } } }