%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.101 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/var/www/html/old/templates/sj_icenter/ |
Upload File : |
<?php
/*
* ------------------------------------------------------------------------
* Copyright (C) 2009 - 2013 The YouTech JSC. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Author: The YouTech JSC
* Websites: http://www.smartaddons.com - http://www.cmsportal.net
* ------------------------------------------------------------------------
*/
// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );
// Check yt plugin
if(!defined('YT_FRAMEWORK')){
throw new Exception(JText::_('INSTALL_YT_PLUGIN'));
}
if(!defined('J_TEMPLATEDIR')){
define('J_TEMPLATEDIR', JPATH_SITE.J_SEPARATOR.'templates'.J_SEPARATOR.$this->template);
}
// Include file: frame_inc.php
include_once (J_TEMPLATEDIR.J_SEPARATOR.'includes'.J_SEPARATOR.'frame_inc.php');
$doc = JFactory::getDocument();
$this->language = $doc->language;
$this->direction = $doc->direction;
// Check direction for html
$dir = ($yt->getParam('direction') == 'rtl') ? ' dir="rtl"' : 'dir="ltr"';
?>
<!DOCTYPE html>
<html lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head>
<jdoc:include type="head" />
<?php
$browser = new Browser(); ?>
<meta name="HandheldFriendly" content="true"/>
<meta name="format-detection" content="telephone=no">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- META FOR IOS & HANDHELD -->
<?php if($yt->getParam('responsive', 1)): ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"/>
<?php endif ?>
<meta name="HandheldFriendly" content="true" />
<meta name="apple-mobile-web-app-capable" content="YES" />
<!-- //META FOR IOS & HANDHELD -->
<?php
// Include css, js
include_once (J_TEMPLATEDIR.J_SEPARATOR.'includes'.J_SEPARATOR.'head.php');
?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script>
<script src="https://ajax.aspnetcdn.com/ajax/jquery.migrate/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
</head>
<?php
//
$cls_body = '';
//render a class for home page
$cls_body .= $yt->isHomePage() ? 'homepage ' : '';
//for RTL direction
$cls_body .= $this->direction. ' ';
$cls_body .= 'layout_'.$layout. ' ';
$type_layout = ($yt->getParam('typelayout') == 'boxed') ? 'layout-boxed' . ' ' : ' ';
?>
<body id="bd" class="<?php echo $cls_body; ?>" >
<jdoc:include type="modules" name="debug" />
<section id="yt_wrapper" class="<?php echo $type_layout; ?>">
<a id="top" name="scroll-to-top"></a>
<?php
/*render blocks. for positions of blocks, please refer layouts folder. */
foreach($yt_render->arr_TB as $tagBD) {
//BEGIN Check if position not empty
if( $tagBD["countModules"] > 0 ) {
// BEGIN: Content Area
if( ($tagBD["name"] == 'content') ) {
//class for content area
$cls_content = $tagBD['class_content'];
$cls_content .= ' block';
echo "<{$tagBD['html5tag']} id=\"{$tagBD['id']}\" class=\"{$cls_content}\">";
?>
<div class="yt-main">
<div class="yt-main-in1 container">
<div class="yt-main-in2 row-fluid">
<?php
$countL = $countR = $countM = 0;
// BEGIN: foreach position of block content
// IMPORTANT: Please do not edit this block
foreach($tagBD['positions'] as $position):
include(J_TEMPLATEDIR.J_SEPARATOR.'includes'.J_SEPARATOR.'block-content.php');
endforeach;
// END: foreach position of block content
?>
</div>
</div>
</div>
<?php
echo "</{$tagBD['html5tag']}>";
?>
<?php
// END: Content Area
// BEGIN: For other blocks
} elseif ($tagBD["name"] != 'content'){
echo "<{$tagBD['html5tag']} id=\"{$tagBD['id']}\" class=\"block\">";
?>
<div class="yt-main">
<div class="yt-main-in1 container">
<div class="yt-main-in2 row-fluid">
<?php
if( !empty($tagBD["hasGroup"]) && $tagBD["hasGroup"] == "1"){
// BEGIN: For Group attribute
$flag = '';
$openG = 0;
$c = 0;
foreach( $tagBD['positions'] as $posFG ):
$c = $c + 1;
if( $posFG['group'] != "" && $posFG['group'] != $flag){
$flag = $posFG['group'];
if ($openG == 0) {
$openG = 1;
$groupnormal = 'group-' . $flag.$tagBD['class_groupnormal'];
echo '<div class="' . $groupnormal . ' ' . $yt_render->arr_GI[$posFG['group']]['class'] . '">' ;
echo $yt->renPositionsGroup($posFG);
if($c == count( $tagBD['positions']) ) {
echo '</div>';
}
} else {
$openG = 0;
$groupnormal = 'group-' . $flag;
echo '</div>';
echo '<div class="' . $groupnormal . ' '. $yt_render->arr_GI[$posFG['group']]['class'] . '">' ;
echo $yt->renPositionsGroup($posFG);
}
} elseif ($posFG['group'] != "" && $posFG['group'] == $flag){
echo $yt->renPositionsGroup($posFG);
if($c == count( $tagBD['positions']) ) {
echo '</div>';
}
}elseif($posFG['group']==""){
if($openG ==1){
$openG = 0;
echo '</div>';
}
echo $yt->renPositionsGroup($posFG);
}
endforeach;
// END: For Group attribute
}else{
// BEGIN: for Tags without group attribute
if(isset($tagBD['positions'])){
echo $yt->renPositionsNormal($tagBD['positions'], $tagBD["countModules"]);
}
// END: for Tags without group attribute
}
?>
</div>
</div>
</div>
<?php
echo "</{$tagBD['html5tag']}>";
?>
<?php
}
// END: For other blocks
}
// END Check if position not empty
}
//END: For
?>
<?php
include_once (J_TEMPLATEDIR.J_SEPARATOR.'includes'.J_SEPARATOR.'special-position.php');
include_once (J_TEMPLATEDIR.J_SEPARATOR.'includes'.J_SEPARATOR.'bottom.php');
?>
</section>
<?php if($yt->getParam('responsiveMenu')=='sidebar'){?>
<div class="block yt-off-sideresmenu"><div class="yt-sideresmenu"></div></div>
<?php } ?>
</body>
</html>