<?php /* Smarty version 2.6.19, created on 2008-06-12 17:05:24
         compiled from shopping_tjdd.tpl */ ?>
<table width="870" height="30" align="center" background="images/bg_14(1).jpg"><tr><td width="129" rowspan="2">&nbsp;</td>
    <td width="729"></td>
</tr>
  <tr>
    <td><span class="a9">订单处理</span></td>
  </tr>
</table>
<table width="870" align="center" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#6EBEC7">
        <tr>
          <td bgcolor="#FFFFFF">

<?php unset($this->_sections['id']);
$this->_sections['id']['name'] = 'id';
$this->_sections['id']['loop'] = is_array($_loop=$this->_tpl_vars['info']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['id']['show'] = true;
$this->_sections['id']['max'] = $this->_sections['id']['loop'];
$this->_sections['id']['step'] = 1;
$this->_sections['id']['start'] = $this->_sections['id']['step'] > 0 ? 0 : $this->_sections['id']['loop']-1;
if ($this->_sections['id']['show']) {
    $this->_sections['id']['total'] = $this->_sections['id']['loop'];
    if ($this->_sections['id']['total'] == 0)
        $this->_sections['id']['show'] = false;
} else
    $this->_sections['id']['total'] = 0;
if ($this->_sections['id']['show']):

            for ($this->_sections['id']['index'] = $this->_sections['id']['start'], $this->_sections['id']['iteration'] = 1;
                 $this->_sections['id']['iteration'] <= $this->_sections['id']['total'];
                 $this->_sections['id']['index'] += $this->_sections['id']['step'], $this->_sections['id']['iteration']++):
$this->_sections['id']['rownum'] = $this->_sections['id']['iteration'];
$this->_sections['id']['index_prev'] = $this->_sections['id']['index'] - $this->_sections['id']['step'];
$this->_sections['id']['index_next'] = $this->_sections['id']['index'] + $this->_sections['id']['step'];
$this->_sections['id']['first']      = ($this->_sections['id']['iteration'] == 1);
$this->_sections['id']['last']       = ($this->_sections['id']['iteration'] == $this->_sections['id']['total']);
?>
<table width="750" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><br>
		  <table width="630" height="50" 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 width="130" height="22"><div align="right">订单号：</div></td>
                  <td width="211">&nbsp;<font color=red><strong><?php echo $this->_tpl_vars['info'][$this->_sections['id']['index']]['ddnumber']; ?>
</strong></font></td>
                  <td width="130"><div align="right">需支付金额：</div></td>
                  <td width="159">&nbsp;
<font color=red><strong>"<?php echo $this->_tpl_vars['info'][$this->_sections['id']['index']]['totalprice']; ?>
"&nbsp;元</strong></font>

</td>
                </tr>
                <tr>
                  <td height="30" colspan="4"><table width="500" height="1" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td bgcolor="#CCCCCC"></td>
                    </tr>
                  </table>
                    <table width="500" height="50" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td style="line-height:2">&nbsp;<font color="#FF0000">*</font>&nbsp;<font color="#999999">只有在网上支付成功后，我公司才会为您邮递。</font><br>&nbsp;<font color="#FF0000">*</font>&nbsp;<font color="#999999">我们会在48小时内保留您的订单，请及时支付。</font></td>
                    </tr>
                  </table></td>
                </tr>
                
              </table></td>
		    </tr>
          </table><br>
	<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>	  
		  
		  
		
		  <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="430">&nbsp;</td>
        <td width="75"><img src="images/bg_14(14).jpg" width="69" height="20" style="cursor:hand" onclick="javascript:if(window.confirm('如果取消该订单，则该订单将被删除，您需要重新购买！')==true){window.location.href='deletedd.php?ddno=<?php echo $this->_tpl_vars['info'][$this->_sections['id']['index']]['ddnumber']; ?>
';}"/></td>
<form  action="https://mybank.icbc.com.cn/servlet/ICBCINBSEBusinessServlet" method="post" name="form_bank">
    <input name="interfaceName" type="hidden" value="ICBC_PERBANK_B2C"/>
    <input name="interfaceVersion" type="hidden" value="1.0.0.0"/>
       <input name="orderid" type="hidden" value="<?php echo $this->_tpl_vars['ddnumber']; ?>
"/>
       <input name="amount" type="hidden" value="<?php echo $this->_tpl_vars['amount']; ?>
"/>
    <input name="curType" type="hidden" value="001"/>
       <input name="merID" type="hidden" value="<?php echo $this->_tpl_vars['merid']; ?>
"/>
       <input name="merAcct" type="hidden" value="<?php echo $this->_tpl_vars['meracct']; ?>
"/>
    <input name="verifyJoinFlag" type="hidden" value="0"/>
    <input name="notifyType" type="hidden" value="HS"/>
      <input name="merURL" type="hidden" value="<?php echo $this->_tpl_vars['returnaddress']; ?>
"/>
    <input name="resultType" type="hidden"  value="0"/>
       <input name="orderDate" type="hidden" value="<?php echo $this->_tpl_vars['nowtime']; ?>
"/>
    <input name="merSignMsg" type="hidden" value="<?php echo $this->_tpl_vars['ssrc']; ?>
" />
    <input name="merCert" type="hidden" value="<?php echo $this->_tpl_vars['cert']; ?>
" />
</form>
        <td width="125"><img src="images/bg_14(15).jpg" width="119" height="20" onclick="javascript:form_bank.submit();" style="cursor:hand"/></td>
      </tr>
    </table></td>
  </tr>
</table>
<br>	  
		  </td>
        </tr>
      </table>
<?php endfor; endif; ?>
</td>
        </tr></table>
