403Webshell
Server IP : 152.53.162.115  /  Your IP : 216.73.217.85
Web Server : Apache/2
System : Linux host 6.12.0-55.40.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:54:51 EDT 2025 x86_64
User : pbshosting ( 1005)
PHP Version : 8.3.30
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/pbshosting/domains/drvinodthomas.in/public_html/wp-content/themes/Theme11/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/pbshosting/domains/drvinodthomas.in/public_html/wp-content/themes/Theme11/js//master.js
// JavaScript Document
// Author Name: Saptarang
// Author URI: http://www.saptarang.org
// Themeforest: http://themeforest.net/user/saptarang?ref=saptarang
//  Creation Date: 5 March, 2015

jQuery( document ).ready( function( $ ) {
"use strict";
	
	//Preloader
	$(window).load(function() {
		$('#preloader').fadeOut();
		$('.loading').delay(350).fadeOut('slow');  
		$('body').delay(350).css({'overflow':'visible'});
	})
	
	// WOW - animated content
	var wow = new WOW(
	{
	  boxClass:     'wow',      // animated element css class (default is wow)
	  animateClass: 'animated', // animation css class (default is animated)
	  offset:       0,          // distance to the element when triggering the animation (default is 0)
	  mobile:       false       // trigger animations on mobile devices (true is default)
	});
	wow.init();
  
	// Top Arrow
	$(window).scroll(function() {
			if ($(window).scrollTop() > 100) { 
				$('a.top').fadeIn('slow'); 
			} else { 
				$('a.top').fadeOut('slow');
			}
	});
	
	
	
	// Image Lightbox
	<!--$("a[rel^='prettyPhoto']").prettyPhoto({overlay_gallery: true});-->
	  
	// Fixed Top bar
	$(window).bind('scroll', function() {
	var navHeight = '100';
		 if ($(window).scrollTop() > navHeight) {
			 $('#top').addClass('BGdark');
			  $('#top').removeClass('black_nav');
		 }
		 else {
			 $('#top').removeClass('BGdark');
			 $('#top').addClass('black_nav');
		 }
	});
  
	// SLIDER
	/*$('#slides').superslides({
	  animation: 'fade',
	  play:7000, // change value if you want to increase or decrese speed
	  animation_speed:800 // change time interval during slide change
	});*/
  
	// Services Carousel delay
	$('#productList, .carousel').carousel({
		interval:false // set value like 5000 for making auto and increase or decrease for delay
		});
	  
	// Collapse menu for small devices
	var winWidth = $('body').width();
	if (winWidth <= 767) {
		
		// Add attribs to menu
		$('#menu .navbar-nav li a').attr('data-toggle', 'collapse');
		$('#menu .navbar-nav li a').attr('data-target', '#menu');
		
	} else {
		
	}
	
	// smooth page Scroll
	$('nav a[href^=#], a.top[href^=#], a.read[href^=#]').click(function(event) {
		event.preventDefault();
		$('html,body').animate({
		scrollTop: $(this.hash).offset().top},
		1000);	
	});

	// Load Content
	var size_li = $("#proList li").size();
    var x=6;
    $('#proList li:lt('+x+')').show();
    $('#viewMore').click(function () {
        x= (x+3 <= size_li) ? x+3 : size_li;
        $('#proList li:lt('+x+')').show();
    });
    $('#viewLess').click(function () {
        x=(x-7<0) ? 6 : x-3;
        $('#proList li').not(':lt('+x+')').hide();
    });
	
	// Tooltip
	$('[data-toggle="tooltip"]').tooltip();
	  
	// Accordion Symbols
	$('.panel-title a').click(function() {
			var thisParent = $(this).parent().parent().next();
		if(thisParent.hasClass('in')) {
				$(this).parent().removeClass('active');
		} else {
				$('.panel-title').removeClass('active');
				$(this).parent().addClass('active');
		}
	});
				
	// Subscription Form Validation
	   $("#subscribeForm input").focus(function() {
		  $(this).prev("label").hide();
		  $(this).prev().prev("label").hide();	 		 	
	  });
	   
	  $("#subscribeForm").submit(function() {
		  // validate and process form here
		  var emailSubscribe = $("#emailSubscribe").val();
		  if (emailSubscribe == "") {
				$('#emailSubscribe').addClass('reqfld');
				$('<span class="error" style="display:none; color:#ffc107"><i class="fa fa-exclamation-circle"></i></span>').insertBefore('#emailSubscribe').fadeIn(400);
				$("#emailSubscribe").focus(function() {  $('#emailSubscribe').removeClass('reqfld');  $(this).prev().fadeOut(400);});
				return false;
		   } else if(emailSubscribe.indexOf('@') == -1 || emailSubscribe.indexOf('.') == -1) {
				$('#emailSubscribe').addClass('reqfld');
				$('<span class="error" style="display:none;  color:#ffc107">Invalid!</span>').insertBefore('#emailSubscribe').fadeIn(400);
				$("#emailSubscribe").focus(function() {  $('#emailSubscribe').removeClass('reqfld');  $(this).prev().fadeOut(400);});
				return false;
		  }
	  
		  var sub_security = $("#sub-security").val();
			  
		  var dataString = '&emailSubscribe=' + emailSubscribe + '&sub-security=' + sub_security;
		  
		  $.ajax({
			type: "POST",
			url: "form/subscribe.php",
			data: dataString,
			success: function() {
			  $("#subscribeForm .form-row").hide();
			  $('#subscribeForm').append("<div id='subscribesuccess' class='alert alert-success' style='border:#"+sub_successBox_Border_Color+" 1px "+sub_successBoxBorderStyle+"; background:#"+sub_successBoxColor+";' ></div>");
			  $('#subscribesuccess').html("<h5 class='text-center' style='color:#"+sub_textColor+";'><i class='fa fa-check-circle'></i> "+sub_submitMessage+"</h5>")
			  .hide().delay(300)
			  .fadeIn(1500);
			  
			  $('#subscribeForm .form-row').delay(6000).slideUp('fast');
			  
			}
		  });
		  return false;
	});	
  
	// Contact Form
	$('.loader').hide();
	$("input, textarea").focus(function() {
		$(this).prev("label").hide();
		$(this).prev().prev("label").hide();	 		 	
	});
	 
	$("#contact_form").submit(function() {
			  // validate and process form here
			  var name = $("#name").val();
					if (name == "") {
					$('#name').addClass('reqfld');
					$('<span class="error" style="display:none; margin-top:0px;">Required!</span>').insertBefore('#name').fadeIn(400);
					$("#name").focus(function() {  $('#name').removeClass('reqfld');  $(this).prev().fadeOut(400);});
					return false;
			  } 
				
			  var phone = $("#phone").val();
					if (phone == "") {
					$('#phone').addClass('reqfld');
					$('<span class="error" style="display:none;">Required!</span>').insertBefore('#phone').fadeIn(400);
					$("#phone").focus(function() {  $('#phone').removeClass('reqfld');  $(this).prev().fadeOut(400);});
					return false;
			  }
			  
			  var email = $("#email").val();
			  if (email == "") {
					$('#email').addClass('reqfld');
					$('<span class="error" style="display:none;">Required!</span>').insertBefore('#email').fadeIn(400);
					$("#email").focus(function() {  $('#email').removeClass('reqfld');  $(this).prev().fadeOut(400);});
					return false;
			   } else if(email.indexOf('@') == -1 || email.indexOf('.') == -1) {
					$('#email').addClass('reqfld');
					$('<span class="error" style="display:none;">Invalid Email Address!</span>').insertBefore('#email').fadeIn(400);
					$("#email").focus(function() {  $('#email').removeClass('reqfld');  $(this).prev().fadeOut(400);});
					return false;
			  }
			  
			  var comment = $("#comment").val();
					if (comment == "") {
					$('#comment').addClass('reqfld');
					$('<span class="error" style="display:none;">Required!</span>').insertBefore('#comment').fadeIn(400);
					$("#comment").focus(function() {  $('#comment').removeClass('reqfld');  $(this).prev().fadeOut(400);});
					return false;
			  }
			  
			  $('#contact_form').animate({opacity:'0.3'}, 500);
		
			  var security = $("#security").val();
		
			  var dataString = 'name='+ name + '&email=' + email + '&phone=' + phone +  '&comment=' + comment + '&security=' + security;
			  
			  //alert (dataString);return false;
			  $.ajax({
				type: "POST",
				url: "form/contact.php",
				data: dataString,
				success: function() {
				  $("#contact_form").animate({opacity:'1'}, 500);
				  $('.loader').hide();
				  $("<div id='success' class='alert alert-success' style='border:#"+successBox_Border_Color+" 1px "+successBoxBorderStyle+"; background:#"+successBoxColor+";' ></div>").insertAfter('#contact_form');
				  $('#contact_form').slideUp(300);
				  $('#success').html("<h5 style='color:#"+textColor+";'>"+submitMessage+"</h5><p style='color:#"+textColor+";'>"+successParagraph+"</p>")
				  .hide().delay(300)
				  .fadeIn(1500);
				}
			  });
			  return false;
	});
});

// Google Map	  
	/* 
	function initialize() {
	  var myLatlng = new google.maps.LatLng(42.879489,-78.876206); // Add your coordinates here (Lat, Lng)
	  var mapOptions = {
		zoom: 17,
		scrollwheel:false,
		center: myLatlng,
		disableAutoPan: true
	  }
	  var map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);
	  
	  var contentString = '<div id="content">'+
      '<div id="siteNotice">'+
      '</div>'+
      '<h5>YummyBakers</h5>'+ // Your Company Image here
      '<div id="bodyContent">'+
      '<p>Call Us: <strong>123-456-7890</strong></p>' +
      '</div>'+
      '</div>';

	  var infowindow = new google.maps.InfoWindow({
		  content: contentString
	  });

	  var marker = new google.maps.Marker({
		  position: myLatlng,
		  map: map
	  });
	   
	  google.maps.event.addListener(marker, 'click', function() {
		  infowindow.open(map,marker); 	  
	   });

	}
	
	google.maps.event.addDomListener(window, 'load', initialize);

*/

Youez - 2016 - github.com/yon3zu
LinuXploit