Search vacancy
Add resume
Subscribe for new vacancy
Search resume
Add vacancy
Subscribe for new resume
 
Competitor:
Search vacancy
Add resume
Subscribe for new vacancy
 
 
Employer:
Search resume
Add vacancy
Subscribe for new resume
 
 
 
 
Your cabinet
E-mail
Password
Registration | Forget your password?

 
 
 
 
 
 
 
 




$error=_NOT_CODE; HTML_LOGIN::Password($error); } else { $login = isset($_POST['login']) ? (string) $_POST['login'] : ''; if (get_magic_quotes_gpc()) $login = stripslashes($login); $login = trim(strip_tags($login)); if (!preg_match("/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9.-]{2,4}$/", $login)) { $login = ''; } $sql = "select * from #_users where username='".addslashes($login)."' and user_type='Registered'"; $result=$mysql->query($sql); if (mysql_num_rows($result)==0) { $error="
  • "._NOT_EMAIL_LOGIN; HTML_LOGIN::Password($error); } else { if ($row=mysql_fetch_object($result)) { $mysql->query("SET AUTOCOMMIT=0"); $mysql->query("START TRANSACTION"); $flag=false; $newpass=substr(md5(microtime()),4,7); $passinsert=md5($newpass); $sql="update #_users set pass='$passinsert' where id='$row->id'"; if ($result1=$mysql->query($sql)) { $subject = _NEW_PASS_MAIL; $msg = _MSG1_NEW_PASS_MAIL.$newpass."\n\n"._RESPECTFULLY_YOURS; require_once $mycms_absolute_path.'/includes/phpmailer.php'; $mailer = new PHPMailer; $mailer->CharSet = 'windows-1251'; $mailer->From = $mycms_admin_email; $mailer->FromName = 'Resume.uz'; $mailer->Subject = $subject; $mailer->Body = $msg; $mailer->AddAddress($login); $mailer->Send(); $flag=true; } if ($flag==false) { $error="
  • "._ERROR_NEW_PASS_SEND; $mysql->query("ROLLBACK"); HTML_LOGIN::Password($error); } else { HTML_LOGIN::PasswordSendSuc(); $mysql->query("COMMIT"); } } } } } else { HTML_LOGIN::Password(); } } function EditProfile() { global $my; if (!empty($my->id)) { if (!empty($_POST["actionprofile"])) { EditSaveProfile(); }else{ HTML_LOGIN::EditProfile(); } } } function NewEmailConfirm() { global $mysql; $id=@$_GET["id"]; $act=@$_GET["activation"]; $flag=false; if (!empty($id)) { $sql="select * from #_users where id='$id'"; $result=$mysql->query($sql); if ($row=mysql_fetch_object($result)) { if ($row->activation==$act) { $sql="update #_users set activation='',email='$row->new_email',username='$row->new_email' where id='$id'"; if ($result=$mysql->query($sql)) { $flag=true; } } } } if ($flag==true){SucssesfulNewEmail(_ACTIVATION_NEW_EMAIL,_YOUR_NEW_EMAIL_ACTIVATED);}else{SucssesfulNewEmail(_ACTIVATION_NEW_EMAIL,_DEFINE_ACTIVATION_NEW_EMAIL);} } function SucssesfulNewEmail($title='',$msg='') { global $mycms_locate_site; echo $msg; } function EditSaveProfile() { global $mysql,$my,$mycms_site_name,$mycms_admin_email,$setfunction,$mycms_locate_site,$mycms_absolute_path; $error=""; $pass_this=trim(htmlspecialchars(stripslashes(@$_POST["pass_this"]))); if (empty($pass_this)) $error=$error."
  • "._FORM_FILLED_NOT_COMPLETELY; if (!empty($pass_this)){ if (md5($pass_this)!=$my->pass) $error=$error."
  • "._PASS_IS_NOT_THIS; } if (empty($error)) { $name=trim(htmlspecialchars(stripslashes(@$_POST["name_r"]))); $login=trim(htmlspecialchars(stripslashes(@$_POST["login_r"]))); $pass=trim(htmlspecialchars(stripslashes(@$_POST["pass_r"]))); $pass_p=trim(htmlspecialchars(stripslashes(@$_POST["pass_rp"]))); if (empty($name)) $error=$error."
  • "._FORM_FILLED_NOT_COMPLETELY; if (empty($login)) $error=$error."
  • "._FORM_FILLED_NOT_COMPLETELY; if (!empty($pass)and(!empty($pass_p))) { if ($pass!=$pass_p) $error=$error."
  • "._NOT_PASS_CONFIRM; } if (!empty($pass)and(empty($pass_p))) { $error=$error."
  • "._FORM_FILLED_NOT_COMPLETELY; } if (!empty($login)) { if ($login!=$my->username) { $sql="select * from #_users where username='$login'"; $result=$mysql->query($sql); if (mysql_num_rows($result)!=0) { $error=$error."
  • "._MSG1_NOT_UPDATE_PROFILE.$login._MSG2_NOT_UPDATE_PROFILE; } } } if (empty($error)) { $sub=""; $where=""; $email_update=false; $pass_update=false; if (!empty($login)){ if ($login!=$my->username){ $activation=md5($login.microtime().$pass.rand(1,1000)); $where=",new_email='$login',activation='$activation'"; $email_update=true; } } if (!empty($pass)and(!empty($pass_p))) { $pass_insert=md5($pass); $where=$where.",pass='$pass_insert'"; $pass_update=true; } $sql="update #_users set name='$name'$where where id='$my->id'"; if ($result=$mysql->query($sql)) { if ($email_update==true) { $subject=_CONFIRM_EMAIL; $msg=_THANK_NEW_EMAIL; $msg=$msg.$mycms_locate_site."/login/newemailconfirm/?id=".$my->id."&activation=".$activation."\n\n"; $msg=$msg._RESPECTFULLY_YOURS; require_once $mycms_absolute_path.'/includes/phpmailer.php'; $mailer = new PHPMailer; $mailer->CharSet = 'windows-1251'; $mailer->From = $mycms_admin_email; $mailer->FromName = 'Resume.uz'; $mailer->Subject = $subject; $mailer->Body = $msg; $mailer->AddAddress($login); if ($mailer->Send()) { $sub="
  • "._SUCCESS_EDIT_PROFILE1; } } if ($pass_update==true) $_SESSION["pass"]=$pass; if ($my=$setfunction->set_login()) { }else{ $my=""; } $sub=$sub."
    "._SUCCESS_EDIT_PROFILE2."
    "; HTML_LOGIN::EditProfile('',$sub); } }else { HTML_LOGIN::EditProfile($error); } }else { HTML_LOGIN::EditProfile($error); } } function ActivationLogin() { global $mysql; $id=@$_GET["id"]; $act=@$_GET["activation"]; $flag=false; if (!empty($id)) { $sql="select * from #_users where id='$id'"; $result=$mysql->query($sql); if ($row=mysql_fetch_object($result)) { if ($row->activation==$act) { $sql="update #_users set activation='',block=0 where id='$id'"; if ($result=$mysql->query($sql)) { $flag=true; } } } } if ($flag==true){SucssesfulNewEmail(_ACTIVATION_LOGIN,_ACTIVATION_LOGIN_TRUE);}else{SucssesfulNewEmail(_ACTIVATION_LOGIN,_DEFINE_ACTIVATION_NEW_EMAIL);} }

    Ñàéòû ñåòè Brand.uz:

  • © Copyright OOO "Info Xizmati" Brand.uz
    info@resume.uz