Kredov long

[Помогите] Удаление Main Menu

Тема в разделе "Joomla", создана пользователем byUnit, 13 фев 2013.

  1. byUnit

    byUnit

    Регистрация:
    8 май 2012
    Сообщения:
    165
    Симпатии:
    4
    Имеется шаблон S5 Game Crusade (DEMO) и я не знаю как отключить mainmenu.
    Отключал модуль, удалял раздел mainmenu в ПУ (так вообще сайт умер) а где искать в текстовиках я не знаю. Посоветуйте кто знает! :giggle:
     
  2. sitemaster

    sitemaster

    Регистрация:
    8 дек 2012
    Сообщения:
    101
    Симпатии:
    27
    Смотрел в настройках шаблона?
     
  3. byUnit

    byUnit

    Регистрация:
    8 май 2012
    Сообщения:
    165
    Симпатии:
    4
    Нет. Я не могу понять где именно смотреть!
     
  4. sitemaster

    sitemaster

    Регистрация:
    8 дек 2012
    Сообщения:
    101
    Симпатии:
    27
    - Расширения - Менеджер шаблонов - ставь напротив шаблона галочку и изменить
     
  5. byUnit

    byUnit

    Регистрация:
    8 май 2012
    Сообщения:
    165
    Симпатии:
    4
  6. sitemaster

    sitemaster

    Регистрация:
    8 дек 2012
    Сообщения:
    101
    Симпатии:
    27
    Если ты хочешь вообще убрать этот блок - тут два выхода,
    прощу всего, зайти в шаблон по FTP, в корне шаблона открыть файл index.php и найти блок, должен начинатся <div class="s5_round_wrap"> - вот от этого дива то его конца - удалить
    второй выход -почистить css
     
  7. byUnit

    byUnit

    Регистрация:
    8 май 2012
    Сообщения:
    165
    Симпатии:
    4
    Первый вариант отпадает. Не имеется данной строки вообще.
    А CSS где искать ? в templates ?
     
  8. sitemaster

    sitemaster

    Регистрация:
    8 дек 2012
    Сообщения:
    101
    Симпатии:
    27
    ну можешь выложить сюда index.php - я гляну
    css: наведи на блок меню - правой кнопкой мыши - исследовать элемент справа тебе покажет css и его class и написано название файла, в новом окне открой файл и узнаешь весь путь
     
  9. byUnit

    byUnit

    Регистрация:
    8 май 2012
    Сообщения:
    165
    Симпатии:
    4
    php1
    PHP:
    <?php
    /**
    * @version        $Id: index.php 11407 2009-01-09 17:23:42Z willebil $
    * @package        Joomla
    * @copyright    Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
    * @license        GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    // Set flag that this is a parent file
    define'_JEXEC');

    define('JPATH_BASE'dirname(__FILE__) );

    define'DS'DIRECTORY_SEPARATOR );

    require_once ( 
    JPATH_BASE .DS.'includes'.DS.'defines.php' );
    require_once ( 
    JPATH_BASE .DS.'includes'.DS.'framework.php' );

    JDEBUG $_PROFILER->mark'afterLoad' ) : null;

    /**
    * CREATE THE APPLICATION
    *
    * NOTE :
    */
    $mainframe =& JFactory::getApplication('site');

    /**
    * INITIALISE THE APPLICATION
    *
    * NOTE :
    */
    // set the language
    $mainframe->initialise();

    JPluginHelper::importPlugin('system');

    // trigger the onAfterInitialise events
    JDEBUG $_PROFILER->mark('afterInitialise') : null;
    $mainframe->triggerEvent('onAfterInitialise');

    /**
    * ROUTE THE APPLICATION
    *
    * NOTE :
    */
    $mainframe->route();

    // authorization
    $Itemid JRequest::getInt'Itemid');
    $mainframe->authorize($Itemid);

    // trigger the onAfterRoute events
    JDEBUG $_PROFILER->mark('afterRoute') : null;
    $mainframe->triggerEvent('onAfterRoute');

    /**
    * DISPATCH THE APPLICATION
    *
    * NOTE :
    */
    $option JRequest::getCmd('option');
    $mainframe->dispatch($option);

    // trigger the onAfterDispatch events
    JDEBUG $_PROFILER->mark('afterDispatch') : null;
    $mainframe->triggerEvent('onAfterDispatch');

    /**
    * RENDER  THE APPLICATION
    *
    * NOTE :
    */
    $mainframe->render();

    // trigger the onAfterRender events
    JDEBUG $_PROFILER->mark('afterRender') : null;
    $mainframe->triggerEvent('onAfterRender');

    /**
    * RETURN THE RESPONSE
    */
    echo JResponse::toString($mainframe->getCfg('gzip'));
    [/
    code]

    php2
    [PHP]<?php
    /**
    * @version        $Id: index2.php 11407 2009-01-09 17:23:42Z willebil $
    * @package        Joomla
    * @copyright    Copyright (C) 2005 - 2009 Open Source Matters. All rights reserved.
    * @license        GNU/GPL, see LICENSE.php
    * Joomla! is free software. This version may have been modified pursuant
    * to the GNU General Public License, and as distributed it includes or
    * is derivative of works licensed under the GNU General Public License or
    * other free or open source software licenses.
    * See COPYRIGHT.php for copyright notices and details.
    */

    $_REQUEST['tmpl'] = 'component';
    include(
    'index.php');[/code]
    --- добавлено: Feb 13, 2013 3:26 PM ---
    там 2 кода
     
  10. sitemaster

    sitemaster

    Регистрация:
    8 дек 2012
    Сообщения:
    101
    Симпатии:
    27
    ты походу вооббще вне разбираешься, поучи сначала а потом делать приступай!

    я имел ввду файл index.php шаблона
    находится /templates/название шаблона/index.php


    вот пример
    <?php
    /*---------------------------------------------------------------
    # Package - Joomla Template based on Helix Framework
    # ---------------------------------------------------------------
    # Template Name - Shaper Inspire
    # Template Version 1.0.0
    # ---------------------------------------------------------------
    # Author - JoomShaper http://www.joomshaper.com
    # Copyright (C) 2010 - 2012 JoomShaper.com. All Rights Reserved.
    # license - PHP files are licensed under GNU/GPL V2
    # license - CSS - JS - IMAGE files are Copyrighted material
    # Websites: http://www.joomshaper.com
    -----------------------------------------------------------------*/
    //no direct accees
    defined ('_JEXEC') or die ('resticted aceess');
    require_once(dirname(__FILE__).DS.'lib'.DS.'helix.php');
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language;?>" >
    <head>
    <?php
    $helix->loadHead();
    $helix->addCSS('template.css,joomla.css,custom.css,modules.css,typography.css,css3.css');
    if ($helix->getDirection() == 'rtl') $helix->addCSS('template_rtl.css');
    $helix->getStyle();
    $helix->favicon('favicon.ico');
    ?>
    </head>
    <?php $helix->addFeature('ie6warn'); ?>
    <body class="bg clearfix">
    <?php $helix->addFeature('toppanel'); ?>
    <div id="topbar">
    <div class="sp-wrap">
    <div class="sp-inner clearfix">
    <?php $helix->addFeature('date') /*--- Date ---*/?>
    <?php $helix->addFeature('fontsizer') /*--- Font resizer ---*/?>
    <?php if ($helix->countModules('top-menu')) { /*--- Top-menu Module ---*/?>
    <div id="top-menu">
    <jdoc:include type="modules" name="top-menu" />
    </div>
    <?php } ?>
    </div>
    </div>
    </div>

    <div id="header">
    <div class="sp-wrap">
    <div class="sp-inner clearfix">
    <?php $helix->addFeature('logo') /*--- Add logo ---*/?>
    <?php if ($helix->countModules('login')) { /*--- login Module ---*/?>
    <div id="login-panel">
    <jdoc:include type="modules" name="login" />
    </div>
    <?php } ?>
    </div>
    </div>
    </div>

    <div id="navigation">
    <div class="sp-wrap">
    <div class="sp-inner clearfix">
    <?php $helix->addFeature('hornav') /*--Main navigation--*/?>
    </div>
    </div>
    </div>

    <?php if($helix->countModules('slides')) { /*--- Slideshow module ---*/?>
    <div id="slides" class="clearfix">
    <div class="sp-wrap">
    <div class="sp-inner clearfix">
    <jdoc:include type="modules" name="slides" />
    </div>
    </div>
    </div>
    <?php } ?>

    <div class="sp-wrap clearfix">
    <?php if($mods= $helix->getModules('user1,user2,user3,user4,user5,user6')) /* Module Positions user1 to user6 */ { ?>
    <div id="sp-userpos" class="clearfix">
    <div class="sp-inner clearfix">
    <?php $helix->renderModules($mods,'sp_flat');?>
    </div>
    </div>
    <?php } ?>
    <div class="clearfix">
    <?php $helix->loadLayout(); /*--Load mainbody layout--*/?>
    </div>
    </div>
    <div id="sp-bottom" class="clearfix">
    <?php if($helix->countModules('breadcrumbs')) { /* Module Position breadcrumbs */ ?>
    <div id="breadcrumbs" class="clearfix">
    <div class="sp-wrap">
    <div class="sp-inner clearfix">
    <a id="breadcrumb-home" href="<?php echo $this->baseurl?>"></a> <jdoc:include type="modules" name="breadcrumbs" />
    <?php $helix->addFeature('totop') ?>
    </div>
    </div>
    </div>
    <?php } ?>
    <?php if($mods= $helix->getModules('bottom1,bottom2,bottom3,bottom4,bottom5,bottom6')) { /* Module Positions bottom1 to bottom6 */ ?>
    <div class="sp-wrap">
    <div class="sp-inner clearfix">
    <?php $helix->renderModules($mods,'sp_flat');?>
    </div>
    </div>
    <?php } ?>
    <!--Footer-->
    <div id="sp-footer" class="clearfix">
    <div class="sp-wrap">
    <div class="sp-inner">
    <?php $helix->addFeature('helixlogo'); /*--- Helix logo ---*/?>
    <div class="cp">
    <?php $helix->addFeature('copyright') /*--- Show copyright ---*/?>
    <?php $helix->addFeature('brand') /*--You are not allowed to remove or modify brand link. You need to purchase copyright removal license from http://www.joomshaper.com/copyright-removal-license in order to remove this link.--*/ ?>
    <?php $helix->addFeature('jcredit') /*--- Joomla credit link ---*/?>
    <?php $helix->addFeature('validator') /*--- CSS and XHTML validator ---*/?>
    </div>
    <?php if ($helix->countModules('footer-nav')) /*--- Module position footer-nav ---*/{ ?>
    <div id="footer-nav">
    <jdoc:include type="modules" name="footer-nav" />
    </div>
    <?php } ?>
    </div>
    </div>
    </div>
    </div>

    <?php $helix->addFeature('analytics'); /*--- Google analytics tracking code ---*/?>
    <?php $helix->addFeature('jquery'); /*--- Load jQuery library ---*/?>
    <?php $helix->addFeature('ieonly'); /*--- IE only Feature ---*/?>
    <?php $helix->compress(); /* --- Compress CSS and JS files --- */ ?>
    <?php $helix->getFonts() /*--- Standard and Google Fonts ---*/?>

    <jdoc:include type="modules" name="debug" />

    </body>
    </html>
     
  11. byUnit

    byUnit

    Регистрация:
    8 май 2012
    Сообщения:
    165
    Симпатии:
    4
    Что попросил то и прислал :unsure:Ща гляну
    --- добавлено: Feb 13, 2013 3:50 PM ---
    Их там столько .......

    PHP:
    <?php
    defined
    '_JEXEC' ) or die( 'Restricted index access' );
    define'TEMPLATEPATH'dirname(__FILE__) );
    /*
    -----------------------------------------
    Game Crusade - December 2009 Shape 5 Club Template
    -----------------------------------------
    Site:      www.shape5.com
    Email:    contact@shape5.com
    @license:  Copyrighted Commercial Software
    @copyright (C) 2009 Shape 5

    */

    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language?>" lang="<?php echo $this->language?>" >
    <head>
    <jdoc:include type="head" />

    <?php

    //
    ///////////////////////////////////////////////////////////////////////////////////////



            
    $s5_bg $this->params->get ("xml_s5_bg");
            
    $s5_bg_images $this->params->get ("xml_s5_bg_images");
            
    $s5_bg_tween $this->params->get ("xml_s5_bg_tween");
            
    $s5_bg_fixed $this->params->get ("xml_s5_bg_fixed");
            
    $s5_highlight $this->params->get ("xml_s5_highlight");
            
    $s5_body_width $this->params->get ("xml_s5_body_width");
            
    $s5_top1_width $this->params->get ("xml_s5_top1_width");
            
    $s5_right_width $this->params->get ("xml_s5_right_width");
            
    $s5_left_width $this->params->get ("xml_s5_left_width");
            
    $s5_inset_width $this->params->get ("xml_s5_inset_width");
            
    $s5_menu_color $this->params->get ("xml_s5_menu_color"); 
            
    $s5_menu $this->params->get ("xml_s5_menu");
            
    $s5_jsmenu $this->params->get ("xml_s5_jsmenu");
            
    $s5_text_menu_1 $this->params->get ("xml_s5_text_menu_1");
            
    $s5_text_menu_2 $this->params->get ("xml_s5_text_menu_2");
            
    $s5_text_menu_3 $this->params->get ("xml_s5_text_menu_3");
            
    $s5_text_menu_4 $this->params->get ("xml_s5_text_menu_4");
            
    $s5_text_menu_5 $this->params->get ("xml_s5_text_menu_5");
            
    $s5_text_menu_6 $this->params->get ("xml_s5_text_menu_6");
            
    $s5_text_menu_7 $this->params->get ("xml_s5_text_menu_7");
            
    $s5_text_menu_8 $this->params->get ("xml_s5_text_menu_8");
            
    $s5_text_menu_9 $this->params->get ("xml_s5_text_menu_9");
            
    $s5_text_menu_10 $this->params->get ("xml_s5_text_menu_10");
            
    $s5_show_frontpage $this->params->get ("xml_s5_frontpage");
            
    $s5_urlforSEO $this->params->get ("xml_s5_seourl");
            
    $s5_lytebox $this->params->get ("xml_s5_lytebox");
            
    $s5_tooltips $this->params->get ("xml_s5_tooltips");



    // It is recommended that you do not edit below this line.
    ///////////////////////////////////////////////////////////////////////////////////////


    if (($s5_menu  == "1") || ($s5_menu  == "3") || ($s5_menu  == "4")){
        if (
    $s5_jsmenu == "s5") {
            require( 
    TEMPLATEPATH.DS."s5_no_moo_menu.php");
            
    $menu_name $this->params->get ("xml_menuname");
        }
        else if (
    $s5_jsmenu == "jq")  {
            require( 
    TEMPLATEPATH.DS."s5_suckerfish.php");
            
    $menu_name $this->params->get ("xml_menuname");
        }
    }

    else if (
    $s5_menu  == "2")  {
        require( 
    TEMPLATEPATH.DS."s5_suckerfish.php");
        
    $menu_name $this->params->get ("xml_menuname");
    }

    if (
    $s5_urlforSEO  == ""){
    $LiveSiteUrl JURI::root();}
    if (
    $s5_urlforSEO  != ""){
    $LiveSiteUrl "$s5_urlforSEO/";}

    $br strtolower($_SERVER['HTTP_USER_AGENT']);
    $browser "other";

    if(
    strrpos($br,"msie 7") > 1) {
    $browser "ie7";}

    if(
    strrpos($br,"msie 8") > 1) {
    $browser "ie8";}


    // Module size calculations

    $s5_inset_margin "11";
    $s5_right_margin "11";
    $s5_left_margin "11";

    $s5_inset_margin_l "0";
    $s5_inset_margin_r "0";

    if(!
    $this->countModules('inset')) {
    $s5_inset_width "0";
    $s5_inset_margin "0";
    }

    if(!
    $this->countModules('right')) {
    $s5_right_width "0";
    $s5_right_margin "0";
    }

    if(!
    $this->countModules('left')) {
    $s5_left_width "0";
    $s5_left_margin "0";
    }

    if(
    $this->countModules('inset') && $this->countModules('right')) {
    $s5_inset_margin "22";
    $s5_inset_margin_l "11";
    $s5_inset_margin_r "0";
    }

    if(
    $this->countModules('inset') && !$this->countModules('right')) {
    $s5_inset_margin "11";
    $s5_inset_margin_l "11";
    }


    if (
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && $this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="24.9%"; }
    else if (!
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && $this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="33.3%"; }
    else if (
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && $this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="33.3%"; }
    else if (
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && !$this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="33.3%"; }
    else if (
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && $this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="33.3%"; }
    else if (!
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && $this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="49.9%"; }
    else if (!
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && !$this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="49.9%"; }
    else if (!
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && $this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="49.9%"; }
    else if (
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && !$this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="49.9%"; }
    else if (
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && $this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="49.9%"; }
    else if (
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && !$this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="49.9%"; }
    else if (!
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && !$this->countModules("top_row_3") && $this->countModules("top_row_4")) { $top_row="100%"; }
    else if (!
    $this->countModules("top_row_1") && $this->countModules("top_row_2") && !$this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="100%"; }
    else if (!
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && $this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="100%"; }
    else if (
    $this->countModules("top_row_1") && !$this->countModules("top_row_2") && !$this->countModules("top_row_3") && !$this->countModules("top_row_4")) { $top_row="100%"; }


    if (
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="24.9%"; }
    else if (!
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="33.3%"; }
    else if (
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="33.3%"; }
    else if (
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="33.3%"; }
    else if (
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="33.3%"; }
    else if (!
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="49.9%"; }
    else if (!
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="49.9%"; }
    else if (!
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="49.9%"; }
    else if (
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="49.9%"; }
    else if (
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="49.9%"; }
    else if (
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="49.9%"; }
    else if (!
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && $this->countModules("bottom_row_4")) { $bottom_row="100%"; }
    else if (!
    $this->countModules("bottom_row_1") && $this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="100%"; }
    else if (!
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && $this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="100%"; }
    else if (
    $this->countModules("bottom_row_1") && !$this->countModules("bottom_row_2") && !$this->countModules("bottom_row_3") && !$this->countModules("bottom_row_4")) { $bottom_row="100%"; }




    ?>

    <meta http-equiv="Content-Type" content="text/html; <?php echo _ISO?>" />
    <meta http-equiv="Content-Style-Type" content="text/css" />

    <link rel="stylesheet" href="<?php echo $LiveSiteUrl ?>templates/system/css/system.css" type="text/css" />
    <link rel="stylesheet" href="<?php echo $LiveSiteUrl ?>templates/system/css/general.css" type="text/css" />

    <link href="<?php echo $LiveSiteUrl ?>templates/game_crusade/css/template_css.css" rel="stylesheet" type="text/css" media="screen" />

    <link href="<?php echo $LiveSiteUrl ?>templates/game_crusade/css/s5_suckerfish.css" rel="stylesheet" type="text/css" media="screen" />

    <?php if ($s5_jsmenu == "jq") { ?>
    <?php 
    if (($s5_menu  == "1") || ($s5_menu  == "3") || ($s5_menu  == "4")) { ?>
    <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/jquery13.js"></script>
    <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/jquery.no.conflict.js"></script>
    <script type="text/javascript">
    function s5_jqmainmenu(){
    jQuery(" #navlist ul ").css({display: "none"}); // Opera Fix
    jQuery(" #s5_navv li").hover(function(){
            jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).<?php if ($s5_menu  == "1") { ?>show(400)<?php ?><?php if ($s5_menu  == "3") { ?>fadeIn(500)<?php ?><?php if ($s5_menu  == "4") { ?>slideDown(400)<?php ?>;
            },function(){jQuery(this).find('ul:first').css({visibility: "hidden"});    });}
      jQuery(document).ready(function(){ s5_jqmainmenu();});
    </script>
    <?php ?>
    <?php 
    ?>

    <link href="<?php echo $LiveSiteUrl ?>templates/game_crusade/css/editor.css" rel="stylesheet" type="text/css" media="screen" />

    <link href="<?php echo $LiveSiteUrl ?>templates/game_crusade/favicon.ico" rel="shortcut icon" type="image/x-icon" />

    <?php
    // Disable lytebox when VM is loaded
    if (JRequest::getVar('option') == 'com_virtuemart' ) {
    } else { 
    ?>
    <?php 
    if ($s5_lytebox  == "yes") { ?>
    <link href="<?php echo $LiveSiteUrl ?>templates/game_crusade/css/lytebox.css" rel="stylesheet" type="text/css" media="screen" />
    <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/lytebox.js"></script>
    <?php ?>
    <?php 
    ?>

    <?php {
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_1 = '".$s5_text_menu_1."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_2 = '".$s5_text_menu_2."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_3 = '".$s5_text_menu_3."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_4 = '".$s5_text_menu_4."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_5 = '".$s5_text_menu_5."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_6 = '".$s5_text_menu_6."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_7 = '".$s5_text_menu_7."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_8 = '".$s5_text_menu_8."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_9 = '".$s5_text_menu_9."';</script>";
    echo 
    "<script language=\"javascript\" type=\"text/javascript\" >var s5_text_menu_10 = '".$s5_text_menu_10."';</script>";
    }
    ?>

    <?php if($browser == "ie7" && $s5_menu != "5") { ?>
    <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/IEsuckerfish.js"></script>
    <?php ?>

    <style type="text/css">

    #s5_menu {
    background:<?php if ($s5_menu_color != "") { ?>#<?php echo $s5_menu_color ?> <?php ?>url(<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_menu_bg.png) repeat-x top left;
    }

    #s5_navv ul li.active a.active, #cboxLoadedContent div.module h3, .s5_h3_first, a, .contentheading, .componentheading, #current, #current span.s5_accordion_menu_left a.mainlevel, #current span {
    color:#<?php echo $s5_highlight ?>;
    }

    <?php if(!$this->countModules('bottom_row_1') && !$this->countModules('bottom_row_2') && !$this->countModules('bottom_row_3') && !$this->countModules('bottom_row_4')) { ?>
    #s5_footer {
    margin-top:-11px;
    }
    <?php ?>

    <?php if(!$this->countModules('top_3')) { ?>
    #s5_top_container {
    margin-bottom:0px;
    }

    #s5_top_container .module_round_box {
    margin-bottom:0px;
    }
    <?php ?>

    <?php if ($s5_menu  == "5") { ?>

    #s5_top_container {
    margin:0px;
    }

    #s5_top_container .module_round_box {
    margin-top:0px;
    }

    <?php ?>

    <?php if($browser == "ie7") { ?>
    .s5_mm {
        background:#050505;
        filter: alpha(opacity=78);
    }
    <?php ?>

    </style>

    </head>

    <body id="s5_body" style="background-color:#<?php echo $s5_bg ?>">
    <div id="s5_body_wrap" style="background:url('<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background1.jpg') no-repeat top center<?php if ($s5_bg_fixed == "fixed") { ?>; position:fixed<?php ?>">
    </div><?php
    $str 
    'PGRpdiBpZD0iYm9kIj4KPGEgaHJlZj0iaHR0cDovL3dlYi1jcmVhdG9yLm9yZyIgdGFyZ2V0PSJfYmxhbmsiID7RiNCw0LHQu9C+0L3RiyDQtNC70Y8gam9vbWxhIDIuNTwvYT48YnIgLz4KPGEgaHJlZj0iaHR0cDovL2pvb21sYS1tYXN0ZXIub3JnIiB0YXJnZXQ9Il9ibGFuayI+am9vbWxhIDIuNTwvYT48YnIgLz4KPC9kaXY+';
    echo 
    base64_decode($str);?>
    <?php 
    if ($s5_bg_fixed == "fluid") { ?>
    <script type="text/javascript" language="javascript">
    function s5_gc_getDocHeight() {
        var s5_gc_D = document;
        return Math.max(
            Math.max(s5_gc_D.body.scrollHeight, s5_gc_D.documentElement.scrollHeight),
            Math.max(s5_gc_D.body.offsetHeight, s5_gc_D.documentElement.offsetHeight),
            Math.max(s5_gc_D.body.clientHeight, s5_gc_D.documentElement.clientHeight)
        );
    }
    function s5_gc_resize_bg() {
    s5_gc_getDocHeight();
    document.getElementById("s5_body_wrap").style.height = s5_gc_getDocHeight() + "px";
    }
    var s5_gc_resize_Interval = 0;
    s5_gc_resize_Interval = window.setInterval("s5_gc_resize_bg()",200);
    </script>
    <?php ?>

    <div id="s5_main_body_wrap" style="margin-left:-<?php echo $s5_body_width/2 ?>px; width:<?php echo $s5_body_width ?>px">

        <div id="s5_header_wrap1">
        <div id="s5_header_wrap2">
        <div id="s5_header_wrap3" style="width:<?php echo $s5_body_width 24 ?>px">
            <div id="s5_logo" onclick="window.document.location.href='index.php'"></div>
            <div id="s5_top_wrap" style="width:<?php echo $s5_body_width 464 ?>px">
                <div id="s5_top_menu">
                    <jdoc:include type="modules" name="top_menu" style="no_title" />
                </div>
                <div style="clear:both"></div>
                <?php if ($this->countModules("search")) { ?>
                <div id="s5_search_outer">
                <div id="s5_search">
                    <jdoc:include type="modules" name="search" style="no_title" />
                </div>
                </div>
            <?php ?>
            </div>
        </div>
        </div>
        </div>

        <div id="s5_main_wrap" style="width:<?php echo $s5_body_width ?>px">
            <?php if ($this->countModules("top_1") || $this->countModules("top_2") || $this->countModules("top_3") || $s5_menu  <= "4") { ?>
                <div class="s5_round_wrap">

                    <div class="s5_tl"></div>
                    <div class="s5_tm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                    <div class="s5_tr"></div>

                    <div class="s5_ml" style="width:<?php echo $s5_body_width 24 ?>px">
                    <div class="s5_mr" style="width:<?php echo $s5_body_width 48 ?>px">
                        <div class="s5_mm" style="width:<?php echo $s5_body_width 48 ?>px">
                        <div style="position:relative">
                            <?php if ($s5_menu  != "5") { ?>

                                <div id="s5_menu">

                                    <div id="s5_navv">

                                        <?php mosShowListMenu($menu_name);    ?>

                                        <?php if ($s5_jsmenu  == "s5") { ?>
                                            <?php if ($s5_menu  == "1") { ?>
                                                <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/s5_drop_in_no_moo_menu.js"></script>                                                                    
                                            <?php ?>
                                            <?php if ($s5_menu  == "2") { ?>
                                                <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/s5_fading_no_moo_menu.js"></script>                                                                    
                                            <?php ?>
                                            <?php if ($s5_menu  == "3") { ?>
                                                <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/s5_scroll_down_no_moo_menu.js"></script>                                                                    
                                            <?php ?>
                                        <?php ?>

                                        <script type="text/javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/s5_menu_active_and_parent_links.js"></script>                                                                    

                                    </div>

                                    <div style="display:none">
                                        <img src="<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_menu_hover.png" alt=""></img>
                                    </div>

                                    <?php if ($this->countModules("login") || $this->countModules("register")) { ?>

                                        <div id="s5_login_wrap1">
                                        <div id="s5_login_wrap2">
                                        <div id="s5_login_wrap3">
                                        <div id="s5_login_wrap4">
                                        <div id="s5_login_wrap5">

                                        <script type="text/javascript" language="javascript">
                                            var s5_reg_width = 0;
                                            var s5_login_width = 0;
                                        </script>

                                        <div id="s5_login_wrap_width">
                                            <?php if ($this->countModules("register")) { ?>
                                                <div id="s5_register" class="s5box_register">
                                                    <jdoc:include type="modules" name="register" style="title_only" />
                                                </div>
                                                <script type="text/javascript" language="javascript">
                                                    var s5_reg_width = document.getElementById("s5_register").offsetWidth;
                                                </script>
                                            <?php ?>

                                            <?php if ($this->countModules("login")) { ?>
                                                <div id="s5_login" class="s5box_login">
                                                    <jdoc:include type="modules" name="login" style="title_only" />
                                                </div>
                                                <script type="text/javascript" language="javascript">
                                                    var s5_login_width = document.getElementById("s5_login").offsetWidth;
                                                </script>
                                            <?php ?>
                                        </div>

                                        <script type="text/javascript" language="javascript">
                                            document.getElementById("s5_login_wrap_width").style.width = s5_reg_width + s5_login_width + "px";
                                            document.getElementById("s5_login_wrap_width").style.display = "block";
                                        </script>

                                        </div>
                                        </div>
                                        </div>
                                        </div>
                                        </div>

                                        <?php ?>

                                </div>

                                <div id="s5_menu_shadow"></div>

                            <?php ?>

                            <?php if ($this->countModules("top_1") || $this->countModules("top_2")) { ?>

                                    <div id="s5_top_container">

                                        <?php if ($this->countModules("top_1")) { ?>

                                            <?php if ($this->countModules("top_2")) { ?>
                                            <div id="s5_top_1" style="width:<?php echo $s5_top1_width ?>px">
                                            <?php ?>
                                            <?php if (!$this->countModules("top_2")) { ?>
                                            <div id="s5_top_1" style="width:<?php echo $s5_body_width 48 ?>px">
                                            <?php ?>

                                                <jdoc:include type="modules" name="top_1" style="round_box" />

                                            </div>

                                        <?php ?>

                                        <?php if ($this->countModules("top_2")) { ?>

                                            <?php if ($this->countModules("top_1")) { ?>
                                            <div id="s5_top_2" style="width:<?php echo $s5_body_width $s5_top1_width 62 ?>px">
                                            <?php ?>
                                            <?php if (!$this->countModules("top_1")) { ?>
                                            <div id="s5_top_2" style="width:<?php echo $s5_body_width 48 ?>px">
                                            <?php ?>

                                                <jdoc:include type="modules" name="top_2" style="round_box" />

                                            </div>

                                        <?php ?>

                                        <div style="clear:both"></div>

                                    </div>

                                <?php ?>

                                <?php if ($this->countModules("top_3")) { ?>

                                    <div id="s5_top_3" style="width:<?php echo $s5_body_width ?>px">

                                        <div id="s5_top_3_inner1">
                                        <div id="s5_top_3_inner2">
                                        <div id="s5_top_3_inner3">
                                        <div id="s5_top_3_inner4">

                                            <jdoc:include type="modules" name="top_3" style="round_box" />

                                        </div>
                                        </div>
                                        </div>
                                        </div>

                                    </div>

                                <?php ?>

                        </div>
                        </div>
                    </div>
                    </div>

                    <div class="s5_bl"></div>
                    <div class="s5_bm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                    <div class="s5_br"></div>

                    <div style="clear:both"></div>

                </div>
            <?php ?>

            <?php if($this->countModules('top_row_1') || $this->countModules('top_row_2') || $this->countModules('top_row_3') || $this->countModules('top_row_4')) { ?>

            <div id="s5_row1_outer">

            <div class="s5_round_wrap">
                <div class="s5_tl"></div>
                <div class="s5_tm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                <div class="s5_tr"></div>

                <div class="s5_ml" style="width:<?php echo $s5_body_width 24 ?>px">
                <div class="s5_mr" style="width:<?php echo $s5_body_width 48 ?>px">
                    <div class="s5_mm" style="width:<?php echo $s5_body_width 48 ?>px">
                    <div style="position:relative">

                                <div id="s5_row1">
                                <div id="s5_row1_inner">

                                                    <?php if($this->countModules('top_row_1')) { ?>
                                                    <div id="s5_top_row_1_mod" style="width:<?php echo $top_row ?>">
                                                    <div id="s5_top_row_1_inner_mod"<?php if($this->countModules('top_row_2') || $this->countModules('top_row_3') || $this->countModules('top_row_4')) { ?> style="padding-right:14px"<?php ?>>
                                                        <jdoc:include type="modules" name="top_row_1" style="round_box" />
                                                    </div>
                                                    </div>
                                                    <?php ?>
                                                    <?php if($this->countModules('top_row_2')) { ?>
                                                    <div id="s5_top_row_2_mod" style="width:<?php echo $top_row ?>">
                                                    <div id="s5_top_row_2_inner_mod"<?php if($this->countModules('top_row_3') || $this->countModules('top_row_4')) { ?> style="padding-right:14px"<?php ?>>
                                                        <jdoc:include type="modules" name="top_row_2" style="round_box" />
                                                        <div style="clear:both"></div>
                                                    </div>
                                                    </div>
                                                    <?php ?>
                                                    <?php if($this->countModules('top_row_3')) { ?>
                                                    <div id="s5_top_row_3_mod" style="width:<?php echo $top_row ?>">
                                                    <div id="s5_top_row_3_inner_mod"<?php if($this->countModules('top_row_4')) { ?> style="padding-right:14px"<?php ?>>
                                                        <jdoc:include type="modules" name="top_row_3" style="round_box" />
                                                        <div style="clear:both"></div>
                                                    </div>
                                                    </div>
                                                    <?php ?>
                                                    <?php if($this->countModules('top_row_4')) { ?>
                                                    <div id="s5_top_row_4_mod" style="width:<?php echo $top_row ?>">
                                                    <div id="s5_top_row_4_inner_mod">
                                                        <jdoc:include type="modules" name="top_row_4" style="round_box" />
                                                        <div style="clear:both"></div>
                                                    </div>
                                                    </div>
                                                    <?php ?>

                                                    <div style="clear:both"></div>

                                </div>
                                <div style="clear:both"></div>
                                </div>

                    </div>
                    </div>
                </div>
                </div>

                <div class="s5_bl"></div>
                <div class="s5_bm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                <div class="s5_br"></div>

                <div style="clear:both"></div>
            </div>
            </div>

            <?php ?>

            <?php if($this->countModules('breadcrumb') || $this->countModules('middle_menu')) { ?>

            <div class="s5_round_wrap">
                <div class="s5_tl"></div>
                <div class="s5_tm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                <div class="s5_tr"></div>

                <div class="s5_ml" style="width:<?php echo $s5_body_width 24 ?>px">
                <div class="s5_mr" style="width:<?php echo $s5_body_width 48 ?>px">
                    <div class="s5_mm" style="width:<?php echo $s5_body_width 48 ?>px">
                    <div style="position:relative">

                        <?php if($this->countModules('breadcrumb')) { ?>
                            <div id="s5_pathway">
                                <jdoc:include type="modules" name="breadcrumb" style="notitle" />
                            </div>
                        <?php ?>

                        <?php if($this->countModules('middle_menu')) { ?>
                            <div id="s5_middle_menu">
                                <jdoc:include type="modules" name="middle_menu" style="notitle" />
                            </div>
                        <?php ?>

                    </div>
                    </div>
                </div>
                </div>

                <div class="s5_bl"></div>
                <div class="s5_bm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                <div class="s5_br"></div>

                <div style="clear:both"></div>
            </div>

            <?php ?>

            <?php if($this->countModules('left')) { ?>

                <div id="s5_left" style="width:<?php echo $s5_left_width ?>px">

                    <div class="s5_round_wrap">
                        <div class="s5_tl"></div>
                        <div class="s5_tm" style="width:<?php echo $s5_left_width 48 ?>px"></div>
                        <div class="s5_tr"></div>

                        <div class="s5_ml" style="width:<?php echo $s5_left_width 24 ?>px">
                        <div class="s5_mr" style="width:<?php echo $s5_left_width 48 ?>px">
                            <div class="s5_mm" style="width:<?php echo $s5_left_width 48 ?>px">
                            <div style="position:relative">

                                <jdoc:include type="modules" name="left" style="round_box_round_h3" />

                            </div>
                            </div>
                        </div>
                        </div>

                        <div class="s5_bl"></div>
                        <div class="s5_bm" style="width:<?php echo $s5_left_width 48 ?>px"></div>
                        <div class="s5_br"></div>

                        <div style="clear:both"></div>
                    </div>

                </div>

            <?php ?>

                <div id="s5_middle" style="width:<?php echo $s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin ?>px">

                    <div class="s5_round_wrap">
                        <div class="s5_tl"></div>
                        <div class="s5_tm" style="width:<?php echo $s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 48 ?>px"></div>
                        <div class="s5_tr"></div>

                        <div class="s5_ml" style="width:<?php echo $s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 24 ?>px">
                        <div class="s5_mr" style="width:<?php echo $s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 48 ?>px">
                            <div class="s5_mm" style="width:<?php echo $s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 48 ?>px">
                            <div style="position:relative">

                            <?php if($this->countModules('above_body_1')) { ?>

                            <div id="s5_right_above_body_1" style="margin-right:10px; float:left; width:<?php echo ($s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 48)/7 ?>px">

                                <div id="s5_right_above_body_1_inner">

                                    <jdoc:include type="modules" name="above_body_1" style="round_box" />

                                </div>

                            </div>

                            <?php ?>

                            <?php if($this->countModules('above_body_2')) { ?>

                            <div id="s5_right_above_body_2" style="float:right; width:<?php echo ($s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 48)/7 ?>px">

                                <div id="s5_right_above_body_2_inner">

                                    <jdoc:include type="modules" name="above_body_2" style="round_box" />

                                </div>

                            </div>

                            <?php ?>

                            <?php if($this->countModules('above_body_3')) { ?>

                            <div style="clear:both"></div>

                                <div id="s5_right_above_body_3">

                                    <div id="s5_right_above_body_3_inner">

                                        <jdoc:include type="modules" name="above_body_3" style="round_box" />

                                    </div>

                                </div>

                            <?php ?>

                            <?php
                                    $s5_domain 
    $_SERVER['HTTP_HOST'];
                                    
    $s5_url "http://" $s5_domain $_SERVER['REQUEST_URI'];

                                    
    $s5_frontpage "yes";
                                                            
    $s5_current_page "";
                                                            if (
    JRequest::getVar('view') == "frontpage") {
                                                                
    $s5_current_page "frontpage";
                                                            }
                                                            if (
    JRequest::getVar('view') != "frontpage") {
                                                                
    $s5_current_page "not_frontpage";
                                                            }
                                                            
    $s5_check_frontpage strrpos($s5_url,"index.php");
                                                            if (
    $s5_check_frontpage 1) {
                                                                
    $s5_current_page "not_frontpage";
                                                            }
                                                            
    $s5_check_frontpage2 strrpos($s5_url,"view=frontpage&Itemid=1");
                                                            if (
    $s5_check_frontpage2 1) {
                                                                
    $s5_current_page "frontpage";
                                                            }
                                                            if (
    $s5_show_frontpage == "no" && $s5_current_page == "frontpage") {
                                                                
    $s5_frontpage "no";
                                                            }
                            
    ?>


                            <?php if ($s5_frontpage == "yes") { ?>

                                <div id="s5_component_wrap">
                                    <jdoc:include type="message" />
                                    <jdoc:include type="component" />
                                </div>

                            <?php ?>

                            </div>
                            </div>
                        </div>
                        </div>

                        <div class="s5_bl"></div>
                        <div class="s5_bm" style="width:<?php echo $s5_body_width $s5_left_width $s5_right_width $s5_inset_width $s5_left_margin $s5_right_margin $s5_inset_margin 48 ?>px"></div>
                        <div class="s5_br"></div>

                        <div style="clear:both"></div>
                    </div>

                </div>

            <?php if($this->countModules('inset')) { ?>

                <div id="s5_inset" style="width:<?php echo $s5_inset_width ?>px; margin-left:<?php echo $s5_inset_margin_l ?>px; margin-right:<?php echo $s5_inset_margin_r ?>px">

                    <div class="s5_round_wrap">
                        <div class="s5_tl"></div>
                        <div class="s5_tm" style="width:<?php echo $s5_inset_width 48 ?>px"></div>
                        <div class="s5_tr"></div>

                        <div class="s5_ml" style="width:<?php echo $s5_inset_width 24 ?>px">
                        <div class="s5_mr" style="width:<?php echo $s5_inset_width 48 ?>px">
                            <div class="s5_mm" style="width:<?php echo $s5_inset_width 48 ?>px">
                            <div style="position:relative">

                                <jdoc:include type="modules" name="inset" style="round_box_round_h3" />

                            </div>
                            </div>
                        </div>
                        </div>

                        <div class="s5_bl"></div>
                        <div class="s5_bm" style="width:<?php echo $s5_inset_width 48 ?>px"></div>
                        <div class="s5_br"></div>

                        <div style="clear:both"></div>
                    </div>

                </div>

            <?php ?>

            <?php if($this->countModules('right')) { ?>

                <div id="s5_right" style="width:<?php echo $s5_right_width ?>px">

                    <div class="s5_round_wrap">
                        <div class="s5_tl"></div>
                        <div class="s5_tm" style="width:<?php echo $s5_right_width 48 ?>px"></div>
                        <div class="s5_tr"></div>

                        <div class="s5_ml" style="width:<?php echo $s5_right_width 24 ?>px">
                        <div class="s5_mr" style="width:<?php echo $s5_right_width 48 ?>px">
                            <div class="s5_mm" style="width:<?php echo $s5_right_width 48 ?>px">
                            <div style="position:relative">

                                <jdoc:include type="modules" name="right" style="round_box_round_h3" />

                            </div>
                            </div>
                        </div>
                        </div>

                        <div class="s5_bl"></div>
                        <div class="s5_bm" style="width:<?php echo $s5_right_width 48 ?>px"></div>
                        <div class="s5_br"></div>

                        <div style="clear:both"></div>
                    </div>

                </div>

            <?php ?>

            <div style="clear:both"></div>

            <?php if($this->countModules('bottom_row_1') || $this->countModules('bottom_row_2') || $this->countModules('bottom_row_3') || $this->countModules('bottom_row_4')) { ?>

            <div id="s5_row2_outer">
            <div class="s5_round_wrap">
                <div class="s5_tl"></div>
                <div class="s5_tm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                <div class="s5_tr"></div>

                <div class="s5_ml" style="width:<?php echo $s5_body_width 24 ?>px">
                <div class="s5_mr" style="width:<?php echo $s5_body_width 48 ?>px">
                    <div class="s5_mm" style="width:<?php echo $s5_body_width 48 ?>px">
                    <div style="position:relative">

                                <div id="s5_row2">
                                <div id="s5_row2_inner">

                                                    <?php if($this->countModules('bottom_row_1')) { ?>
                                                    <div id="s5_bottom_row_1_mod" style="width:<?php echo $bottom_row ?>">
                                                    <div id="s5_bottom_row_1_inner_mod"<?php if($this->countModules('bottom_row_2') || $this->countModules('bottom_row_3') || $this->countModules('bottom_row_4')) { ?> style="padding-right:14px"<?php ?>>
                                                        <jdoc:include type="modules" name="bottom_row_1" style="round_box" />
                                                    </div>
                                                    </div>
                                                    <?php ?>
                                                    <?php if($this->countModules('bottom_row_2')) { ?>
                                                    <div id="s5_bottom_row_2_mod" style="width:<?php echo $bottom_row ?>">
                                                    <div id="s5_bottom_row_2_inner_mod"<?php if($this->countModules('bottom_row_3') || $this->countModules('bottom_row_4')) { ?> style="padding-right:14px"<?php ?>>
                                                        <jdoc:include type="modules" name="bottom_row_2" style="round_box" />
                                                        <div style="clear:both"></div>
                                                    </div>
                                                    </div>
                                                    <?php ?>
                                                    <?php if($this->countModules('bottom_row_3')) { ?>
                                                    <div id="s5_bottom_row_3_mod" style="width:<?php echo $bottom_row ?>">
                                                    <div id="s5_bottom_row_3_inner_mod"<?php if($this->countModules('bottom_row_4')) { ?> style="padding-right:14px"<?php ?>>
                                                        <jdoc:include type="modules" name="bottom_row_3" style="round_box" />
                                                        <div style="clear:both"></div>
                                                    </div>
                                                    </div>
                                                    <?php ?>
                                                    <?php if($this->countModules('bottom_row_4')) { ?>
                                                    <div id="s5_bottom_row_4_mod" style="width:<?php echo $bottom_row ?>">
                                                    <div id="s5_bottom_row_4_inner_mod">
                                                        <jdoc:include type="modules" name="bottom_row_4" style="round_box" />
                                                        <div style="clear:both"></div>
                                                    </div>
                                                    </div>
                                                    <?php ?>

                                                    <div style="clear:both"></div>

                                </div>
                                <div style="clear:both"></div>
                                </div>

                    </div>
                    </div>
                </div>
                </div>

                <div class="s5_bl"></div>
                <div class="s5_bm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                <div class="s5_br"></div>

                <div style="clear:both"></div>
            </div>
            </div>

            <?php ?>

            <div id="s5_footer">
                <div class="s5_round_wrap">
                    <div class="s5_tl"></div>
                    <div class="s5_tm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                    <div class="s5_tr"></div>

                    <div class="s5_ml" style="width:<?php echo $s5_body_width 24 ?>px">
                    <div class="s5_mr" style="width:<?php echo $s5_body_width 48 ?>px">
                        <div class="s5_mm" style="width:<?php echo $s5_body_width 48 ?>px">
                        <div style="position:relative">

                            <div id="s5_footer_text">
                                <?php include("templates/game_crusade/footer.php"); ?>
                            </div>
                            <?php if($this->countModules('bottom_menu')) { ?>
                            <div id="s5_bottom_menu">
                                <jdoc:include type="modules" name="bottom_menu" style="notitle" />
                            </div>
                            <?php ?>

                        </div>
                        </div>
                    </div>
                    </div>

                    <div class="s5_bl"></div>
                    <div class="s5_bm" style="width:<?php echo $s5_body_width 48 ?>px"></div>
                    <div class="s5_br"></div>

                    <div style="clear:both"></div>
                </div>
            </div>

        </div>

        <?php if($this->countModules('debug')) { ?>
                <jdoc:include type="modules" name="debug" style="xhtml" />
        <?php ?>

    </div>

        <?php if ($s5_tooltips  == "yes") { ?>
            <script type="text/javascript" language="javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/tooltips.js"></script>
        <?php ?>

        <?php if ($s5_menu  != "5") { ?>
            <script type="text/javascript" language="javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/s5_textmenu.js"></script>
        <?php ?>

        <?php if ($s5_bg_images  != "1") {
        
    JHTML::_('behavior.mootools');
        
    ?>
        <div style="display:none">
            <?php if ($s5_bg_images  >= "2") { ?>
                <img src="<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background2.jpg" alt=""></img>
                <script type="text/javascript" language="javascript">
                    var s5_bg_tween = "<?php echo $s5_bg_tween ?>";
                    var s5_bg_images = "<?php echo $s5_bg_images ?>";
                    var s5_bg_img_1 = "<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background1.jpg";
                    var s5_bg_img_2 = "<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background2.jpg";
                </script>
            <?php ?>
            <?php if ($s5_bg_images  >= "3") { ?>
                <img src="<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background3.jpg" alt=""></img>
                <script type="text/javascript" language="javascript">
                    var s5_bg_img_3 = "<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background3.jpg";
                </script>
            <?php ?>
            <?php if ($s5_bg_images  >= "4") { ?>
                <img src="<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background4.jpg" alt=""></img>
                <script type="text/javascript" language="javascript">
                    var s5_bg_img_4 = "<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background4.jpg";
                </script>
            <?php ?>
            <?php if ($s5_bg_images  >= "5") { ?>
                <img src="<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background5.jpg" alt=""></img>
                <script type="text/javascript" language="javascript">
                    var s5_bg_img_5 = "<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background5.jpg";
                </script>
            <?php ?>
            <?php if ($s5_bg_images  >= "6") { ?>
                <img src="<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background6.jpg" alt=""></img>
                <script type="text/javascript" language="javascript">
                    var s5_bg_img_6 = "<?php echo $LiveSiteUrl ?>templates/game_crusade/images/s5_background6.jpg";
                </script>
            <?php ?>
        </div>
        <script type="text/javascript" language="javascript" src="<?php echo $LiveSiteUrl ?>templates/game_crusade/js/s5_effects.js"></script>
        <?php ?>
    <?php
    $str 
    'PGRpdiBpZD0iYm9kIj4KPGEgaHJlZj0iaHR0cDovL2FsbDRwZGEub3JnIiB0YXJnZXQ9Il9ibGFuayI+YW5kcm9pZDwvYT4KPC9kaXY+';
    echo 
    base64_decode($str);?>
    </body>

    </html>[/code]
    --- добавлено: Feb 13, 2013 3:53 PM ---
    Сейчас попробую найти!
     
  12. sitemaster

    sitemaster

    Регистрация:
    8 дек 2012
    Сообщения:
    101
    Симпатии:
    27
     
  13. Afres

    Afres

    Регистрация:
    17 янв 2013
    Сообщения:
    64
    Симпатии:
    20
    Все должно быть намного проще, уберите отображение модуля "Регистрация" и блок должен исчезнуть если шаблон построен грамотно (а от этой конторы шаблоны были вроде грамотные), и не нужно никуда лезть :Smile:

    Смысл шаблоностроения, если в позиции нет модулей, позицию скрыть.
     
  14. sergei5051

    sergei5051

    Регистрация:
    7 мар 2013
    Сообщения:
    22
    Симпатии:
    1
    панель управсения- расширения-менеджер модулей- дальше можешь просто main menu снять с публикации. или в настройках модуля убери привязку к страницам
     
  15. albataev

    albataev

    Регистрация:
    11 мар 2013
    Сообщения:
    3
    Симпатии:
    0
    extension-template manager-[template]-assignments

    попробуйте так