trada template (saihoai); the dropped webshell html/mod_articles_category/meant.php is excluded; unmapped -> deployed files. Signed-off-by: LÁZÁR Imre <imre@illusion.hu> Assisted-by: claude-code@claude-opus-4-8
140 lines
6.1 KiB
PHP
140 lines
6.1 KiB
PHP
<?php
|
|
/**
|
|
* @package Joomla.Site
|
|
* @subpackage Templates.protostar
|
|
*
|
|
* @copyright Copyright (C) 2005 - 2015 Open Source Matters, Inc. All rights reserved.
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
$app = JFactory::getApplication();
|
|
$doc = JFactory::getDocument();
|
|
$user = JFactory::getUser();
|
|
$this->language = $doc->language;
|
|
$this->direction = $doc->direction;
|
|
$doc->setTitle( $this->title );
|
|
|
|
// Getting params from template
|
|
$params = $app->getTemplate(true)->params;
|
|
|
|
// 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 = $app->get('sitename');
|
|
$this->params = $app->getTemplate(true)->params;
|
|
$skin = $this->params->get( 'templateSkin', 'light' );
|
|
$baseUrlSkin = $this->baseurl . '/templates/' . $this->template . '/skins/' . $skin . '/';
|
|
|
|
// Add JavaScript Frameworks
|
|
JHtml::_('bootstrap.framework');
|
|
|
|
/* JQUERY:: MAP.JS */
|
|
$doc->addScript('//maps.googleapis.com/maps/api/js?sensor=false');
|
|
|
|
/* JQUERY:: PLUGIN.JS */
|
|
$doc->addScript($baseUrlSkin . '/js/jquery.plugin.min.js');
|
|
|
|
/* JQUERY:: INDEX.JS **** FOR INDEX JQUERY CODE **** */
|
|
$doc->addScript($baseUrlSkin . '/js/index.min.js');
|
|
|
|
/* JQUERY:: LIGHTBOX.JS */
|
|
$doc->addScript($baseUrlSkin . '/js/lightbox-plus-jquery.min.js');
|
|
|
|
|
|
// Add Stylesheets
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/bootstrap.min.css');
|
|
|
|
/* CSS:: ANIMATION */
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/animator.css');
|
|
|
|
/* CSS:: ANIMATION */
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/jquery.slider.css');
|
|
|
|
/* CSS:: FONTS */
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/font-awesome.min.css');
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/simple-line-icons.css');
|
|
$doc->addStyleSheet('//fonts.googleapis.com/css?family=Montserrat:400,700');
|
|
$doc->addStyleSheet('//fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700');
|
|
|
|
/* CSS:: */
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/lightbox.css');
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/reset.css');
|
|
$doc->addStyleSheet($baseUrlSkin . 'css/main.css');
|
|
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<title><?php echo $this->title; ?> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8'); ?></title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<!-- FAVORITE AND APPLE TOUCH ICONS -->
|
|
<link rel="apple-touch-icon" sizes="57x57" href="<?php echo $this->baseurl . '/templates/' . $this->template; ?>/images/fav/apple-touch-icon-57x57.png">
|
|
<link rel="apple-touch-icon" sizes="60x60" href="<?php echo $this->baseurl . '/templates/' . $this->template; ?>/images/fav/apple-touch-icon-60x60.png">
|
|
<link rel="icon" type="image/png" href="<?php echo $this->baseurl . '/templates/' . $this->template; ?>/images/fav/favicon-32x32.png" sizes="32x32">
|
|
<link rel="icon" type="image/png" href="<?php echo $this->baseurl . '/templates/' . $this->template; ?>/images/fav/favicon-16x16.png" sizes="16x16">
|
|
<?php echo $doc->getBuffer('head'); ?>
|
|
</head>
|
|
|
|
<body class="<?php echo $skin; ?> t-overlay t-inner_page <?php echo $option
|
|
. ' view-' . $view
|
|
. ($layout ? ' layout-' . $layout : ' no-layout')
|
|
. ($task ? ' task-' . $task : ' no-task')
|
|
. ($itemid ? ' itemid-' . $itemid : '')
|
|
. ($params->get('fluidContainer') ? ' fluid' : '')
|
|
. ' ' . $params->get('pageclass_sfx', '' );
|
|
?>">
|
|
|
|
<div class="t-overlay_box">
|
|
<img src="<?php echo $this->baseurl . '/templates/' . $this->template; ?>/images/loading.gif" class="t-loading_img" alt="">
|
|
</div>
|
|
|
|
<!-- ******** HEADER START ******** -->
|
|
<header id="t-header" class="t-header wow fadeInDown clearfix" data-wow-duration="2s" >
|
|
<div class="col-lg-12 t-header_inner">
|
|
<div class="row">
|
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12 t-header_logo">
|
|
<a href="<?php echo JUri::root(); ?>" class="t_logo">
|
|
<?php echo $this->params->get( 'logoFile', $this->params->get( 'logoText', 'Trada' ) ); ?>
|
|
</a>
|
|
</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 t-header_nav">
|
|
<?php if ($doc->countModules('position-0')) : ?>
|
|
<?php echo $doc->getBuffer('modules', 'position-0', array('style' => 'none')); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12 t-header_social">
|
|
<?php if ($doc->countModules('position-1')) : ?>
|
|
<?php echo $doc->getBuffer('modules', 'position-1', array('style' => 'none')); ?>
|
|
<?php endif; ?>
|
|
</div>
|
|
<div class="t-header_mobile_nav" id="t-header_mobile_nav">
|
|
<i class="fa fa-navicon"></i>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<!-- ******** HEADER END ******** -->
|
|
|
|
<?php if ($doc->countModules('position-4')) : ?>
|
|
<?php echo $doc->getBuffer('modules', 'position-4', array('style' => 'none')); ?>
|
|
<?php endif; ?>
|
|
|
|
<section id="t-blog_container" class="t-not_found">
|
|
<div class="container">
|
|
<div class="row">
|
|
<i class="fa fa-meh-o"></i>
|
|
<p><?php echo JText::_('JERROR_LAYOUT_PAGE_NOT_FOUND'); ?></p>
|
|
<a href="<?php echo JUri::root(); ?>"><?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?></a>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
</body>
|
|
</html>
|