register.php 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <?php
  8. $public_diyr['pagetitle']='注册会员';
  9. $url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../cp/>会员中心</a>&nbsp;>&nbsp;注册会员";
  10. require(ECMS_PATH.'e/template/incfile/header.php');
  11. ?>
  12. <table width='100%' border='0' align='center' cellpadding='3' cellspacing='1' class="tableborder">
  13. <form name=userinfoform method=post enctype="multipart/form-data" action=../doaction.php>
  14. <input type=hidden name=enews value=register>
  15. <tr class="header">
  16. <td height="25" colspan="2">注册会员<?=$tobind?' (绑定账号)':''?></td>
  17. </tr>
  18. <tr>
  19. <td height="25" colspan="2"><strong>基本信息
  20. <input name="groupid" type="hidden" id="groupid" value="<?=$groupid?>">
  21. <input name="tobind" type="hidden" id="tobind" value="<?=$tobind?>">
  22. </strong></td>
  23. </tr>
  24. <tr>
  25. <td width='25%' height="25" bgcolor="#FFFFFF"> <div align='left'>用户名</div></td>
  26. <td width='75%' height="25" bgcolor="#FFFFFF"> <input name='username' type='text' id='username' maxlength='30'>
  27. *</td>
  28. </tr>
  29. <tr>
  30. <td height="25" bgcolor="#FFFFFF"> <div align='left'>密码</div></td>
  31. <td height="25" bgcolor="#FFFFFF"> <input name='password' type='password' id='password' maxlength='20'>
  32. *</td>
  33. </tr>
  34. <tr>
  35. <td height="25" bgcolor="#FFFFFF"> <div align='left'>重复密码</div></td>
  36. <td height="25" bgcolor="#FFFFFF"> <input name='repassword' type='password' id='repassword' maxlength='20'>
  37. *</td>
  38. </tr>
  39. <tr>
  40. <td height="25" bgcolor="#FFFFFF"> <div align='left'>邮箱</div></td>
  41. <td height="25" bgcolor="#FFFFFF"> <input name='email' type='text' id='email' maxlength='50'>
  42. *</td>
  43. </tr>
  44. <tr>
  45. <td height="25" colspan="2"><strong>其他信息</strong></td>
  46. </tr>
  47. <tr>
  48. <td height="25" colspan="2" bgcolor="#FFFFFF">
  49. <?php
  50. @include($formfile);
  51. ?>
  52. </td>
  53. </tr>
  54. <?
  55. if($public_r['regkey_ok'])
  56. {
  57. ?>
  58. <tr>
  59. <td height="25" bgcolor="#FFFFFF">验证码:</td>
  60. <td height="25" bgcolor="#FFFFFF">
  61. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  62. <tr>
  63. <td width="52"><input name="key" type="text" id="key" size="6">
  64. </td>
  65. <td id="regshowkey"><a href="#EmpireCMS" onclick="edoshowkey('regshowkey','reg','<?=$public_r['newsurl']?>');" title="点击显示验证码">点击显示验证码</a></td>
  66. </tr>
  67. </table>
  68. </td>
  69. </tr>
  70. <?
  71. }
  72. ?>
  73. <tr>
  74. <td height="25" bgcolor="#FFFFFF">&nbsp;</td>
  75. <td height="25" bgcolor="#FFFFFF"> <input type='submit' name='Submit' value='马上注册'>
  76. &nbsp;&nbsp; <input type='button' name='Submit2' value='返回' onclick='history.go(-1)'></td>
  77. </tr>
  78. <tr bgcolor="#FFFFFF">
  79. <td height="25" colspan="2">说明:带*项为必填。</td>
  80. </tr>
  81. </form>
  82. </table>
  83. <?php
  84. require(ECMS_PATH.'e/template/incfile/footer.php');
  85. ?>