%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/old/templates/sj_flatnews/includes/ |
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' ); // Body's font-size & font-family $doc->addStyleDeclaration('body.'.$yt->template.'{font-size:'.$fontSize.'}'); if(trim($fontName)!=''){ $doc->addStyleDeclaration('body.'.$yt->template.'{font-family:'.$fontName.',sans-serif;}'); } // Google Font & Element use if ($googleWebFont != "" && $googleWebFont != " " && strtolower($googleWebFont)!="none") { $doc->addStyleSheet('http://fonts.googleapis.com/css?family='.str_replace(" ","+",$googleWebFont).''); $googleWebFontFamily = strpos($googleWebFont, ':')?substr($googleWebFont, 0, strpos($googleWebFont, ':')):$googleWebFont; if(trim($googleWebFontTargets)!="") $doc->addStyleDeclaration(' '.$googleWebFontTargets.'{font-family:'.$googleWebFontFamily.', serif !important}'); } // Add css... config to <head>...</head> $doc->addStyleDeclaration(' body.'.$yt->template.'{ background-color:'.$yt->getParam('bgcolor').' ; color:'.$yt->getParam('textcolor').' ; } body a{ color:'.$yt->getParam('linkcolor').' ; } #yt_header{background-color:'.$yt->getParam('header-bgcolor').' ;} #yt_footer{background-color:'.$yt->getParam('footer-bgcolor').' ;} '); // Add class pattern to element wrap ?> <script type="text/javascript"> jQuery(document).ready(function($){ /* Begin: add class pattern for element */ var headerbgimage = '<?php echo $yt->getParam('header-bgimage');?>'; var footerbgimage = '<?php echo $yt->getParam('footer-bgimage');?>'; if(headerbgimage){ $('#yt_header').addClass(headerbgimage); $('#yt_slideshow').addClass(headerbgimage); } /* End: add class pattern for element */ }); </script> <?php // Include cpanel if($showCpanel) { include_once (J_TEMPLATEDIR.J_SEPARATOR.'includes'.J_SEPARATOR.'cpanel.php'); ?> <script type="text/javascript"> jQuery(document).ready(function($){ miniColorsCPanel('.body-backgroud-color .color-picker', 'body', 'background-color'); miniColorsCPanel('.link-color .color-picker', 'body a', 'color'); miniColorsCPanel('.text-color .color-picker', 'body', 'color'); miniColorsCPanel('.header-backgroud-color .color-picker', Array('#yt_header', '#yt_slideshow'), 'background-color'); miniColorsCPanel('.footer-backgroud-color .color-picker', '#yt_footer', 'background-color'); miniColorsCPanel('.spotlight10-backgroud-color .color-picker', '#yt_spotlight10', 'background-color'); patternClick('.header-backgroud-image .pattern', 'header-bgimage', Array('#yt_header', '#yt_slideshow')); var array = Array('bgcolor','linkcolor','textcolor','header-bgcolor','header-bgimage','spotlight10-bgcolor','footer-bgcolor'); var array_green = Array('#ffffff','#28ab00','#666666','#fff','pattern3','#3e3e3e','#1a1a1a'); var array_dark_green = Array('#ffffff','#850000','#333333','#fff','pattern1','#3e3e3e','#1a1a1a'); var array_blue = Array('#f8f8f8','#0386c3','#666666','','','#414141','#2D2D2D'); var array_dark_blue = Array('#f8f8f8','#3b5998','#666666','','','#414141','#2D2D2D'); var array_cyan = Array('#f8f8f8','#0cb4ae','#666666','','','#414141','#2D2D2D'); var array_purple = Array('#f8f8f8','#820250','#666666','','','#414141','#2D2D2D'); var array_green = Array('#f8f8f8','#6faa12','#666666','','','#414141','#2D2D2D'); var array_tomato = Array('#f8f8f8','#fe2f2f','#666666','','','#414141','#2D2D2D'); var array_yellow = Array('#f8f8f8','#ffd600','#666666','','','#414141','#2D2D2D'); $('.theme-color.blue').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_blue); onCPApply(); }); $('.theme-color.dark_blue').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_dark_blue); onCPApply(); }); $('.theme-color.cyan').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_cyan); onCPApply(); }); $('.theme-color.purple').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_purple); onCPApply(); }); $('.theme-color.green').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_green); onCPApply(); }); $('.theme-color.tomato').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_tomato); onCPApply(); }); $('.theme-color.yellow').click(function(){ $($(this).parent().find('.active')).removeClass('active'); $(this).addClass('active'); createCookie(TMPL_NAME+'_'+'templateColor', $(this).html().toLowerCase(), 365); setCpanelValues(array_yellow); onCPApply(); }); /* miniColorsCPanel */ function miniColorsCPanel(elC, elT, selector){ $(elC).miniColors({ change: function(hex, rgb) { if(typeof(elT)!='string'){ for(i=0;i<elT.length;i++){ $(elT[i]).css(selector, hex); } }else{ $(elT).css(selector, hex); } createCookie(TMPL_NAME+'_'+($(this).attr('name').match(/^ytcpanel_(.*)$/))[1], hex, 365); } }); } /* Begin: Set click pattern */ function patternClick(elC, paramCookie, elT){ $(elC).click(function(){ oldvalue = $(this).parent().find('.active').html(); $(elC).removeClass('active'); $(this).addClass('active'); value = $(this).html(); if(elT.length > 0){ for($i=0; $i < elT.length; $i++){ $(elT[$i]).removeClass(oldvalue); $(elT[$i]).addClass(value); } } if(paramCookie){ $('input[name$="ytcpanel_'+paramCookie+'"]').attr('value', value); createCookie(TMPL_NAME+'_'+paramCookie, value, 365); } }); } function setCpanelValues(array){ if(array['0']){ $('.body-backgroud-color input.miniColors').attr('value', array['0']); $('.body-backgroud-color a.miniColors-trigger').css('background-color', array['0']); $('input.ytcpanel_bgcolor').attr('value', array['0']); } if(array['1']){ $('.link-color input.miniColors').attr('value', array['1']); $('.link-color a.miniColors-trigger').css('background-color', array['1']); $('input.ytcpanel_linkcolor').attr('value', array['1']); } if(array['2']){ $('.text-color input.miniColors').attr('value', array['2']); $('.text-color a.miniColors-trigger').css('background-color', array['2']); $('input.ytcpanel_textcolor').attr('value', array['2']); } if(array['3']){ $('.header-backgroud-color input.miniColors').attr('value', array['3']); $('.header-backgroud-color a.miniColors-trigger').css('background-color', array['3']); $('input.ytcpanel_header-bgcolor').attr('value', array['3']); } if(array['4']){ $('.header-backgroud-image .pattern').removeClass('active'); $('.header-backgroud-image .pattern.'+array['4']).addClass('active'); $('input[name$="ytcpanel_header-bgimage"]').attr('value', array['4']); } if(array['5']){ $('.spotlight10-backgroud-color input.miniColors').attr('value', array['5']); $('.spotlight10-backgroud-color a.miniColors-trigger').css('background-color', array['5']); $('input.ytcpanel_spotlight10-bgcolor').attr('value', array['5']); } if(array['6']){ $('.footer-backgroud-color input.miniColors').attr('value', array['6']); $('.footer-backgroud-color a.miniColors-trigger').css('background-color', array['6']); $('input.ytcpanel_footer-bgcolor').attr('value', array['6']); } } }); </script> <?php } // Show back to top if( $yt->getParam('showBacktotop') ) { ?> <a id="yt-totop" class="backtotop" href="#"><i class="icon-chevron-up"></i></a> <script type="text/javascript"> jQuery(".backtotop").addClass("hidden-top"); jQuery(window).scroll(function () { if (jQuery(this).scrollTop() === 0) { jQuery(".backtotop").addClass("hidden-top") } else { jQuery(".backtotop").removeClass("hidden-top") } }); jQuery('.backtotop').click(function () { jQuery('body,html').animate({ scrollTop:0 }, 1200); return false; }); </script> <?php } ?>