params->get("templateWidth", "960px"); /* Path to logo image starting from the Joomla! root folder (! without preceding slash !). */ $logo_path = $this->params->get("logoPath", "templates/jsn_epic_pro/images/logo.png"); /* Logo width specified in pixels. */ $logo_width = $this->params->get("logoWidth", "250px"); /* Logo height specified in pixels. */ $logo_height = $this->params->get("logoHeight", "75px"); /* URL where logo image should link to (! without preceding slash !). */ $logo_link = $this->params->get("logoLink", ""); /* Definition whether to enable PNG fix feature for IE6 or not. This parameter should be turned off only when there are incompatibility issues. */ $enable_pngfix = ($this->params->get("enablePNGfix", 1) == 1)?"yes":"no"; // yes | no /****************************************************************/ /* Private use only */ $template_path = $this->baseurl."/templates/".$this->template; $has_right = $this->countModules('right'); $has_left = $this->countModules('left'); $logo_image = $this->baseurl."/".$logo_path; $logo_text = $mainframe->getCfg('sitename'); // Parameter filter $template_width = intval($template_width); $template_width .= ($template_width < 100)?"%":"px"; $logo_width = intval($logo_width)."px"; $logo_height = intval($logo_height)."px"; $logo_link = ($logo_link != "")?$this->baseurl."/".$logo_link:""; ?> '; // Setup template width parameter echo ' #jsn-page { width: '.$template_width.'; } '; // Adjustment of header area according to the logo height parameter echo ' #jsn-header { height: '.$logo_height.'; } '; // Setup width of content area $tw = 100; if ($has_left) { $tw -= 23; echo ' #jsn-content_inner1 { background: transparent url('.$template_path.'/images/leftside-bg-full.png) repeat-y 23% top; padding: 0; } #jsn-maincontent_inner { padding-left: 0; } '; } if ($has_right) { $tw -= 23; echo ' #jsn-content_inner2 { background: transparent url('.$template_path.'/images/rightside-bg-full.png) repeat-y 77% top; padding: 0; } #jsn-maincontent_inner { padding-right: 0; } '; } echo ' #jsn-leftsidecontent { float: left; width: 23%; } #jsn-maincontent { float: left; width: '.($tw-0.15).'%; } #jsn-rightsidecontent { float: right; width: 23%; } '; echo ''; // Setup core javascript library echo '_'; ?>
countModules( 'top' ) > 0) { ?>
countModules( 'toolbar' ) > 0) { ?>
countModules( 'inset' ) > 0) { ?>
countModules( 'header' ) > 0) { ?>
countModules( 'left' ) > 0) { ?>
countModules( 'user1' ) > 0) { ?>
countModules( 'user2' ) > 0) { ?>
countModules( 'user3' ) > 0) { ?>
countModules( 'user4' ) > 0) { ?>
countModules( 'banner' ) > 0) { ?>
countModules( 'right' ) > 0) { ?>
countModules( 'user5' ) > 0) { ?>
countModules( 'user6' ) > 0) { ?>
countModules( 'user7' ) > 0) { ?>
Joomla 1.5 Templates by JoomlaShine.com'; echo $copyright_text; ?>