AddAddress.php 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?php
  2. if(!defined('InEmpireCMS'))
  3. {
  4. exit();
  5. }
  6. ?>
  7. <?php
  8. $postword=$enews=='EditAddress'?'修改地址':'增加地址';
  9. $public_diyr['pagetitle']=$postword;
  10. $url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../../member/cp/>会员中心</a>&nbsp;>&nbsp;<a href='ListAddress.php'>配送地址列表</a>&nbsp;>&nbsp;".$postword;
  11. require(ECMS_PATH.'e/template/incfile/header.php');
  12. ?>
  13. <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
  14. <form action="../doaction.php" method="post" name="addform" id="addform">
  15. <tr class="header">
  16. <td height="23" colspan="2"><?=$postword?></td>
  17. </tr>
  18. <tr bgcolor="#FFFFFF">
  19. <td width="22%" height="25">地址名称:</td>
  20. <td width="78%" height="25"><input name="addressname" type="text" id="title2" value="<?=stripSlashes($r[addressname])?>" size="42">
  21. *</td>
  22. </tr>
  23. <tr bgcolor="#FFFFFF">
  24. <td height="25">姓名:</td>
  25. <td height="25"><input name="truename" type="text" id="addressname" value="<?=stripSlashes($r[truename])?>" size="42"></td>
  26. </tr>
  27. <tr bgcolor="#FFFFFF">
  28. <td height="25">邮箱地址:</td>
  29. <td height="25"><input name="email" type="text" id="truename" value="<?=stripSlashes($r[email])?>" size="42"></td>
  30. </tr>
  31. <tr bgcolor="#FFFFFF">
  32. <td height="25">固定电话:</td>
  33. <td height="25"><input name="mycall" type="text" id="email" value="<?=stripSlashes($r[mycall])?>" size="42"></td>
  34. </tr>
  35. <tr bgcolor="#FFFFFF">
  36. <td height="25">手机号码:</td>
  37. <td height="25"><input name="phone" type="text" id="mycall" value="<?=stripSlashes($r[phone])?>" size="42"></td>
  38. </tr>
  39. <tr bgcolor="#FFFFFF">
  40. <td height="25">QQ号码:</td>
  41. <td height="25"><input name="oicq" type="text" id="oicq" value="<?=stripSlashes($r[oicq])?>" size="42"></td>
  42. </tr>
  43. <tr bgcolor="#FFFFFF">
  44. <td height="25">MSN:</td>
  45. <td height="25"><input name="msn" type="text" id="msn" value="<?=stripSlashes($r[msn])?>" size="42"></td>
  46. </tr>
  47. <tr bgcolor="#FFFFFF">
  48. <td height="25">收货地址:</td>
  49. <td height="25"><input name="address" type="text" id="phone" value="<?=stripSlashes($r[address])?>" size="42"></td>
  50. </tr>
  51. <tr bgcolor="#FFFFFF">
  52. <td height="25">邮编:</td>
  53. <td height="25"><input name="zip" type="text" id="address" value="<?=stripSlashes($r[zip])?>" size="42"></td>
  54. </tr>
  55. <tr bgcolor="#FFFFFF">
  56. <td height="25">地址周边标志性建筑:</td>
  57. <td height="25"><input name="signbuild" type="text" id="zip" value="<?=stripSlashes($r[signbuild])?>" size="42"></td>
  58. </tr>
  59. <tr bgcolor="#FFFFFF">
  60. <td height="25">最佳收货时间:</td>
  61. <td height="25"><input name="besttime" type="text" id="signbuild" value="<?=stripSlashes($r[besttime])?>" size="42"></td>
  62. </tr>
  63. <tr bgcolor="#FFFFFF">
  64. <td height="25">&nbsp;</td>
  65. <td height="25"><input type="submit" name="Submit" value="提交">
  66. &nbsp;
  67. <input type="reset" name="Submit2" value="重置">
  68. <input name="enews" type="hidden" id="enews" value="<?=$enews?>"> <input name="addressid" type="hidden" id="addressid" value="<?=$addressid?>"></td>
  69. </tr>
  70. </form>
  71. </table>
  72. <?php
  73. require(ECMS_PATH.'e/template/incfile/footer.php');
  74. ?>