芝麻web文件管理V1.00
编辑当前文件:/home/asmplong/www/ancien-site-2019/site/templates/jsn_epic_free/includes/jsn_head.php
addStylesheet($this->baseurl."/templates/system/css/system.css"); $this->addStylesheet($this->baseurl."/templates/system/css/general.css"); $this->addStylesheet($template_path."/css/template.css"); // Load specific CSS file for template color $this->addStylesheet($template_path."/css/template_".$template_color.".css"); if($template_direction == "rtl") { $this->addStylesheet($template_path."/css/template_rtl.css"); } ?> '; // Setup template width parameter $twidth = 0; switch ($template_width) { case 'narrow': $twidth = $narrow_width; break; case 'wide': $twidth = $wide_width; break; case 'float': $twidth = $float_width; break; } if ($twidth > 100) { echo ' #jsn-page { width: '.$twidth.'px; } '; } else { echo ' #jsn-page { width: '.$twidth.'%; } '; } // Setup width of promo area $tw = 100; if ($has_promoleft) { $tw -= $promo_left_width; echo ' #jsn-pos-promo { float: right; } '; } if ($has_promoright) { $tw -= $promo_right_width; echo ' #jsn-pos-promo { float: left; } '; } echo ' #jsn-pos-promo-left { float: left; width: '.$promo_left_width.'%; } #jsn-pos-promo { width: '.($tw-$ieoffset).'%; } #jsn-pos-promo-right { float: right; width: '.$promo_right_width.'%; } '; // Setup width of content area $tw = 100; if ($has_left) { $tw -= $left_width; echo ' #jsn-content_inner { right: '.(100 - $left_width).'%; } #jsn-content_inner1 { left: '.(100 - $left_width).'%; } '; } if ($has_right) { $tw -= $right_width; echo ' #jsn-content_inner2 { left: '.(100 - $right_width).'%; } #jsn-content_inner3 { right: '.(100 - $right_width).'%; } '; } echo ' #jsn-leftsidecontent { float: left; width: '.$left_width.'%; left: -'.($tw-$ieoffset).'%; } #jsn-maincontent { float: left; width: '.($tw-$ieoffset).'%; left: '.(($has_left)?$left_width.'%':0).'; } #jsn-rightsidecontent { float: right; width: '.$right_width.'%; } '; $tw = 100; if ($has_innerleft) { $tw -= $innerleft_width; } if ($has_innerright) { $tw -= $innerright_width; } echo ' #jsn-pos-innerleft { float: left; width: '.$innerleft_width.'%; left: -'.($tw-$ieoffset).'%; } #jsn-centercol { float: left; width: '.($tw-$ieoffset).'%; left: '.(($has_innerleft)?$innerleft_width.'%':0).'; } #jsn-pos-innerright { float: right; width: '.$innerright_width.'%; } '; // Setup font regular text echo ' #jsn-master.jsn-textstyle-'.$template_textstyle.' { font-family: '.$jsn_textstyles_config[$template_textstyle]['font-a'].'; } '; // Setup font heading and menu text $elements_length = count($jsn_font_b_elements); for($i=0;$i<$elements_length;$i++){ echo ' #jsn-master.jsn-textstyle-'.$jsn_font_b_elements.' { font-family: '.$jsn_textstyles_config[$template_textstyle]['font-b'].'; } '; } // Setup font size echo ' #jsn-master.jsn-textstyle-'.$template_textstyle.'.jsn-textsize-'.$template_textsize.' { font-size: '.$jsn_textstyles_config[$template_textstyle]["size-$template_textsize"].'; } '; echo ''; // Include Javascript files $this->addScriptDeclaration($javascript_params); $this->addScript($template_path.'/js/jsn_utils.js'); $this->addScript($template_path.'/js/jsn_template.js'); ?>