'.$lang['b_357'].'

'; }elseif(!checkPwd($_POST['password'],$_POST['password2'])) { $mesaj = '
'.$lang['b_63'].'

'; }else{ $enpass = MD5($_POST['password']); $db->Query("UPDATE `users` SET `pass`='".$enpass."' WHERE `id`='".$data['id']."'"); $mesaj = '
'.$lang['b_64'].'

'; } }elseif(isset($_POST['change_email'])){ $email = $db->EscapeString($_POST['email']); $subs = $db->EscapeString($_POST['subscribe']); $subs = ($subs != 0 && $subs != 1 ? 1 : $subs); if(!isEmail($email)) { $mesaj = '
'.$lang['b_65'].'

'; }elseif($db->QueryGetNumRows("SELECT id FROM `users` WHERE `email`='".$email."' LIMIT 1") > 0 && $data['email'] != $email){ $mesaj = '
'.$lang['b_66'].'

'; }else{ $db->Query("UPDATE `users` SET `email`='".$email."', `newsletter`='".$subs."' WHERE `id`='".$data['id']."'"); $mesaj = '
'.$lang['b_67'].'

'; } } $change_limit = ($data['premium'] > 0 ? $site['c_v_limit'] : $site['c_c_limit']); if(isset($_POST['change_info'])){ $gender = $db->EscapeString($_POST['gender']); $country = $db->EscapeString($_POST['country']); $last_name = $db->EscapeString($_POST['last_name']); $first_name = $db->EscapeString($_POST['first_name']); $address = $db->EscapeString($_POST['address']); $zip_code = $db->EscapeString($_POST['zip_code']); $country = $db->EscapeString($_POST['country']); $sql = $db->Query("SELECT code FROM `list_countries` ORDER BY country"); $ctrs = array(); while ($row = $db->FetchArray($sql)) { $ctrs[] = $row['code']; } if($gender != 1 && $gender != 2){ $mesaj = '
'.$lang['b_208'].'

'; }elseif(!in_array($country, $ctrs) || $country == '0'){ $mesaj = '
'.$lang['b_209'].'

'; }elseif($data['c_changes'] >= $change_limit){ $mesaj = '
'.lang_rep($lang['b_222'], array('-NUM-' => $change_limit)).'

'; }else{ $db->Query("UPDATE `users` SET `last_name`='".$last_name."', `first_name`='".$first_name."', `address`='".$address."', `zip_code`='".$zip_code."', `country`='".$country."', `c_changes`=`c_changes`+'1', `sex`='".$gender."' WHERE `id`='".$data['id']."'"); $mesaj = '
'.$lang['b_211'].'

'; } } ?>


Warning: Undefined variable $lang in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 63

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 63


Warning: Undefined variable $mesaj in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 63


Warning: Undefined variable $lang in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 70

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 70
Warning: Undefined variable $data in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 70

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 70
/> Yes Warning: Undefined variable $data in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 70

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 70
checked="checked" /> No



Warning: Undefined variable $lang in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 74

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 74


Warning: Undefined variable $lang in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 78

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 78


Warning: Undefined variable $lang in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 82

Warning: Trying to access array offset on value of type null in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 82



Fatal error: Uncaught Error: Call to undefined function lang_rep() in /home/e9z75nuytgch/public_html/buysell/edit_acc.php:84 Stack trace: #0 {main} thrown in /home/e9z75nuytgch/public_html/buysell/edit_acc.php on line 84