| Current Path : /home/chauffn/vuzelia/2023/templates/vuzelia/ |
| Current File : /home/chauffn/vuzelia/2023/templates/vuzelia/index.php |
<?php
/**
* @package Joomla.Site
* @subpackage Templates.cassiopeia
*
* @copyright (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Uri\Uri;
/** @var Joomla\CMS\Document\HtmlDocument $this */
$app = Factory::getApplication();
$wa = $this->getWebAssetManager();
// Browsers support SVG favicons
$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.svg', '', [], true, 1), 'icon', 'rel', ['type' => 'image/svg+xml']);
$this->addHeadLink(HTMLHelper::_('image', 'favicon.ico', '', [], true, 1), 'alternate icon', 'rel', ['type' => 'image/vnd.microsoft.icon']);
$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon-pinned.svg', '', [], true, 1), 'mask-icon', 'rel', ['color' => '#000']);
// Detecting Active Variables
$option = $app->input->getCmd('option', '');
$view = $app->input->getCmd('view', '');
$layout = $app->input->getCmd('layout', '');
$task = $app->input->getCmd('task', '');
$itemid = $app->input->getCmd('Itemid', '');
$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8');
$menu = $app->getMenu()->getActive();
$pageclass = $menu !== null ? $menu->getParams()->get('pageclass_sfx', '') : '';
// Template path
$templatePath = 'templates/templates';
// Color Theme
//$paramsColorName = $this->params->get('colorName', 'colors_standard');
//$assetColorName = 'theme.' . $paramsColorName;
//$wa->registerAndUseStyle($assetColorName, $templatePath . '/css/global/' . $paramsColorName . '.css');
//$this->getPreloadManager()->prefetch($wa->getAsset('style', $assetColorName)->getUri(), ['as' => 'style']);
// Use a font scheme if set in the template style options
$paramsFontScheme = $this->params->get('useFontScheme', false);
if ($paramsFontScheme)
{
// Prefetch the stylesheet for the font scheme, actually we need to prefetch the font(s)
$assetFontScheme = 'fontscheme.' . $paramsFontScheme;
$wa->registerAndUseStyle($assetFontScheme, $templatePath . '/css/global/' . $paramsFontScheme . '.css');
$this->getPreloadManager()->prefetch($wa->getAsset('style', $assetFontScheme)->getUri(), ['as' => 'style']);
}
// Enable assets
$wa->usePreset('template.cassiopeia.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr'))
->useStyle('template.active.language')
->useStyle('template.user')
->useScript('template.user')
->addInlineStyle(':root {
--hue: 214;
--template-bg-light: #f0f4fb;
--template-text-dark: #495057;
--template-text-light: #ffffff;
--template-link-color: #2a69b8;
--template-special-color: #001B4C;
}');
// Override 'template.active' asset to set correct ltr/rtl dependency
$wa->registerStyle('template.active', '', [], [], ['template.cassiopeia.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr')]);
// Logo file or site title param
if ($this->params->get('logoFile'))
{
$logo = '<img src="' . Uri::root(true) . '/' . htmlspecialchars($this->params->get('logoFile'), ENT_QUOTES) . '" alt="' . $sitename . '">';
}
elseif ($this->params->get('siteTitle'))
{
$logo = '<span title="' . $sitename . '">' . htmlspecialchars($this->params->get('siteTitle'), ENT_COMPAT, 'UTF-8') . '</span>';
}
else
{
$logo = HTMLHelper::_('image', 'logo.svg', $sitename, ['class' => 'logo d-inline-block'], true, 0);
}
$hasClass = '';
if ($this->countModules('sidebar-left', true))
{
$hasClass .= ' has-sidebar-left';
}
if ($this->countModules('sidebar-right', true))
{
$hasClass .= ' has-sidebar-right';
}
// Container
$wrapper = $this->params->get('fluidContainer') ? 'wrapper-fluid' : 'wrapper-static';
$this->setMetaData('viewport', 'width=device-width, initial-scale=1');
$stickyHeader = $this->params->get('stickyHeader') ? 'position-sticky sticky-top' : '';
// Defer font awesome
$wa->getAsset('style', 'fontawesome')->setAttribute('rel', 'lazy-stylesheet');
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="metas" />
<jdoc:include type="styles" />
<jdoc:include type="scripts" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
<meta name="theme-color" content="#000">
<link rel="shortcut icon" href="../templates/vuzelia/favicon.ico" />
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C89TZWRC3G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-C89TZWRC3G');
</script>
<script id="Cookiebot" src="https://consent.cookiebot.com/uc.js" data-cbid="c1ada31d-1ddf-4a45-8984-c4965fb3e3e5" data-blockingmode="auto" type="text/javascript"></script>
</head>
<body class="site <?php echo $option
. ' ' . $wrapper
. ' view-' . $view
. ($layout ? ' layout-' . $layout : ' no-layout')
. ($task ? ' task-' . $task : ' no-task')
. ($itemid ? ' itemid-' . $itemid : '')
. ($pageclass ? ' ' . $pageclass : '')
. $hasClass
. ($this->direction == 'rtl' ? ' rtl' : '');
?>">
<!-- -------------------------------------------------------------------------------------------------------------------- --->
<?php if ($this->countModules('menuu')) : ?>
<div id="menuuu">
<div class="inner">
<div id="menuu">
<jdoc:include type="modules" name="menuu" />
</div>
</div>
</div>
<?php endif; ?>
<!-- -------------------------------------------------------------------------------------------------------------------- --->
<?php if ($this->countModules('logo')) : ?>
<div id="logo">
<div class="inner">
<jdoc:include type="modules" name="logo" />
</div>
</div>
<?php endif; ?>
<?php if ($this->countModules('box1')) : ?>
<div id="box1" >
<div class="inner">
<jdoc:include type="modules" name="box1" style="xhtml" />
<div class="clr"></div>
</div>
</div>
<?php endif; ?>
<?php if ($this->countModules('box2')) : ?>
<div data-aos="fade-up" id="box2" >
<div class="inner">
<jdoc:include type="modules" name="box2" style="xhtml" />
</div>
</div>
<?php endif; ?>
<!-- -------------------------------------------------------------------------------------------------------------------- --->
<?php if ($this->countModules('box3')) : ?>
<div data-aos="fade-up" id="box3" >
<div class="inner">
<jdoc:include type="modules" name="box3" style="xhtml" />
</div>
</div>
<?php endif; ?>
<!-- -------------------------------------------------------------------------------------------------------------------- --->
<?php if ($this->countModules('box4')) : ?>
<div data-aos="fade-up" id="box4" >
<div class="inner">
<jdoc:include type="modules" name="box4" style="xhtml" />
</div>
</div>
<?php endif; ?>
<!-- -------------------------------------------------------------------------------------------------------------------- --->
<?php if ($this->countModules('box5')) : ?>
<div data-aos="fade-up" id="boxXX" >
<div id="cacheh3"> </div>
<div class="inner">
<div data-aos="fade-up" id="box5" >
<div class="inner">
<jdoc:include type="modules" name="box5" style="xhtml" />
</div>
</div>
<?php if ($this->countModules('box6')) : ?>
<div data-aos="fade-up" id="boxYYY" >
<div class="inner">
<div data-aos="fade-up" id="box6" >
<div id="cacheh2"> </div>
<div class="inner">
<jdoc:include type="modules" name="box6" style="xhtml" />
</div>
</div>
<?php if ($this->countModules('box7')) : ?>
<div data-aos="fade-up" id="box7" >
<div class="inner">
<jdoc:include type="modules" name="box7" style="xhtml" />
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<?php if ($this->countModules('box8')) : ?>
<div data-aos="fade-up" id="box8" >
<div class="inner">
<jdoc:include type="modules" name="box8" style="xhtml" />
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<!---------------------------------------------------------------------->
<div id="container" >
<div id="main">
<div id="center" class="column " style="width:100%">
<div class="inner">
<jdoc:include type="message" />
<jdoc:include type="component" />
</div>
</div>
<div class="clr"></div>
</div>
</div>
<!-- ------------------------------------------------------------->
<?php if ($this->countModules('box9')) : ?>
<div data-aos="fade-up" id="box9" >
<div class="inner">
<jdoc:include type="modules" name="box9" style="xhtml" />
</div>
</div>
<?php endif; ?>
<?php if ($this->countModules('box10')) : ?>
<div data-aos="fade-up" id="box10" >
<div id="cacheh1"> </div>
<div class="inner">
<jdoc:include type="modules" name="box10" style="xhtml" />
</div>
</div>
<?php endif; ?>
<!-- ------------------------------------------------------------->
<?php if ($this->countModules('box11')) : ?>
<div data-aos="fade-up" id="box11" >
<div class="inner">
<jdoc:include type="modules" name="box11" style="xhtml" />
</div>
</div>
<?php endif; ?>
<!-- ------------------------------------------------------------->
<?php if ($this->countModules('box13')) : ?>
<div data-aos="fade-up" id="boxXXXX" >
<div id="cacheh5"> </div>
<div class="inner">
<div data-aos="fade-up" id="box13" >
<div class="inner">
<jdoc:include type="modules" name="box13" style="xhtml" />
</div>
</div>
<?php if ($this->countModules('box12')) : ?>
<div data-aos="fade-up" id="box12" >
<div class="inner">
<jdoc:include type="modules" name="box12" style="xhtml" />
</div>
</div>
<?php endif; ?>
</div>
</div>
<?php endif; ?>
<!-- ------------------------------------------------------------->
<?php if ($this->countModules('position-16')) : ?>
<div id="position-16" >
<div class="inner">
<jdoc:include type="modules" name="position-16" style="xhtml" />
</div>
</div>
<?php endif; ?>
<div class="clr"></div>
<!-- ------------------------------------------------------------->
<!-- ------------------------------------------------------------->
<div class="clr"></div>
</div>
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script>
AOS.init();
</script>
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>