'."\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'); // Enterprise main enterprise_include('index.php'); require_once 'include/functions_visual_map.php'; $hash = get_parameter('hash'); $id_layout = (int) get_parameter('id_layout'); $graph_javascript = (bool) get_parameter('graph_javascript'); $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', 0); $layout = db_get_row('tlayout', 'id', $id_layout); if (! $layout) { db_pandora_audit('ACL Violation', 'Trying to access visual console without id layout'); include $config['homedir'].'/general/noaccess.php'; exit; } if (!isset($config['pure'])) { $config['pure'] = 0; } // ~ $xhr = (bool) get_parameter('xhr'); if ($layout) { $id_group = $layout['id_group']; $layout_name = $layout['name']; $background = $layout['background']; $bwidth = $layout['width']; $bheight = $layout['height']; // ~ $width = (int) get_parameter('width'); // ~ if ($width <= 0) $width = null; // ~ $height = (int) get_parameter('height'); // ~ if ($height <= 0) $height = null; // ~ ob_start(); // ~ // Render map visual_map_print_visual_map( $id_layout, true, true, $width, $height, '../../', true, true, true ); // ~ return; } else { echo '
'; } // Floating menu - Start echo '
'; echo ''; echo '
'; // Floating menu - End // QR code dialog echo ''; ui_require_jquery_file('countdown'); ui_require_javascript_file('wz_jsgraphics'); ui_require_javascript_file('pandora_visual_console'); $ignored_params['refr'] = ''; ?>