Tn Jones Shell Bypass
:
3.15.195.95
:
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
/
public_html
/
gnvs
/
js
/
Upload File:
files >> /home/upgov/public_html/gnvs/js/validate.js
var specialKeys = new Array(); specialKeys.push(8); //Backspace specialKeys.push(9); //Tab specialKeys.push(46); //Delete specialKeys.push(36); //Home specialKeys.push(35); //End specialKeys.push(37); //Left specialKeys.push(39); //Right function IsAlphaNumeric(e) { var keyCode = e.keyCode == 0 ? e.charCode : e.keyCode; var ret = ((keyCode >= 48 && keyCode <= 57) || (keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122) || (specialKeys.indexOf(e.keyCode) != -1 && e.charCode != e.keyCode)); document.getElementById("error").style.display = ret ? "none" : "inline"; return ret; } function fun11(birthday) { var day1 = birthday.day1.value; var month1 = birthday.month1.value; var year1 = birthday.year1.value; var day2= birthday.day2.value; var month2= birthday.month2.value; var year2= birthday.year2.value; var d=(day2,month2,year2)-(day1,month1,year1); birthday.TXP.value = d+" days, "+d+" months, "+d+" years"; } function fun12(birthday) { var day3 = birthday.day3.value; var month3 = birthday.month3.value; var year3 = birthday.year3.value; var day4= birthday.day4.value; var month4= birthday.month4.value; var year4= birthday.year4.value; var f=(day4,month4,year4)-(day3,month3,year3); birthday.TXP1.value = f+" days, "+f+" months, "+f+" years"; } function fun13(birthday) { var day0 = birthday.day0.value; var month0= birthday.month0.value; var year0 = birthday.year0.value; var day00= birthday.day00.value; var month00= birthday.month00.value; var year00= birthday.year00.value; var e=(day00,month00,year00)-(day0,month0,year0); birthday.ctotal.value = e+" days, "+e+" months, "+e+" years"; } function calc2(birthday) { var total8th = document.getElementById("VIIIMM").value; var Mo8th= document.getElementById("VIIIMO").value; if(total8th<Mo8th) { alert('Masks obtained should not be greater than maximum Marks'); document.getElementById("VIIIMO").focus(); return false; } var d=(Mo8th/total8th)*100; birthday.VIIIPer.value = d; } function calc3(birthday) { var total10th = document.getElementById("HSMM").value; var Mo10th= document.getElementById("HSMO").value; if(total10th<Mo10th) { alert('Masks obtained should not be greater than maximum Marks'); document.getElementById("HSMO").focus(); return false; } var d=(Mo10th/total10th)*100; birthday.HSPer.value = d; } function calc4(birthday) { var total12th = document.getElementById("totalinter").value; var Mo12th= document.getElementById("Mointer").value; if(total12th<Mo12th) { alert('Masks obtained should not be greater than maximum Marks'); document.getElementById("Mointer").focus(); return false; } var d=(Mo12th/total12th)*100; birthday.Divinter.value = d; } function calc5(birthday) { var totalhigh = document.getElementById("totalhigh").value; var Mohigh= document.getElementById("Mohigh").value; if(totalhigh<Mohigh) { alert('Masks obtained should not be greater than maximum Marks'); document.getElementById("Mohigh").focus(); return false; } var d=(Mohigh/totalhigh)*100; birthday.Divhigh.value = d; } function calc6(birthday) { var totalug = document.getElementById("totalug").value; var Moug= document.getElementById("Moug").value; if(totalug<Moug) { alert('Masks obtained should not be greater than maximum Marks'); document.getElementById("moug").focus(); return false; } var d1=(Moug/totalug)*100; birthday.Divug.value = d1; } function calc7(birthday) { var totalc = document.getElementById("COtherMO").value; var Moc= document.getElementById("COtherMM").value; if(totalc>Moc) { alert('Masks obtained should not be greater than maximum Marks'); document.getElementById("COtherMO").focus(); return false; } var d=(totalc/Moc)*100; birthday.COtherPer.value = d; } function emailvalid(Emailid) { var re = /^[a-zA-Z0-9._]+[@][a-zA-Z0-9]+[.]([a-zA-Z]{2,4}|[a-zA-Z]{2}[.][a-zA-Z]{2,4})$/; if(re.test(Emailid)){ document.getElementById('Emailid').style.background =''; document.getElementById('email1').style.display = "none"; return true; }else { document.getElementById('Emailid').style.background ='#e35152'; alert("invalid Email"); document.getElementById('Emailid').focus().this.value = 'NA@Email.com'; return false; } } function contactvalid(mobile_no) { var r2=/^[0-9]{10}$/; if(r2.test(mobile_no)){ document.getElementById('mobile_no').style.background =''; document.getElementById('contact1').style.display = "none"; return true; }else{ document.getElementById('mobile_no').style.background ='#e35152'; alert("Please enter 10 digit Mobile No"); return false; } } function Namevalid(candidatename) { var n = /^[a-zA-Z ]*$/; if(n.test(candidatename)){ document.getElementById('candidatename').style.background =''; document.getElementById('name1').style.display = "none"; return true; }else{ document.getElementById('candidatename').style.background ='#e35152'; alert("please fill alphabet in Candidate name"); return false; } } function FNamevalid(fathername) { var fn = /^[a-zA-Z ]*$/; if(fn.test(fathername)){ document.getElementById('fathername').style.background =''; document.getElementById('Fname1').style.display = "none"; return true; }else{ document.getElementById('fathername').style.background ='#e35152'; alert("please fill alphabet in Father Name "); return false; } } function MNamevalid(mothername) { var fn = /^[a-zA-Z ]*$/; if(fn.test(mothername)){ document.getElementById('mothername').style.background =''; document.getElementById('Mname1').style.display = "none"; return true; }else{ document.getElementById('mothername').style.background ='#e35152'; alert("please fill alphabet in Mother Name "); return false; } } function Gendervalid(g1) { if(document.getElementById(g1).selectedIndex !== 0){ document.getElementById(g1).style.background =''; document.getElementById(g1 + 'Error').style.display = "none"; return true; }else{ document.getElementById(g1).style.background ='#e35152'; alert("please Select the Gender "); return false; } }function Categoryvalid(c1) { if(document.getElementById(c1).selectedIndex !== 0){ document.getElementById(c1).style.background =''; document.getElementById(c1 + 'Error').style.display = "none"; return true; }else{ document.getElementById(c1).style.background ='#e35152'; alert("please Select the Category "); return false; } } function year10(yearhigh) { var r2=/^[0-9]{4}$/; if(r2.test(yearhigh)){ document.getElementById('yearhigh').style.background =''; return true; }else{ document.getElementById('yearhigh').style.background ='#e35152'; alert("year only in digit"); document.getElementById('yearhigh').focus(); return false; } } function year12(yearinter) { var r2=/^[0-9]{4}$/; if(r2.test(yearinter)){ document.getElementById('yearinter').style.background =''; return true; }else{ document.getElementById('yearinter').style.background ='#e35152'; alert("year only in digit"); document.getElementById('yearinter').focus(); return false; } } function yearug(yearug) { var r3=/^[0-9]{4}$/; if(r3.test(yearug)){ document.getElementById('yearug').style.background =''; return true; }else{ document.getElementById('yearug').style.background ='#e35152'; alert("year only in digit"); document.getElementById('yearug').focus(); return false; } }