// no direct access defined( '_JEXEC' ) or die( 'Restricted index access' ); define( 'YOURBASEPATH', dirname(__FILE__) ); require( YOURBASEPATH.DS."styles.php"); require( YOURBASEPATH.DS."rt_styleswitcher.php"); JHTML::_( 'behavior.mootools' ); global $template_real_width, $leftcolumn_width, $rightcolumn_width, $tstyle; global $js_compatibility, $menu_rows_per_column, $menu_columns, $menu_multicollevel; global $header_style, $body_style, $menu_name; global $f_enablejs, $f_enable_current, $f_subsoffset_top, $f_subsoffset_left, $f_vertical_animation; global $f_vertical_duration, $f_horizontal_animation, $f_horizontal_duration, $sm_enable_current; $live_site = $mainframe->getCfg('live_site'); $template_path = $this->baseurl . '/templates/' . $this->template; $preset_style = $this->params->get("presetStyle", "style1"); $header_style = $this->params->get("headerStyle", "style1"); $body_style = $this->params->get("bodyStyle", "light"); $frontpage_component = $this->params->get("enableFrontpage", "show"); $enable_ie6warn = ($this->params->get("enableIe6warn", 0) == 0)?"false":"true"; $font_family = $this->params->get("fontFamily", "optima"); $enable_fontspans = ($this->params->get("enableFontspans", 1) == 0)?"false":"true"; $enable_inputstyle = ($this->params->get("enableInputstyle", 1) == 0)?"false":"true"; $inputs_exclusion = $this->params->get("inputsExclusion", "'.content_vote'"); $template_width = $this->params->get("templateWidth", "982"); $leftcolumn_width = $this->params->get("leftcolumnWidth", "260"); $rightcolumn_width = $this->params->get("rightcolumnWidth", "260"); $leftinset_width = $this->params->get("leftinsetWidth", "180"); $rightinset_width = $this->params->get("rightinsetWidth", "180"); $splitmenu_col = $this->params->get("splitmenuCol", "rightcol"); $menu_name = $this->params->get("menuName", "mainmenu"); $menu_type = $this->params->get("menuType", "fusion"); $default_font = $this->params->get("defaultFont", "default"); $show_logo = ($this->params->get("showLogo", 1) == 0)?"false":"true"; $show_textsizer = ($this->params->get("showTextsizer", 1) == 0)?"false":"true"; $show_date = ($this->params->get("showDate", 0) == 0)?"false":"true"; $clientside_date = ($this->params->get("clientSideDate", 0) == 0)?"false":"true"; $show_topbutton = ($this->params->get("showTopbutton", 1) == 0)?"false":"true"; $show_copyright = ($this->params->get("showCopyright", 1) == 0)?"false":"true"; $copyright_text = $this->params->get("copyrightText", "Copyright 2009, All Rights Reserved"); $js_compatibility = ($this->params->get("jsCompatibility", 0) == 0)?"false":"true"; // fusion menu $f_enablejs = ($this->params->get('roknavmenu_fusion_enable_js', 1) == 0)?"false":"true"; $f_opacity = $this->params->get('roknavmenu_fusion_opacity', 1); $f_effect = $this->params->get('roknavmenu_fusion_effect', 'slidefade'); $f_hidedelay = $this->params->get('roknavmenu_fusion_hidedelay', 500); $f_menu_animation = $this->params->get('roknavmenu_fusion_menu_animation', 'Quad.easeOut'); $f_menu_duration = $this->params->get('roknavmenu_fusion_menu_duration', 400); $f_pill = $this->params->get('roknavmenu_fusion_pill', 0); $f_pill_animation = $this->params->get('roknavmenu_fusion_pill_animation', 'Back.easeOut'); $f_pill_duration = $this->params->get('roknavmenu_fusion_pill_duration', 400 ); $f_tweakInitial_x = $this->params->get('roknavmenu_fusion_tweakInitial_x', '0'); $f_tweakInitial_y = $this->params->get('roknavmenu_fusion_tweakInitial_y', '0'); $f_tweakSubsequent_x = $this->params->get('roknavmenu_fusion_tweakSubsequent_x', '0'); $f_tweakSubsequent_y = $this->params->get('roknavmenu_fusion_tweakSubsequent_y', '0'); $f_enable_current = ($this->params->get('roknavmenu_fusion_enable_current_id', 0) == 0)?"false":"true"; // splitmenu $sm_enable_current = ($this->params->get('roknavmenu_splitmenu_enable_current_id', 0) == 0)?"false":"true"; require(YOURBASEPATH . "/rt_styleloader.php"); ?>