Sindbad~EG File Manager
<?php
/**
* @package RSLibro!
* @copyright (C) 2016 www.rsjoomla.com
* @license GPL, http://www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die;
define('RSTEMPLATE_PATH', dirname(__FILE__));
// Include helper file
require_once dirname(__FILE__).'/classes/template.php';
// Initialize our template
$template = new RSTemplate($this);
// Load Bootstrap
if ($this->params->get('loadBootstrap')) {
$template->addBootstrap();
}
?>
<!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 name="viewport" content="width=device-width, initial-scale=1">
<jdoc:include type="head" />
<?php
// Load favicon
if ($this->params->get('favicon', '')) {
$template->addFavicon();
}
$template->addComponentCSS();
$template->addModulesCSS();
// Add Stylesheets
$template->addCSS('icons.css', true, false);
$template->addCSS('template.css', true, false);
// Theme CSS
$template->addCSS('theme/' . $this->params->get('templateTheme') . '.css', true, false);
// Add RTL text direction stylesheets
$template->addRTL();
// Load the custom.css
$template->addCustomCSS();
// Add Google Font
$template->addGoogleFont();
// Add jQuery
$template->addjQuery();
// Add JavaScript Files
$template->setMenuEffect();
$template->setFadeContentEffect();
$template->setRippleEffect();
$template->setAnimateBorderEffect();
$template->addTemplateJs();
// Load the custom.js
$template->addCustomJS();
// Add Google Analytics Tracking Code
echo $template->addGoogleAnalytics();
if (trim($this->params->get('addHeaderContent')) != '') {
echo $this->params->get('addHeaderContent');
}
?>
<?php if ( ($this->params->get('preloaderLoad') == 'homepage' && $template->isHome()) || ($this->params->get('preloaderLoad') == 'all_pages') ) { ?>
<style type="text/css"> #rstpl-pagewrap { visibility: hidden; } </style>
<?php } ?>
</head>
<body class="site">
<?php echo $template->addGoogleTagManager(); ?>
<div id="rstpl-pagewrap" class="body custom_<?php echo $template->getItemId(); ?>">
<?php
$positions = $template->getPositions();
if ( is_array($positions) && count($positions)) {
foreach ( $positions as $i => $position ) {
$position = trim($position);
$file = realpath(JPATH_SITE.'/templates/'.$this->template.'/positions/'.$position.'.php');
if (is_file($file)) {
include $file;
}
}
}
?>
<?php if ($this->params->get('scrollTopButton')) { ?>
<a href="javascript:void(0)" class="rstpl-go-top visible-desktop"></a>
<?php } ?>
</div>
<?php $template->setPreloader(); ?>
<?php if (!$this->params->get('hideCopyrightLink')) { ?>
<div class="text-center copyright-link">
<small><a href="https://www.rsjoomla.com/joomla-templates.html" title="Joomla! Templates" target="_blank">Joomla! Templates</a> by RSJoomla!</small>
</div>
<?php } ?>
<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists