<div class="layuimini-container layuimini-page-anim">

    <div class="layuimini-main"> 
     
      <fieldset class="table-search-fieldset">
            <legend>搜索信息</legend>
            <div style="margin: 10px 10px 10px 10px">
               <form class="layui-form layui-form-pane" action="">
                    <div class="layui-form-item">
                         <div class="layui-inline">
                            <label class="layui-form-label">日期</label>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input type="text" name="sdate" id="sdate"  autocomplete="off" class="layui-input" value="<?=$_GET['sdate']?>">

                      <?  
                        $timetype="date";
                        $field="sdate";
                           include(ADMINROOT.'/template/tpl/time.tpl.php'); // 
                      ?>
                    </div>
                    <div class="layui-form-mid">-</div>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input type="text" name="edate"  id="edate" autocomplete="off" class="layui-input">
                        <?  
                        $timetype="date";
                        $field="edate";
                          include(ADMINROOT.'/template/tpl/time.tpl.php'); // 
                      ?>
                    </div>
                        </div>


                         <div class="layui-inline">
                            <label class="layui-form-label">班主任</label>
                            <div class="layui-input-inline">
                                <?=select2(app("user")->ywy(1),0,"tjr")?>
                            </div>
                        </div>
                          
                        <div class="layui-inline">
                            <label class="layui-form-label">姓名</label>
                            <div class="layui-input-inline">
                                <input type="text" name="realname" autocomplete="off" class="layui-input" >
                            </div>
                        </div>
                         
                          <div class="layui-inline">
                            <label class="layui-form-label">账号名称</label>
                            <div class="layui-input-inline">
                                <input type="text" name="ddusername" autocomplete="off" class="layui-input" >
                            </div>
                        </div>

                         <div class="layui-inline">
                            <label class="layui-form-label">手机号码</label>
                            <div class="layui-input-inline">
                                <input type="text" name="mobile" autocomplete="off" class="layui-input" >
                            </div>
                        </div>


                         <div class="layui-inline">
                            <label class="layui-form-label">微信呢称</label>
                            <div class="layui-input-inline">
                                <input type="text" name="nickName" autocomplete="off" class="layui-input" >
                            </div>
                        </div>
                        
                         



                       
                           <div class="layui-inline">
                            <label class="layui-form-label">角色</label>
                            <div class="layui-input-inline">
                                <?=select2(app("user")->type,$_GET['type'],"type")?>
                            </div>
                        </div>

                         <div class="layui-inline">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-inline">
                                <?=select2(app("user")->status,$_GET['status'],"status")?>
                            </div>
                        </div>


                         <div class="layui-inline">
                            <label class="layui-form-label">关注</label>
                            <div class="layui-input-inline">
                                <?=select2(array(1=>"已关注",2=>"未关注"),0,"subscribe")?>
                            </div>
                        </div>

                     

                      

                    
                       
                     
              <div class="layui-inline">
                            <button type="submit" class="layui-btn layui-btn-primary"  lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>

                            

                             <button type="button" class="layui-btn layui-btn-primary"  lay-submit lay-filter="import_xls"><i class="layui-icon">&#xe601;</i> 导 出</button>
                        </div>
                    </div>
                </form>
            </div>
        </fieldset>  
   
        <table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>
    <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
              

          <button class="layui-btn layui-btn-warm layui-btn-sm data-add-btn" lay-event="delete">批量删除</button>
         
         <button class="layui-btn layui-btn-default layui-btn-sm data-add-btn" lay-event="hpywy">批量分配</button>
               
                
            </div>
        </script>
        <script type="text/html" id="currentTableBar">
    
            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">编辑</a>
       
           
           
            
        </script>
       
           
    </div>
</div>

<script>
	var cols=[[
        {type: "checkbox", width: 50},
        {field: 'id',  title: 'id',width:70}, 
        {field: 'ddusername',  title: '账号',minWidth:150}, 
         {field: 'typename',  title: '角色',width:100},

        {field: 'ywyname',  title: '班主任',width:100},  
        {field: 'nickName',  title: '微信呢称',width:120}, 
        {title: '头像',templet: '#rfile',minWidth:80},
        {field: 'regtime',  title: '注册时间',minWidth:120},
        {field: 'realname',  title: '姓名',minWidth:100},
        {field: 'mobile',  title: '手机',minWidth:120},
        {field: 'statustext',title: '状态',minWidth:70}, 
         {field: 'subscribetext',title: '关注',minWidth:70},
        {title: '操作', minWidth: 180, toolbar: '#currentTableBar', align: "center"}
    ]]

</script>
<?
//$duoduo->get_table_desc("article");
 $name="用户";

 include(ADMINROOT.'/template/public/list.tpl.php'); //公共模板
?>