<?php /* Smarty version 2.6.19, created on 2009-07-15 11:19:02
         compiled from showform.tpl */ ?>
<title><?php echo $this->_tpl_vars['title']; ?>
</title>
<link href="css/table.css" rel="stylesheet" type="text/css">
<link href="../../css/table.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/createxmlhttp.js"></script>
<script language="javascript" src="js/shwform.js"></script>
<table width="665" border="0" align="left" cellpadding="0" cellspacing="0">
  <form id="shwfrm" name="shwfrm" method="post" action"#">
    <tr>
      <td width="40" height="25" align="center" valign="middle" class="first">删除</td>
      <td width="75" height="25" align="center" valign="middle" class="first">订单号</td>
      <td width="75" height="25" align="center" valign="middle" class="first">购买用户</td>
      <td width="75" height="25" align="center" valign="middle" class="first">接收人</td>
      <td width="75" height="25" align="center" valign="middle" class="first">消费金额</td>
      <td width="75" height="25" align="center" valign="middle" class="first">付款方式</td>
      <td width="75" height="25" align="center" valign="middle" class="first">送货方式</td>
      <td width="75" height="25" align="center" valign="middle" class="first">订单状态</td>
      <td width="50" height="25" align="center" valign="middle" class="first">查看</td>
      <td width="50" height="25" align="center" valign="middle" class="first">处理</td>
    </tr>
    <?php $_from = $this->_tpl_vars['formarr']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['key'] => $this->_tpl_vars['item']):
?>
    <tr>
      <td height="25" align="center" valign="middle" class="left"><input id="chk" name="chk[]" type="checkbox" class="left" value="<?php echo $this->_tpl_vars['item']['id']; ?>
" /></td>
      <td height="25" align="center" valign="middle" class="center"><?php echo $this->_tpl_vars['item']['formid']; ?>
</td>
      <td height="25" align="center" valign="middle" class="center"><?php echo $this->_tpl_vars['item']['vendee']; ?>
</td>
      <td height="25" align="center" valign="middle" class="center"><?php echo $this->_tpl_vars['item']['taker']; ?>
</td>
      <td height="25" align="center" valign="middle" class="center"><?php echo $this->_tpl_vars['item']['total']; ?>
</td>
      <td height="25" align="center" valign="middle" class="center"><?php echo $this->_tpl_vars['item']['pay_method']; ?>
</td>
      <td height="25" align="center" valign="middle" class="center"><?php echo $this->_tpl_vars['item']['del_method']; ?>
</td>
      <td height="25" align="center" valign="middle" class="center"><?php if ($this->_tpl_vars['item']['state'] == 0): ?>未处理<?php elseif ($this->_tpl_vars['item']['state'] == 1): ?>已收款<?php elseif ($this->_tpl_vars['item']['state'] == 2): ?>已发货<?php elseif ($this->_tpl_vars['item']['state'] == 3): ?>已收货<?php endif; ?></td>
      <td height="25" align="center" valign="middle" class="right"><input id="lookform" name="lookform[]" type="button" class="btn" value="查看" style="border-color:#ffffff; cursor:hand;" onclick="showforminfo(<?php echo $this->_tpl_vars['item']['id']; ?>
)" /></td>
      <td height="25" align="center" valign="middle" class="right"><input id="deal" name="deal" type="button" value="请求处理" class="btn" style="border-color:#ffffff; width:100px; cursor: hand;" onclick="showme(<?php echo $this->_tpl_vars['item']['formid']; ?>
)" /></td>
    </tr>
    <?php endforeach; endif; unset($_from); ?>
    <tr>
      <td height="30" colspan="10" align="center" valign="middle"><a href="#" onclick="return alldel(shwfrm);">全选</a> <a href="#" onclick="return overdel(shwfrm);">反选</a>&nbsp;&nbsp;
          <input type="submit" value="删除选择" class="btn" style="border-color: #FFFFFF;" onclick = 'return del(shwfrm)' />      </td>
    </tr>
	  </form>
    <tr>
      <td height="30" colspan="10" align="left" valign="middle"><div id="chdl" style="display:none;">
  <table width="525" border="0" align="center" cellpadding="0" cellspacing="0">
    <form id="changedeal" name="changedeal" method="post">
      <tr>
        <td height="25" colspan="6" align="center" valign="middle" class="first">订单处理</td>
      </tr>
      <tr>
        <td width="75" height="25" align="center" valign="middle" class="left">订单号：</td>
        <td width="100" height="25" align="center" valign="middle" class="center"><div id="formid">&nbsp;</div></td>
        <td width="100" height="25" align="center" valign="middle" class="center"><input id="acceptmon" name="acceptsend" type="radio" value="1" checked="checked" />已收款</td>
        <td width="100" height="25" align="center" valign="middle" class="center"><input id="sendwa" name="acceptsend" type="radio" value="2" />已发货</td>
        <td width="100" height="25" align="center" valign="middle" class="center"><input id="acceptwa" name="acceptsend" type="radio" value="3" />已收货</td>
        <td width="50" height="25" align="center" valign="middle" class="right"><input id="chg" name="chg" type="button" class="btn" value="修改" style="border-color:#FFFFFF;" onclick="return changeme(changedeal)" /></td>
      </tr>
    </form>
  </table>
</div>
</td>
    </tr>

</table>
