\n" : "\n"; //get the php self path and set a variable with only the directory path $php_self_array = explode ("/", $_SERVER['PHP_SELF']); $php_self_dir = ''; foreach ($php_self_array as &$value) { if (substr($value, -4) != ".php") { $php_self_dir .= $value."/"; } } unset($php_self_array); if (strlen(PROJECT_PATH) > 0) { $php_self_dir = substr($php_self_dir, strlen(PROJECT_PATH), strlen($php_self_dir)); } ?> \n\n"; } //set fav icon $favicon = (isset($_SESSION['theme']['favicon']['text'])) ? escape($_SESSION['theme']['favicon']['text']) : '/themes/default/favicon.ico'; echo "\n"; ?> <!--{title}--> \n"; } echo "\n"; } ?> get(null,'themes/default'); ?>
0 && permission_exists("domain_select") && count($_SESSION['domains']) > 1) { ?>
".$text['theme-title-domains']." (".sizeof($_SESSION['domains']).")"; ?>

"; echo "".escape($domain['domain_name'])."\n"; if ($domain['domain_description'] != '') { echo " - ".escape($domain['domain_description'])."\n"; } echo "
\n"; $ary_domain_names[] = escape($domain['domain_name']); $ary_domain_descs[] = str_replace('"','\"',escape($domain['domain_description'])); } ?>
"; echo "
"; echo " "; echo "
"; echo ""; if (!$default_login) { //*************** BOOTSTRAP MENU ******************************** function show_menu($menu_array, $menu_style, $menu_position) { global $text; //determine menu behavior switch ($menu_style) { case 'inline': $menu_type = 'default'; $menu_width = 'calc(100% - 20px)'; $menu_brand = false; $menu_corners = null; break; case 'static': $menu_type = 'static-top'; $menu_width = 'calc(100% - 40px)'; $menu_brand = true; $menu_corners = "style='-webkit-border-radius: 0 0 4px 4px; -moz-border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;'"; break; case 'fixed': default: $menu_position = ($menu_position != '') ? $menu_position : 'top'; $menu_type = 'fixed-'.$menu_position; $menu_width = 'calc(90% - 20px)'; $menu_brand = true; $menu_corners = null; } ?> db = $db; $menu->menu_uuid = $_SESSION['domain']['menu']['uuid']; $menu_array = $menu->menu_array(); unset($menu); $menu_style = ($_SESSION['theme']['menu_style']['text'] != '') ? $_SESSION['theme']['menu_style']['text'] : 'fixed'; $menu_position = ($_SESSION['theme']['menu_position']['text']) ? $_SESSION['theme']['menu_position']['text'] : 'top'; $open_container = "
"; switch ($menu_style) { case 'inline': $logo_align = ($_SESSION['theme']['logo_align']['text'] != '') ? $_SESSION['theme']['logo_align']['text'] : 'left'; $logo_style = ($_SESSION['theme']['logo_style']['text'] != '') ? $_SESSION['theme']['logo_style']['text'] : ''; echo str_replace("center", $logo_align, $open_container); if ($_SERVER['PHP_SELF'] != PROJECT_PATH."/core/install/install.php") { $logo = ($_SESSION['theme']['logo']['text'] != '') ? $_SESSION['theme']['logo']['text'] : PROJECT_PATH."/themes/default/images/logo.png"; echo ""; } show_menu($menu_array, $menu_style, $menu_position); break; case 'static': echo $open_container; show_menu($menu_array, $menu_style, $menu_position); break; case 'fixed': show_menu($menu_array, $menu_style, $menu_position); echo $open_container; } ?>