Tn Jones Shell Bypass
:
3.133.149.160
:
160.187.54.56 / upgov.net
:
Linux 160-187-54-56.cprapid.com 4.18.0-553.22.1.lve.1.el7h.x86_64 #1 SMP Tue Oct 8 14:36:03 UTC 2024 x86_64
:
/
home
/
upgov
/
www
/
rpl
/
js
/
Upload File:
files >> /home/upgov/www/rpl/js/view.contact.js
var Contact = { initialized: false, initialize: function() { if (this.initialized) return; this.initialized = true; this.build(); this.events(); }, build: function() { this.validations(); }, events: function() { }, validations: function() { $("#contactForm").validate({ submitHandler: function(form) { $.ajax({ type: "POST", url: "php/contact-form.php", data: { "name": $("#contactForm #name").val(), "email": $("#contactForm #email").val(), "subject": $("#contactForm #subject").val(), "message": $("#contactForm #message").val() }, dataType: "json", success: function (data) { if (data.response == "success") { $("#contactSuccess").removeClass("hidden"); $("#contactError").addClass("hidden"); $("#contactForm #name, #contactForm #email, #contactForm #subject, #contactForm #message") .val("") .blur() .closest(".control-group") .removeClass("success") .removeClass("error"); if(($("#contactSuccess").position().top - 80) < $(window).scrollTop()){ $("html, body").animate({ scrollTop: $("#contactSuccess").offset().top - 80 }, 300); } } else { $("#contactError").removeClass("hidden"); $("#contactSuccess").addClass("hidden"); if(($("#contactError").position().top - 80) < $(window).scrollTop()){ $("html, body").animate({ scrollTop: $("#contactError").offset().top - 80 }, 300); } } } }); }, rules: { name: { required: true }, email: { required: true, email: true }, subject: { required: true }, message: { required: true } }, highlight: function (element) { $(element) .closest(".control-group") .removeClass("success") .addClass("error"); }, success: function (element) { $(element) .closest(".control-group") .removeClass("error") .addClass("success"); } }); } }; Contact.initialize();