PATH:
home
/
centosnipponia
/
public_html
/
nipponiacom2
/
templates
/
jm-car-dealer-ef4
/
tpl
<?php /*-------------------------------------------------------------- # Copyright (C) joomla-monster.com # License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only # Website: http://www.joomla-monster.com # Support: info@joomla-monster.com ---------------------------------------------------------------*/ defined('_JEXEC') or die; // get direction $direction = $this->params->get('direction', 'ltr'); //check width type $templatefluidwidth = $this->params->get('JMfluidGridContainerLg'); $templatewidthtype = $this->params->get('JMtemplateWidthType', 'fixed'); // responsive $responsivelayout = $this->params->get('responsiveLayout', '1'); $responsivedisabled = ($responsivelayout != '1') ? 'responsive-disabled' : ''; //columns if(!$this->checkModules('left-column') AND !$this->checkModules('right-column')) { $columns = 'nocolumn'; } else { if($this->checkModules('left-column')) { $columns = 'noleft'; } if($this->checkModules('right-column')) { $columns = 'noright'; } } //coming soon $comingsoon = $this->params->get('comingSoon', '0'); $comingsoondate = $this->params->get('comingSoonDate'); $tz = new DateTimeZone(JFactory::getConfig()->get('offset', 'UTC')); $server_date_cs = JFactory::getDate($comingsoondate, $tz); $timestamp_cs = $server_date_cs->toUnix(); $server_date_now = JFactory::getDate(null, $tz); $timestamp_now = $server_date_now->toUnix(); $futuredate = ($timestamp_now > $timestamp_cs) ? '0' : '1'; //offcanvas // get offcanvas $offcanvas = $this->params->get('offCanvas', '0'); // get off-canvas position $offcanvasside = ($offcanvas == '1') ? $this->params->get('offCanvasPosition', $this->defaults->get('offCanvasPosition')) : ''; if ($offcanvasside == 'right') { $offcanvasposition = 'off-canvas-right'; } else if ($offcanvasside == 'left') { $offcanvasposition = 'off-canvas-left'; } else { $offcanvasposition = ''; } // define default blocks and their default order (can be changed in layout builder) $blocks = $this->getBlocks('bar,header,top1,breadcrumb,top2,system-message,main,bottom,footer-mod,footer', 'comingsoon'); ?> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $direction; ?>"> <head> <?php $this->renderBlock('head'); ?> </head> <body class="<?php echo $responsivedisabled.' '.$templatewidthtype.' '.$offcanvasposition.' '.$columns; ?>"> <div id="jm-allpage"> <?php if(($comingsoon!='0') AND (!empty($comingsoondate)) AND ($futuredate=='1') AND JFactory::getApplication()-> isSite() AND JFactory::getUser()->guest) { $this->renderBlock('comingsoon'); } else { ?> <div id="jm-allpage-in"> <?php if($offcanvas == '1') : ?> <?php $this->renderBlock('offcanvas'); ?> <?php endif; ?> <?php foreach($blocks as $block) { ?> <?php $this->renderBlock($block); ?> <?php } ?> </div> <?php } ?> </div> </body> </html>
[+]
..
[+]
blocks
[-] blog.php
[edit]
[-] contact-page.php
[edit]
[-] default.php
[edit]
[-] index.html
[edit]
[-] pages-clone.php
[edit]
[-] pages-crl.php
[edit]
[-] pages-lrc.php
[edit]
[-] pages.php
[edit]
[-] .htaccess.disabled
[edit]