uawdijnntqw1x1x1
IP : 216.73.217.104
Hostname : webm007.cluster114.gra.hosting.ovh.net
Kernel : Linux webm007.cluster114.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
locationbo
/
www
/
.
/
templates
/
yootheme
/
templates
/
header-mobile.php
/
/
<?php use Joomla\CMS\Language\Text; // Config $config->addAlias('~logo', '~theme.logo'); $config->addAlias('~mobile', '~theme.mobile'); // Attrs $logo = $config('~logo.image_mobile') || $config('~logo.image') || $config('~logo.text') || $this->countModules('logo-mobile'); $attrs_menu = []; $attrs_sticky = []; $attrs_navbar = ['uk-navbar' => 'container: .tm-header-mobile']; $attrs_navbar_container = ['class' => 'uk-navbar-container']; // Sticky if ($sticky = $config('~mobile.sticky')) { $attrs_sticky = array_filter([ 'uk-sticky' => true, 'show-on-up' => $sticky == 2, 'animation' => $sticky == 2 ? 'uk-animation-slide-top' : '', 'cls-active' => 'uk-navbar-sticky', 'sel-target' => '.uk-navbar-container', ]); } if (!$logo) { $config->set('~mobile.logo', false); } if (!$this->countModules('mobile')) { $config->set('~mobile.toggle', false); } $config->set('~mobile.search', false); // TODO // Mobile Position if ($this->countModules('mobile')) { $attrs_menu['class'][] = $config('~mobile.animation') == 'offcanvas' ? 'uk-offcanvas-bar' : ''; $attrs_menu['class'][] = $config('~mobile.animation') == 'modal' ? 'uk-modal-dialog uk-modal-body' : ''; $attrs_menu['class'][] = $config('~mobile.animation') == 'dropdown' ? 'uk-background-default uk-padding' : ''; $attrs_menu['class'][] = $config('~mobile.menu_center') ? 'uk-text-center' : ''; $attrs_menu['class'][] = $config('~mobile.animation') != 'dropdown' && $config('~mobile.menu_center_vertical') ? 'uk-flex' : ''; $config->set('~mobile.offcanvas.overlay', true); } else { $config->set('~mobile.animation', false); } ?> <?php if ($sticky) : ?> <div<?= $this->attrs($attrs_sticky) ?>> <?php endif ?> <div<?= $this->attrs($attrs_navbar_container) ?>> <nav<?= $this->attrs($attrs_navbar) ?>> <?php if ($config('~mobile.logo') == 'left' || $config('~mobile.toggle') == 'left' || $config('~mobile.search') == 'left') : ?> <div class="uk-navbar-left"> <?php if ($config('~mobile.logo') == 'left') : ?> <?= $view('~theme/templates/header-logo', ['class' => 'uk-navbar-item' . ($config('~mobile.logo_padding_remove') ? ' uk-padding-remove-left' : ''), 'mobile' => true]) ?> <?php if ($this->countModules('logo-mobile')) : ?> <jdoc:include type="modules" name="logo-mobile" /> <?php endif ?> <?php endif ?> <?php if ($config('~mobile.toggle') == 'left') : ?> <a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle<?= ($config('~mobile.animation') == 'dropdown') ? '="animation: true"' : '' ?>> <div uk-navbar-toggle-icon></div> <?php if ($config('~mobile.toggle_text')) : ?> <span class="uk-margin-small-left"><?= Text::_('TPL_YOOTHEME_MENU') ?></span> <?php endif ?> </a> <?php endif ?> <?php if ($config('~mobile.search') == 'left') : ?> <a class="uk-navbar-item"><?= Text::_('TPL_YOOTHEME_SEARCH') ?></a> <?php endif ?> </div> <?php endif ?> <?php if ($config('~mobile.logo') == 'center') : ?> <div class="uk-navbar-center"> <?= $view('~theme/templates/header-logo', ['class' => 'uk-navbar-item', 'mobile' => true]) ?> <?php if ($this->countModules('logo-mobile')) : ?> <jdoc:include type="modules" name="logo-mobile" /> <?php endif ?> </div> <?php endif ?> <?php if ($config('~mobile.logo') == 'right' || $config('~mobile.toggle') == 'right' || $config('~mobile.search') == 'right') : ?> <div class="uk-navbar-right"> <?php if ($config('~mobile.search') == 'right') : ?> <a class="uk-navbar-item"><?= Text::_('TPL_YOOTHEME_SEARCH') ?></a> <?php endif ?> <?php if ($config('~mobile.toggle') == 'right') : ?> <a class="uk-navbar-toggle" href="#tm-mobile" uk-toggle<?= $config('~mobile.animation') == 'dropdown' ? '="animation: true"' : '' ?>> <?php if ($config('~mobile.toggle_text')) : ?> <span class="uk-margin-small-right"><?= Text::_('TPL_YOOTHEME_MENU') ?></span> <?php endif ?> <div uk-navbar-toggle-icon></div> </a> <?php endif ?> <?php if ($config('~mobile.logo') == 'right') : ?> <?= $view('~theme/templates/header-logo', ['class' => 'uk-navbar-item' . ($config('~mobile.logo_padding_remove') ? ' uk-padding-remove-right' : ''), 'mobile' => true]) ?> <?php if ($this->countModules('logo-mobile')) : ?> <jdoc:include type="modules" name="logo-mobile" /> <?php endif ?> <?php endif ?> </div> <?php endif ?> </nav> </div> <?php if ($config('~mobile.animation') == 'dropdown') : ?> <?php if ($config('~mobile.dropdown') == 'slide') : ?> <div class="uk-position-relative tm-header-mobile-slide"> <?php endif ?> <div id="tm-mobile" class="<?= $config('~mobile.dropdown') == 'slide' ? 'uk-position-top' : '' ?>" hidden> <div<?= $this->attrs($attrs_menu) ?>> <jdoc:include type="modules" name="mobile" style="grid-stack" /> </div> </div> <?php if ($config('~mobile.dropdown') == 'slide') : ?> </div> <?php endif ?> <?php endif ?> <?php if ($sticky) : ?> </div> <?php endif ?> <?php if ($config('~mobile.animation') == 'offcanvas') : ?> <div id="tm-mobile" uk-offcanvas<?= $this->attrs($config('~mobile.offcanvas') ?: []) ?>> <div<?= $this->attrs($attrs_menu) ?>> <?php if ($config('~mobile.close_button')) : ?> <button class="uk-offcanvas-close" type="button" uk-close></button> <?php endif ?> <?php if ($config('~mobile.menu_center_vertical')) : ?> <div class="uk-margin-auto-vertical uk-width-1-1"> <?php endif ?> <jdoc:include type="modules" name="mobile" style="grid-stack" /> <?php if ($config('~mobile.menu_center_vertical')) : ?> </div> <?php endif ?> </div> </div> <?php endif ?> <?php if ($config('~mobile.animation') == 'modal') : ?> <div id="tm-mobile" class="uk-modal-full" uk-modal> <div<?= $this->attrs($attrs_menu, ['class' => 'uk-height-viewport']) ?>> <?php if ($config('~mobile.close_button')) : ?> <button class="uk-modal-close-full" type="button" uk-close></button> <?php endif ?> <?php if ($config('~mobile.menu_center_vertical')) : ?> <div class="uk-margin-auto-vertical uk-width-1-1"> <?php endif ?> <jdoc:include type="modules" name="mobile" style="grid-stack" /> <?php if ($config('~mobile.menu_center_vertical')) : ?> </div> <?php endif ?> </div> </div> <?php endif ?>
/home/locationbo/www/./templates/yootheme/templates/header-mobile.php