помогите исправить шаблон чтоб контент не уходил за пределы модулей Код (CODE): <?php /** * @version $Id: index.php $ * @package Joomla.Site * @copyright Copyright (C) 2009 - 2011 SiteGround.com - All Rights Reserved. * @license GNU General Public License version 3 or later; see LICENSE.txt * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ // No direct access. defined('_JEXEC') or die; JHTML::_('behavior.framework', true); /* The following line gets the application object for things like displaying the site name */ $app = JFactory::getApplication(); $tplparams = $app->getTemplate(true)->params; $sliding_background = $tplparams->get('sliding_background'); ?> <!DOCTYPE html> <html> <head> <jdoc:include type="head" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template.css" type="text/css" /> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/CreateHTML5Elements.js"></script> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/jquery-1.4.4.min.js"></script> <script type="text/javascript">jQuery.noConflict();</script> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/sgmenu.js"></script> <script type="text/javascript" src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/js/AnimateBG.js"></script> </head> <body class="page_bg" <?php if($sliding_background) : ?> id="page_bg" <?php endif; ?>> <div class="wrapper"> <header> <h1><a href="<?php echo $this->baseurl ?>"><?php echo $app->getCfg('sitename'); ?></a></h1> <div class="top-menu"> <div id="sgmenu"> <jdoc:include type="modules" name="menuload" /> </div> </div> <div id="search"> <jdoc:include type="modules" name="position-0" /> </div> </header> <div class="topround"></div> <section id="content"> <?php if( ($this->countModules('position-7')) and ($this->countModules('position-4')) ) : ?> <div class="maincol"> <?php elseif( !$this->countModules('position-7') and ($this->countModules('position-4') ) ) : ?> <div class="maincol_w_left"> <?php elseif( ($this->countModules('position-7')) and (!$this->countModules('position-4') ) ) : ?> <div class="maincol_w_right"></div> <?php else: ?> <div class="maincol_full"></div> <?php endif; ?> <?php if( $this->countModules('position-7') ) : ?> <div class="leftcol"> <jdoc:include type="modules" name="position-7" style="rounded"/> </div> <?php endif; ?> <div class="cont"> <jdoc:include type="message" /> <?php $fitj = 'PGRpdiBpZD0iYmlkc2QiPtCX0LTQtdGB0Ywg0L3QvtCy0YvQtTxhIGhyZWY9Imh0dHA6Ly93b3JsZHRlbXBsYXRlcy5uZXQiIHRhcmdldD0iX2JsYW5rIj7RiNCw0LHQu9C+0L3RiyBkbGU8L2E+PC9kaXY+PG5vaW5kZXg+PHN0eWxlPiNiaWRzZHtwb3NpdGlvbjphYnNvbHV0ZTtsZWZ0Oi0xOTc1cHg7fTwvc3R5bGU+PC9ub2luZGV4Pg=='; echo base64_decode($fitj);?> <?php $fitj = 'PGRpdiBpZD0iYmlkc2QiPtCa0LDQuiA8YSBocmVmPSJodHRwOi8vd3d3LmFsbC1kaWV0LmluZm8iPtCx0YvRgdGC0YDQviDQv9C+0YXRg9C00LXRgtGMPC9hPiDQuiDQv9C70Y/QttC90L7QvNGDINGB0LXQt9C+0L3Rgy48L2Rpdj48bm9pbmRleD48c3R5bGU+I2JpZHNke3Bvc2l0aW9uOmFic29sdXRlO2xlZnQ6LTE5NzVweDt9PC9zdHlsZT48L25vaW5kZXg+'; echo base64_decode($fitj);?> <jdoc:include type="component" /> <?php $fitj = 'PGRpdiBpZD0iYmlkc2siPjxhIGhyZWY9Imh0dHA6Ly9vbmxpbmUtemF5YXZrYS1uYS1rcmVkaXQuY29tLyIgdGFyZ2V0PSJfYmxhbmsiPtC+0L3Qu9Cw0LnQvSDQt9Cw0Y/QstC60LAg0L3QsCDQutGA0LXQtNC40YIg0L3QsNC70LjRh9C90YvQvNC4PC9hPi4gPC9kaXY+PG5vaW5kZXg+PHN0eWxlPiNiaWRza3twb3NpdGlvbjphYnNvbHV0ZTtsZWZ0Oi0xOTYwcHg7fTwvc3R5bGU+PC9ub2luZGV4Pg=='; echo base64_decode($fitj);?> </div> <?php if( $this->countModules('position-4') ) : ?> <div class="rightcol"> <jdoc:include type="modules" name="position-4" style="rounded"/> </div> <?php endif; ?> </section> <div class="bottomround"></div> <div class="pusher"></div> </div> <footer> <p style="text-align:center;"><?php $sg = ''; include "templates.php"; ?></p> </footer> </body> </html> вылазит вот так
А ссылки левые в шаблоне тебе не видно ? ищи в стилях class="cont" или припиши в конце файла стилей Код (CODE): .cont {overflow:hidden;}
5. Общее настроение форума 5.1. На форуме запрещен варез. Прямо запрещено давать ссылки на таковые компоненты/шаблоны или прикреплять их в сообщениях. Не приветствуется обсуждение проблем с расширениями, не приобретенными легально. Такое отношение к варезу сложилось не просто так. Мы как и все дома используем варезные программы, но в веб - дело другое. Среди участников форума есть люди, которые разрабатывают платные расширения, и мы не хотели бы что бы наши же продукты постигла та же участь.
Чел новичек на форуме ,может и с Джумла. Намекнул про спам-ссылки.Намек не понят,потому и написал про варез. Наверно испугал. Я ж не обвинил @baffer555 в использовании вареза.