is_valid){ $captcha_valid = 1; }else{ $recaptcha_error = $resp->error; $captcha_valid = 0; } }elseif($site['captcha_sys'] == 2){ $solvemedia_response = solvemedia_check_answer($site['solvemedia_v'],$_SERVER["REMOTE_ADDR"],$_POST["adcopy_challenge"],$_POST["adcopy_response"],$site['solvemedia_h']); if(!$solvemedia_response->is_valid){ $recaptcha_error = $solvemedia_response->error; $captcha_valid = 0; }else{ $captcha_valid = 1; } }else{ if(check_captcha($_POST['captcha'])){ $captcha_valid = 1; }else{ $captcha_valid = 0; } } } if(!$captcha_valid){ $mesaj = '
'.$lang['b_54'].'
'; }elseif(empty($_POST['name'])){ $mesaj = '
'.$lang['b_55'].'
'; }elseif(empty($_POST['email'])){ $mesaj = '
'.$lang['b_56'].'
'; }elseif(empty($_POST['message'])){ $mesaj = '
'.$lang['b_57'].'
'; }else{ $subject = 'PES Contact'.($is_online && $data['premium'] > 0 ? ' - VIP Member' : ''); $message = (!empty($data['login']) ? 'Sender Username: '.$data['login'].'
' : '').'Sender Email: '.$_POST['email'].'
Sender IP: '.$_SERVER['REMOTE_ADDR'].'

---------------Message---------------

'.nl2br($_POST['message']); $header = "From: ".$_POST['email']."\r\n". "MIME-Version: 1.0\r\n". "Content-Type: text/html;charset=utf-8"; mail($site['site_email'],$subject,$message,$header); $mesaj = '
'.$lang['b_53'].'
'; } }?>




var RecaptchaOptions = { theme : \'white\' }; '.recaptcha_get_html($site['recaptcha_pub'], $recaptcha_error); }elseif($site['captcha_sys'] == 2){ echo solvemedia_get_html($site['solvemedia_c']); }else{ ?>