'."\n"; echo ''."\n"; echo '
'; global $vc_public_view; $vc_public_view = true; // This starts the page head. In the call back function, // things from $page['head'] array will be processed into the head ob_start ('ui_process_page_head'); require ('include/functions_visual_map.php'); // Auto Refresh page (can now be disabled anywhere in the script) $config["refr"] = (int) get_parameter ("refr"); $config["remote_addr"] = $_SERVER['REMOTE_ADDR']; $hash = get_parameter ('hash'); $id_layout = (int) get_parameter ('id_layout'); $config["id_user"] = get_parameter ('id_user'); $myhash = md5($config["dbpass"].$id_layout. $config["id_user"]); // Check input hash if ( $myhash != $hash) { exit; } $refr = (int) get_parameter ('refr', $config['vc_refr']); $vc_refr = false; $layout = db_get_row ('tlayout', 'id', $id_layout); if (! $layout) { db_pandora_audit("ACL Violation","Trying to access visual console without id layout"); include ("../../general/noaccess.php"); exit; } $id_group = $layout["id_group"]; $layout_name = $layout["name"]; $fullscreen = $layout["fullscreen"]; $background = $layout["background"]; $bwidth = $layout["width"]; $bheight = $layout["height"]; if (!isset($config['pure'])) $config['pure'] = 0; // Render map $options = array(); echo '