| Current Path : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/templates/yoo_everest/layouts/ |
| Current File : /var/www/iplanru/data/www/iplan.5018.vps.agava.net/templates/yoo_everest/layouts/theme.php |
<?php
/**
* @package yoo_everest
* @author YOOtheme http://www.yootheme.com
* @copyright Copyright (C) YOOtheme GmbH
* @license http://www.gnu.org/licenses/gpl.html GNU/GPL
*/
// get theme configuration
include($this['path']->path('layouts:theme.config.php'));
?>
<!DOCTYPE HTML>
<html lang="<?php echo $this['config']->get('language'); ?>" dir="<?php echo $this['config']->get('direction'); ?>" data-config='<?php echo $this['config']->get('body_config','{}'); ?>'>
<head>
<?php echo $this['template']->render('head'); ?>
<meta name="mailru-verification" content="9875b8422fd6ecf3" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-17923073-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<link rel="publisher" href="https://plus.google.com/109306090596004454682" />
</head>
<!-- nns -->
<body class="<?php echo $this['config']->get('body_classes'); ?>">
<!--[if gte IE 9]>
<style type="text/css">
.gradient {
filter: none;
}
</style>
<![endif]-->
<?php if ($this['widgets']->count('absolute')) : ?>
<div id="absolute">
<?php echo $this['widgets']->render('absolute'); ?>
</div>
<?php endif; ?>
<?php if ($this['widgets']->count('menu + logo + headerbar')) : ?>
<div class="tm-headerbar uk-text-center uk-clearfix uk-hidden-small">
<div class="blueline">
<div class="logoline">
<?php if ($this['widgets']->count('logo')) : ?>
<?php echo $this['widgets']->render('logo'); ?>
<?php endif; ?>
</div>
<div class="toolbarline">
<?php if ($this['widgets']->count('toolbar-l + toolbar-r')) : ?>
<div class="tm-toolbar uk-text-center uk-clearfix uk-hidden-small">
<?php if ($this['widgets']->count('toolbar-l')) : ?>
<div><?php echo $this['widgets']->render('toolbar-l'); ?></div>
<?php endif; ?>
<?php if ($this['widgets']->count('toolbar-r')) : ?>
<div class="uk-float-right"><?php echo $this['widgets']->render('toolbar-r'); ?></div>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
</div>
<?php if ($this['widgets']->count('menu')) : ?>
<div class="mainmenu">
<div class="mainmenu-wrap">
<?php echo $this['widgets']->render('menu'); ?>
</div>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($this['widgets']->count('search')) : ?>
<nav class="tm-navbar uk-navbar">
<?php if ($this['widgets']->count('offcanvas')) : ?>
<a href="#offcanvas" class="uk-navbar-toggle uk-visible-small" data-uk-offcanvas></a>
<?php endif; ?>
<?php if ($this['widgets']->count('search')) : ?>
<div class="uk-navbar-flip">
<div class="uk-navbar-content uk-hidden-small"><?php echo $this['widgets']->render('search'); ?></div>
</div>
<?php endif; ?>
<?php if ($this['widgets']->count('logo-small')) : ?>
<div class="uk-navbar-content uk-navbar-center uk-visible-small"><a class="tm-logo-small" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['widgets']->render('logo-small'); ?></a></div>
<?php endif; ?>
</nav>
<?php endif; ?>
<div class="uk-container uk-container-center">
<?php if ($this['widgets']->count('top-a')) : ?>
<section class="<?php echo $grid_classes['top-a']; echo $display_classes['top-a']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('top-a', array('layout'=>$this['config']->get('grid.top-a.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('top-b')) : ?>
<section class="<?php echo $grid_classes['top-b']; echo $display_classes['top-b']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('top-b', array('layout'=>$this['config']->get('grid.top-b.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-top + main-bottom + sidebar-a + sidebar-b') || $this['config']->get('system_output', true)) : ?>
<div class="tm-middle uk-grid" data-uk-grid-match data-uk-grid-margin>
<?php if ($this['widgets']->count('main-top + main-bottom') || $this['config']->get('system_output', true)) : ?>
<div class="<?php echo $columns['main']['class'] ?>">
<?php if ($this['widgets']->count('main-top')) : ?>
<section class="<?php echo $grid_classes['main-top']; echo $display_classes['main-top']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-top', array('layout'=>$this['config']->get('grid.main-top.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-top-after') and !empty($_GET[category_id])) : ?>
<section class="<?php echo $grid_classes['main-top-after']; echo $display_classes['main-top-after']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-top-after', array('layout'=>$this['config']->get('grid.main-top-after.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['config']->get('system_output', true)) : ?>
<main class="tm-content">
<?php if ($this['widgets']->count('breadcrumbs')) : ?>
<?php echo $this['widgets']->render('breadcrumbs'); ?>
<?php endif; ?>
<?php echo $this['template']->render('content'); ?>
</main>
<?php endif; ?>
<?php if ($this['widgets']->count('main-bottom-before')) : ?>
<section class="<?php echo $grid_classes['main-bottom-before']; echo $display_classes['main-bottom-before']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-bottom-before', array('layout'=>$this['config']->get('grid.main-bottom-before.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-bottom')) : ?>
<section class="<?php echo $grid_classes['main-bottom']; echo $display_classes['main-bottom']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-bottom', array('layout'=>$this['config']->get('grid.main-bottom.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-bottom2')) : ?>
<section class="<?php echo $grid_classes['main-bottom2']; echo $display_classes['main-bottom2']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-bottom2', array('layout'=>$this['config']->get('grid.main-bottom2.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-bottom3')) : ?>
<section class="<?php echo $grid_classes['main-bottom3']; echo $display_classes['main-bottom3']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-bottom3', array('layout'=>$this['config']->get('grid.main-bottom3.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-bottom4')) : ?>
<section class="<?php echo $grid_classes['main-bottom4']; echo $display_classes['main-bottom4']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-bottom4', array('layout'=>$this['config']->get('grid.main-bottom4.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('main-bottom-after')) : ?>
<section class="<?php echo $grid_classes['main-bottom-after']; echo $display_classes['main-bottom-after']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('main-bottom-after', array('layout'=>$this['config']->get('grid.main-bottom-after.layout'))); ?></section>
<?php endif; ?>
</div>
<?php endif; ?>
<?php foreach($columns as $name => &$column) : ?>
<?php if ($name != 'main' && $this['widgets']->count($name)) : ?>
<aside class="<?php echo $column['class'] ?>"><?php echo $this['widgets']->render($name) ?></aside>
<?php endif ?>
<?php endforeach ?>
</div>
<?php endif; ?>
<?php if ($this['widgets']->count('bottom-a')) : ?>
<section class="<?php echo $grid_classes['bottom-a']; echo $display_classes['bottom-a']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('bottom-a', array('layout'=>$this['config']->get('grid.bottom-a.layout'))); ?></section>
<?php endif; ?>
<?php if ($this['widgets']->count('bottom-b')) : ?>
<section class="<?php echo $grid_classes['bottom-b']; echo $display_classes['bottom-b']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('bottom-b', array('layout'=>$this['config']->get('grid.bottom-b.layout'))); ?></section>
<?php endif; ?>
</div>
<?php if ($this['widgets']->count('footer + debug') || $this['config']->get('warp_branding', true) || $this['config']->get('totop_scroller', true)) : ?>
<footer class="tm-footer">
<?php
echo $this['widgets']->render('footer');
$this->output('warp_branding');
echo $this['widgets']->render('debug');
?>
</footer>
<?php endif; ?>
<?php echo $this->render('footer'); ?>
<?php if ($this['widgets']->count('offcanvas')) : ?>
<div id="offcanvas" class="uk-offcanvas">
<div class="uk-offcanvas-bar"><?php echo $this['widgets']->render('offcanvas'); ?></div>
</div>
<?php endif; ?>
<?php if ($this['config']->get('totop_scroller', true)) : ?>
<a class="tm-totop-scroller" data-uk="smooth-scroll" href="#"></a>
<?php endif; ?>
<script id="popmechanic-script" src="https://static.popmechanic.ru/service/loader.js?c=3958"></script>
</body>
</html>