<!--{include file="<!--{$oetplpath}-->block_head.tpl"}-->
<!--{if $a == "run"}-->
<div class="oemarry_layout">
  <div class="oe_top_nav"><i></i>订单模块->购物车</div>
  <div class="oe_content">
	
	<form id="serform" action="<!--{$oefile}-->&c=<!--{$c}-->" method="post">
	<div class="oe_txtwrap">
	  店铺名称：<input type="text" name="sshopname" id="sshopname" class="input-150" value="<!--{$sshopname}-->" />&nbsp;
	  买家会员：<input type="text" name="susername" id="susername" class="input-150" value="<!--{$susername}-->" />&nbsp;
	  &nbsp;&nbsp;<input type="submit" name="btn_search" id="btn_search" class="button_2" value="搜索" />
	</div>
	</form>

    <div class="oe_tools_bar clearfix">
      <a class="icon-checkbox-unchecked" href="javascript:;" id="selAll" onclick="oemarrySelectAll(this, 'selall');">全选/反选</a>
      <a class="icon-remove-2" onclick="oemarryDialogFormDel('myform');">删除</a>
    </div>
    
	<form id="myform" action="<!--{$oefile}-->&c=<!--{$c}-->&a=del" method="post">
    <table class="oe_table_list table_cs">
	  <tr>
	    <th width="10%">CartID</th>
		<th width="15%">店铺</th>
		<th width="10%">买家会员</th>
		<th width="18%">商品</th>
		<th width="9%">单价</th>
		<th width="8%">数量</th>
		<th width="9%">合计</th>
		<th width="15%">创建时间</th>
		<th>操作</th>
	  </tr>
	  <!--{if empty($cart)}-->
	  <tr>
	    <td class="text_center" colspan="9">没有符合条件的信息</td>
	  </tr>
	  <!--{else}-->
	  <!--{foreach $cart as $volist}-->
	  <tr>
	    <td class="text_center"><input type="checkbox" name="id[]" id="id[]" class="selall" value="<!--{$volist.cartid}-->" /><!--{$volist.cartid}--></td>
		<td><a href="javascript:;" f="detail" data-mod="shop" data-id="<!--{$volist.shopid}-->"><!--{$volist.shopname}--></a></td>
		<td><!--{$volist.username}--></td>
		<td><a href="javascript:;" f="detail" data-mod="goods" data-id="<!--{$volist.goodsid}-->"><!--{$volist.goodsname}--></a></td>
		<td>¥<!--{doubleval($volist.price)}--></td>
		<td><!--{$volist.nums}-->件</td>
		<td>¥<!--{doubleval($volist.total)}--></td>
		<td class="text_center"><!--{$volist.addtime|date_format:"%Y-%m-%d %H:%M:%S"}--></td>
		<td class="text_center">
		  <a href="javascript:;" onclick="oemarryDialogUrlDel('<!--{$oefile}-->&c=<!--{$c}-->&a=del&id[]=<!--{$volist.cartid}-->&<!--{$comeurl}-->');" class="oe_ico_red">删除</a>
		</td>
	  </tr>
	  <!--{/foreach}-->
	  <!--{/if}-->
	</table>
	</form>

	<div class="oe_page_box"><!--{$showpage}--></div>

  </div>
</div>
<!--{/if}-->
</body>
</html>