HEX
Server: nginx/1.18.0
System: Linux srv01 5.15.0-171-generic #181-Ubuntu SMP Fri Feb 6 22:44:50 UTC 2026 x86_64
User: RaviMohan (1026)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/RaviMohan/sdrshilajit.com/web/wp-content/themes/klasik/includes/footer-function.php
<?php
// get website title
if(!function_exists("klasik_footer_text")){
	function klasik_footer_text(){
	
		$foot= stripslashes(klasik_get_option( 'klasik_footer'));
		if($foot!=""){
        	echo $foot;
        }
		
	}// end klasik_footer_text()
}

// Copyright
if(!function_exists("klasik_copyright_text")){
	function klasik_copyright_text(){

			_e('Copyright', 'klasik'); echo ' &copy; ';
			
				echo date('Y') . ' <a href="'.home_url( '/').'">'.get_bloginfo('name') .'</a>.';
			?>
			<?php _e(' Designed by', 'klasik'); ?>	<a href="<?php echo esc_url( __( 'http://www.klasikthemes.com', 'klasik' ) ); ?>" title=""><?php _e('Klasik Themes','')?></a>.
            
        <?php 
		
	}// end klasik_copyright_text()
}


if(!function_exists("klasik_print_js_menu")){
	
	function klasik_print_js_menu(){
	?>
	<script type="text/javascript">
	//Add Class Js to html
	jQuery('html').addClass('js');	
	
	//=================================== MENU ===================================//
	jQuery("ul.sf-menu").superfish({
					//add options here if required
				});
	
	//=================================== MOBILE MENU DROPDOWN ===================================//
	jQuery('#topnav').tinyNav({
		active: 'current-menu-item'
	});	
	
	
	</script>
	<?php
	}
	add_action("klasik_foot","klasik_print_js_menu",1);
}


if(!function_exists("klasik_print_js_prettyphoto")){
	
	function klasik_print_js_prettyphoto(){
	?>
	<script type="text/javascript">
	jQuery(document).ready(function(){
		runprettyPhoto();
	});
	
	function runprettyPhoto(){
		//=================================== PRETTYPHOTO ===================================//
		jQuery('a[data-rel]').each(function() {jQuery(this).attr('rel', jQuery(this).data('rel'));});
		jQuery("a[rel^='prettyPhoto']").prettyPhoto({
			animationSpeed:'slow',
			theme:'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */
			gallery_markup:'',
			social_tools: false,
			slideshow:2000
		});
	}
	</script>
	<?php
	}
	add_action("klasik_foot","klasik_print_js_prettyphoto",3);
}

if(!function_exists("klasik_print_js_quicksand")){
	
	function klasik_print_js_quicksand(){
	?>
	<script type="text/javascript">
	function runquicksand(){
		// get the action filter option item on page load
		var $filterType = jQuery('#filter li.current a').attr('class');
		
		var $holder = jQuery('.portfoliolist');
	
		var $data = $holder.clone();
		
		jQuery('#filter li a').click(function(e) {
			jQuery('#filter li').removeClass('current');
			
			var $filterType = jQuery(this).data('filter');
			
			jQuery(this).parent().addClass('current');
			
			if ($filterType == '*') {
				var $filteredData = $data.find('div.item');
			} 
			else {
				var $filteredData = $data.find('div.item.' + $filterType );
			}
			
			$holder.quicksand($filteredData, {
				easing: 'easeOutQuart',
				adjustWidth: 'auto',
				enhancement: function(){
					runprettyPhoto();
					jQuery('.klasik-pf-img a').hover(
						function() {
							jQuery(this).find('.rollover').stop().fadeTo(500, 0.6);
						},
						function() {
							jQuery(this).find('.rollover').stop().fadeTo(500, 0);
						}
					
					);
				}
			});
			return false;
		});
	}
	
	jQuery(window).load(function(){
		runquicksand();
	});
	</script>
	<?php
	}
	add_action("klasik_foot","klasik_print_js_quicksand",4);
}

if(!function_exists("klasik_print_js_tabs")){
	
	function klasik_print_js_tabs(){
	?>
	<script type="text/javascript">
	jQuery(document).ready(function(){
		//=================================== TABS AND TOGGLE ===================================//
		//jQuery tab
		jQuery(".tab-content").hide(); //Hide all content
		jQuery("ul.tabs li:first").addClass("active").show(); //Activate first tab
		jQuery(".tab-content:first").show(); //Show first tab content
		//On Click Event
		jQuery("ul.tabs li").click(function() {
			jQuery("ul.tabs li").removeClass("active"); //Remove any "active" class
			jQuery(this).addClass("active"); //Add "active" class to selected tab
			jQuery(".tab-content").hide(); //Hide all tab content
			var activeTab = jQuery(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
			jQuery(activeTab).show(); //Fade in the active content
			return false;
		});
	});
	</script>
	<?php
	}
	add_action("klasik_foot","klasik_print_js_tabs",5);
}

if(!function_exists("klasik_print_js_fixed_menu")){
	
	function klasik_print_js_fixed_menu(){
	?>
	<script type="text/javascript">
	
		<?php 
			if(file_exists( get_stylesheet_directory() . '/fixedmenu.css')){
			$enablefixedmenu = klasik_get_option( 'klasik_enable_fixed_menu' ,'');
			if($enablefixedmenu ){
		?>
		// Sticky menu
		jQuery(document).ready(function() {
			var stickyNavTop = jQuery('.fixedmenu').offset().top;
			
			var stickyNav = function(){
			var scrollTop = jQuery(window).scrollTop();
				 
			if (scrollTop > stickyNavTop) { 
				jQuery('.fixedmenu').addClass('sticky');
			} else {
				jQuery('.fixedmenu').removeClass('sticky'); 
			}
			};
			
			stickyNav();
			
			jQuery(window).scroll(function() {
				stickyNav();
			});
		});
		<?php }
			}
		?>
		
	</script>
	<?php
	}
	add_action("klasik_foot","klasik_print_js_fixed_menu",6);
}


if(!function_exists("klasik_foot")){
	function klasik_foot(){
		do_action("klasik_foot");
	}
}
add_action("wp_footer","klasik_foot",20);

?>