Jonlin 6 жил өмнө
parent
commit
10f6b32735
26 өөрчлөгдсөн 2403 нэмэгдсэн , 23 устгасан
  1. 4 0
      application/admin/controller/AdminControl.php
  2. 19 8
      application/admin/controller/DevelopmentCase.php
  3. 20 8
      application/admin/controller/DevelopmentServer.php
  4. 18 7
      application/admin/controller/HeadNav.php
  5. 142 0
      application/admin/controller/Recruit.php
  6. 1 0
      application/admin/lang/zh-cn.php
  7. 127 0
      application/admin/view/recruit/form.html
  8. 58 0
      application/admin/view/recruit/index.html
  9. 70 0
      application/common/model/Recruit.php
  10. 167 0
      runtime/temp/08bccc5111086c13d37dc7702e302881.php
  11. 54 0
      runtime/temp/1753d39a9ecf3e0d40c013bca4f6ef24.php
  12. 116 0
      runtime/temp/1c9c0105fce52cca48a9090cf1ab68a4.php
  13. 90 0
      runtime/temp/27df9d7313ac605d5735d96d4e1880db.php
  14. 121 0
      runtime/temp/2cbc0981aaf571856c9e223207ca2009.php
  15. 90 0
      runtime/temp/37180ffb2a7285c4aabd514cf427e48a.php
  16. 124 0
      runtime/temp/3973636c15376b7fbab173254f34d419.php
  17. 138 0
      runtime/temp/426e177d9c7f1e8f31071124e7b87290.php
  18. 139 0
      runtime/temp/5b4e6916dcb7713b8c85a074c4d04c3c.php
  19. 95 0
      runtime/temp/62c3b05c6ca4b70b3dcc76e40c09e0c4.php
  20. 173 0
      runtime/temp/6c037d08f8af21716d38360a0b77f321.php
  21. 86 0
      runtime/temp/8bcc5c01f80f860ac4e1e2a51c196cc6.php
  22. 47 0
      runtime/temp/a110d949b0dc53ec8bd6210a8df6a198.php
  23. 87 0
      runtime/temp/bfa59e1c5138f50307b54b7b66a51308.php
  24. 196 0
      runtime/temp/c19ac99b77135a08e0817e720be4a8c7.php
  25. 132 0
      runtime/temp/caa056cf5a7899267d4319c4c315f64c.php
  26. 89 0
      runtime/temp/f71f5e28b8583b0be11dbf82e637c066.php

+ 4 - 0
application/admin/controller/AdminControl.php

@@ -213,6 +213,10 @@ class AdminControl extends Controller
                         'text' => lang('ds_ourteam'),
                         'url' => url('OurTeam/index'),
                     ),
+                    'recruit' => array(
+                        'text' => lang('ds_recruit'),
+                        'url' => url('Recruit/index'),
+                    ),
                     'product' => array(
                         'text' => lang('ds_product'),
                         'url' => url('Product/index'),

+ 19 - 8
application/admin/controller/DevelopmentCase.php

@@ -49,14 +49,25 @@ class DevelopmentCase extends AdminControl
         $allpower = $this->qxhans();
         $this->assign('allpower',$allpower);
         if (request()->isPost()) {
-            $data = array(
-                'name' => input('post.name'),
-                'sort' => input('post.sort'),
-                'type' => input('post.type'),
-                'add_time' => time(),
-                'update_time' => time(),
-                'status' => input('post.status'),
-            );
+            if(input('post.status') == ""){
+                $data = array(
+                    'name' => input('post.name'),
+                    'sort' => input('post.sort'),
+                    'type' => input('post.type'),
+                    'add_time' => time(),
+                    'update_time' => time(),
+                    'status' => '0',
+                );
+            }else{
+                $data = array(
+                    'name' => input('post.name'),
+                    'sort' => input('post.sort'),
+                    'type' => input('post.type'),
+                    'add_time' => time(),
+                    'update_time' => time(),
+                    'status' => input('post.status'),
+                );
+            }
             $imgurl = DS_THEME_STYLE_URL . 'images/team';
             $numurl = '/static/home/images/team';
             $file = request()->file('image');

+ 20 - 8
application/admin/controller/DevelopmentServer.php

@@ -49,14 +49,26 @@ class DevelopmentServer extends AdminControl
         $allpower = $this->qxhans();
         $this->assign('allpower',$allpower);
         if (request()->isPost()) {
-            $data = array(
-                'name' => input('post.name'),
-                'sort' => input('post.sort'),
-                'detail' => input('post.detail'),
-                'add_time' => time(),
-                'update_time' => time(),
-                'status' => input('post.status'),
-            );
+            if(input('post.status') == ""){
+                $data = array(
+                    'name' => input('post.name'),
+                    'sort' => input('post.sort'),
+                    'detail' => input('post.detail'),
+                    'add_time' => time(),
+                    'update_time' => time(),
+                    'status' => '0',
+                );
+            }else{
+                $data = array(
+                    'name' => input('post.name'),
+                    'sort' => input('post.sort'),
+                    'detail' => input('post.detail'),
+                    'add_time' => time(),
+                    'update_time' => time(),
+                    'status' => input('post.status'),
+                );
+            }
+
             $imgurl = DS_THEME_STYLE_URL . 'images/team';
             $numurl = '/static/home/images/team';
             $file = request()->file('image');

+ 18 - 7
application/admin/controller/HeadNav.php

@@ -49,13 +49,24 @@ class HeadNav extends AdminControl
         $allpower = $this->qxhans();
         $this->assign('allpower',$allpower);
         if (request()->isPost()) {
-            $data = array(
-                'nav_name' => input('post.nav_name'),
-                'nav_sort' => input('post.nav_sort'),
-                'nav_add_time' => time(),
-                'nav_update_time' => time(),
-                'status' => input('post.status'),
-            );
+            if(input('post.status') == ""){
+                $data = array(
+                    'nav_name' => input('post.nav_name'),
+                    'nav_sort' => input('post.nav_sort'),
+                    'nav_add_time' => time(),
+                    'nav_update_time' => time(),
+                    'status' => '0',
+                );
+            }else{
+                $data = array(
+                    'nav_name' => input('post.nav_name'),
+                    'nav_sort' => input('post.nav_sort'),
+                    'nav_add_time' => time(),
+                    'nav_update_time' => time(),
+                    'status' => input('post.status'),
+                );
+            }
+
 
             $result = model('HeadNav')->addHeadNav($data);
             if ($result){

+ 142 - 0
application/admin/controller/Recruit.php

@@ -0,0 +1,142 @@
+<?php
+
+namespace app\admin\controller;
+use think\Lang;
+
+class Recruit extends AdminControl
+{
+    public function _initialize()
+    {
+        parent::_initialize();
+        Lang::load(APP_PATH . 'admin/lang/' . config('default_lang') . '/product.lang.php');
+    }
+
+    /**
+     * ÕÐÆ¸¸ÚλÁбí
+     */
+    public function index(){
+        $model_recruit = Model('Recruit');
+        $recruit_keywords = input('post.product_keywords');
+        $recruit_type = input('post.product_type');
+        $condition = array();
+        if($recruit_keywords){
+            $condition['product_keywords'] = $recruit_keywords;
+        }
+        if($recruit_type){
+            $condition['product_type'] = $recruit_type;
+        }
+        $recruit_list = $model_recruit->getRecruit($condition,'*',10);
+        for($i=0;$i<count($recruit_list);$i++){
+            $recruit_list[$i]['add_time'] = date("Y-m-d h:i:s",$recruit_list[$i]['add_time']);
+            $recruit_list[$i]['update_time'] = date("Y-m-d h:i:s",$recruit_list[$i]['update_time']);
+        }
+
+        $allpower = $this->qxhans();
+        $this->assign('allpower',$allpower);
+        $this->assign('recruit_list', $recruit_list);
+        //$this->assign('show_page', $Case_list->page_info->render());
+        $this->setAdminCurItem('index');
+        return $this->fetch();
+
+    }
+
+    /**
+     * Ìí¼ÓÕÐÆ¸¸Úλ
+     * @return mixed
+     */
+    public function add()
+    {
+        $allpower = $this->qxhans();
+        $this->assign('allpower',$allpower);
+        if (request()->isPost()) {
+            if(input('post.status') == ""){
+                $data = array(
+                    'name' => input('post.name'),
+                    'sort' => input('post.sort'),
+                    'detail' => input('post.detail'),
+                    'add_time' => time(),
+                    'update_time' => time(),
+                    'status' => '0',
+                );
+            }else{
+                $data = array(
+                    'name' => input('post.name'),
+                    'sort' => input('post.sort'),
+                    'detail' => input('post.detail'),
+                    'add_time' => time(),
+                    'update_time' => time(),
+                    'status' => input('post.status'),
+                );
+            }
+
+            $result = model('Recruit')->addRecruit($data);
+            if ($result){
+                $this->success(lang('add_succ'), url('Recruit/index'));
+            }
+            $this->error(lang('add_fail'));
+        } else {
+            $recruit = array('status'=>1);
+            $this->assign('recruit', $recruit);
+            $this->setAdminCurItem('add');
+            return $this->fetch('form');
+        }
+    }
+
+    /**
+     * ÐÞ¸ÄÕÐÆ¸Ö°Î»
+     * @return mixed
+     */
+    public function edit()
+    {
+        $allpower = $this->qxhans();
+        $this->assign('allpower',$allpower);
+        $id = input('param.id');
+        if ($id <= 0) {
+            $this->error('ϵͳ´íÎó');
+        }
+        $condition['id'] = $id;
+        if (request()->isPost()) {
+            $data = array(
+                'name' => input('post.name'),
+                'sort' => input('post.sort'),
+                'detail' => input('post.detail'),
+                'update_time' => time(),
+                'status' => input('post.status'),
+            );
+
+            $result = model('Recruit')->edit(['id' => $id], $data);
+            if ($result >= 0) {
+                $this->success(lang('edit_succ'), 'Recruit/index');
+            } else {
+                $this->error(lang('edit_fail'));
+            }
+        } else {
+
+            $recruit = model('Recruit')->getOneRecruit(['id' => $id]);
+            $this->assign('recruit', $recruit);
+            $this->setAdminCurItem('edit');
+            return $this->fetch('form');
+        }
+    }
+
+
+    /**
+     * ɾ³ýÕÐÆ¸Ö°Î»
+     * @return mixed
+     */
+    function del()
+    {
+        $id = intval(input('param.id'));
+        if ($id) {
+            $condition['id'] = $id;
+            $result = model('Recruit')->deleteRecruit($condition);
+            if ($result) {
+                ds_json_encode(10000, lang('del_succ'));
+            } else {
+                ds_json_encode(10001, lang('del_fail'));
+            }
+        } else {
+            ds_json_encode(10001, lang('param_error'));
+        }
+    }
+}

+ 1 - 0
application/admin/lang/zh-cn.php

@@ -105,6 +105,7 @@ $lang['ds_admin_dlgroup'] = '权限删除';
 $lang['ds_content_manage'] = '内容管理';
 $lang['ds_leaderteam'] = '领导团队';
 $lang['ds_ourteam'] = '我们的团队';
+$lang['ds_recruit'] = '招聘岗位';
 $lang['ds_addcolumn'] = '栏目添加';
 $lang['ds_edcolumn'] = '栏目编辑';
 $lang['ds_dlcolumn'] = '栏目删除';

+ 127 - 0
application/admin/view/recruit/form.html

@@ -0,0 +1,127 @@
+d{extend name="layout:home" /}
+
+{block name="container"}
+<form class="layui-form" method="post" enctype="multipart/form-data" >
+    <div class="layui-tab layui-tab-card">
+        {include file="layout/admin_items" /}
+        <div class="layui-tab-content page-tab-content">
+            <div class="layui-tab-item layui-show ">
+
+                <div class="layui-collapse">
+                    <div class="layui-colla-item">
+                        <h2 class="layui-colla-title">基本设置</h2>
+                        <div class="layui-colla-content layui-show">
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">招聘职位</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="name" id="name" value="{$recruit.name|default=''}" lay-verify="name" autocomplete="off" placeholder="{$Think.lang.ds_please_enter}招聘职位" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">详情</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="detail" id="detail" value="{$recruit.detail|default=''}" lay-verify="detail" autocomplete="off" placeholder="{$Think.lang.ds_please_enter}详情" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">排序</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="sort" id="sort" value="{$recruit.sort|default=''}" lay-verify="sort" autocomplete="off" placeholder="{$Think.lang.ds_please_enter}排序" required />
+                                </div>
+                            </div>
+
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">状态</label>
+                                <div class="layui-input-inline">
+                                    <input type="checkbox" name="status" lay-skin="switch" lay-text="发布|撤销" value="1" {if condition="$recruit.status eq '1'"}checked{/if}>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+
+                </div>
+
+                <div class="layui-form-item mt20">
+                    <div class="layui-input-inline">
+                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="{:lang('ds_submit')}" />
+                        <a class="layui-btn layui-btn-sm lay-btn-diy" href="javascript:history.go(-1)" style="background-color:#1E9FFF;height: 38px;line-height: 38px;padding: 0 18px;">返回</a>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</form>
+<script>
+    layui.use('form', function () {
+        var form = layui.form;
+    });
+    layui.use('element', function () {
+        var element = layui.element;
+    });
+    layui.use('laydate', function(){
+        var laydate = layui.laydate;
+        laydate.render({
+            elem: '#product_addtime'
+        });
+    });
+
+    function add_uploadedfile(file_data)
+    {
+        var newImg = '<li id="' + file_data.file_id + '"><img src="' + file_data.file_url + '"/><i class="delect layui-icon" title="插入编辑器" onclick="insert_editor(\''+file_data.file_url+'\')">&#xe654;</i><i class="insert layui-icon" title="删除图片" onclick="del_productpic(' + file_data.file_id + ')">&#xe640;</i></li>'
+        $('.selected_pic ul').prepend(newImg);
+    }
+
+
+    /**
+     * 插入编辑器
+     */
+    function insert_editor(file_path){
+        ue.execCommand('insertimage', {src:file_path});
+    }
+
+    function del_productpic(file_id)
+    {
+        layer.open({
+            content: '{$Think.lang.ds_confirm_cancel}',
+            yes: function(index, layero){
+                $.getJSON("{:url('pic/del')}",{file_id: + file_id,pic_type:'product'}, function(result){
+                    if(result){
+                        $('#' + file_id).remove();
+                        layer.msg('{$Think.lang.del_succ}');
+                        layer.close(index);
+                        return;
+                    }else{
+                        layer.msg('{$Think.lang.del_fail}');
+                        layer.close(index);
+                        return;
+                    }
+                });
+            }
+        });
+    }
+</script>
+<script type="text/javascript">
+    $("input#image").change(function () {
+        //console.log($(this).val());
+        if($(this).val() !=''){
+            $("form#upForm").ajaxSubmit({
+                url:"imgUp.php",
+                type:"post",
+                dataType:"json",
+                data:$(this).serialize(),
+                success:function (backData) {
+                    var $path=backData.uploaded_path;
+                    //console.log(backData);
+                    $("div.imgUp").css("backgroundImage","url("+$path+")");
+
+                },
+                error:function (e) {
+                    console.log(e);
+                }
+            })
+        }
+    })
+</script>
+{/block}
+
+

+ 58 - 0
application/admin/view/recruit/index.html

@@ -0,0 +1,58 @@
+{extend name="layout:home" /}
+{block name="container"}
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="add">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="100">
+                <col width="200">
+                <col width="200">
+                <col width="100">
+                <col width="200">
+                <col width="80">
+                <col width="240">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>招聘岗位</th>
+                <th>详情</th>
+                <th>排序</th>
+                <th>修改时间</th>
+                <th>状态</th>
+                <th>{$Think.lang.ds_operation}</th>
+            </tr>
+            </thead>
+            <tbody>
+            {volist name="recruit_list" id="recruit" key="kk"}
+            <tr>
+                <td>{$recruit.id}</td>
+                <td>{$recruit.name}</td>
+                <td>{$recruit.detail}</td>
+                <td>{$recruit.sort}</td>
+                <td>{$recruit.update_time}</td>
+                <td>{if $recruit.status==1}发布{else}撤销{/if}</td>
+                <td>
+                    <a href="{:url('edit',['id'=>$recruit.id])}" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i>{$Think.lang.ds_edit}</a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('{:url('del',['id'=>$recruit.id])}','{$Think.lang.ds_confirm_cancel}')"><i class="layui-icon layui-icon-delete"></i>{$Think.lang.ds_del}</a>
+                </td>
+            </tr>
+            {/volist}
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="{$Think.ADMIN_SITE_ROOT}/js/jquery.edit.js"></script>
+{/block}

+ 70 - 0
application/common/model/Recruit.php

@@ -0,0 +1,70 @@
+<?php
+
+namespace app\common\model;
+
+use think\Model;
+
+class Recruit extends Model
+{
+    public $page_info;
+
+    /**
+     * 获取单个招聘岗位
+     */
+    public function getOneRecruit($condition, $field = '*')
+    {
+        return db('recruit')->field($field)->where($condition)->find();
+    }
+
+
+
+    /**
+     * 招聘岗位列表
+     */
+    public function getRecruit($condition, $field = '*', $page = 0, $order = 'sort', $limit = '')
+    {
+        if ($limit) {
+            return db('recruit')->where($condition)->field($field)->order($order)->page($page)->limit($limit)->select();
+        } else {
+            $res = db('recruit')->where($condition)->field($field)->order($order)->paginate($page);
+            $this->page_info = $res;
+            return $res->items();
+        }
+    }
+    /**
+     * 新增招聘岗位
+     */
+    public function addRecruit($param)
+    {
+        return db('recruit')->insertGetId($param);
+    }
+
+    /**
+     * 修改招聘岗位
+     */
+    public function edit($condition, $update)
+    {
+        return db('recruit')->where($condition)->update($update);
+    }
+
+    /**
+     * 删除招聘岗位
+     * @param unknown $condition
+     * @return boolean
+     */
+    public function deleteRecruit($condition)
+    {
+        $recruit_array = $this->getRecruit($condition, 'id');
+        $id_array = array();
+        foreach ($recruit_array as $value) {
+            $id_array[] = $value['id'];
+            // @unlink(BASE_UPLOAD_PATH . DS . ATTACH_PRODUCT . DS . $value['product_img']);
+        }
+        return db('recruit')->where(array('id' => array('in', $id_array)))->delete();
+    }
+
+
+
+}
+
+?>

+ 167 - 0
runtime/temp/08bccc5111086c13d37dc7702e302881.php

@@ -0,0 +1,167 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\recruit\form.html";i:1557973995;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<form class="layui-form" method="post" enctype="multipart/form-data" >
+    <div class="layui-tab layui-tab-card">
+        <?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>
+        <div class="layui-tab-content page-tab-content">
+            <div class="layui-tab-item layui-show ">
+
+                <div class="layui-collapse">
+                    <div class="layui-colla-item">
+                        <h2 class="layui-colla-title">基本设置</h2>
+                        <div class="layui-colla-content layui-show">
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">招聘职位</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="name" id="name" value="<?php echo (isset($recruit['name']) && ($recruit['name'] !== '')?$recruit['name']:''); ?>" lay-verify="name" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>招聘职位" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">详情</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="detail" id="detail" value="<?php echo (isset($recruit['detail']) && ($recruit['detail'] !== '')?$recruit['detail']:''); ?>" lay-verify="detail" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>详情" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">排序</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="sort" id="sort" value="<?php echo (isset($recruit['sort']) && ($recruit['sort'] !== '')?$recruit['sort']:''); ?>" lay-verify="sort" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                                </div>
+                            </div>
+
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">状态</label>
+                                <div class="layui-input-inline">
+                                    <input type="checkbox" name="status" lay-skin="switch" lay-text="发布|撤销" value="1" <?php if($recruit['status'] == '1'): ?>checked<?php endif; ?>>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+
+                </div>
+
+                <div class="layui-form-item mt20">
+                    <div class="layui-input-inline">
+                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_submit'); ?>" />
+                        <a class="layui-btn layui-btn-sm lay-btn-diy" href="javascript:history.go(-1)" style="background-color:#1E9FFF;height: 38px;line-height: 38px;padding: 0 18px;">返回</a>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</form>
+<script>
+    layui.use('form', function () {
+        var form = layui.form;
+    });
+    layui.use('element', function () {
+        var element = layui.element;
+    });
+    layui.use('laydate', function(){
+        var laydate = layui.laydate;
+        laydate.render({
+            elem: '#product_addtime'
+        });
+    });
+
+    function add_uploadedfile(file_data)
+    {
+        var newImg = '<li id="' + file_data.file_id + '"><img src="' + file_data.file_url + '"/><i class="delect layui-icon" title="插入编辑器" onclick="insert_editor(\''+file_data.file_url+'\')">&#xe654;</i><i class="insert layui-icon" title="删除图片" onclick="del_productpic(' + file_data.file_id + ')">&#xe640;</i></li>'
+        $('.selected_pic ul').prepend(newImg);
+    }
+
+
+    /**
+     * 插入编辑器
+     */
+    function insert_editor(file_path){
+        ue.execCommand('insertimage', {src:file_path});
+    }
+
+    function del_productpic(file_id)
+    {
+        layer.open({
+            content: '<?php echo \think\Lang::get('ds_confirm_cancel'); ?>',
+            yes: function(index, layero){
+                $.getJSON("<?php echo url('pic/del'); ?>",{file_id: + file_id,pic_type:'product'}, function(result){
+                    if(result){
+                        $('#' + file_id).remove();
+                        layer.msg('<?php echo \think\Lang::get('del_succ'); ?>');
+                        layer.close(index);
+                        return;
+                    }else{
+                        layer.msg('<?php echo \think\Lang::get('del_fail'); ?>');
+                        layer.close(index);
+                        return;
+                    }
+                });
+            }
+        });
+    }
+</script>
+<script type="text/javascript">
+    $("input#image").change(function () {
+        //console.log($(this).val());
+        if($(this).val() !=''){
+            $("form#upForm").ajaxSubmit({
+                url:"imgUp.php",
+                type:"post",
+                dataType:"json",
+                data:$(this).serialize(),
+                success:function (backData) {
+                    var $path=backData.uploaded_path;
+                    //console.log(backData);
+                    $("div.imgUp").css("backgroundImage","url("+$path+")");
+
+                },
+                error:function (e) {
+                    console.log(e);
+                }
+            })
+        }
+    })
+</script>
+
+    </body>
+</html>
+
+
+

+ 54 - 0
runtime/temp/1753d39a9ecf3e0d40c013bca4f6ef24.php

@@ -0,0 +1,54 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:85:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\login\index.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <title>安全猫官网</title>
+    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+    <!-- Bootstrap 3.3.7 -->
+    <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+    <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+    <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+    <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+    <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/font-awesome/css/font-awesome.min.css">
+    <script type="text/javascript">
+        var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+        var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+        var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+        var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+        var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+    </script>
+</head>
+<body style="background-image:url(<?php echo ADMIN_SITE_ROOT; ?>/wallpage/bg_<?php echo rand(0,8)?>.jpg);background-size: cover;">
+<div class="login">
+    <div class="login_body">
+        <div class="login_header">
+            <img style="margin: 0px auto; display: block; margin-bottom: 10px;" src="<?php echo ADMIN_SITE_ROOT; ?>/images/logo.png"/>
+        </div>
+        <div class="login_content">
+            <form method="post">
+                <div class="form-group">
+                    <input type="text" name="admin_name" placeholder="<?php echo lang('login_admin_name'); ?>" required class="text">
+                </div>
+                <div class="form-group">
+                    <input type="password" name="admin_password" placeholder="<?php echo lang('login_admin_password'); ?>" required class="text">
+                </div>
+                <div class="form-group">
+                    <input type="text" name="captcha" placeholder="<?php echo lang('login_captcha'); ?>" required class="text" style="width:60%;float:left;">
+                    <img src="<?php echo captcha_src(); ?>" style="width:30%;height:38px;" id="change_captcha"/>
+                </div>
+                <div class="form-group">
+                    <input type="submit" class="layui-btn" value="<?php echo lang('login_sumbit'); ?>" lay-submit lay-filter="login"/>
+                </div>
+            </form>
+        </div>
+    </div>
+</div>
+<script>
+    $('#change_captcha').click(function () {
+        $(this).attr('src', '<?php echo captcha_src(); ?>?'+(new Date().getTime()));
+    });
+</script>
+</body>
+</html>

+ 116 - 0
runtime/temp/1c9c0105fce52cca48a9090cf1ab68a4.php

@@ -0,0 +1,116 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:86:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\wlcome\index.html";i:1557480234;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab-content page-tab-content">
+    <h1><?php echo \think\Lang::get('wel_version_info'); ?></h1>
+    <table class="layui-table lay-even">
+        <colgroup>
+            <col width="300">
+            <col width="530">
+        </colgroup>
+        <tbody>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_version'); ?></td>
+            <td><?php echo $statistics['version']; ?></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_install_date'); ?></td>
+            <td><?php if(!(empty($statistics['setup_date']) || (($statistics['setup_date'] instanceof \think\Collection || $statistics['setup_date'] instanceof \think\Paginator ) && $statistics['setup_date']->isEmpty()))): ?>$statistics['setup_date']<?php else: ?><?php echo \think\Lang::get('temporary_installation'); endif; ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_program_development'); ?></td>
+            <td><?php echo \think\Lang::get('wel_deshangwangluo'); ?></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_all_right_reserved'); ?></td>
+            <td><?php echo \think\Lang::get('wel_piracy_must_be_studied'); ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_aboutus_website'); ?></td>
+            <td><a href="http://www.csdeshang.com" target="_blank"><?php echo \think\Lang::get('aboutus_website'); ?></a></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_aboutus_bbs'); ?></td>
+            <td><a href="http://bbs.csdeshang.com" target="_blank"><?php echo \think\Lang::get('wel_communication_bbs'); ?></a></td>
+        </tr>
+        </tbody>
+    </table>
+
+    <h1><?php echo \think\Lang::get('wel_sys_info'); ?></h1>
+    <table class="layui-table lay-even">
+        <colgroup>
+            <col width="300">
+            <col width="530">
+        </colgroup>
+        <tbody>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_thinkphp_version'); ?></td>
+            <td><?php echo THINK_VERSION; ?></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_class_library_file_suffix'); ?></td>
+            <td><?php echo EXT; ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_server_os'); ?></td>
+            <td><?php echo $statistics['os']; ?></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_server_domain_ip'); ?></td>
+            <td><?php echo $statistics['domain']; ?> [ <?php echo $statistics['ip']; ?> ]</td>
+        </tr>
+        <tr>
+            <td class="gray_bg">WEB <?php echo \think\Lang::get('wel_server'); ?></td>
+            <td><?php echo $statistics['web_server']; ?></td>
+            <td class="gray_bg">PHP <?php echo \think\Lang::get('wel_version'); ?></td>
+            <td><?php echo $statistics['php_version']; ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg">MYSQL <?php echo \think\Lang::get('wel_version'); ?></td>
+            <td><?php echo $statistics['sql_version']; ?></td>
+            <td class="gray_bg">GD <?php echo \think\Lang::get('wel_version'); ?></td>
+            <td><?php echo $statistics['gdinfo']; ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_file_uplode_limit'); ?></td>
+            <td><?php echo $statistics['fileupload']; ?></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_max_occupied_memory'); ?></td>
+            <td><?php echo $statistics['memory_limit']; ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_max_ex_time'); ?></td>
+            <td><?php echo $statistics['max_ex_time']; ?></td>
+            <td class="gray_bg"><?php echo \think\Lang::get('wel_safe_mode'); ?></td>
+            <td><?php echo $statistics['safe_mode']; ?></td>
+        </tr>
+        <tr>
+            <td class="gray_bg">Zlib <?php echo \think\Lang::get('wel_support'); ?></td>
+            <td><?php echo $statistics['zlib']; ?></td>
+            <td class="gray_bg">Curl <?php echo \think\Lang::get('wel_support'); ?></td>
+            <td><?php echo $statistics['curl']; ?></td>
+        </tr>
+        </tbody>
+    </table>
+</div>
+
+
+    </body>
+</html>
+
+
+

+ 90 - 0
runtime/temp/27df9d7313ac605d5735d96d4e1880db.php

@@ -0,0 +1,90 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:96:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\development_case\index.html";i:1557892080;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="add">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="100">
+                <col width="200">
+                <col width="100">
+                <col width="200">
+                <col width="200">
+                <col width="80">
+                <col width="240">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>案例名称</th>
+                <th>排序</th>
+                <th>分类</th>
+                <th>修改时间</th>
+                <th>状态</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if(is_array($case_list) || $case_list instanceof \think\Collection || $case_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $case_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$case): $mod = ($kk % 2 );++$kk;?>
+            <tr>
+                <td><?php echo $case['id']; ?></td>
+                <td><?php echo $case['name']; ?></td>
+                <td><?php echo $case['sort']; ?></td>
+                <td><?php echo $case['type']; ?></td>
+                <td><?php echo $case['update_time']; ?></td>
+                <td><?php if($case['status']==1): ?>展示<?php else: ?>未展示<?php endif; ?></td>
+                <td>
+                    <!--<a href="<?php echo url('detail',['id'=>$case['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-detail"></i><?php echo \think\Lang::get('ds_detail'); ?></a>-->
+                    <a href="<?php echo url('edit',['id'=>$case['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$case['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; ?>
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
+
+    </body>
+</html>
+
+
+

+ 121 - 0
runtime/temp/2cbc0981aaf571856c9e223207ca2009.php

@@ -0,0 +1,121 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\config\index.html";i:1557903225;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<form class="layui-form layui-form-pane" method="post">
+    <div class="layui-tab layui-tab-card">
+        <?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>
+        <div class="layui-tab-content page-tab-content">
+            <div class="layui-tab-item layui-show ">
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('cache_open'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="cache_open" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['cache_open'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('allowed_visitors_consult'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="guest_comment" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['guest_comment'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <!-- //////////////////// -->
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('words_open'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="words_open" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['words_open'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('img_open'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="img_open" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['img_open'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('voice_open'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="voice_open" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['voice_open'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('video_open'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="video_open" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['video_open'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('look_open'); ?></label>
+                    <div class="layui-input-block">
+                        <input type="checkbox" name="look_open" lay-skin="switch" lay-text="是|否" value="1" <?php if($list_config['look_open'] == '1'): ?>checked<?php endif; ?>>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <div class="layui-input-block">
+                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_submit'); ?>"/>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</form>
+<script>
+    layui.use('form', function () {
+        var form = layui.form;
+    });
+</script>
+<script>
+    //Demo
+    layui.use('form', function () {
+        var form = layui.form;
+
+        //监听提交
+        form.on('submit(formDemo)', function (data) {
+            layer.msg(JSON.stringify(data.field));
+            return false;
+        });
+    });
+</script>
+
+
+    </body>
+</html>
+
+
+

+ 90 - 0
runtime/temp/37180ffb2a7285c4aabd514cf427e48a.php

@@ -0,0 +1,90 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:98:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\development_server\index.html";i:1557892080;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="add">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="100">
+                <col width="200">
+                <col width="100">
+                <col width="200">
+                <col width="200">
+                <col width="80">
+                <col width="240">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>名称</th>
+                <th>排序</th>
+                <th>详情</th>
+                <th>添加时间</th>
+                <th>状态</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if(is_array($server_list) || $server_list instanceof \think\Collection || $server_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $server_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$server): $mod = ($kk % 2 );++$kk;?>
+            <tr>
+                <td><?php echo $server['id']; ?></td>
+                <td><?php echo $server['name']; ?></td>
+                <td><?php echo $server['sort']; ?></td>
+                <td><?php echo $server['detail']; ?></td>
+                <td><?php echo $server['add_time']; ?></td>
+                <td><?php if($server['status']==1): ?>开启<?php else: ?>关闭<?php endif; ?></td>
+                <td>
+                    <!--<a href="<?php echo url('detail',['id'=>$server['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-detail"></i><?php echo \think\Lang::get('ds_detail'); ?></a>-->
+                    <a href="<?php echo url('edit',['id'=>$server['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$server['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; ?>
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
+
+    </body>
+</html>
+
+
+

+ 124 - 0
runtime/temp/3973636c15376b7fbab173254f34d419.php

@@ -0,0 +1,124 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:87:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\contact\index.html";i:1557903312;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<form class="layui-form layui-form-pane" method="post">
+    <div class="layui-tab layui-tab-card">
+        <!--<?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>-->
+        <ul class="layui-tab-title">
+            <li>
+                <a href="index">联系我们</a>
+            </li>
+            <div class="tool-btns">
+                <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+            </div>
+        </ul>
+        <div class="layui-tab-content page-tab-content">
+            <div class="layui-tab-item layui-show ">
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('address'); ?></label>
+                    <div class="layui-input-inline">
+                        <input type="text" class="layui-input field-name" name="address" id="address" value="<?php echo (isset($contact['address']) && ($contact['address'] !== '')?$contact['address']:''); ?>" lay-verify="address" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('phone'); ?></label>
+                    <div class="layui-input-inline">
+                        <input type="text" class="layui-input field-name" name="phone" id="phone" value="<?php echo (isset($contact['phone']) && ($contact['phone'] !== '')?$contact['phone']:''); ?>" lay-verify="phone" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                    </div>
+                </div>
+                <!-- //////////////////// -->
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('email'); ?></label>
+                    <div class="layui-input-inline">
+                        <input type="text" class="layui-input field-name" name="email" id="email" value="<?php echo (isset($contact['email']) && ($contact['email'] !== '')?$contact['email']:''); ?>" lay-verify="email" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('fax'); ?></label>
+                    <div class="layui-input-inline">
+                        <input type="text" class="layui-input field-name" name="fax" id="fax" value="<?php echo (isset($contact['fax']) && ($contact['fax'] !== '')?$contact['fax']:''); ?>" lay-verify="fax" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('detail'); ?></label>
+                    <div class="layui-input-inline">
+                        <!--<input type="text" class="layui-input field-name" name="detail" id="detail" value="<?php echo (isset($contact['detail']) && ($contact['detail'] !== '')?$contact['detail']:''); ?>" lay-verify="detail" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />-->
+                        <textarea name="detail" id="" cols="35" rows="50"  style="resize:none" ><?php echo (isset($contact['detail']) && ($contact['detail'] !== '')?$contact['detail']:''); ?></textarea>
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <label class="layui-form-label"><?php echo \think\Lang::get('update_time'); ?></label>
+                    <div class="layui-input-inline">
+                        <input type="text" class="layui-input field-name" name="update_time" id="update_time" value="<?php echo (isset($contact['update_time']) && ($contact['update_time'] !== '')?$contact['update_time']:''); ?>" lay-verify="update_time" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                    </div>
+                </div>
+                <div class="layui-form-item">
+                    <div class="layui-input-block">
+                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_submit'); ?>"/>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</form>
+<script>
+    layui.use('form', function () {
+        var form = layui.form;
+    });
+</script>
+<script>
+    //Demo
+    layui.use('form', function () {
+        var form = layui.form;
+
+        //监听提交
+        form.on('submit(formDemo)', function (data) {
+            layer.msg(JSON.stringify(data.field));
+            return false;
+        });
+    });
+</script>
+
+
+    </body>
+</html>
+
+
+

+ 138 - 0
runtime/temp/426e177d9c7f1e8f31071124e7b87290.php

@@ -0,0 +1,138 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:85:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\admin\index.html";i:1557480234;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>
+    <div class="layui-tab-content page-tab-content">
+		<!-- 搜索框 -->
+		<div class="search-form">
+		<form action="" method="post" enctype="multipart/form-data" >
+			<div class="layui-form-item">
+				<div class="layui-inline">
+					<input type="text" name="title"  placeholder="输入管理员名称" autocomplete="off" class="layui-input">
+				</div>
+				<div class="layui-inline">
+					<select name="admingroupid" lay-verify="" class="layui-select layui-unselect layui-form-select">
+						<option value="">管理组</option>
+						<?php if(is_array($admin_group) || $admin_group instanceof \think\Collection || $admin_group instanceof \think\Paginator): if( count($admin_group)==0 ) : echo "" ;else: foreach($admin_group as $key=>$v): ?>
+							<option value="<?php echo $v['group_id']; ?>"><?php echo $v['group_name']; ?></option>
+						<?php endforeach; endif; else: echo "" ;endif; ?>
+					</select>
+				</div>
+				<div class="layui-inline">
+					<button type="submit" class="layui-btn search-subBtn">搜索</button>
+				</div>
+				<div class="layui-inline right-per" style="float: right;">
+					<div class="button-group">
+						<button type="button" class="layui-btn"><i class="layui-icon layui-icon-table"></i><span>导出数据</span></button>
+					</div>
+				</div>
+			</div>
+			
+		</form>
+		</div>
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="150">
+                <col width="200">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th><?php echo \think\Lang::get('admin_name'); ?></th>
+                <th><?php echo \think\Lang::get('admin_lgoin_num'); ?></th>
+                <th><?php echo \think\Lang::get('admin_is_super'); ?></th>
+                <th><?php echo \think\Lang::get('admin_login_time'); ?></th>
+                <th><?php echo \think\Lang::get('admin_add_time'); ?></th>
+                <th>状态</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if($admin_list): if(is_array($admin_list) || $admin_list instanceof \think\Collection || $admin_list instanceof \think\Paginator): $i = 0; $__LIST__ = $admin_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$admin): $mod = ($i % 2 );++$i;?>
+            <tr>
+                <td><?php echo $admin['admin_name']; ?></td>
+                <td><?php echo $admin['admin_login_num']; ?></td>
+                <td><?php echo $admin['group_name']; ?></td>
+                <td><?php if($admin['admin_login_time'] == 0): ?><?php echo \think\Lang::get('ds_no_login'); else: ?><?php echo date('Y-m-d H:i:s',$admin['admin_login_time']); endif; ?>
+                </td>
+                <td><?php if($admin['admin_add_time'] == 0): ?><?php echo \think\Lang::get('ds_no_login'); else: ?><?php echo date('Y-m-d H:i:s',$admin['admin_add_time']); endif; ?></td>
+                <td><?php if($admin['admin_status'] == 0): ?>停用<?php else: ?>启用<?php endif; ?></td>
+                <td>
+                    <?php if($admin['admin_id'] == 1): ?>
+                    <?php echo \think\Lang::get('admin_non_editable'); else: if(array_intersect(explode(" ",str_replace("/", ".","admin/edit")),$allpower)){ ?>
+                        <a href="javascript:dsLayerOpen('<?php echo url('Admin/edit',['admin_id'=>$admin['admin_id']]); ?>','<?php echo \think\Lang::get('ds_edit'); ?>-<?php echo $admin['admin_name']; ?>')" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <?php } if(array_intersect(explode(" ",str_replace("/", ".","admin/del")),$allpower)){ ?>
+                        <a href="javascript:dsLayerConfirm('<?php echo url('admin/del',['admin_id'=>$admin['admin_id']]); ?>','<?php echo \think\Lang::get('admin_confirm_del'); ?>')" class="layui-btn layui-btn-xs layui-btn-danger"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                    <?php } endif; ?>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; else: ?>
+            <td>无数据</td>
+            <?php endif; ?>
+            </tbody>
+        </table>
+        <?php echo $show_page; ?>
+    </div>
+</div>
+<script type="text/javascript">
+	layui.use('laydate', function(){
+	  var laydate = layui.laydate;
+	  
+	  //执行一个laydate实例
+	  laydate.render({
+		elem: '#creatTime' //指定元素
+	  });
+		laydate.render({
+			elem:'#timeRang',
+			range:true,
+			format: 'yyyy/MM/dd',
+			done: function(value, date){
+				/* 时间选择完成后的回调 */
+			}
+		})
+	});
+</script>
+
+    </body>
+</html>
+
+
+

+ 139 - 0
runtime/temp/5b4e6916dcb7713b8c85a074c4d04c3c.php

@@ -0,0 +1,139 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:87:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\head_nav\form.html";i:1557742416;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<form class="layui-form" method="post" enctype="multipart/form-data" >
+    <div class="layui-tab layui-tab-card">
+        <?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>
+        <div class="layui-tab-content page-tab-content">
+            <div class="layui-tab-item layui-show ">
+
+                <div class="layui-collapse">
+                    <div class="layui-colla-item">
+                        <h2 class="layui-colla-title">基本设置</h2>
+                        <div class="layui-colla-content layui-show">
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">导航栏名称</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="nav_name" id="nav_name" value="<?php echo (isset($headnav['nav_name']) && ($headnav['nav_name'] !== '')?$headnav['nav_name']:''); ?>" lay-verify="nav_name" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>导航栏名称" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">排序</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="nav_sort" id="nav_sort" value="<?php echo (isset($headnav['nav_sort']) && ($headnav['nav_sort'] !== '')?$headnav['nav_sort']:''); ?>" lay-verify="nav_sort" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                                </div>
+                            </div>
+
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">状态</label>
+                                <div class="layui-input-inline">
+                                    <input type="checkbox" name="status" lay-skin="switch" lay-text="<?php echo \think\Lang::get('ds_yes'); ?>|<?php echo \think\Lang::get('ds_no'); ?>" value="1" <?php if($headnav['status'] == '1'): ?>checked<?php endif; ?>>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+
+                </div>
+
+                <div class="layui-form-item mt20">
+                    <div class="layui-input-inline">
+                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_submit'); ?>" />
+                        <a class="layui-btn layui-btn-sm lay-btn-diy" href="javascript:history.go(-1)" style="background-color:#1E9FFF;height: 38px;line-height: 38px;padding: 0 18px;">返回</a>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</form>
+<script>
+    layui.use('form', function () {
+        var form = layui.form;
+    });
+    layui.use('element', function () {
+        var element = layui.element;
+    });
+    layui.use('laydate', function(){
+        var laydate = layui.laydate;
+        laydate.render({
+            elem: '#product_addtime'
+        });
+    });
+
+    function add_uploadedfile(file_data)
+    {
+        var newImg = '<li id="' + file_data.file_id + '"><img src="' + file_data.file_url + '"/><i class="delect layui-icon" title="插入编辑器" onclick="insert_editor(\''+file_data.file_url+'\')">&#xe654;</i><i class="insert layui-icon" title="删除图片" onclick="del_productpic(' + file_data.file_id + ')">&#xe640;</i></li>'
+        $('.selected_pic ul').prepend(newImg);
+    }
+
+
+    /**
+     * 插入编辑器
+     */
+    function insert_editor(file_path){
+        ue.execCommand('insertimage', {src:file_path});
+    }
+
+    function del_productpic(file_id)
+    {
+        layer.open({
+            content: '<?php echo \think\Lang::get('ds_confirm_cancel'); ?>',
+            yes: function(index, layero){
+                $.getJSON("<?php echo url('pic/del'); ?>",{file_id: + file_id,pic_type:'product'}, function(result){
+                    if(result){
+                        $('#' + file_id).remove();
+                        layer.msg('<?php echo \think\Lang::get('del_succ'); ?>');
+                        layer.close(index);
+                        return;
+                    }else{
+                        layer.msg('<?php echo \think\Lang::get('del_fail'); ?>');
+                        layer.close(index);
+                        return;
+                    }
+                });
+            }
+        });
+    }
+</script>
+
+    </body>
+</html>
+
+
+

+ 95 - 0
runtime/temp/62c3b05c6ca4b70b3dcc76e40c09e0c4.php

@@ -0,0 +1,95 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:91:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\leader_team\index.html";i:1557908199;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="add">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="50">
+                <col width="60">
+                <col width="60">
+                <col width="60">
+                <col width="60">
+                <col width="200">
+                <col width="180">
+                <col width="100">
+                <col width="160">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>姓名</th>
+                <th>性别</th>
+                <th>年龄</th>
+                <th>职位</th>
+                <th>简介</th>
+                <th>修改时间</th>
+                <th>图片</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if(is_array($leaderteam_list) || $leaderteam_list instanceof \think\Collection || $leaderteam_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $leaderteam_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$leaderteam): $mod = ($kk % 2 );++$kk;?>
+            <tr>
+                <td><?php echo $leaderteam['id']; ?></td>
+                <td><?php echo $leaderteam['name_ch']; ?></td>
+                <td><?php echo $leaderteam['gender']; ?></td>
+                <td><?php echo $leaderteam['age']; ?></td>
+                <td><?php echo $leaderteam['position']; ?></td>
+                <td><?php echo $leaderteam['info']; ?></td>
+                <td><?php echo $leaderteam['update_time']; ?></td>
+                <td><img src="<?php echo $leaderteam['img_url']; ?>" alt=""></td>
+                <td>
+                    <a href="<?php echo url('edit',['id'=>$leaderteam['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$leaderteam['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; ?>
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
+
+    </body>
+</html>
+
+
+

+ 173 - 0
runtime/temp/6c037d08f8af21716d38360a0b77f321.php

@@ -0,0 +1,173 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:95:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\development_case\form.html";i:1557907421;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<form class="layui-form" method="post" enctype="multipart/form-data" >
+    <div class="layui-tab layui-tab-card">
+        <?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>
+        <div class="layui-tab-content page-tab-content">
+            <div class="layui-tab-item layui-show ">
+
+                <div class="layui-collapse">
+                    <div class="layui-colla-item">
+                        <h2 class="layui-colla-title">基本设置</h2>
+                        <div class="layui-colla-content layui-show">
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">案例名称</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="name" id="name" value="<?php echo (isset($case['name']) && ($case['name'] !== '')?$case['name']:''); ?>" lay-verify="name" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>案例名称" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">图片</label>
+                                <div class="layui-input-inline">
+                                    <input type="file" name="image" />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">分类</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="type" id="type" value="<?php echo (isset($case['type']) && ($case['type'] !== '')?$case['type']:''); ?>" lay-verify="sort" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>分类" required />
+                                </div>
+                            </div>
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">排序</label>
+                                <div class="layui-input-inline">
+                                    <input type="text" class="layui-input field-name" name="sort" id="sort" value="<?php echo (isset($case['sort']) && ($case['sort'] !== '')?$case['sort']:''); ?>" lay-verify="sort" autocomplete="off" placeholder="<?php echo \think\Lang::get('ds_please_enter'); ?>排序" required />
+                                </div>
+                            </div>
+
+                            <div class="layui-form-item">
+                                <label class="layui-form-label">状态</label>
+                                <div class="layui-input-inline">
+                                    <input type="checkbox" name="status" lay-skin="switch" lay-text="<?php echo \think\Lang::get('ds_yes'); ?>|<?php echo \think\Lang::get('ds_no'); ?>" value="1" <?php if($case['status'] == '1'): ?>checked<?php endif; ?>>
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+
+                </div>
+
+                <div class="layui-form-item mt20">
+                    <div class="layui-input-inline">
+                        <input type="submit" class="layui-btn layui-btn-normal" lay-submit value="<?php echo lang('ds_submit'); ?>" />
+                        <a class="layui-btn layui-btn-sm lay-btn-diy" href="javascript:history.go(-1)" style="background-color:#1E9FFF;height: 38px;line-height: 38px;padding: 0 18px;">返回</a>
+                    </div>
+                </div>
+            </div>
+        </div>
+    </div>
+</form>
+<script>
+    layui.use('form', function () {
+        var form = layui.form;
+    });
+    layui.use('element', function () {
+        var element = layui.element;
+    });
+    layui.use('laydate', function(){
+        var laydate = layui.laydate;
+        laydate.render({
+            elem: '#product_addtime'
+        });
+    });
+
+    function add_uploadedfile(file_data)
+    {
+        var newImg = '<li id="' + file_data.file_id + '"><img src="' + file_data.file_url + '"/><i class="delect layui-icon" title="插入编辑器" onclick="insert_editor(\''+file_data.file_url+'\')">&#xe654;</i><i class="insert layui-icon" title="删除图片" onclick="del_productpic(' + file_data.file_id + ')">&#xe640;</i></li>'
+        $('.selected_pic ul').prepend(newImg);
+    }
+
+
+    /**
+     * 插入编辑器
+     */
+    function insert_editor(file_path){
+        ue.execCommand('insertimage', {src:file_path});
+    }
+
+    function del_productpic(file_id)
+    {
+        layer.open({
+            content: '<?php echo \think\Lang::get('ds_confirm_cancel'); ?>',
+            yes: function(index, layero){
+                $.getJSON("<?php echo url('pic/del'); ?>",{file_id: + file_id,pic_type:'product'}, function(result){
+                    if(result){
+                        $('#' + file_id).remove();
+                        layer.msg('<?php echo \think\Lang::get('del_succ'); ?>');
+                        layer.close(index);
+                        return;
+                    }else{
+                        layer.msg('<?php echo \think\Lang::get('del_fail'); ?>');
+                        layer.close(index);
+                        return;
+                    }
+                });
+            }
+        });
+    }
+</script>
+<script type="text/javascript">
+    $("input#image").change(function () {
+        //console.log($(this).val());
+        if($(this).val() !=''){
+            $("form#upForm").ajaxSubmit({
+                url:"imgUp.php",
+                type:"post",
+                dataType:"json",
+                data:$(this).serialize(),
+                success:function (backData) {
+                    var $path=backData.uploaded_path;
+                    //console.log(backData);
+                    $("div.imgUp").css("backgroundImage","url("+$path+")");
+
+                },
+                error:function (e) {
+                    console.log(e);
+                }
+            })
+        }
+    })
+</script>
+
+    </body>
+</html>
+
+
+

+ 86 - 0
runtime/temp/8bcc5c01f80f860ac4e1e2a51c196cc6.php

@@ -0,0 +1,86 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:88:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\our_team\index.html";i:1557910628;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="add">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="100">
+                <col width="200">
+                <col width="200">
+                <col width="200">
+                <col width="100">
+                <col width="200">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>姓名</th>
+                <th>简介</th>
+                <th>修改时间</th>
+                <th>图片</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if(is_array($ourteam_list) || $ourteam_list instanceof \think\Collection || $ourteam_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $ourteam_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ourteam): $mod = ($kk % 2 );++$kk;?>
+            <tr>
+                <td><?php echo $ourteam['id']; ?></td>
+                <td><?php echo $ourteam['name']; ?></td>
+                <td><?php echo $ourteam['info']; ?></td>
+                <td><?php echo $ourteam['update_time']; ?></td>
+                <td><img src="<?php echo $ourteam['img_url']; ?>" alt=""></td>
+                <td>
+                    <a href="<?php echo url('edit',['id'=>$ourteam['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$ourteam['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; ?>
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
+
+    </body>
+</html>
+
+
+

+ 47 - 0
runtime/temp/a110d949b0dc53ec8bd6210a8df6a198.php

@@ -0,0 +1,47 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:66:"C:\phpStudy\PHPTutorial\WWW\aqm-web\thinkphp\tpl\dispatch_jump.tpl";i:1557480235;}*/ ?>
+<!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 http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
+    <title>跳转提示</title>
+    <style type="text/css">
+        *{ padding: 0; margin: 0; }
+        body{ background: #fff; font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif; color: #333; font-size: 16px; }
+        .system-message{ padding: 24px 48px; }
+        .system-message h1{ font-size: 100px; font-weight: normal; line-height: 120px; margin-bottom: 12px; }
+        .system-message .jump{ padding-top: 10px; }
+        .system-message .jump a{ color: #333; }
+        .system-message .success,.system-message .error{ line-height: 1.8em; font-size: 36px; }
+        .system-message .detail{ font-size: 12px; line-height: 20px; margin-top: 12px; display: none; }
+    </style>
+</head>
+<body>
+    <div class="system-message">
+        <?php switch ($code) {case 1:?>
+            <h1>:)</h1>
+            <p class="success"><?php echo(strip_tags($msg));?></p>
+            <?php break;case 0:?>
+            <h1>:(</h1>
+            <p class="error"><?php echo(strip_tags($msg));?></p>
+            <?php break;} ?>
+        <p class="detail"></p>
+        <p class="jump">
+            页面自动 <a id="href" href="<?php echo($url);?>">跳转</a> 等待时间: <b id="wait"><?php echo($wait);?></b>
+        </p>
+    </div>
+    <script type="text/javascript">
+        (function(){
+            var wait = document.getElementById('wait'),
+                href = document.getElementById('href').href;
+            var interval = setInterval(function(){
+                var time = --wait.innerHTML;
+                if(time <= 0) {
+                    location.href = href;
+                    clearInterval(interval);
+                };
+            }, 1000);
+        })();
+    </script>
+</body>
+</html>

+ 87 - 0
runtime/temp/bfa59e1c5138f50307b54b7b66a51308.php

@@ -0,0 +1,87 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:88:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\head_nav\index.html";i:1557738638;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="addHeadNav">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="100">
+                <col width="150">
+                <col width="100">
+                <col width="200">
+                <col width="200">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>导航栏名称</th>
+                <th>排序</th>
+                <th>添加时间</th>
+                <th>修改时间</th>
+                <th>状态</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if(is_array($headnav_list) || $headnav_list instanceof \think\Collection || $headnav_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $headnav_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$headnav): $mod = ($kk % 2 );++$kk;?>
+            <tr>
+                <td><?php echo $headnav['id']; ?></td>
+                <td><?php echo $headnav['nav_name']; ?></td>
+                <td><?php echo $headnav['nav_sort']; ?></td>
+                <td><?php echo $headnav['nav_add_time']; ?></td>
+                <td><?php echo $headnav['nav_update_time']; ?></td>
+                <td><?php if($headnav['status']==1): ?>使用中<?php else: ?>未使用<?php endif; ?></td>
+                <td>
+                    <a href="<?php echo url('edit',['id'=>$headnav['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$headnav['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; ?>
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
+
+    </body>
+</html>
+
+
+

+ 196 - 0
runtime/temp/c19ac99b77135a08e0817e720be4a8c7.php

@@ -0,0 +1,196 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:85:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\index\index.html";i:1557717134;}*/ ?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/html">
+<head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <title>安全猫官网</title>
+    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+    <!-- Bootstrap 3.3.7 -->
+    <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+    <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+    <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+    <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+    <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+    <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+    <script type="text/javascript">
+        var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+        var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+        var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+        var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+        var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+    </script>
+</head>
+<body>
+<style type="text/css">
+    .layui-tab {
+        position: absolute;
+        left: 0;
+        top: 0;
+        height: 100%;
+        width: 100%;
+        z-index: 10;
+        margin: 0;
+        border: none;
+        overflow: hidden;
+    }
+
+    .layui-tab-content {
+        padding: 0;
+        height: 100%;
+    }
+
+    .layui-tab-item {
+        height: 100%;
+    }
+    .treeview .admin-nav-item{
+            color: #a7b1c2 !important;
+            padding-left: 5px;
+    }
+    .treeview .admin-nav-item:hover{
+            color: #fff !important;
+    }
+</style>
+<div class="admincp-header">
+    <div class="logo">
+        <img width="200" src="<?php echo ADMIN_SITE_ROOT; ?>/images/backlogo.png"/>
+    </div>
+    <div class="navbar">
+        <ul class="fr" style="float:right" id="nav">
+            <li>
+                <span><?php echo \think\Lang::get('ds_shalom'); ?>,<?php echo \think\Session::get('admin_name'); ?></span>
+                <dl class="layui-nav-child"> <!-- 二级菜单 -->
+                    <dd><a href="javascript:dsLayerOpen('<?php echo url('Index/modifypw'); ?>','<?php echo \think\Lang::get('ds_change_password'); ?>')"><?php echo \think\Lang::get('ds_change_password'); ?></a></dd>
+                    <dd><a href="<?php echo url('Login/logout'); ?>"><?php echo \think\Lang::get('ds_safe_withdrawing'); ?></a></dd>
+                </dl>
+            </li>
+            <li><a href="javascript:dsLayerConfirm('<?php echo url('Index/clear'); ?>','<?php echo \think\Lang::get('ds_clear_cache_confirm'); ?>')"><?php echo \think\Lang::get('ds_clear_cache'); ?></a></li>
+        </ul>
+    </div>
+</div>
+<div class="admincp-container">
+    <div class="admincp-container-left">
+        <ul class="sidebar-menu" id="gloMenu">
+            <?php if(is_array($menu_list) || $menu_list instanceof \think\Collection || $menu_list instanceof \think\Paginator): if( count($menu_list)==0 ) : echo "" ;else: foreach($menu_list as $fe_menu=>$menu): if(!empty($menu['children'])): ?>
+            <li class="treeview">
+                <div class="title" id="navT"><i class="iconfont icon-<?php echo $fe_menu; ?>"></i><span class="title-txt"> <?php echo $menu['text']; ?></span><span class="layui-nav-more"></span></div>
+                <ul class="treeview-menu" id="navC" style="display:none;">
+                    <?php if(is_array($menu['children']) || $menu['children'] instanceof \think\Collection || $menu['children'] instanceof \think\Paginator): if( count($menu['children'])==0 ) : echo "" ;else: foreach($menu['children'] as $fe_submenu=>$submenu): if(array_intersect(explode("/",substr($submenu['url'],7,-5)),$gupinfo)): ?>
+                        <li><a data-id="<?php echo $fe_menu; ?>-<?php echo $fe_submenu; ?>" href="<?php echo $submenu['url']; ?>" class="admin-nav-item"><?php echo $submenu['text']; ?></a></li>
+                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
+                </ul>
+            </li>
+            <?php else: ?>
+                <li class="treeview">
+                    <div class="title" id="navT"><i class="iconfont icon-<?php echo $fe_menu; ?>"></i><a data-id="<?php echo $fe_menu; ?>" href="<?php echo $menu['url']; ?>" class="admin-nav-item"><?php echo $menu['text']; ?></a></div>
+                </li>
+            <?php endif; endforeach; endif; else: echo "" ;endif; ?>
+        </ul>
+    </div>
+
+    <div class="admincp-container-right">
+        <div class="layui-tab layui-tab-card" lay-filter="dsTab" lay-allowclose="true">
+            <ul class="layui-tab-title">
+                <li class="layui-this" lay-id="0">
+                    <cite><?php echo \think\Lang::get('ds_welcome'); ?></cite>
+                </li>
+            </ul>
+            <div class="layui-tab-content">
+                <div class="layui-tab-item layui-show">
+                    <iframe lay-id="0" src="<?php echo url('Wlcome/index'); ?>" width="100%" height="100%" frameborder="0" scrolling="yes"></iframe>
+                </div>
+            </div>
+        </div>
+    </div>
+    
+</div>
+<script type="text/javascript">
+    var width =document.body.clientWidth;
+    var changesmall =function(){
+        if($(".admincp-container-left").css("width")=="200px"){
+            $(".admincp-container-left").css("width","55px");
+            $("#layout-center").css({"position":"absolute","left":"55px","width":(width-55)+"px"});
+            $(".title").attr('title',$(".title .title-txt").html())
+            $(".title .title-txt").css("display","none");
+            $('.admincp-container-right').css("left","55px");
+        }else{
+            $(".admincp-container-left").css("width","200px");
+            $("#layout-center").css({"position":"absolute","left":"130px","width":(width-130)+"px"});
+            $(".title").attr('title',"")
+            $(".title span").css("display","inline-block");
+            $('.admincp-container-right').css("left","200px");
+        }
+    }
+
+</script>
+<script type="text/javascript">
+    layui.use(['jquery', 'element', 'layer'], function () {
+        var $ = layui.jquery, element = layui.element, layer = layui.layer;
+        $('.layui-tab-content').height($(window).height() - 145);
+        var tab = {
+            add: function (title, url, id) {
+                element.tabAdd('dsTab', {
+                    title: title,
+                    content: '<iframe width="100%" height="100%" lay-id="' + id + '" frameborder="0" src="' + url + '" scrolling="yes" class="x-iframe"></iframe>',
+                    id: id
+                });
+            }, change: function (id) {
+                element.tabChange('dsTab', id);
+            }
+        };
+        $('.admin-nav-item').click(function (event) {
+            var that = $(this);
+            if ($('iframe[src="' + that.attr('href') + '"]')[0]) {
+                tab.change(that.attr('data-id'));
+                event.stopPropagation();
+                return false;
+            }
+            if ($('iframe').length == 20) {
+                layer.msg('最多可打开20个标签页');
+                return false;
+            }
+            that.css({color: '#fff'});
+            tab.add(that.text(), that.attr('href'), that.attr('data-id'));
+            tab.change(that.attr('data-id'));
+            event.stopPropagation();
+            return false;
+        });
+        $(document).on('click', '.layui-tab-close', function () {
+            $('.layui-nav-child a[data-id="' + $(this).parent('li').attr('lay-id') + '"]').css({color: 'rgba(255,255,255,.7)'});
+        });
+    });
+    $('#gloMenu').on('click', '#navT', function () {
+        var parent = $(this).closest('li');
+        var index = parent.index();
+        if (parent.find('#navC').find('li').length) {
+            if (parent.hasClass('open')) {
+                parent.find('#navC').stop(true).slideUp(300, function () {
+                    parent.removeClass('open')
+                });
+            } else {
+                var openLi = $('.sidebar-menu').find('li.open');
+                openLi.removeClass('open').find('#navC').stop(true).slideUp(300);
+                parent.addClass('open').find('#navC').stop(true).slideDown(300);
+            }
+        }
+    })
+    $('#nav').on('click', '#nav1', function () {
+        var parent = $(this).closest('li');
+        var index = parent.index();
+        if (parent.find('#nav2').find('li').length) {
+            if (parent.hasClass('open')) {
+                parent.find('#nav2').stop(true).slideUp(300, function () {
+                    parent.removeClass('open')
+                });
+            } else {
+                var openLi = $('.sidebar-menu').find('li.open');
+                openLi.removeClass('open').find('#nav2').stop(true).slideUp(300);
+                parent.addClass('open').find('#nav2').stop(true).slideDown(300);
+            }
+        }
+    })
+</script>
+</body>
+
+
+</html>

+ 132 - 0
runtime/temp/caa056cf5a7899267d4319c4c315f64c.php

@@ -0,0 +1,132 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:86:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\member\index.html";i:1557480234;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;s:82:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\admin_items.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <?php if($admin_item): ?>
+<ul class="layui-tab-title">
+    <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): if(array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],7,-5))),$allpower) || array_intersect(explode(" ",str_replace("/", ".",substr($item['url'],31,-16))),$allpower)): ?>
+    <li <?php if($item['name'] == $curitem): ?>class="layui-this" <?php endif; ?>>
+    <a href="<?php echo $item['url']; ?>"><?php echo $item['text']; ?></a>
+    <?php endif; ?>
+    </li>
+    <?php endforeach; endif; else: echo "" ;endif; ?>
+    <div class="tool-btns">
+        <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></i></a>
+    </div>
+</ul>
+<?php endif; ?>
+    <div class="layui-tab-content page-tab-content">
+        <!-- 搜索框开始 -->
+        <div class="search-form">
+        <form class="" method="post">
+            <div class="layui-form-item">
+                <div class="layui-inline">
+                    <input type="text" name="title"  placeholder="输入名称或联系人或电话" autocomplete="off" class="layui-input">
+                </div>
+                <div class="layui-inline">
+                    <input type="text" class="layui-input" name="timeRang" id="timeRang" placeholder="选择时间段" style="width: 170px;">
+                </div>
+                <div class="layui-inline">
+                    <button type="submit" class="layui-btn search-subBtn">搜索</button>
+                </div>
+            </div>
+        </form>
+        </div>
+        <!-- 搜索框结束 -->
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="150">
+                <col width="200">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th><?php echo \think\Lang::get('member_name'); ?></th>
+                <th><?php echo \think\Lang::get('member_url'); ?></th>
+                <th><?php echo \think\Lang::get('member_mobile'); ?></th>
+                <th>邮箱</th>
+                <th><?php echo \think\Lang::get('member_contacts'); ?></th>
+                <th><?php echo \think\Lang::get('member_add_time'); ?></th>
+                <th><?php echo \think\Lang::get('member_usetime'); ?></th>
+                <th><?php echo \think\Lang::get('member_validitytime'); ?></th>
+                <th><?php echo \think\Lang::get('member_status'); ?></th>
+                <th>操作</th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if($member_list): if(is_array($member_list) || $member_list instanceof \think\Collection || $member_list instanceof \think\Paginator): $i = 0; $__LIST__ = $member_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$member): $mod = ($i % 2 );++$i;?>
+            <tr>
+                <td><?php echo $member['member_name']; ?></td>
+                <td><?php echo $member['member_url']; ?></td>
+                <td><?php echo $member['member_mobile']; ?></td>
+                <td><?php echo $member['member_mailbox']; ?></td>
+                <td><?php echo $member['member_contacts']; ?></td>
+                <td><?php echo date('Y-m-d H:i:s',$member['member_add_time']); ?></td>
+                <td><?php echo $member['member_usetime']; ?></td>
+                <td><?php echo date('Y-m-d H:i:s',$member['member_validitytime']); ?></td>
+                <td><?php if($member['member_status']==1): ?>通过<?php else: ?>拒绝<?php endif; ?></td>
+                <td>
+                    <?php if(array_intersect(explode(" ",str_replace("/", ".","member/edit")),$allpower)): ?>
+                        <a href="javascript:dsLayerOpen('<?php echo url('Member/edit',['member_id'=>$member['member_id']]); ?>','<?php echo \think\Lang::get('ds_edit'); ?>-<?php echo $member['member_name']; ?>')" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <?php endif; if(array_intersect(explode(" ",str_replace("/", ".","member/del")),$allpower)): ?>
+                        <a href="javascript:dsLayerConfirm('<?php echo url('Member/del',['member_id'=>$member['member_id']]); ?>','<?php echo \think\Lang::get('member_confirm_del'); ?>')" class="layui-btn layui-btn-xs layui-btn-danger"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                    <?php endif; ?>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; else: ?>
+            <td>无数据</td>
+            <?php endif; ?>
+            </tbody>
+        </table>
+        <?php echo $show_page; ?>
+    </div>
+</div>
+<script type="text/javascript">
+    layui.use('laydate', function(){
+      var laydate = layui.laydate;
+      
+      //执行一个laydate实例
+      laydate.render({
+        elem: '#creatTime' //指定元素
+      });
+        laydate.render({
+            elem:'#timeRang',
+            range:true,
+            format: 'yyyy/MM/dd',
+            done: function(value, date){
+                /* 时间选择完成后的回调 */
+            }
+        })
+    });
+</script>
+
+    </body>
+</html>
+
+
+

+ 89 - 0
runtime/temp/f71f5e28b8583b0be11dbf82e637c066.php

@@ -0,0 +1,89 @@
+<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:87:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\recruit\index.html";i:1557973062;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="utf-8">
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
+        <title>安全猫官网</title>
+        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
+        <!-- Bootstrap 3.3.7 -->
+        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
+        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
+        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
+        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
+        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
+        <script type="text/javascript">
+            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
+            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
+            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
+            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
+            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
+            layui.use('layer', function () {
+                var layer = layui.layer;
+            });
+        </script>
+    </head>
+    <body>
+        
+<div class="layui-tab layui-tab-card">
+    <ul class="layui-tab-title">
+        <li>
+            <a href="index">管理</a>
+        </li>
+        <li class="layui-this">
+            <a href="add">新增</a>
+        </li>
+        <div class="tool-btns">
+            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
+        </div>
+    </ul>
+    <div class="layui-tab-content page-tab-content">
+        <table class="layui-table lay-even">
+            <colgroup>
+                <col width="100">
+                <col width="200">
+                <col width="200">
+                <col width="100">
+                <col width="200">
+                <col width="80">
+                <col width="240">
+                <col>
+            </colgroup>
+            <thead>
+            <tr>
+                <th>id</th>
+                <th>招聘岗位</th>
+                <th>详情</th>
+                <th>排序</th>
+                <th>修改时间</th>
+                <th>状态</th>
+                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
+            </tr>
+            </thead>
+            <tbody>
+            <?php if(is_array($recruit_list) || $recruit_list instanceof \think\Collection || $recruit_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $recruit_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$recruit): $mod = ($kk % 2 );++$kk;?>
+            <tr>
+                <td><?php echo $recruit['id']; ?></td>
+                <td><?php echo $recruit['name']; ?></td>
+                <td><?php echo $recruit['detail']; ?></td>
+                <td><?php echo $recruit['sort']; ?></td>
+                <td><?php echo $recruit['update_time']; ?></td>
+                <td><?php if($recruit['status']==1): ?>发布<?php else: ?>撤销<?php endif; ?></td>
+                <td>
+                    <a href="<?php echo url('edit',['id'=>$recruit['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
+                    <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$recruit['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
+                </td>
+            </tr>
+            <?php endforeach; endif; else: echo "" ;endif; ?>
+            </tbody>
+        </table>
+    </div>
+</div>
+<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
+
+    </body>
+</html>
+
+
+