HEX
Server: Apache
System: Linux c119.dattaweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: c1190199 (57165)
PHP: 7.4.33
Disabled: mail, system, shell, exec, system_exec, shell_exec, mysql_pconnect, passthru, popen, proc_open, proc_close, proc_nice, proc_terminate, proc_get_status, escapeshellarg, escapeshellcmd, eval, dl, imap_mail, libvirt_connect, gnupg_init, unsetenv, apache_setenv, pcntl_exec, 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_getpriority, pcntl_setpriority, pcntl_async_signals, opcache_get_status, opcache_reset, opcache_get_configuration
Upload Files
File: /home/c1190199/public_html/wp-content/themes/Nova/includes/scripts.php
<?php global $shortname; ?>
	<script src="<?php bloginfo('template_directory'); ?>/js/cufon-yui.js" type="text/javascript"></script>
	<script src="<?php bloginfo('template_directory'); ?>/js/Colaborate-Thin_400-Colaborate-Medium_400.font.js" type="text/javascript"></script>
	<script type="text/javascript">
		<?php 
			if ( get_option($shortname.'_color_scheme') =='Grey' ) $shadow = 'fff';
			else $shadow = '000';
		?>
		Cufon.set('fontFamily', 'Colaborate-Thin');
		Cufon.replace('#featured h2.title, #featured .description p, #entries-area h1, #entries-area h2, #entries-area h3, #entries-area h4, #entries-area h5, #entries-area h6',{textShadow:'1px 1px 1px #<?php echo $shadow; ?>'})('ul#main-tabs span, span.fn')('.tab-slide h3.title, #footer-widgets h3',{textShadow:'1px 1px 1px #fff'});
		
		Cufon.set('fontFamily', 'Colaborate-Medium');
		Cufon.replace('#featured h2.title span, #featured .description p span',{textShadow:'1px 1px 1px #<?php echo $shadow; ?>'})('.tab-slide h3.title span',{textShadow:'1px 1px 1px #fff'});
	</script>
	
	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.cycle.all.min.js"></script> 
	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.easing.1.3.js"></script>	
	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
			
	<script type="text/javascript">
	//<![CDATA[
		jQuery.noConflict();
		
		var sf = jQuery.fn.superfish,
			is_ie = jQuery.browser.msie;
		
		jQuery.fn.hideSuperfishUl = function(){
			var o = sf.op,
				not = (o.retainPath===true) ? o.$path : '';
			o.retainPath = false;
			var $ul = jQuery(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass)
					.find('>ul').animate({opacity:'hide',height:'hide'},200);
			o.onHide.call($ul);
			return this;
		}
		
		var $top_menu = jQuery('ul.nav');
				
		$top_menu.superfish({ 
			delay:       200,                            // one second delay on mouseout 
			animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
			speed:       200,                          // faster animation speed 
			autoArrows:  true,                           // disable generation of arrow mark-up 
			dropShadows: false,                            // disable drop shadows
			onBeforeShow: function() {
				if ( this.parent('li').css('background-image') === 'none' ) {
					if (!is_ie)
						this.parent('li').find('>a').fadeTo('fast',.5).siblings('span.menu_arrow').stop(true, true).animate( {opacity:'show', top:'-5px'}, 400);
					else 
						this.parent('li').find('>a').siblings('span.menu_arrow').stop(true, true).animate( {opacity:'show', top:'-5px'}, 400);
				}
			},
			onHide: function() {
				if (!is_ie)
					this.parent('li').find('>a').fadeTo('fast',1).siblings('span.menu_arrow').stop(true, true).animate( {opacity:'hide', top:'-15px'}, 400);
				else
					this.parent('li').find('>a').siblings('span.menu_arrow').stop(true, true).animate( {opacity:'hide', top:'-15px'}, 400);
			}
		});
				
		$top_menu.find('> li > ul').parent('li').addClass('sf-ul');
		
		$top_menu.find('> li').each(function(index,domEle) {
			$li = jQuery(domEle);
			if ($li.css('background-image') === 'none')
				$li.append('<span class="menu_arrow"></span>');
		}).find('> ul').prepend('<span class="menu_top_arrow"><span>');
		
		var menu_arrow = 'span.menu_arrow';
				
		$top_menu.find('>li:not(.sf-ul) > a').hover(function(){
			if ( jQuery(this).parent('li').css('background-image') === 'none' ) {
				if (!is_ie) 
					jQuery(this).fadeTo('fast',.5).siblings('span.menu_arrow').stop(true, true).animate( {opacity:'show', top:'-5px'}, 400);
				else
					jQuery(this).siblings('span.menu_arrow').stop(true, true).animate( {opacity:'show', top:'-5px'}, 400);
			}
		},function(){
			if (!is_ie) 
				jQuery(this).fadeTo('fast',1).siblings('span.menu_arrow').stop(true, true).animate( {opacity:'hide', top:'-15px'}, 400);
			else
				jQuery(this).siblings('span.menu_arrow').stop(true, true).animate( {opacity:'hide', top:'-15px'}, 400);
		});
		
		if (!is_ie) {
			$top_menu.find('li ul a').hover(function(){
				jQuery(this).fadeTo('fast',.5);
			},function(){
				jQuery(this).fadeTo('fast',1);
			});
		}
		
		var $searchform = jQuery('#searchform');
		
		jQuery('#header a#search').toggle(
			function () { $searchform.animate( {opacity:'toggle', left:'-220px'}, 500); },
			function () { $searchform.animate( {opacity:'toggle', left:'-230px'}, 500); }
		);
		
		et_search_bar();
		
		var $featured_content = jQuery('#featured_content'),
			$service_tabs = jQuery('#services'),
			$home_tabs = jQuery("ul#main-tabs");
		
		if ($featured_content.length) {
			$featured_content.cycle({
				<?php if(get_option($shortname.'_slider_auto') == 'on') { ?>timeout: <?php echo(get_option($shortname.'_slider_autospeed')); ?><?php } else { ?>timeout: 0<?php } ?>,			
				speed: 500,
				cleartypeNoBg: true,
				cleartype: true, 
				pager: 'div#controllers',
				fx: '<?php echo(get_option($shortname.'_slider_effect')); ?>',
				pause: <?php if ( get_option($shortname.'_pause_hover') == 'on' ) echo '1'; else echo '0'; ?>});
		}
		
		et_service_tabs($service_tabs);		
			
		var $footer_widget = jQuery("#footer-widgets .widget");
		
		if (!($footer_widget.length == 0)) {
			$footer_widget.each(function (index, domEle) {
				// domEle == this
				if ((index+1)%4 == 0) jQuery(domEle).addClass("last").after("<div class='clear'></div>");
			});
		}
		
		<!---- Search Bar Improvements ---->
		function et_search_bar(){
			var $searchform = jQuery('#header div#search-form'),
				$searchinput = $searchform.find("input#searchinput"),
				searchvalue = $searchinput.val();
				
			$searchinput.focus(function(){
				if (jQuery(this).val() === searchvalue) jQuery(this).val("");
			}).blur(function(){
				if (jQuery(this).val() === "") jQuery(this).val(searchvalue);
			});
		};		
		
		<!---- Service Tabs ---->
		function et_service_tabs($service_tabs){
			var active_tabstate = 'ui-state-active',
			active_tab = 0,
			$service_div = $service_tabs.find('>div').hide(),
			$service_li = $service_tabs.find('>ul>li');
		
			$service_div.filter(':first').show();
			$service_li.filter(':first').addClass(active_tabstate);
					
			$service_li.find('a').click(function(){
				var $a = jQuery(this),
					next_tab = $a.parent('li').prevAll().length,
					next_tab_height = $service_tabs.find('>div').eq(next_tab).outerHeight();
				
				if ( next_tab != active_tab ) {
					$service_tabs.css({height:next_tab_height});
					$service_div.filter(':visible')
						.animate( {opacity: 'hide'},500, function(){
							jQuery(this).parent().find('>div').eq(next_tab).animate( {opacity: 'show'},500 );
						} )
						//.end()
						//.eq(next_tab)
						//.animate( {opacity: 'show'},500 )
						;
					$service_li.removeClass(active_tabstate).filter(':eq('+next_tab+')').addClass(active_tabstate);
					active_tab = next_tab;
				}
				
				return false;
			}).hover(function(){
				if ( !jQuery(this).parent('li').hasClass(active_tabstate) && !is_ie ) jQuery(this).fadeTo('slow',.7);
			}, function(){
				if (!is_ie) jQuery(this).fadeTo('slow',1);
			});
		}
		
		var maintabswidth = $home_tabs.width();
		var maintabsleft = Math.round((960 - maintabswidth) / 2);
		if ( maintabswidth < 960 ) $home_tabs.css('left',maintabsleft);
		
		jQuery('.js #featured .container').css('visibility','visible');
		jQuery('.js #featured').css('background','none');
		
		<?php if (get_option($shortname.'_disable_toptier') == 'on') echo('jQuery("ul.nav > li > ul").prev("a").attr("href","#");'); ?>
		 
		window.setInterval( function() {Cufon.refresh('#main-tabs a');}, 100 ); 
		 
		Cufon.now();
	//]]>	
	</script>