countModules('user4') or $this->countModules('user5')) : ?>
|
|
|
countModules( 'user7' )) : ?>
|
params->get("headerstyle", "graphic"); $headline = $this->params->get("headline", "Jamba"); $slogan = $this->params->get("slogan", "A Free Template From Joomlashack"); $themecolor = $this->params->get("themecolor", "style1"); require( YOURBASEPATH.DS."/themesaver.php"); function getColumns ($left, $right){ if ($left && !$right) {$style = "-left-only";} if ($right && !$left) $style = "-right-only"; if (!$left && !$right) $style = "-wide"; if ($left && $right) $style = "-both"; return $style; } $style = getColumns($this->countModules( 'left' ),$this->countModules( 'right' )); //count modules in vertical positions u45 $user45count = $this->countModules('user4') + $this->countModules('user5'); if ($user45count == "1") {$user45width = "100%";} elseif ($user45count == "2") {$user45width = "50%";} //count modules in vertical positions u67 $user67count = $this->countModules('user6') + $this->countModules('user7'); if ($user67count == "1") {$user67width = "100%";} elseif ($user67count == "2") {$user67width = "50%";} ?>
countModules('user4') or $this->countModules('user5')) : ?>
|
|
|
countModules( 'user7' )) : ?>
|