<?php
defined('DT_ADMIN') or exit('Access Denied');
include tpl('header');
show_menu($menus);
?>
<form action="?">
<input type="hidden" name="moduleid" value="<?php echo $moduleid;?>"/>
<input type="hidden" name="file" value="<?php echo $file;?>"/>
<input type="hidden" name="action" value="<?php echo $action;?>"/>
<table cellspacing="0" class="tb">
<tr>
<td>&nbsp;
<?php echo $fields_select;?>&nbsp;
<input type="text" size="30" name="kw" value="<?php echo $kw;?>" placeholder="请输入关键词"/>&nbsp;
<?php echo $status_select;?>&nbsp;
<input type="text" name="psize" value="<?php echo $pagesize;?>" size="2" class="t_c" title="条/页"/>&nbsp;
<input type="submit" value="搜 索" class="btn"/>&nbsp;
<input type="button" value="重 置" class="btn" onclick="Go('?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=<?php echo $action;?>');"/>
</td>
</tr>
<tr>
<td>&nbsp;
快递单号：<input type="text" name="send_no" value="<?php echo $send_no;?>" size="15"/>&nbsp;
订单单号：<input type="text" name="itemid" value="<?php echo $itemid;?>" size="5"/>&nbsp;
卖家：<input type="text" name="seller" value="<?php echo $seller;?>" size="10"/>&nbsp;
买家：<input type="text" name="buyer" value="<?php echo $buyer;?>" size="10"/>&nbsp;
</td>
</tr>
</table>
</form>
<table cellspacing="0" class="tb ls">
<tr>
<th>订单单号</th>
<th>快递公司</th>
<th>快递单号</th>
<th>快递状态</th>
<th>卖家</th>
<th>买家</th>
<th width="150">下单时间</th>
<th width="150">更新时间</th>
</tr>
<?php foreach($lists as $k=>$v) {?>
<tr align="center">
<td title="订单详情"><a href="?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=show&gid=<?php echo $gid;?>&itemid=<?php echo $v['itemid'];?>"><?php echo $v['itemid'];?></a></td>
<td title="快递官网"><a href="<?php echo DT_PATH;?>api/express/home.php?e=<?php echo urlencode($v['send_type']);?>&n=<?php echo $v['send_no'];?>" target="_blank"><?php echo $v['send_type'];?></a>
</td>
<td title="快递追踪"><a href="javascript:Dwidget('?moduleid=<?php echo $moduleid;?>&file=<?php echo $file;?>&action=show&id=<?php echo $v['gid'];?>&itemid=<?php echo $v['itemid'];?>', '快递追踪');"><?php echo $v['send_no'];?></a></td>
<td><?php echo $_send_status[$v['send_status']];?></td>
<td class="px12"><a href="javascript:_user('<?php echo $v['seller'];?>');"><?php echo $v['seller'];?></a></td>
<td class="px12"><a href="javascript:_user('<?php echo $v['buyer'];?>');"><?php echo $v['buyer'];?></a></td>
<td class="px12"><?php echo $v['addtime'];?></td>
<td class="px12"><?php echo $v['updatetime'];?></td>
</tr>
<?php }?>
</table>
<?php echo $pages ? '<div class="pages">'.$pages.'</div>' : '';?>
<script type="text/javascript">Menuon(2);</script>
<?php include tpl('footer');?>