baseurl.'/templates/'.$this->template; ?> countModules('advert1'); $showadvert[2] = $this->countModules('advert2'); $showadvert[3] = $this->countModules('advert3'); $showadvert[4] = $this->countModules('advert4'); $showbreadcrumbs = $this->countModules('breadcrumbs'); $showfooter[1] = $this->countModules('footer1'); $showfooter[2] = $this->countModules('footer2'); $showfooter[3] = $this->countModules('footer3'); $showfooter[4] = $this->countModules('footer4'); $showinset = $this->countModules('inset'); $showleft = $this->countModules('left'); $showpanel[1] = $this->countModules('panel1'); $showpanel[2] = $this->countModules('panel2'); $showpanel[3] = $this->countModules('panel3'); $showpanel[4] = $this->countModules('panel4'); $showright = $this->countModules('right'); $showuser1 = $this->countModules('user1'); $showuser3 = $this->countModules('user3'); $showuser[5] = $this->countModules('user5'); $showuser[6] = $this->countModules('user6'); $showuser[7] = $this->countModules('user7'); $showuser[8] = $this->countModules('user8'); $showuser[9] = $this->countModules('user9'); $showuser[10] = $this->countModules('user10'); $showuser[11] = $this->countModules('user11'); $showuser[12] = $this->countModules('user12'); $showuser[13] = $this->countModules('user13'); $showuser[14] = $this->countModules('user14'); $showuser[15] = $this->countModules('user15'); $showuser[16] = $this->countModules('user16'); $showtoolbar = $this->countModules('toolbar'); $panelmodules = 0; for ($loop = 1; $loop <= 4; $loop += 1) { if($showpanel[$loop]) { $panelmodules++; } } $uppermodules = 0; for ($loop = 1; $loop <= 4; $loop += 1) { if($showadvert[$loop]) { $uppermodules++; } } $bottommodules = 0; for ($loop = 5; $loop <= 8; $loop += 1) { if($showuser[$loop]) { $bottommodules++; } } $footer1modules = 0; for ($loop = 9; $loop <= 12; $loop += 1) { if($showuser[$loop]) { $footer1modules++; } } $footer2modules = 0; for ($loop = 13; $loop <= 16; $loop += 1) { if($showuser[$loop]) { $footer2modules++; } } $footer3modules = 0; for ($loop = 1; $loop <= 4; $loop += 1) { if($showfooter[$loop]) { $footer3modules++; } } ?> params->get("templateWidth", "960"); $columnLayout = $this->params->get("columnLayout", "lmr"); $textDirection = $this->params->get("textDirection", "ltr"); if ($showleft) { $columnLeftWidth = $this->params->get("columnLeftWidth", "210"); $columnLeftPad = 0; }else{ $columnLeftWidth = 0; $columnLeftPad = 0; } if ($showright) { $columnRightWidth = $this->params->get("columnRightWidth", "210"); $columnRightPad = 0; }else{ $columnRightWidth = 0; $columnRightPad = 0; } $contentWidth = $templateWidth - $columnLeftWidth - $columnLeftPad - $columnRightWidth - $columnRightPad; // advert1-4 modules width if($uppermodules) { $advert_width = 0; $advert_width = ($templateWidth - (($uppermodules - 1) * 12) - ($uppermodules * 8)) / $uppermodules; // 12px (margin-right); 2*4px (padding left/right) $advert_width = floor($advert_width); } // user5-8 modules width if($bottommodules) { $bottom_width = 0; $bottom_width = ($templateWidth - (($bottommodules - 1) * 12) - ($bottommodules * 8)) / $bottommodules; $bottom_width = floor($bottom_width); } // user9-12 modules width if($footer1modules) { $footer1_width = 0; $footer1_width = ($templateWidth - (($footer1modules - 1) * 12) - ($footer1modules * 8)) / $footer1modules; $footer1_width = floor($footer1_width); } // user13-16 modules width if($footer2modules) { $footer2_width = 0; $footer2_width = ($templateWidth - (($footer2modules - 1) * 12) - ($footer2modules * 8)) / $footer2modules; $footer2_width = floor($footer2_width); } // footer1-4 modules width if($footer3modules) { $footer3_width = 0; $footer3_width = ($templateWidth - (($footer3modules - 1) * 12) - ($footer3modules * 8)) / $footer3modules; $footer3_width = floor($footer3_width); } // panel1-4 modules width if($panelmodules) { $panel_width = 0; $panel_width = ($templateWidth - (($panelmodules - 1) * 12) - ($panelmodules * 8)) / $panelmodules; $panel_width = floor($panel_width); } // add-ons $imageReflectionLoad = $this->params->get("imageReflectionLoad", "1"); $scrollToLoad = $this->params->get("scrollToLoad", "1"); // template style // check if in parameters $templateStyle = $this->params->get("templateStyle", "1"); // check if it cookie if(isset($_COOKIE['Style'])) { $templateStyle = $_COOKIE['Style']; } $templateStyleTest = ""; // check if in link if (isset($_GET['style'])) { $templateStyleTest = $_GET['style']; } if ($templateStyleTest) { $templateStyle = $templateStyleTest; $Month = 2592000 + time(); setcookie("Style", $templateStyle, $Month); } if($templateStyle) { require(YOURBASEPATH."/styles/style".$templateStyle.".php"); }else{ $backgroundImage = $this->params->get("backgroundImage", "1"); $backgroundColor = $this->params->get("backgroundColor", "#000000"); $mainFontSize = $this->params->get("mainFontSize", "12"); $bodyText = $this->params->get("bodyText", "#755D6E"); $linkColor = $this->params->get("linkColor", "#DDAC6B"); $logoColor1 = $this->params->get("logoColor1", "#FFFFFF"); $contentBg = $this->params->get("contentBg", "#000000"); $menuAnimationEffect = $this->params->get("menuEffect", "fadeIn(700)"); $topMenuText = $this->params->get("topMenuText", "#FFFFFF"); $topMenuHoverText = $this->params->get("topMenuHoverText", "#F0F0F0"); $topMenuSubText = $this->params->get("topMenuSubText", "#F2F2F2"); $topMenuButton = $this->params->get("topMenuButton", "#000000"); $mainMenuText = $this->params->get("mainMenuText", "#969696"); $mainMenuHoverText = $this->params->get("mainMenuHoverText", "#DDAC6B"); $mainMenuTextActive = $this->params->get("mainMenuTextActive", "#DDAC6B"); $componentHeadingText = $this->params->get("componentHeadingText", "#DDAC6B"); $headingText = $this->params->get("headingText", "#DDAC6B"); $headingHoverText = $this->params->get("headingHoverText", "#DDAC6B"); $modulesFontSize = $this->params->get("modulesFontSize", "12"); $featuredModuleHeading = $this->params->get("featuredModuleHeading", "#FFFFFF"); $featuredModuleBg = $this->params->get("featuredModuleBg", "#2E182D"); $featuredModuleText = $this->params->get("featuredModuleText", "#969696"); $columnHeading = $this->params->get("columnHeading", "#EDEDED"); $columnText = $this->params->get("columnText", "#969696"); $advert14ModulesHeading = $this->params->get("advert14ModulesHeading", "#FFFFFF"); $advert14ModulesText = $this->params->get("advert14ModulesText", "#755D6E"); $user58ModulesHeading = $this->params->get("user58ModulesHeading", "#FFFFFF"); $user58ModulesText = $this->params->get("user58ModulesText", "#FFFFFF"); $user912ModulesHeading = $this->params->get("user912ModulesHeading", "#FFFFFF"); $user912ModulesText = $this->params->get("user912ModulesText", "#BBBBBB"); $user1316ModulesHeading = $this->params->get("user1316ModulesHeading", "#FFFFFF"); $user1316ModulesText = $this->params->get("user1316ModulesText", "#BBBBBB"); $user1316ModulesBackground = $this->params->get("user1316ModulesBackground", "#3F2323"); $columnFirstWord = $this->params->get("columnFirstWord", "#444444"); $footer14ModulesHeading = $this->params->get("footer14ModulesHeading", "#444444"); $footer14ModulesText = $this->params->get("footer14ModulesText", "#3B3B3B"); $footer14Bg = $this->params->get("footer14Bg", "#11090a"); $footer14Border = $this->params->get("footer14Border", "#3f2323"); $copyrightText = $this->params->get("copyrightText", "#3B3B3B"); $panelBg = $this->params->get("panelBg", "#000000"); $panelHeadings = $this->params->get("panelHeadings", "#FFFFFF"); $panelBorder = $this->params->get("panelBorder", "#000000"); $panelText = $this->params->get("panelText", "#FFFFFF"); $panelLinks = $this->params->get("panelLinks", "#DDAC6B"); } ?>
">
">
">
Open
">
">
">
">
">
">
top