{@ $li = $layout_info; $is_mobile = Mobile::isMobileCheckByAgent() && !$_COOKIE['fakeM']; $is_index_module = ($site_module_info->module_srl === $current_module_info->module_srl); if(!$li->custom) $li->custom = array(); Context::addHtmlHeader(''); if(!$_COOKIE['fakeM']) Context::addHtmlHeader(''); Context::set("admin_bar","false"); } {@ $colorset = $li->colorset; if(!$colorset) $colorset = 'info'; if(!$li->sb_col) $li->sb_col = "2"; // Context::addBodyClass($colorset); switch($colorset): case 'primary':$colorset_cc = "#428bca";break; case 'success':$colorset_cc = "#5cb85c";break; case 'warning':$colorset_cc = "#f0ad4e";break; case 'danger':$colorset_cc = "#d9534f";break; default:$colorset_cc = "#5bc0de";break; endswitch; if(strpos($act,'dispMember')!== false || strpos($act,'dispCommunication') !== false || $act == 'dispNcenterliteNotifyList' || $act == 'dispNcenterliteUserConfig' || $act == 'dispSocialxeSnsManage') $is_member_menu = 'Y'; if(!$li->jumbotron_align) $li->jumbotron_align = "center"; if($is_index_module && ($li->slide_use == 'only_main' || !$li->slide_use)) $li->slide_use = 'Y'; if(!$is_index_module && ($li->slide_use == 'only_main' || !$li->slide_use)) $li->slide_use = 'N'; if($is_index_module && ($li->jumbotron == 'no_main' || !$li->jumbotron)) $li->jumbotron = 'N'; if($is_index_module && $li->jumbotron == 'only_main') $li->jumbotron = 'Y'; if(!$is_index_module && ($li->jumbotron == 'no_main' || !$li->jumbotron)) $li->jumbotron = 'Y'; if(!$li->site_frame) $li->site_frame = 'sidebar_content'; if($li->site_frame_content): $li->site_frame_content = explode(',',$li->site_frame_content); if(in_array($mid,$li->site_frame_content)/* || $_COOKIE['simplestrap_full_frame']*/) $li->site_frame='content'; endif; if($li->jumbotron_hide_mid): $li->jumbotron_hide_mid = explode(',',$li->jumbotron_hide_mid); if(in_array($mid,$li->jumbotron_hide_mid)) $li->jumbotron = 'N'; endif; }