include("../config/conn.php"); include("../config/function.php"); if($_SESSION["DOMAINUSER"]!=""){php_toheader("../user/");} $id=$_GET[id]; if($_GET["chk"]!=sha1($id.weburl)){php_toheader("../");} while0("id,uid,emailyzm","yj_domain_user where id=".$id." and emailyzm='".$_GET[tmp]."'");if($row=mysql_fetch_array($res)){ updatetable("yj_domain_user","emailyzm='',zt=1 where id=".$id); $sj=date("Y-m-d H:i:s"); intotable("yj_domain_email","userid,email,zt,sj,yzm","".$id.",'".$row[uid]."',1,'".$sj."',''"); $_SESSION["DOMAINUSER"]=$row[uid]; } ?>