<?php if(!defined('BASEPATH')) exit('No direct script access allowed');?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?php echo base_url()?>theme/default/css/common.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<?php echo base_url()?>theme/default/js/ajax.js"></script>
<script language="javascript" src="<?php echo base_url()?>theme/default/js/Common.js"></script>
<script language="javascript" src="<?php echo base_url()?>theme/default/js/jquery.min.js"></script>
<script language="javascript" src="<?php echo base_url()?>theme/default/js/tips.js"></script>
<script language="javascript" src="<?php echo base_url()?>theme/default/js/Float.js"></script>
<script src="<?php echo base_url()?>theme/default/js/jquery.artDialog.js?skin=default"></script>
<script src="<?php echo base_url()?>theme/default/js/iframeTools.js"></script>
<!--选项按钮美化-->
<link rel="stylesheet" href="<?php echo base_url()?>theme/default/css/jquery-labelauty.css" />
</head>
<body> 
 
 <span class="MenuboxS">
 <ul>
 <li ><span><a href="<?php echo site_url('export/client')?>">客户列表</a></span></li>
 <li ><span><a href="<?php echo site_url('export/records')?>">跟单记录</a></span></li>
 <li class="hover"><span><a href="<?php echo site_url('export/order')?>">订单记录</a></span></li>
 <li ><span><a href="<?php echo site_url('export/hetong')?>">合同记录</a></span></li>
 <li ><span><a href="<?php echo site_url('export/service')?>">售后记录</a></span></li>
 <li ><span><a href="<?php echo site_url('export/expense')?>">收支记录</a></span></li>

 </ul>
 </span>

 <tr> 
 <td valign="top" class="td_n">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
 <td valign="top" class="td_n pdl10 pdr10 pdt10"> 
 <table width="100%" border="0" cellspacing="0" cellpadding="0" CLASS="table_1">
 <tr class="tr_t"> 
 <td class="td_l_l" COLSPAN="6"><B>按条件筛选</B></td>
 </tr>
 </table>
 <form name="searchForm" action="?Action=OrdertoExcel" method="post">
 <table width="100%" border="0" cellspacing="0" cellpadding="0" CLASS="table_1">
 <col width="100" /><col width="220" /><col width="100" />
 <tr>
 <td class="td_l_c title" style="border-top:0;">状态</td>
 <td class="td_r_l" style="border-top:0;"> <select name='oState' class="int"><option value="">请选择</option><option value="3">未处理</option><option value="2">处理中</option><option value="1">已完成</option></select></td>
 <td class="td_l_c title" style="border-top:0;">下单日期</td>
 <td class="td_r_l" style="border-top:0;"> <input name="TimeBegin" type="text" id="TimeBegin" class="int Wdate" style="width:100px;" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />&nbsp;~&nbsp;<input name="TimeEnd" type="text" id="TimeEnd" class="int Wdate" style="width:100px;" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" /></td>
 </tr>
 <tr>
 <td class="td_l_c title">业务员</td>
 <td class="td_r_l"> <select name='jinke_user' class='int'><option value="">请选择</option>
 <?php foreach($select_user as $arr=>$row) {?>
 <option value="<?php echo $row['name']?>"><?php echo $row['name']?></option>
 <?php }?>
 </select></td>
 <td class="td_l_c title">交单日期</td>
 <td class="td_r_l"> <input name="ETimeBegin" type="text" id="ETimeBegin" class="int Wdate" style="width:100px;" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" />&nbsp;~&nbsp;<input name="ETimeEnd" type="text" id="ETimeEnd" class="int Wdate" style="width:100px;" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" /></td>
 </tr>
 <tr>
 <td class="td_l_c title">导出项目</td>
 <td class="td_r_l" colspan=3>
 <input class="noborder" data-labelauty="编号" type="checkbox" name="Exportitem1" value="1" checked>
 <input class="noborder" data-labelauty="客户名称" type="checkbox" name="Exportitem2" value="1" checked>
 <input class="noborder" data-labelauty="状态" type="checkbox" name="Exportitem9" value="1" checked>
 <input class="noborder" data-labelauty="订单编号" type="checkbox" name="Exportitem3" value="1" checked>
 <input class="noborder" data-labelauty="联系人" type="checkbox" name="Exportitem4" value="1" checked>
 <input class="noborder" data-labelauty="下单日期" type="checkbox" name="Exportitem5" value="1" checked>
 <input class="noborder" data-labelauty="交单日期" type="checkbox" name="Exportitem6" value="1" checked>
 <input class="noborder" data-labelauty="预付款" type="checkbox" name="Exportitem7" value="1" checked>
 <input class="noborder" data-labelauty="订单金额" type="checkbox" name="Exportitem8" value="1" checked>
 <input class="noborder" data-labelauty="详情备注" type="checkbox" name="Exportitem10" value="1" checked>
 <input class="noborder" data-labelauty="业务员" type="checkbox" name="Exportitem11" value="1" checked>
 <input class="noborder" data-labelauty="录入时间" type="checkbox" name="Exportitem12" value="1" checked>
 </td>
 </tr>
 </table> 
 <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:10px;">
 <tr>
 <td>
 <input type="submit" name="Submit" class="btn2 btnbaoc" value=" 导出 ">　
<!--<input type="button" class="btn2 btnxiaz" value=" 下载文件 "  onclick="userfile_guanli()"/>　
<script>function userfile_guanli() {$.dialog.open('filement.asp', {title: '文件管理', width:1000, height: 520,fixed: true}); };</script>-->
 <input type="button" class="btn2 btnguanb" value="清空条件" onClick=window.location.href="?action=killSession&otype=Gendan" />　
 </td>
 </tr>
 </table> 
 </form> 
 </td> 
 </tr>
 </table> 
 </td> 
 </tr>
</table>
</body>
</html>
<script src="<?php echo base_url()?>theme/default/WdatePicker.js"></script>

<!--选项按钮美化-->
<script type="text/javascript" src="<?php echo base_url()?>theme/default/js/jquery-labelauty.js"></script>
<script type="text/javascript">
$(function(){
 $(':input').labelauty();
});
</script>
 