<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
$postword=$enews=='EditAddress'?'修改地址':'增加地址';
$public_diyr['pagetitle']=$postword;
$url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../../member/cp/>会员中心</a>&nbsp;>&nbsp;<a href='ListAddress.php'>配送地址列表</a>&nbsp;>&nbsp;".$postword;
require(ECMS_PATH.'e/template/incfile/header.php');
?>
<div id="currentPage" pagevalue="4"></div>
<div class="bgBox">
   		<div class="zhLeft">
        	<h3 class="leftTitle cw">财务</h3>
            <ul>
            	<li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/payapi/"><span style="background-position:-24px 0;" class="scIco"></span>在线支付</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/buygroup/"><span style="background-position:-96px 0;" class="scIco"></span>在线充值</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/card/"><span style="background-position:0 0;" class="scIco"></span>点卡充值</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/buybak/"><span style="background-position:-168px 0;" class="scIco"></span>点卡充值记录</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/downbak/"><span style="background-position:-144px 0;" class="scIco"></span>下载消费记录</a></li> 
            </ul>
            <h3 class="leftTitle sc">商城</h3>
             <ul>
            	<li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/ShopSys/ListDd/"><span style="background-position:-72px 0;" class="scIco"></span>我的订单</a></li>
                <li><a onfocus="this.blur();" href="#ecms" onClick="window.open('<?=$public_r['newsurl']?>e/ShopSys/buycar/','','width=680,height=500,scrollbars=yes,resizable=yes');"><span style="background-position:-120px 0;" class="scIco"></span>我的购物车</a></li>
                <li class="select"><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/ShopSys/address/ListAddress.php"><span style="background-position:-48px 0;" class="scIco"></span>管理配送地址</a></li>
            </ul>
        </div>	
        <div class="zhRight">
       		<div class="bigTitle"><span style=" background-position:-712px 0;"></span>商城</div>
                <div class="Bborder"></div>		 	
            <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder" cellspacing="0">
              <form action="../doaction.php" method="post" name="addform" id="addform">
                <tr class="header">
                  <td height="25" colspan="2">&nbsp;&nbsp; <?=$postword?></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td width="22%" height="30">&nbsp;&nbsp; 地址名称：</td>
                  <td width="78%" height="30"><input name="addressname" type="text" id="title2" value="<?=$r[addressname]?>" size="42">
                  *</td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 姓名：</td>
                  <td height="30"><input name="truename" type="text" id="addressname" value="<?=$r[truename]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 邮箱地址：</td>
                  <td height="30"><input name="email" type="text" id="truename" value="<?=$r[email]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 固定电话：</td>
                  <td height="30"><input name="mycall" type="text" id="email" value="<?=$r[mycall]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 手机号码：</td>
                  <td height="30"><input name="phone" type="text" id="mycall" value="<?=$r[phone]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; QQ号码：</td>
                  <td height="30"><input name="oicq" type="text" id="oicq" value="<?=$r[oicq]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; MSN：</td>
                  <td height="30"><input name="msn" type="text" id="msn" value="<?=$r[msn]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 收货地址：</td>
                  <td height="30"><input name="address" type="text" id="phone" value="<?=$r[address]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 邮编：</td>
                  <td height="30"><input name="zip" type="text" id="address" value="<?=$r[zip]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 地址周边标志性建筑：</td>
                  <td height="30"><input name="signbuild" type="text" id="zip" value="<?=$r[signbuild]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 最佳收货时间：</td>
                  <td height="30"><input name="besttime" type="text" id="signbuild" value="<?=$r[besttime]?>" size="42"></td>
                </tr>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;</td>
                  <td height="35"><input type="submit" class="ganniu" name="Submit" value="提交">
                    &nbsp;
                    <input type="reset" name="Submit2" class="ganniu" value="重置">
                    <input name="enews" type="hidden" id="enews" value="<?=$enews?>">      <input name="addressid" type="hidden" id="addressid" value="<?=$addressid?>"></td>
                </tr>
                 <tr bgcolor="#FFFFFF">
                  <td height="5">&nbsp;</td>
                  <td height="5">&nbsp;</td>
                </tr>
              </form>
            </table>
        </div> 	
        <div class="clear"></div>   
        </div>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>
