
<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">
                                <input type="text" name="title" autocomplete="off" class="layui-input" >
                            </div>
                        </div>
                         <div class="layui-inline">
                            <label class="layui-form-label">mod</label>
                            <div class="layui-input-inline">
                                <input type="text" name="mod1" autocomplete="off" class="layui-input" >
                            </div>
                        </div>

                        <div class="layui-inline">
                            <label class="layui-form-label">父节点</label>
                            <div class="layui-input-inline">
                                <?=select2($node_arr,$_GET['parent_id'],"parent_id")?>
                            </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>
                        </div>
                    </div>
                </form>
            </div>
        </fieldset>
      <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <button class="layui-btn layui-btn-normal layui-btn-sm data-add-btn" lay-event="add"> 添加 </button>

                <button class="layui-btn layui-btn-danger  layui-btn-sm data-add-btn" lay-event="delete"> 批量删除  </button>
                
            </div>
        </script>
        <table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>

        <script type="text/html" id="currentTableBar">
            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
        </script>

    </div>
</div>
<script>
    var cols=[[
        {type: "checkbox", width: 50},
        {field: 'id',  title: 'id'}, 
        {field: 'title',  title: '名称'},
        {field: 'pnode',  title: '父节点'},
        {field: 'mod',  title: '模块'},
        {field: 'act',  title: '行为'},
        {field: 'statustext',  title: '状态'},
        {field: 'sort',  title: '排序'},
        {title: '操作', minWidth: 150, toolbar: '#currentTableBar', align: "center"}
    ]]
</script>
<?
//$duoduo->get_table_desc("article");
 $name="管理员";
 $moban=1;
 include(ADMINROOT.'/template/public/'.$act.'.tpl.php'); //公共模板
?>