
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>订单打印</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>

<script>     
  function   printview()     
  {     
  document.all.WebBrowser1.ExecWB(7,1) ;
  window.close();  
  }     
  function   prints()     
  {     
document.all.WebBrowser1.Execwb(6,1)
  window.close();  
  }     


 </script>     
 <object   ID='WebBrowser1'   WIDTH=0   HEIGHT=0   CLASSID='CLSID:8856F961-340A-11D0-A96B-00C04FD705A2'></object>
 

<body topmargin="0" leftmargin="0" bottommargin="0" onLoad="<{if $pv==1}>prints();<{elseif $pv==2}> printview();<{/if}> ">

<{section name=id loop=$info }>
<table width="630" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
		    <tr>
              <td bgcolor="#FFFFFF"><table width="630" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="25" colspan="2"><table width="250" height="20" border="0" align="left" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="15" bgcolor="#FFFFFF"><div align="center"></div></td>
                      <td width="235" bgcolor="#CCCCCC"><div align="center">吉林省明日科技有限公司-编程词典订单</div></td>
                    </tr>
                  </table></td>
                  <td height="25">&nbsp;</td>
                  <td height="25"><{$info[id].createtime}></td>
                </tr>
				<tr>
                  <td height="1" colspan="4" valign="top"><hr size="1" color="#CCCCCC" width="600"></td>
                  </tr>
                <tr>
                  <td width="125" height="18"><div align="right">订单号：</div></td>
                  <td height="18" colspan="3">&nbsp;<{$info[id].ddnumber}></td>
                </tr>
                <tr>
                  <td height="18"><div align="right">收货人：</div></td>
                  <td width="222" height="18">&nbsp;<{$info[id].recuser}></td>
                  <td width="125" height="18"><div align="right">邮编：</div></td>
                  <td width="208" height="18">&nbsp;<{$info[id].yb}></td>
                </tr>
                <tr>
                  <td height="18"><div align="right">移动电话：</div></td>
                  <td height="18">&nbsp;<{$info[id].mtel}></td>
                  <td height="18"><div align="right">固定电话：</div></td>
                  <td height="18">&nbsp;<{$info[id].gtel}></td>
                </tr>
                <tr>
                  <td height="18"><div align="right">联系地址：</div></td>
                  <td height="18" colspan="3">&nbsp;<{$info[id].address}></td>
                  </tr>
                <tr>
                  <td height="20" colspan="4"><br><table width="550" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                    <tr>
                      <td height="18" bgcolor="#CCCCCC"><div align="center">商品名称</div></td>
                      <td bgcolor="#CCCCCC"><div align="center">单价（元）</div></td>
                      <td bgcolor="#CCCCCC"><div align="center">数量</div></td>
                      <td bgcolor="#CCCCCC"><div align="center">小计（元）</div></td>
                    </tr>
<{if $isShow=="F" }>
			
			
			<tr>
              <td height="22" colspan="4" bgcolor="#FFFFFF"><div align="center">对不起，您的购物车中暂无商品信息！</div></td>
            </tr>
			
<{else}>
<{section name=data loop=$myrow }>
					 <tr>
                      <td height="18" bgcolor="#FFFFFF">&nbsp;<{$myrow[data].tb_commodity_name}></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><{$myrow[data].tb_commodity_price}></div></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><{$myrow[data].7}></div></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><{$myrow[data].8}></div></td>
                    </tr>
<{/section}>					
<{/if}>     					
                  </table>
				  
				    <table width="550" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="25">&nbsp;</td>
                        <td width="60" height="25"><div align="center">商品总计：</div></td>
                        <td width="112">&nbsp;<{$totalprice}></td>
                      </tr>
                    
                      <tr>
                        <td height="25">&nbsp;</td>
                        <td height="25"><div align="right">邮费：</div></td>
                        <td height="25">&nbsp;<{$info[id].yprice}>&nbsp;元</td>
                      </tr>
					  <tr>
                        <td width="378" height="1"></td>
                        <td height="1" colspan="2" bgcolor="#CCCCCC"></td>
                      </tr>
					  <tr>
                        <td height="25" colspan="2"><div align="right"><strong>你需要支付的金额总计为：</strong></div></td>
                        <td width="112">&nbsp;<{$info[id].totalprice}>&nbsp;元</td>
                      </tr>
                    </table>
				    </td>
                </tr>
				
                <tr>
                  <td height="1" colspan="4" valign="top"><hr size="1" color="#CCCCCC" width="600"></td>
                 </tr>
				 <tr>
                  <td height="2" colspan="4" valign="top"></td>
                 </tr>
              </table></td>
		    </tr>
          </table>
<{/section}>
</body>
</html>
