BLACKSITE
:
216.73.216.62
:
147.93.18.13 / vinyasaweddings.com
:
Linux srv667811 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
:
/
var
/
www
/
wedmoment
/
assets
/
js
/
Upload File:
files >> /var/www/wedmoment/assets/js/form-validate.js
function valid_datas( f ){ if( f.name.value == '' ){ jQuery('#form_status').html('<span class="wrong">Your name must not be empty!</span>'); notice( f.name ); }else if( f.email.value == '' ){ jQuery('#form_status').html('<span class="wrong">Your email must not be empty and correct format!</span>'); notice( f.email ); //}else if( f.phone.value == '' ){ //jQuery('#form_status').html('<span class="wrong">Your phone must not be empty and correct format!</span>'); //notice( f.phone ); }else if( f.subject.value == '' ){ jQuery('#form_status').html('<span class="wrong">Your subject must not be empty!</span>'); notice( f.subject ); }else if( f.message.value == '' ){ jQuery('#form_status').html('<span class="wrong">Your message must not be empty!</span>'); notice( f.message ); }else{ jQuery.ajax({ url: 'mail.php', type: 'post', data: jQuery('form#fruitkha-contact').serialize(), complete: function(data) { jQuery('#form_status').html(data.responseText); jQuery('#fruitkha-contact').find('input,textarea').attr({value:''}); jQuery('#fruitkha-contact').css({opacity:1}); jQuery('#fruitkha-contact').remove(); } }); jQuery('#form_status').html('<span class="loading">Sending your message...</span>'); jQuery('#fruitkha-contact').animate({opacity:0.3}); jQuery('#fruitkha-contact').find('input,textarea,button').css('border','none').attr({'disabled':''}); } return false; } function notice( f ){ jQuery('#fruitkha-contact').find('input,textarea').css('border','none'); f.style.border = '1px solid red'; f.focus(); }