reg1v.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. if($_SESSION["DOMAINUSER"]!=""){php_toheader("../user/");}
  5. $id=$_GET[id];
  6. if($_GET["chk"]!=sha1($id.weburl)){php_toheader("../");}
  7. while0("id,uid,emailyzm","yj_domain_user where id=".$id." and emailyzm='".$_GET[tmp]."'");if($row=mysql_fetch_array($res)){
  8. updatetable("yj_domain_user","emailyzm='',zt=1 where id=".$id);
  9. $sj=date("Y-m-d H:i:s");
  10. intotable("yj_domain_email","userid,email,zt,sj,yzm","".$id.",'".$row[uid]."',1,'".$sj."',''");
  11. $_SESSION["DOMAINUSER"]=$row[uid];
  12. }
  13. ?>
  14. <html>
  15. <head>
  16. <meta http-equiv="x-ua-compatible" content="ie=7" />
  17. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  18. <title>注册用户 - <?=webname?></title>
  19. <link href="../css/basic.css" rel="stylesheet" type="text/css" />
  20. <link href="index.css" rel="stylesheet" type="text/css" />
  21. <script type="text/javascript" src="../js/jquery.min.js"></script>
  22. <script language="javascript" src="../js/jquery.SuperSlide.2.1.1.js"></script>
  23. <script language="javascript" src="../js/jquery.SuperSlide.2.1.1.source.js"></script>
  24. <script language="javascript" src="../js/basic.js"></script>
  25. <script language="javascript" src="reg.js"></script>
  26. </head>
  27. <body>
  28. <? include("../tem/top.html");?>
  29. <? include("../tem/top1.html");?>
  30. <? include("../tem/top2.html");?>
  31. <div class="yjcode">
  32. <div class="jhok">
  33. <ul class="u1">
  34. <li class="l1">成功提示</li>
  35. <li class="l2">恭喜您,您的帐号已经成功激活</li>
  36. <li class="l3">
  37. <a href="../">回到首页</a>&nbsp;&nbsp;&nbsp;&nbsp;
  38. <a href="../user/">会员中心</a>
  39. </li>
  40. </ul>
  41. </div>
  42. </div>
  43. <? include("../tem/bottom.html");?>
  44. </body>
  45. </html>