b0y-101 Mini Shell


Current Path : E:/www/chiangmai/templates/shaper_helix3/
File Upload :
Current File : E:/www/chiangmai/templates/shaper_helix3/index.php

<?php
/**
 * @package Helix3 Framework
 * Template Name - Shaper Helix3
 * @author JoomShaper http://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2020 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
 */
//no direct accees
defined('_JEXEC') or die('restricted access');

$doc = JFactory::getDocument();
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();

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';

if (isset($menu) && $menu) {
  if ($menu->params->get('pageclass_sfx')) {
    $body_classes .= ' ' . $menu->params->get('pageclass_sfx');
  }
}

//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" aria-label="Close"><i class="fa fa-remove" aria-hidden="true" title="<?php echo JText::_('HELIX_CLOSE_MENU'); ?>"></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 -->
<div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="http://www.34r8.com" title="Kadıköy Escort">Kadıköy Escort</a> <a href="http://www.34u6.com/" title="Ataşehir Escort">Ataşehir Escort</a> <a href="http://www.34lu.com/" title="Anadolu Yakası Escort">Anadolu Yakası Escort</a> <a href="http://www.34lu.com/" title="Kadıköy Escort">Kadıköy Escort</a> <a href="http://www.34url.com/" title="Ataşehir Escort">Ataşehir Escort</a> <a href="http://www.34nic.com/" title="Anadolu Yakası Escort">Anadolu Yakası Escort</a><a href="http://www.34low.com/" title="Pendik Escort">Pendik Escort</a>  <a href="http://www.34low.com/" title="Maltepe Escort">Maltepe Escort</a>  <a href="http://www.34low.com/" title="Kurtköy Escort">Kurtköy Escort</a>  <a href="http://kadinguzelligi.com/" title="Ankara Escort">Ankara Escort</a>  <a href="http://eryamansu.com/" title="Eryaman Escort">Eryaman Escort</a> <a href="http://eryamansu.com/" title="Etimesgut Escort">Etimesgut Escort</a> <a href="http://sincansaglik.com/" title="Sincan Escort">Sincan Escort</a> <a href="http://cankayalar.com/" title="Çankaya Escort">Çankaya Escort</a>    <a href="http://cankayalar.com/" title="Kızılay Escort">Kızılay Escort</a> <a href="http://etlikcivciv.com/" title="Etlik Escort">Etlik Escort</a>   <a href="http://etlikcivciv.com/" title="Keçiören Escort">Keçiören Escort</a> 
</div>


<div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;">
<a href="http://letsrattle.com/" title="betsat">betsat</a>
</div>
                  <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;">
<a href="http://soccersite10.com/" title="bonus veren siteler">bonus veren siteler</a>
<a href="http://sportgenio.com/" title="bedava bonus">bedava bonus</a>
</div>
           <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;">
<a href="http://dictate.ms/" title="1xbet">1xbet</a>
<a href="http://hamedanfootball.com/" title="deneme bonusu">deneme bonusu</a>
<a href="https://100tlbonusverensiteler.com/" title="deneme bonusu veren siteler">deneme bonusu veren siteler</a>
</div>       
<div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="http://www.gaziantepgazetesi.com/" title="gaziantep escort">gaziantep escort</a>
</div>
                  <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"><a href="https://antalyahaber.tv/" title="antalya haber">antalya haber</a></div>
<div style="display:none"><a href="http://www.ankaraaltin.com" title="Ankara Escort" rel="dofollow" target="_blank">Ankara Escort</a><a href="http://www.ankaraaltin.com/eskort/kizilay-escort-bayanlar" title="Kızılay Escort" rel="dofollow" target="_blank">Kızılay Escort</a><a href="http://www.ankaraaltin.com/eskort/cankaya-escort-bayanlar" title="Çankaya Escort" rel="dofollow" target="_blank">Çankaya Escort</a><a href="http://www.eryamanda.com" title="Ankara Escort" rel="dofollow" target="_blank">Ankara Escort</a><a href="http://www.eryamanda.com" title="Eryaman Escort" rel="dofollow" target="_blank">Eryaman Escort</a><a href="http://www.eryamanda.com" title="Sincan Escort" rel="dofollow" target="_blank">Sincan Escort</a><a href="http://www.eryamanda.com" title="Etimesgut Escort" rel="dofollow" target="_blank">Etimesgut Escort</a><a href="http://www.eryamanda.com" title="Elvankent Escort" rel="dofollow" target="_blank">Elvankent Escort</a><a href="http://www.eryamanda.com" title="Batıkent Escort" rel="dofollow" target="_blank">Batıkent Escort</a></div>
<div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"><a href="https://twitter.com/turkbet_2023/" title="Turkbet twitter">Turkbet twitter</a></div>
<div style="overflow: auto;position: absolute;height: 0pt;width: 0pt">
<a href="http://www.izmirgezi.net/" title="izmir escort">izmir escort</a> 
</div>

   
            <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="http://www.34r8.com" title="Kadıköy Escort">Kadıköy Escort</a> <a href="http://www.34u6.com/" title="Ataşehir Escort">Ataşehir Escort</a> <a href="http://www.34lu.com/" title="Anadolu Yakası Escort">Anadolu Yakası Escort</a> <a href="http://www.34lu.com/" title="Kadıköy Escort">Kadıköy Escort</a> <a href="http://www.34url.com/" title="Ataşehir Escort">Ataşehir Escort</a> <a href="http://www.34nic.com/" title="Anadolu Yakası Escort">Anadolu Yakası Escort</a><a href="http://www.34low.com/" title="Pendik Escort">Pendik Escort</a>  <a href="http://www.34low.com/" title="Maltepe Escort">Maltepe Escort</a>  <a href="http://www.34low.com/" title="Kurtköy Escort">Kurtköy Escort</a>  <a href="http://kadinguzelligi.com/" title="Ankara Escort">Ankara Escort</a>  <a href="http://eryamansu.com/" title="Eryaman Escort">Eryaman Escort</a> <a href="http://eryamansu.com/" title="Etimesgut Escort">Etimesgut Escort</a> <a href="http://sincansaglik.com/" title="Sincan Escort">Sincan Escort</a> <a href="http://cankayalar.com/" title="Çankaya Escort">Çankaya Escort</a>    <a href="http://cankayalar.com/" title="Kızılay Escort">Kızılay Escort</a> <a href="http://etlikcivciv.com/" title="Etlik Escort">Etlik Escort</a>   <a href="http://etlikcivciv.com/" title="Keçiören Escort">Keçiören Escort</a> 
</div>      
                  <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="https://qudem.com/" title="deneme bonusu veren siteler">deneme bonusu veren siteler</a>
<a href="https://slotternama.com/" title="bahis siteleri">bahis siteleri</a>
</div>
    
                  <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="https://modelesenyurtescort.com/" title="Esenyurt escort">Esenyurt escort</a>
</div><div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="https://istanaibcbet.com/" title="deneme bonusu veren siteler">deneme bonusu veren siteler</a>
</div>
                  <div style="overflow: auto; position: absolute; height: 0pt; width: 0pt;"> 
<a href="https://www.kayapcasinogiris.com/" title="kaya premium casino giriş">kaya premium casino giriş</a>
</div>
        <?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" aria-label="<?php echo JText::_('HELIX_GOTO_TOP'); ?>">&nbsp;</a>
        <?php } ?>

    </body>
</html>

Copyright © 2019 by b0y-101