ChangeRegister.php 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. <br>
  13. <table width="500" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  14. <form name="ChRegForm" method="GET" action="index.php">
  15. <input name="tobind" type="hidden" id="tobind" value="<?=$tobind?>">
  16. <tr class="header">
  17. <td height="25"><div align="center">选择注册会员类型<?=$tobind?' (绑定账号)':''?></div></td>
  18. </tr>
  19. <tr bgcolor="#FFFFFF">
  20. <td width="70%" height="25"><table width="100%" border="0" cellspacing="1" cellpadding="3">
  21. <?php
  22. while($r=$empire->fetch($sql))
  23. {
  24. $checked='';
  25. if($r[groupid]==eReturnMemberDefGroupid())
  26. {
  27. $checked=' checked';
  28. }
  29. ?>
  30. <tr>
  31. <td height="23">
  32. <input type="radio" name="groupid" value="<?=$r[groupid]?>"<?=$checked?>>
  33. <?=$r[groupname]?>
  34. </td>
  35. </tr>
  36. <?php
  37. }
  38. ?>
  39. </table></td>
  40. </tr>
  41. <tr bgcolor="#FFFFFF">
  42. <td height="25"> &nbsp;<input type="submit" name="button" value="下一步"></td>
  43. </tr>
  44. </form>
  45. </table>
  46. <br>
  47. <?php
  48. require(ECMS_PATH.'e/template/incfile/footer.php');
  49. ?>