%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 14.207.165.8 / Your IP : 216.73.216.26 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/includes/ |
Upload File : |
<?php
/*
* ------------------------------------------------------------------------
* Yt FrameWork for Joomla 2.5
* ------------------------------------------------------------------------
* Copyright (C) 2009 - 2012 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' );
if ($position['group'] == '') { // Position none group
echo $yt->renPositionsContentNoGroup($position);
} elseif ( ($position['group'] != 'left') && ($position['group'] != 'main') && ($position['group'] != 'right') ) { // Position has group's user created
if (!isset($countGSpe)) {
$countGSpe = 0;
}
$countGSpe ++;
$width = ($yt_render->arr_GI[$position['group']]['width'] != "") ? $yt_render->arr_GI[$position['group']]['width'] : "";
$height = ($yt_render->arr_GI[$position['group']]['height'] != "") ? $yt_render->arr_GI[$position['group']]['height'] : "";
$style = '';
if ($width != "" ) {
if($style != "") {
$style .= " width:".$width.";";
} else {
$style .= "width:".$width.";";
}
}
if ($height != ""){
if ($style != "") {
$style .= " height:".$height.";";
} else {
$style .= "height:".$height.";";
}
}
if($countGSpe == 1) {
echo '<div id="' . $position['group'] . '" ' . ($style != '' ? 'style="'.$style.'"' : '') .'>';
echo $yt->renPositionsGroup($position);
$width = $height = $style = "";
if($tagBD['count-'.$position['group']] == 1) {
$countGSpe = null;
echo '</div>';
}
} elseif ( $countGSpe == $tagBD['count-'.$position['group']] && $tagBD['count-'.$position['group']] > 1 ) {
echo $yt->renPositionsGroup($position);
$width = $height = $style = "";
$countGSpe = null;
echo '</div>';
} else {
echo $yt->renPositionsGroup($position);
$width=$height=$style="";
}
} elseif ( ($position['group'] == 'left')
||($position['group'] == 'main')
||($position['group'] == 'right') ) { // Position has group's framework fixed - left, main, right
if($position['group'] == 'left') {
$countL ++;
if($countL == 1) {
$more_attr = '';
$more_attr .= (isset($yt_render->arr_GI['left']['data-wide']))?' data-wide="'.$yt_render->arr_GI['left']['data-wide'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['left']['data-normal']))?' data-normal="'.$yt_render->arr_GI['left']['data-normal'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['left']['data-tablet']))?' data-tablet="'.$yt_render->arr_GI['left']['data-tablet'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['left']['data-stablet']))?' data-stablet="'.$yt_render->arr_GI['left']['data-stablet'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['left']['data-mobile']))?' data-mobile="'.$yt_render->arr_GI['left']['data-mobile'].'"':'';
echo '<div id="content_left" class="'.$yt_render->arr_GI['left']['class'].'"'.$more_attr.'>';
echo '<div class="content-left-in">';
echo $yt->renPositionsGroup($position, 'block-content');
if($tagBD['count-group-left'] == 1) {
echo '</div></div>';
}
} elseif ($tagBD['count-group-left'] == $countL && $tagBD['count-group-left'] > 1) {
echo $yt->renPositionsGroup($position, 'block-content');
echo '</div></div>';
} else {
echo $yt->renPositionsGroup($position, 'block-content');
}
} elseif ($position['group'] == 'main') {
$countM++;
if ($countM == 1) {
$more_attr = '';
$more_attr .= (isset($yt_render->arr_GI['main']['data-wide']))?' data-wide="'.$yt_render->arr_GI['main']['data-wide'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['main']['data-normal']))?' data-normal="'.$yt_render->arr_GI['main']['data-normal'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['main']['data-tablet']))?' data-tablet="'.$yt_render->arr_GI['main']['data-tablet'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['main']['data-stablet']))?' data-stablet="'.$yt_render->arr_GI['main']['data-stablet'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['main']['data-mobile']))?' data-mobile="'.$yt_render->arr_GI['main']['data-mobile'].'"':'';
echo '<div id="content_main" class="'.$yt_render->arr_GI['main']['class'].'"'.$more_attr.'>' ;
echo '<div class="content-main-inner ">';
echo $yt->renPositionsGroup($position, 'main');
if($tagBD['count-group-main'] == 1 ) {
echo ' </div>';
echo '</div>';
}
} elseif ( ($tagBD['count-group-main'] == $countM) && ($tagBD['count-group-main'] > 1) ){
echo $yt->renPositionsGroup($position, 'main');
echo ' </div>';
echo '</div>';
} else {
echo $yt->renPositionsGroup($position, 'main');
}
} elseif ($position['group'] == 'right') {
$countR ++;
if($countR == 1) {
$more_attr = '';
$more_attr .= (isset($yt_render->arr_GI['right']['data-wide']))?' data-wide="'.$yt_render->arr_GI['right']['data-wide'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['right']['data-normal']))?' data-normal="'.$yt_render->arr_GI['right']['data-normal'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['right']['data-tablet']))?' data-tablet="'.$yt_render->arr_GI['right']['data-tablet'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['right']['data-stablet']))?' data-stablet="'.$yt_render->arr_GI['right']['data-stablet'].'"':'';
$more_attr .= (isset($yt_render->arr_GI['right']['data-mobile']))?' data-mobile="'.$yt_render->arr_GI['right']['data-mobile'].'"':'';
echo '<div id="content_right" class="'.$yt_render->arr_GI['right']['class'].'"'.$more_attr.'>';
echo '<div class="content-right-in">';
echo $yt->renPositionsGroup($position, 'block-content');
if($tagBD['count-group-right'] == 1) {
echo '</div></div>';
}
} elseif ($countR == $tagBD['count-group-right'] && $tagBD['count-group-right'] > 1) {
echo $yt->renPositionsGroup($position, 'block-content');
echo '</div></div>';
} else {
echo $yt->renPositionsGroup($position, 'block-content');
}
}
}
?>