'."\n"; echo ''."\n"; echo '
'; global $vc_public_view; $vc_public_view = true; $config['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 = (string) get_parameter('hash'); $visualConsoleId = (int) get_parameter('id_layout'); $config['id_user'] = (string) get_parameter('id_user'); $refr = (int) get_parameter('refr', $config['refr']); if (!isset($config['pure'])) { $config['pure'] = 0; } $myhash = md5($config['dbpass'].$visualConsoleId.$config['id_user']); // Check input hash. if ($myhash != $hash) { exit; } // Load Visual Console. use Models\VisualConsole\Container as VisualConsole; $visualConsole = null; try { $visualConsole = VisualConsole::fromDB(['id' => $visualConsoleId]); } catch (Throwable $e) { db_pandora_audit( 'ACL Violation', 'Trying to access visual console without Id' ); include $config['homedir'].'/general/noaccess.php'; exit; } $visualConsoleData = $visualConsole->toArray(); $visualConsoleName = $visualConsoleData['name']; echo ''; // Floating menu - Start. echo '