403Webshell
Server IP : 74.208.236.52  /  Your IP : 216.73.217.98
Web Server : Apache
System : Linux infong527 4.4.400-icpu-115 #2 SMP Mon Jul 6 08:15:05 UTC 2026 x86_64
User : u44043973 ( 5404757)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /homepages/18/d194259149/htdocs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /homepages/18/d194259149/htdocs/static.js
//pop up submit script
function redirectOutput(myForm) {
var w = window.open('about:blank','Popup_Window','width=600,height=400,resizable=yes, scrollbars=yes');
myForm.target = 'Popup_Window';
return true;
}

//form validation script
function formValidator(thisform){
	// Make quick references to our fields
	var fname = document.getElementById('fname');
	var email = document.getElementById('email');
	
	// Check each input in the order that it appears in the form!
	if((isEmpty(fname, "Please fill in first name"))==false)
	{return false;}
	if((isEmpty(email, "Please fill in email"))==false)
	{return false;}
	if((emailValidator(email, "Please enter a valid email address"))==false)
	{return false;}
	
	//redirectOutput(thisform);
    //dismissbox();

}

function isEmpty(elem, helperMsg){
	if(elem.value.length == 0){
		alert(helperMsg);
		elem.focus(); // set the focus to this input
		return false;
	}
	else{return true;}
}

function emailValidator(elem, helperMsg){
	var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
	if(elem.value.match(emailExp)){
		return true;
	}else{
		alert(helperMsg);
		elem.focus();
		return false;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit