403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/public_html/historyjournal.net/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/public_html/historyjournal.net/js/script.js
$(document).ready(function(){
	$('form').attr('autocomplete', 'off');$('input:submit,button').prop('disabled', false);$('.sidenav').sidenav();
	$('.form.ajax').submit(function(e){
		var input=$(this).find(':input'),loader=$('.progress');
	
		$.ajax({
			type:$(this).attr('method'),
			url:$(this).attr('action'),
			data:new FormData(this),
			cache:false,
			dataType:'json',
			contentType:false,
			processData:false,
			beforeSend:function(){
				loader.show(0),input.prop('disabled', true),$('.toast').remove();
			},
			success:function(json){
				loader.hide(0),input.prop('disabled', false);
				if(json.stat === true){
					$('.form.ajax').trigger('reset');
				}
				if($('.g-recaptcha').is(':visible')){
					if(typeof(grecaptcha) !== 'undefined'){ grecaptcha.reset(); }
				}
				if(typeof(json.text) !== 'undefined'){ M.toast({html: json.text}); }
				if(typeof(json.smsg) !== 'undefined'){
					$('.form.ajax').trigger('reset').hide(0);$('.smsg').html(json.smsg).show(0);
					$('html, body').animate({scrollTop:$('.smsg').offset().top-300},300);
				}
			},
			error:function(){
				loader.hide(0),input.prop('disabled', false);M.toast({html: 'An error occurred. Please try after some time.'});
			}
		});
		return false;
    });
});
$('.dec').bind('paste input', function (e){
	var initVal = $(this).val();
	outputVal = initVal.replace(/[^0-9.]/g, '');
	if(initVal != outputVal)
		$(this).val(outputVal);
});
$('#phone').bind('paste input', function (e){
	var initVal = $(this).val();
	outputVal = initVal.replace(/[^0-9+\-,]/g, '');
	if(initVal != outputVal)
		$(this).val(outputVal);
});

function ePAYMENT($this){
	var loader=$('.progress'),input=$(':input,button');
	$.ajax({
		type:$($this).attr('method'),
		url:$($this).attr('action'),
		data:new FormData($this),
		cache:false,
		dataType:'json',
		contentType:false,
		processData:false,
		beforeSend:function(){
			loader.show(0),input.attr('disabled', true);$('.toast').remove();
		},
		success:function(json){
			if(typeof(json.text) !== 'undefined'){
				if(typeof(grecaptcha) !== 'undefined'){ grecaptcha.reset(); }
				loader.hide(0),input.prop('disabled', false);M.toast({html: json.text});
			}
			if(typeof(json.html) !== 'undefined'){
				$('.redirect').html(json.html);document.redirect.submit();
			}
		},
		error:function(jqXHR, exception){
			loader.hide(0),input.prop('disabled', false);M.toast({html: 'An error occurred. Please try after some time.'});
		}
	});
	return false;
}
function p(f) {
	$.ajax({
		type: $(f).attr('method'),
		url: $(f).attr('action'),
		data: $(f).serialize(),
		cache: false,
		dataType: 'json',
		beforeSend: function () {
			$('.enquirybutton').hide(0); $('.sloader').show(0); $('.customtoast').hide(0).html('');
		},
		success: function (r) {
			if (r.s == true) {
				$('.subenqform').hide(0).find('form')[0].reset(); $('.customtoast').css('background', 'green');
			} else {
				$('.customtoast').css('background', 'red');
			}
			$('.enquirybutton').show(0); $('.sloader').hide(0); $('.customtoast').show(0).html(`<div style="display:flex;align-items:center;justify-content:space-between;"><span>${r.t}</span><button type="button" onclick="$('.customtoast').hide(0).html('');"><span class="material-icons" style="color:#fff;">close</span></button></div>`);
		},
		error: function () {
			$('.enquirybutton').show(0); $('.sloader').hide(0); $('.customtoast').show(0).html(`<div style="display:flex;align-items:center;justify-content:space-between;"><span>An error occurred. Please try after some time.</span><button type="button" onclick="$('.customtoast').hide(0).html('');"><span class="material-icons" style="color:#fff;">close</span></button></div>`).css('background', '#f00');
		}
	});
	grecaptcha.execute(Object.fromEntries(new URL(googlerecaptcha.src).searchParams).render, { action: 'contact' }).then(function (token) {
		document.getElementById('recaptchaResponse').value = token;
	});
	return false;
}
function showEnquiryForm() {
	$('.subenqform').show(0); $('.customtoast').hide(0).html('');
}
$(window).on('scroll', function () {
    if ($(this).scrollTop() > 100) {
		$('.subscriptionenquirycanvas').css('bottom', 0);
    } else {
		$('.subscriptionenquirycanvas').css('bottom', -84);
    }
});

Youez - 2016 - github.com/yon3zu
LinuXploit