<?php /* Smarty version 2.6.19, created on 2008-08-28 17:38:21
         compiled from shopping_dd.tpl */ ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
-->
</style></head>

<body>
<table width="1003" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><div align="center"><img src="images/sy_2.jpg" width="1003" height="75"></div></td>
  </tr>
</table>
<table width="1003" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center"><img src="images/sy_4.jpg" width="825" height="140"></td>
  </tr>
</table>
<table width="1003" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="89">&nbsp;</td>
    <td width="825"><table width="825" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#D0D0D0">
<tr>
<td align="center" bgcolor="#FFFFFF"><img src="images/sy_8.jpg" width="781" height="25">
 

<table width="750" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
          <td><br>
		  
		  <?php unset($this->_sections['datas']);
$this->_sections['datas']['name'] = 'datas';
$this->_sections['datas']['loop'] = is_array($_loop=$this->_tpl_vars['info']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['datas']['show'] = true;
$this->_sections['datas']['max'] = $this->_sections['datas']['loop'];
$this->_sections['datas']['step'] = 1;
$this->_sections['datas']['start'] = $this->_sections['datas']['step'] > 0 ? 0 : $this->_sections['datas']['loop']-1;
if ($this->_sections['datas']['show']) {
    $this->_sections['datas']['total'] = $this->_sections['datas']['loop'];
    if ($this->_sections['datas']['total'] == 0)
        $this->_sections['datas']['show'] = false;
} else
    $this->_sections['datas']['total'] = 0;
if ($this->_sections['datas']['show']):

            for ($this->_sections['datas']['index'] = $this->_sections['datas']['start'], $this->_sections['datas']['iteration'] = 1;
                 $this->_sections['datas']['iteration'] <= $this->_sections['datas']['total'];
                 $this->_sections['datas']['index'] += $this->_sections['datas']['step'], $this->_sections['datas']['iteration']++):
$this->_sections['datas']['rownum'] = $this->_sections['datas']['iteration'];
$this->_sections['datas']['index_prev'] = $this->_sections['datas']['index'] - $this->_sections['datas']['step'];
$this->_sections['datas']['index_next'] = $this->_sections['datas']['index'] + $this->_sections['datas']['step'];
$this->_sections['datas']['first']      = ($this->_sections['datas']['iteration'] == 1);
$this->_sections['datas']['last']       = ($this->_sections['datas']['iteration'] == $this->_sections['datas']['total']);
?>

		  <table width="630" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
           
		
             	<script language="javascript">
	  function openprintwindow(x,y,z){
	    
	     window.open("printwindow.php?ddno="+x+"&pv="+z,"newframe","top=200,left=200,width=635,height="+(230+20*y)+",menubar=no,location=no,toolbar=no,scrollbars=no,status=no");
	
	  }
	
	</script>
		   
		   
		    <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"><?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['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;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['ddnumber']; ?>
</td>
                </tr>
                <tr>
                  <td height="18"><div align="right">收货人：</div></td>
                  <td width="222" height="18">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['recuser']; ?>
</td>
                  <td width="125" height="18"><div align="right">邮编：</div></td>
                  <td width="208" height="18">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['yb']; ?>
</td>
                </tr>
                <tr>
                  <td height="18"><div align="right">移动电话：</div></td>
                  <td height="18">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['mtel']; ?>
</td>
                  <td height="18"><div align="right">固定电话：</div></td>
                  <td height="18">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['gtel']; ?>
</td>
                </tr>
                <tr>
                  <td height="18"><div align="right">联系地址：</div></td>
                  <td height="18" colspan="3">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['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>
          		<?php if ($this->_tpl_vars['isShow'] == 'F'): ?>
			
			
			<tr>
              <td height="22" colspan="4" bgcolor="#FFFFFF"><div align="center">对不起，您的购物车中暂无商品信息！</div></td>
            </tr>
			
<?php else: ?>
<?php unset($this->_sections['data']);
$this->_sections['data']['name'] = 'data';
$this->_sections['data']['loop'] = is_array($_loop=$this->_tpl_vars['myrow']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['data']['show'] = true;
$this->_sections['data']['max'] = $this->_sections['data']['loop'];
$this->_sections['data']['step'] = 1;
$this->_sections['data']['start'] = $this->_sections['data']['step'] > 0 ? 0 : $this->_sections['data']['loop']-1;
if ($this->_sections['data']['show']) {
    $this->_sections['data']['total'] = $this->_sections['data']['loop'];
    if ($this->_sections['data']['total'] == 0)
        $this->_sections['data']['show'] = false;
} else
    $this->_sections['data']['total'] = 0;
if ($this->_sections['data']['show']):

            for ($this->_sections['data']['index'] = $this->_sections['data']['start'], $this->_sections['data']['iteration'] = 1;
                 $this->_sections['data']['iteration'] <= $this->_sections['data']['total'];
                 $this->_sections['data']['index'] += $this->_sections['data']['step'], $this->_sections['data']['iteration']++):
$this->_sections['data']['rownum'] = $this->_sections['data']['iteration'];
$this->_sections['data']['index_prev'] = $this->_sections['data']['index'] - $this->_sections['data']['step'];
$this->_sections['data']['index_next'] = $this->_sections['data']['index'] + $this->_sections['data']['step'];
$this->_sections['data']['first']      = ($this->_sections['data']['iteration'] == 1);
$this->_sections['data']['last']       = ($this->_sections['data']['iteration'] == $this->_sections['data']['total']);
?>
					 <tr>
                      <td height="18" bgcolor="#FFFFFF">&nbsp;<?php echo $this->_tpl_vars['myrow'][$this->_sections['data']['index']]['tb_commodity_name']; ?>
</td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><?php echo $this->_tpl_vars['myrow'][$this->_sections['data']['index']]['tb_commodity_price']; ?>
</div></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><?php echo $this->_tpl_vars['myrow'][$this->_sections['data']['index']]['7']; ?>
</div></td>
                      <td height="18" bgcolor="#FFFFFF"><div align="center"><?php echo $this->_tpl_vars['myrow'][$this->_sections['data']['index']]['8']; ?>
</div></td>
                    </tr>
<?php endfor; endif; ?>					
<?php endif; ?>     
             </table>
				  
				    <table width="590" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
                      <tr>
                        <td height="25">&nbsp;</td>
                        <td width="102" height="25" align="right">商品总计：</td>
                        <td width="216">&nbsp;<?php echo $this->_tpl_vars['totalprice']; ?>
</td>
                      </tr>
                    
                      <tr>
                        <td height="25">&nbsp;</td>
                        <td height="25" align="right">邮费：</td>
                        <td height="25">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['yprice']; ?>
&nbsp;元</td>
                      </tr>
					  <tr>
                        <td width="272" 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="216">&nbsp;<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['totalprice']; ?>
&nbsp;元</td>
                      </tr>
                    </table>
				    </td>
                </tr>
               
              </table>


</td>
		    </tr>
          </table><br>
  
		  
		  
		
		  <table width="630" height="25" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#999999">
  <tr>
    <td bgcolor="#FFFFFF"><table width="630" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="340"></td>
        <td width="75"> <img src="images/sy_12.jpg" width="60" height="25" onClick="javascript:openprintwindow('<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['ddnumber']; ?>
','<?php echo $this->_tpl_vars['gnum']; ?>
','p')" style="cursor:hand"/></td>
        <td width="90"><img src="images/sy_14.jpg" width="69" height="25"  onclick="javascript:openprintwindow('<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['ddnumber']; ?>
','<?php echo $this->_tpl_vars['gnum']; ?>
','v')" style="cursor:hand"/></td>
        <td width="125"><img src="images/sy_16.jpg" width="70" height="25" onClick="javascript:window.location.href='shopping_tjdd.php?ddno=<?php echo $this->_tpl_vars['info'][$this->_sections['datas']['index']]['ddnumber']; ?>
'" style="cursor:hand"/></td>
      </tr>
    </table></td>
  </tr>
</table><?php endfor; endif; ?>
<br>

		  
		  
		  </td>
        </tr>
      </table>

</td>
</tr>
</table></td>
    <td width="89">&nbsp;</td>
  </tr>
  <tr>
    <td colspan="3"><img src="images/sy_21.jpg" width="1003" height="45"></td>
  </tr>
</table>
</body>
</html>
