<!DOCTYPE html>
<html>
	<?php echo $this->fetch('head.html'); ?>
	<body>
<div class="tabs-border">
	<a class="item <?php if (get ( 'a' ) == 'default'): ?>active<?php endif; ?>" href="<?php echo $this->_var['appadmin']; ?>?m=olprint_order"><?php echo $this->_var['tabname']; ?></a>
	 
</div>
<div class="main-body">
	<form autocomplete="off" class="search-form" action="/moduleadmin.php">
		<input type="hidden" name="m" value="olprint_order">
		<input type="hidden" name="type" value="<?php echo html($_GET['type']); ?>" />
		ID <input type="text"  class="w50" name="orderid" value="<?php echo intval($_GET['orderid']); ?>" />
		 
		用户 <input type="text" name="nickname" class="w100" value="<?php echo html($_GET['nickname']); ?>" />	 
		 
		下单时间 <input name="stime" type="text" id="stime" value="<?php echo $_GET['stime']; ?>" class="w100" /> 到 <input  class="w100" type="text"  name="etime" id="etime"  value="<?php echo $_GET['etime']; ?>" /> 
		<button type="submit" class="btn" >搜索</button>
	</form>
 <table class="tbs">
<thead>  <tr>
   <td>orderid</td>
   
   <td>ptype</td>
   <td>页数</td>
   <td>份数</td>
   <td>配送</td>
   <td>配货费用</td>
   <td>每页费用</td>
   <td>金额</td>
   <td>createtime</td>
   <td>支付</td>
   <td>状态</td>
    
<td>操作</td></tr>
  </tr>
</thead> <?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
<tr>
   <td><?php echo $this->_var['c']['orderid']; ?></td>
    
   <td><?php echo $this->_var['c']['ptype_name']; ?></td>
   <td><?php echo $this->_var['c']['page_num']; ?></td>
   <td><?php echo $this->_var['c']['print_num']; ?></td>
   <td><?php echo $this->_var['c']['sendtype_name']; ?></td>
   <td>￥<?php echo $this->_var['c']['send_money']; ?></td>
   <td>￥<?php echo $this->_var['c']['page_money']; ?></td>
   <td>￥<?php echo $this->_var['c']['money']; ?></td>
   <td><?php echo $this->_var['c']['createtime']; ?></td>
   <td><?php echo $this->_var['c']['ispay_name']; ?></td>
   <td><?php echo $this->_var['c']['status_name']; ?></td>
   
<td>  
 <a href="javascript:;" class="js-delete" url="moduleadmin.php?m=olprint_order&a=cancel&ajax=1&orderid=<?php echo $this->_var['c']['orderid']; ?>">取消订单</a></td>
  </tr>
   <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
 </table>
<div><?php echo $this->_var['pagelist']; ?></div>
</div> 
<?php echo $this->fetch('footer.html'); ?>
<script src="/plugin/laydate/laydate.js"></script>
		<script>
			laydate.render({
				elem:"#stime"
			})
			laydate.render({
				elem:"#etime"
			});
		</script>
</body>
</html>