File Manager
Pro
/data/web/virtuals/8819/virtual/www/templates/yoo_nite/layouts
PHP 7.4.33
Linux
/data/web/virtuals/8819/virtual/www/templates/yoo_nite/layouts/1theme.php
9.6 KB
0640
Back
<?php /** * @package yoo_nite * @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'); ?> </head> <body class="<?php echo $this['config']->get('body_classes'); ?>"> <?php if ($this['widgets']->count('toolbar')) : ?> <div class="tm-toolbar uk-clearfix"> <div class="uk-container uk-container-center"> <?php echo $this['widgets']->render('toolbar'); ?> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('menu + logo')) : ?> <nav class="tm-navbar"> <div class="uk-container uk-container-center"> <div class="tm-navbar-center"> <?php if ($this['widgets']->count('logo')) : ?> <div class="tm-nav-logo uk-hidden-small"> <a class="tm-logo uk-hidden-small" href="<?php echo $this['config']->get('site_url'); ?>"><?php echo $this['widgets']->render('logo'); ?></a> </div> <?php endif; ?> <?php if ($this['widgets']->count('menu')) : ?> <div class="tm-nav uk-hidden-small"> <div class="tm-nav-wrapper"><?php echo $this['widgets']->render('menu'); ?></div> </div> <?php endif; ?> <?php if ($this['widgets']->count('offcanvas')) : ?> <a href="#offcanvas" class="uk-navbar-toggle uk-visible-small uk-vertical-align-middle" data-uk-offcanvas></a> <?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; ?> </div> </div> </nav> <?php endif; ?> <?php if ($this['config']->get('fullscreen_image')) : ?> <div class="tm-fullscreen-container"> <div class="tm-fullscreen"> <div> <?php echo $this['widgets']->render('fullscreen'); ?> </div> </div> </div> <?php endif; ?> <div class="tm-wrapper"> <?php if ($this['widgets']->count('search')) : ?> <div class="tm-block-search uk-hidden-small"> <div class="uk-container uk-container-center"> <?php echo $this['widgets']->render('search'); ?> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('top-a')) : ?> <div class="tm-block-top-a<?php echo $block_classes['top-a']; echo $display_classes['top-a']; ?>"> <div class="uk-container uk-container-center"> <section class="<?php echo $grid_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> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('top-b')) : ?> <div class="tm-block-top-b<?php echo $block_classes['top-b']; echo $display_classes['top-b']; ?>"> <div class="uk-container uk-container-center"> <section class="<?php echo $grid_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> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('main-top + main-bottom + sidebar-a + sidebar-b') || $this['config']->get('system_output', true)) : ?> <div class="tm-block-top-main<?php echo $block_classes['main']; ?>"> <div class="uk-container uk-container-center"> <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['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')) : ?> <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; ?> </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> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('bottom-a')) : ?> <div class="tm-block-bottom-a<?php echo $block_classes['bottom-a']; echo $display_classes['bottom-a']; ?>"> <div class="uk-container uk-container-center"> <section class="<?php echo $grid_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> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('bottom-b')) : ?> <div class="tm-block-bottom-b<?php echo $block_classes['bottom-b']; echo $display_classes['bottom-b']; ?>"> <div class="uk-container uk-container-center"> <section class="<?php echo $grid_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> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('bottom-c')) : ?> <div class="tm-block-bottom-c<?php echo $block_classes['bottom-c']; echo $display_classes['bottom-c']; ?>"> <div class="uk-container uk-container-center"> <section class="<?php echo $grid_classes['bottom-c']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('bottom-c', array('layout'=>$this['config']->get('grid.bottom-c.layout'))); ?></section> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('bottom-d')) : ?> <div class="tm-block-bottom-d<?php echo $block_classes['bottom-d']; echo $display_classes['bottom-d']; ?>"> <div class="uk-container uk-container-center"> <section class="<?php echo $grid_classes['bottom-d']; ?>" data-uk-grid-match="{target:'> div > .uk-panel'}" data-uk-grid-margin><?php echo $this['widgets']->render('bottom-d', array('layout'=>$this['config']->get('grid.bottom-d.layout'))); ?></section> </div> </div> <?php endif; ?> <?php if ($this['widgets']->count('footer + debug') || $this['config']->get('warp_branding', true) || $this['config']->get('totop_scroller', true)) : ?> <div class="tm-block-footer"> <div class="uk-container uk-container-center"> <footer class="tm-footer tm-link-muted"> <?php if ($this['config']->get('totop_scroller', true)) : ?> <a class="tm-totop-scroller" data-uk-smooth-scroll href="#"></a> <?php endif; ?> <?php echo $this['widgets']->render('footer'); $this->output('warp_branding'); echo $this['widgets']->render('debug'); ?> </footer> </div> </div> <?php endif; ?> </div> <?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; ?> </body> </html>
Cancel
Download
Save changes
File Manager Pro · single-file PHP 7.4.33 on Linux · paths encrypted in URL (AES-256-CTR)