<!--cart template-->
<style>
{%literal%}
.title1bgcolor {
	BACKGROUND-COLOR: #d1ceb3
}
.title2bgcolor {
	BACKGROUND-COLOR: #f5f3e4
}
.mainbgcolor {
	BACKGROUND-COLOR: #f5f3e4
}
INPUT {
	BORDER-RIGHT: #666666 1px solid; BORDER-TOP: #666666 1px solid; FONT-SIZE: 9pt; MARGIN: 1px; BORDER-LEFT: #666666 1px solid;  LINE-HEIGHT: 150%; BORDER-BOTTOM: #666666 1px solid; HEIGHT: 21px
}
.btn {
	BORDER-RIGHT: #bcbcbc 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #ffffff 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 9pt; MARGIN: 1px; BORDER-LEFT: #ebebeb 1px solid; CURSOR: hand; TEXT-INDENT: 1px; LINE-HEIGHT: normal; PADDING-TOP: 2px; BORDER-BOTTOM: #bcbcbc 1px solid; HEIGHT: 22px; BACKGROUND-COLOR: #e4e4e4
}
{%/literal%}
</style>
<script src={%$root%}/include/form.js></script>
  <form name=cCart action={%$root%}/index.php method=post onsubmit="return nonBlank(name,'请输入名称') && goodEMail(email,'请输入email') && nonBlank(telnum,'请输入电话') && nonBlank(rname,'请输入收货人姓名') && nonBlank(address,'请输入收货人地址')">
<input name=module value=cart type=hidden>
<input name=action value=makeOrder type=hidden>
<table width=99% border=0 cellpadding=4 cellspacing=1 align="center" bordercolor="#ffffff">
    <tr bgcolor="#666666"> 
      <td colspan=2 height="20">&nbsp;&nbsp;<B><font color="#FFFFFF">用户信息</font></B></td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">姓名*&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <input type=text name='name' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">email*&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <input type=text name='email' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">电话*&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <input type=text name='telnum' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">支付方式*&nbsp;</div>
      </td>
      <td class="title2bgcolor">
		<select name=payment>
		{%html_options values=$pay_id  output=$pay_name%}
		</select>&nbsp;&nbsp;<a href=index.php?module=cart&action=paymentList>[查看支付方式]</a>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">配送方式*&nbsp;</div>
      </td>
      <td class="title2bgcolor">
		<select name=shipping>
		{%html_options values=$shipping_id  output=$shipping_name%}
		</select>&nbsp;&nbsp;<a href=index.php?module=cart&action=shippingList>[查看配送方式]</a>
      </td>
    </tr>
    <tr bgcolor="#666666"> 
      <td colspan=2 height="20">&nbsp;&nbsp;<B><font color="#FFFFFF">送货信息</font></B></td>
    </tr>
    <tr> 
      <td class="title1bgcolor" height="46"> 
        <div align="right">收货人*&nbsp;</div>
      </td>
      <td class="title2bgcolor" height="46"> 
        <input type=text name='rname' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">地址*&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <input type=text name='address' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">电话&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <input type=text name='rtelnum' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">邮编&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <input type=text name='zip' value='' size=50 maxlength=255>
      </td>
    </tr>
    <tr> 
      <td class="title1bgcolor"> 
        <div align="right">留言&nbsp;</div>
      </td>
      <td class="title2bgcolor"> 
        <textarea cols=50 rows=5 name=info></textarea>
      </td>
    </tr>

</table><br>
<div align=center><input name=rest value='重新填写' type=reset class=btn> <input name=submit type=submit value='下一步'class=btn><!--<a href="javascript:cCart.reset()">[重新填写]</a> &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:cCart.submit()">[下一步]</a> --></div>
  </form>
