</ul> </div>'; // Load the Core Navigation Panel require ROOT_PATH . "/parent-apps/Standard/includes/core_panel_" . ENVIRONMENT . ".php"; echo ' <div id="content-wrap"> <div style="padding-top:60px;"></div>'; // Load the widgets contained in the "UniFactionMenu" container, if applicable $widgetList = WidgetLoader::get("UniFactionMenu"); foreach ($widgetList as $widgetContent) { echo $widgetContent; } echo ' <div id="viewport-wrap">'; // Draw the Left Panel echo ' <!-- Side Panel --> <div id="panel">'; echo ' <div id="panel-left">'; // Load the widgets contained in the "SidePanel" container $widgetList = WidgetLoader::get("SidePanel"); foreach ($widgetList as $widgetContent) { echo $widgetContent; } echo ' </div> <!-- Panel Nav --> </div>'; echo ' <div id="panel-right"></div> <div id="content">' . Alert::display();
echo ' </div> <!-- End "content" --> <div style="padding-top:60px;"></div> </div> <!-- End "viewport-wrap" --> </div> <!-- End "content-wrap" -->'; // Display the Mobile Menu echo ' <!-- Mobile Menu --> <div id="mobile-menu" class="modal-bg" onclick="toggleMenu()" style="position:absolute; top:0px; left:0px; display:none; width:100%; z-index:500; height:100%;"><div style="padding:10px; z-index:600; margin-bottom:80px;">'; // Default to using the side panel if no mobile panel exists if (!isset(WidgetLoader::$slots['MobilePanel']) and isset(WidgetLoader::$slots['SidePanel'])) { $widgetList = WidgetLoader::get("SidePanel"); } else { $widgetList = WidgetLoader::get("MobilePanel"); } foreach ($widgetList as $widgetContent) { echo $widgetContent; } echo ' </div></div>'; $uniCom = URL::unifaction_com(); // Footer echo ' <!-- Standard Footer --> <div id="footer"> <ul id="footer-left"> <li class="mobile-link"><a href="javascript:toggleMenu();">Menu</a></li> <li class="mobile-link"><a href="' . URL::unifaction_com() . '/mobile-menu">All Sites</a></li> </ul>