| скрипт шаблона <?php // no direct access defined( '_JEXEC' ) or die( 'Restricted index access' ); define( 'YOURBASEPATH', dirname(__FILE__) ); $live_site = $mainframe->getCfg('live_site'); $template_path = $this->baseurl . '/templates/' . $this->template; $show_flashheader = ($this->params->get("showFlashheader", 1) == 0)?"false":"true"; $show_logo = ($this->params->get("showLogo", 1) == 0)?"false":"true"; $show_date = ($this->params->get("showDate", 1) == 0)?"false":"true"; $show_breadcrumbs = ($this->params->get("showBreadcrumbs", 1) == 0)?"false":"true"; ?> <!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" /> <div style="width:900px; margin:0 auto;"> <div style="float:left;"><a href="http://isida-tour.ru/"target=_blank><img alt="" src="http://webmasters.ru/forum/f74/images/banners/isida 2.gif" style="width: 430px; height: 60px; " /></a></div> <div style="float:right;"><a href="http://www.novostroy1.ru/" target="_blank"><img alt="" src="http://webmasters.ru/forum/f74/images/banners/nov1.gif" style="width: 430px; height: 59px; " /></a></div> <!-- RedHelper --> <script id="rhlpscrtg" type="text/javascript" charset="utf-8" async="async" src="http://web.redhelper.ru/service/main.js?c=odincov"></script> <!--/Redhelper --> <link rel="shortcut icon" href="<?php echo $this->baseurl; ?>/images/favicon.ico" /> <link href="<?php echo $this->baseurl ?>/templates/system/css/system.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $this->baseurl ?>/templates/system/css/general.css" rel="stylesheet" type="text/css" /> <link href="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/css/template_css.css" rel="stylesheet" type="text/css" /> <!--[if lte IE 6]> <link rel="stylesheet" href="templates/<?php echo $this->template ?>/css/ie6.css" type="text/css" /> <![endif]--> </head> <body class="body_bg"> <div id="bgr"> <div id="wrapper"> <div id="tophead"> <?php if($this->countModules('user4')) : ?> <div id="search"> <jdoc:include type="modules" name="user4" style="xhtml" /> </div> <?php endif; ?> <!-- BEGIN: LOGO --> <?php if($show_logo == "true") : ?> <div id="logo"> <a href="<?php echo $mosConfig_live_site;?>"> <img src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/logo.png" alt="" /> </a> </div> <?php endif; ?> <!-- END: LOGO --> <!-- BEGIN: flashheader --> <?php if($show_flashheader == "true") : ?> <div id="ol-flashheader"> <object type="application/x-shockwave-flash" data="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/header.swf" width="700" height="240"> <param name="wmode" value="transparent" /> <param name="movie" value="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/images/header.swf" /> </object> </div> <?php endif; ?> <!-- END: flashheader --> <!-- BEGIN: Date --> <?php if($show_date == "true") : ?> <div id="date-format"> <?php $now = &JFactory::getDate(); echo $now->toFormat("%A, %d %b %Y"); ?> </div> <?php endif; ?> <!-- END: Date --> </div> <?php if( $this->countModules('user3') ) {?> <div id="topcol"> <div id="topmenu"> <table cellspacing="0" cellpadding="0" style="float: left;"> <tr> <td> <jdoc:include type="modules" name="user3" /> </td> </tr> </table> </div> </div> <?php } ?> <div id="wrapper_2"> <div id="holder"> <!--pathway start--> <?php if ($show_breadcrumbs == "true") : ?> <?php endif; ?> <!--pathway end--> <div id="content"> <?php if($this->countModules('left') and JRequest::getCmd('layout') != 'form') : ?> <div id="left"> <jdoc:include type="modules" name="left" style="rounded" /> </div> <?php endif; ?> <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?> <div id="main"> <?php else: ?> <div id="main_full"> <?php endif; ?> <div class="nopad"> <jdoc:include type="message" /> <!-- BEGIN: USERS TEMPSPLASH --> <div id="lr-padd"> <table class="lr-padd" cellspacing="2"> <tr valign="top"> <?php if( $this->countModules('user1') ) {?> <td class="lr-padd"> <jdoc:include type="modules" name="user1" style="xhtml" /> </td> <?php } ?> <?php if( $this->countModules('user2') ) {?> <td class="lr-padd"> <jdoc:include type="modules" name="user2" style="xhtml" /> </td> <?php } ?> </tr> </table> </div> <!-- END: USERS TEMPSPLASH --> <jdoc:include type="component" /> </div> </div> <?php if($this->countModules('right') and JRequest::getCmd('layout') != 'form') : ?> <div id="right"> <jdoc:include type="modules" name="right" style="rounded" /> </div> <?php endif; ?> <div class="clr"></div> </div> </div> <!--footer start--> <div id="footer"> <div id="footer_in"> <div> </div> </div> <p> |