function admin_monitorix() { $md = md5(date('Ymdhis')); $user = new usersMenus(); $table = $user->array_monitorix(); while (list($num, $val) = each($table)) { $html = $html . "<div style='float:left;margin:5px;'><img src='images.listener.php?uri={$val}&md={$md}'></div>"; } $g_system = "\n<div id='g_sys2' style='width:700px;text-align:center'>\n\t\t<H3>{monitorix}</H3>\n\t\t<center>\n\t\t\t{$html}\n\t</center>\n\t</div>\n\n\t\n"; $p = "\n\t<input type='hidden' id='switch' value='{$_GET["main"]}'>\n\t{$g_system}.{$g_postfix}.{$g_squid}"; $tpl = new templates(); echo $tpl->_ENGINE_parse_body($p); }