diff --git a/app/admin/controller/Article.php b/app/admin/controller/Article.php new file mode 100644 index 0000000..c3dbe14 --- /dev/null +++ b/app/admin/controller/Article.php @@ -0,0 +1,279 @@ +where('delete_time', null) + ->where('status', '<>', 3) + ->order('id DESC') + ->select() + ->each(function ($item) { + $item['create_time'] = date('Y-m-d H:i:s', strtotime($item['create_time'])); + $item['publishdate'] = $item['publishdate'] ? date('Y-m-d H:i:s', strtotime($item['publishdate'])) : ''; + return $item; + }); + return json(['code' => 0, 'msg' => '获取成功', 'data' => $lists]); + } else { + $lists = Db::table('yz_article') + ->where('delete_time', null) + ->where('status', '<>', 3) + ->order('id DESC') + ->select() + ->each(function ($item) { + $item['create_time'] = date('Y-m-d H:i:s', strtotime($item['create_time'])); + return $item; + }); + View::assign(['lists' => $lists]); + return View::fetch(); + } + } + + // 添加文章 + public function add() + { + if (Request::isPost()) { + $data = [ + 'title' => input('post.title'), + 'cate' => input('post.cate'), + 'image' => input('post.image'), + 'content' => input('post.content'), + 'author' => input('post.author'), + 'desc' => input('post.desc'), + 'status' => input('post.status', 2), + 'publishdate' => date('Y-m-d H:i:s', time()), + 'create_time' => date('Y-m-d H:i:s', time()) + ]; + + $insert = Db::table('yz_article')->insert($data); + if (empty($insert)) { + return json(['code' => 1, 'msg' => '添加失败', 'data' => []]); + } + return json(['code' => 0, 'msg' => '添加成功', 'data' => []]); + } else { + $lists = Db::table('yz_article') + ->order('id DESC') + ->select() + ->each(function ($item, $key) { + $item['create_time'] = date('Y-m-d H:i:s', $item['create_time']); + return $item; + }); + View::assign([ + 'lists' => $lists + ]); + return View::fetch(); + } + } + + // 编辑文章 + public function edit() + { + if (Request::isPost()) { + $article_id = input('post.article_id'); + $data = [ + 'title' => input('post.title'), + 'content' => input('post.content'), + 'author' => input('post.author'), + 'status' => input('post.status', 1), + 'update_time' => time() + ]; + + $update = Db::table('yz_article') + ->where('article_id', $article_id) + ->update($data); + + if ($update === false) { + return json(['code' => 1, 'msg' => '更新失败', 'data' => []]); + } + return json(['code' => 0, 'msg' => '更新成功', 'data' => []]); + } else { + $article_id = input('get.article_id'); + $info = Db::table('yz_article')->where('article_id', $article_id)->find(); + View::assign([ + 'info' => $info + ]); + return View::fetch(); + } + } + + // 删除文章 + public function delete() + { + $id = input('post.id'); + $data = [ + 'delete_time' => date('Y-m-d H:i:s', time()), + ]; + $delete = Db::table('yz_article')->where('id', $id)->update($data); + if ($delete === false) { + return json(['code' => 1, 'msg' => '删除失败', 'data' => []]); + } + return json(['code' => 0, 'msg' => '删除成功', 'data' => []]); + } + + // 文章分类 + public function articlecate() + { + if (Request::isPost()) { + $count = Db::table('yz_article_category') + ->where('delete_time', null) + ->where('status', 1) + ->count(); + $page = (int) input('post.page', 1); + $limit = (int) input('post.limit', 10); + $lists = Db::table('yz_article_category') + ->where('delete_time', null) + ->where('status', 1) + ->order('id asc') + ->page($page, $limit) + ->select(); + return json(['code' => 0, 'msg' => '获取成功', 'data' => $lists]); + } else { + // 获取分类列表 + $lists = Db::table('yz_article_category') + ->where('delete_time', null) + ->where('status', 1) + ->order('id asc') + ->select(); + + View::assign([ + 'lists' => $lists + ]); + return View::fetch(); + } + } + + //获取分类结构 + public function getcate() + { + // 获取所有分类 + $lists = Db::table('yz_article_category') + ->where('delete_time', null) + ->where('status', 1) + ->order('sort asc, id asc') + ->select() + ->toArray(); + + // 构建父子结构 + $tree = []; + foreach ($lists as $item) { + if ($item['cid'] == 0) { + // 顶级分类 + $tree[] = $item; + } else { + // 子分类 + foreach ($tree as &$parent) { + if ($parent['id'] == $item['cid']) { + if (!isset($parent['children'])) { + $parent['children'] = []; + } + $parent['children'][] = $item; + break; + } + } + } + } + + return json(['code' => 0, 'msg' => '获取成功', 'data' => $tree]); + } + + // 添加文章分类 + public function cateadd() + { + if (Request::isPost()) { + // 将时间戳转换为 'Y-m-d H:i:s' 格式 + $currentDateTime = date('Y-m-d H:i:s'); + $data = [ + 'name' => input('post.name'), + 'cid' => input('post.cid'), + 'sort' => input('post.sort', 0), + 'status' => input('post.status', 1), + 'create_time' => $currentDateTime + ]; + + $insert = Db::table('yz_article_category')->insert($data); + if (empty($insert)) { + return json(['code' => 1, 'msg' => '添加失败', 'data' => []]); + } + return json(['code' => 0, 'msg' => '添加成功', 'data' => []]); + } else { + $lists = Db::table('yz_article_category') + ->order('id DESC') + ->select() + ->each(function ($item, $key) { + $item['create_time'] = date('Y-m-d H:i:s', strtotime($item['create_time'])); + return $item; + }); + View::assign([ + 'lists' => $lists + ]); + return View::fetch(); + } + } + + //编辑文章分类 + public function cateedit() + { + if (Request::isPost()) { + $data = [ + 'id' => input('post.id'), + 'name' => input('post.name'), + 'cid' => input('post.cid'), + 'sort' => input('post.sort', 0), + 'status' => input('post.status', 1), + 'update_time' => date('Y-m-d H:i:s') + ]; + + $update = Db::table('yz_article_category') + ->where('id', $data['id']) + ->update($data); + + if ($update === false) { + return json(['code' => 1, 'msg' => '更新失败', 'data' => []]); + } + return json(['code' => 0, 'msg' => '更新成功', 'data' => []]); + } else { + $id = input('get.id'); + $info = Db::table('yz_article_category')->where('id', $id)->find(); + View::assign([ + 'info' => $info + ]); + return View::fetch(); + } + } + + //删除文章分类 + public function catedel() + { + $id = input('post.id'); + + // 检查是否有子分类 + $hasChildren = Db::table('yz_article_category') + ->where('cid', $id) + ->where('delete_time', null) + ->find(); + + if ($hasChildren) { + return json(['code' => 1, 'msg' => '该分类下有子分类,无法删除', 'data' => []]); + } + + $delete = Db::table('yz_article_category') + ->where('id', $id) + ->update(['delete_time' => date('Y-m-d H:i:s')]); + + if ($delete === false) { + return json(['code' => 1, 'msg' => '删除失败', 'data' => []]); + } + return json(['code' => 0, 'msg' => '删除成功', 'data' => []]); + } +} \ No newline at end of file diff --git a/app/admin/controller/Base.php b/app/admin/controller/Base.php index a39979a..3dee144 100644 --- a/app/admin/controller/Base.php +++ b/app/admin/controller/Base.php @@ -62,7 +62,7 @@ class Base{ if($code == 0){ $arr = array( 'code'=>$code, - 'msg'=>'成功', + 'msg'=>'操作成功', 'count'=> $count, 'data' => $data ); diff --git a/app/admin/controller/Index.php b/app/admin/controller/Index.php index d851ffa..c3468e9 100644 --- a/app/admin/controller/Index.php +++ b/app/admin/controller/Index.php @@ -198,9 +198,9 @@ class Index extends Base{ $a = delete_dir_file(Env::get('runtime_path').'cache/'); $b = delete_dir_file(Env::get('runtime_path').'temp/'); if ($a || $b) { - $this->returnCode(0); + $this->returnCode(0, '清除缓存成功'); } else { - $this->returnCode('91000006'); + $this->returnCode(1, '清除缓存失败'); } } } \ No newline at end of file diff --git a/app/admin/controller/Login.php b/app/admin/controller/Login.php index 992e215..296eb15 100644 --- a/app/admin/controller/Login.php +++ b/app/admin/controller/Login.php @@ -31,11 +31,11 @@ class Login if (Request::isPost()) { $account = trim(input('post.account')); if (empty($account)) { - $this->returnCode('90000001'); + $this->returnCode(1, '账号不能为空'); } $pattern = "/^([0-9A-Za-z-_.]+)@([0-9a-z]+.[a-z]{2,3}(.[a-z]{2})?)$/i"; if (!preg_match($pattern, $account)) { - $this->returnCode('90000006'); + $this->returnCode(1, '邮箱格式不正确'); } $password = trim(input('post.password')); if (empty($password)) { @@ -50,13 +50,13 @@ class Login } $aUser = Db::table('yz_admin_user')->where('account', $account)->find(); if (empty($aUser)) { - $this->returnCode('90000029'); + $this->returnCode(1, '账号不存在'); } if ($aUser['status'] != 1) { - $this->returnCode('90000030'); + $this->returnCode(1, '账号已被禁用'); } if ($aUser['password'] != md5($password)) { - $this->returnCode('90000031'); + $this->returnCode(1, '密码错误'); } $remember = input('post.remember'); if (!empty($remember)) { @@ -69,7 +69,7 @@ class Login Db::table('yz_admin_user')->where('uid', $aUser['uid'])->update( ['login_count' => $aUser['login_count'] + 1, 'update_time' => time()] ); - $this->returnCode(0, [], '登陆成功'); + $this->returnCode(0, [], '登录成功'); } } diff --git a/app/admin/controller/Yunzer.php b/app/admin/controller/Yunzer.php index f39435b..92b4301 100644 --- a/app/admin/controller/Yunzer.php +++ b/app/admin/controller/Yunzer.php @@ -19,38 +19,63 @@ class Yunzer extends Base{ return View::fetch(); } # 菜单添加 - public function menuadd(){ + public function menuadd() + { $req = request(); - if($req->isPost()){ + if ($req->isPost()) { $data['label'] = trim(input('post.label')); - if(empty($data['label'])){ - View::returnCode('90000009'); + if (empty($data['label'])) { + $this->returnCode(1, '请输入菜单名称'); } $data['icon_class'] = trim(input('post.icon_class')); - $data['sort'] = (int)trim(input('post.sort')); - $data['status'] = (int)trim(input('post.status')); - $data['type'] = (int)trim(input('post.type',0)); - if($data['type'] == 1){ + $data['sort'] = (int) trim(input('post.sort')); + $data['status'] = (int) trim(input('post.status')); + $data['type'] = (int) trim(input('post.type', 0)); + if ($data['type'] == 1) { $data['src'] = trim(input('post.src1')); - if(empty($data['src'])){ - $this->returnCode('90000012'); + if (empty($data['src'])) { + $this->returnCode(1, '请输入内部跳转地址'); } - }else if($data['type'] == 2){ + } else if ($data['type'] == 2) { $data['src'] = trim(input('post.src2')); - if(empty($data['src'])){ - $this->returnCode('90000013'); + if (empty($data['src'])) { + $this->returnCode(1, '请输入超链接地址'); } - }else{ + } else { $data['src'] = ''; } - // 保存用户 + // 保存菜单 $res = Db::table('yz_admin_sys_menu')->insert($data); - if(!$res){ - $this->returnCode('91000001'); + if (!$res) { + $this->returnCode(1, '添加菜单失败'); } + + // 获取新插入的菜单ID + $newMenuId = Db::table('yz_admin_sys_menu')->getLastInsID(); + + // 获取所有管理员用户组 + $adminGroups = Db::table('yz_admin_user_group')->select(); + foreach ($adminGroups as $group) { + // 获取现有权限 + $rights = []; + if (!empty($group['rights'])) { + $rights = json_decode($group['rights'], true); + } + + // 添加新菜单ID到权限列表 + if (!in_array($newMenuId, $rights)) { + $rights[] = $newMenuId; + + // 更新用户组权限 + Db::table('yz_admin_user_group') + ->where('group_id', $group['group_id']) + ->update(['rights' => json_encode($rights)]); + } + } + $this->returnCode(0); - }else{ - $iconfont = Db::table('yz_z_iconfont')->where('status',1)->select(); + } else { + $iconfont = Db::table('yz_z_iconfont')->where('status', 1)->select(); View::assign([ 'iconfont' => $iconfont ]); @@ -64,7 +89,7 @@ class Yunzer extends Base{ $smid = (int)input('post.smid'); $data['label'] = trim(input('post.label')); if(!$data['label']){ - $this->returnCode('90000009'); + $this->returnCode(1, '请输入菜单名称'); } $data['icon_class'] = trim(input('post.icon_class')); $data['sort'] = (int)trim(input('post.sort')); @@ -73,12 +98,12 @@ class Yunzer extends Base{ if($data['type'] == 1){ $data['src'] = trim(input('post.src1')); if(empty($data['src'])){ - $this->returnCode('90000012'); + $this->returnCode(1, '请输入内部跳转地址'); } }else if($data['type'] == 2){ $data['src'] = trim(input('post.src2')); if(empty($data['src'])){ - $this->returnCode('90000013'); + $this->returnCode(1, '请输入超链接地址'); } }else{ $data['src'] = ''; @@ -86,7 +111,7 @@ class Yunzer extends Base{ // 保存用户 $res = Db::table('yz_admin_sys_menu')->where('smid',$smid)->update($data); if(!$res){ - $this->returnCode('91000002'); + $this->returnCode(1, '修改菜单失败'); } $this->returnCode(0); }else{ @@ -105,11 +130,11 @@ class Yunzer extends Base{ $smid = (int)input('post.smid'); $count = Db::table('yz_admin_sys_menu')->where('parent_id',$smid)->count(); if($count > 0){ - $this->returnCode('90000010'); + $this->returnCode(1, '该菜单下还有子菜单,不能删除'); } $res = Db::table('yz_admin_sys_menu')->where('smid',$smid)->delete(); if(empty($res)){ - $this->returnCode('91000003'); + $this->returnCode(1, '删除菜单失败'); } $this->returnCode(0); } @@ -148,30 +173,30 @@ class Yunzer extends Base{ $smid = (int)input('post.smid'); $data['label'] = trim(input('post.label')); if(!$data['label']){ - $this->returnCode('90000015'); + $this->returnCode(1, '请输入按钮名称'); } $data['icon_class'] = trim(input('post.icon_class')); $data['sort'] = (int)trim(input('post.sort')); $data['status'] = (int)trim(input('post.status')); $data['type'] = (int)trim(input('post.type')); if(empty($data['type'])){ - $this->returnCode('90000011'); + $this->returnCode(1, '请选择按钮类型'); } if($data['type'] == 1){ $data['src'] = trim(input('post.src1')); if(empty($data['src'])){ - $this->returnCode('90000012'); + $this->returnCode(1, '请输入内部跳转地址'); } }else if($data['type'] == 2){ $data['src'] = trim(input('post.src2')); if(empty($data['src'])){ - $this->returnCode('90000013'); + $this->returnCode(1, '请输入超链接地址'); } } $data['parent_id'] = $smid; $res = Db::table('yz_admin_sys_menu')->insert($data); if(!$res){ - $this->returnCode('91000001'); + $this->returnCode(1, '添加按钮失败'); } $this->returnCode(0); }else{ @@ -191,29 +216,29 @@ class Yunzer extends Base{ $smid = (int)input('post.smid'); $data['label'] = trim(input('post.label')); if(!$data['label']){ - $this->returnCode('90000015'); + $this->returnCode(1, '请输入按钮名称'); } $data['icon_class'] = trim(input('post.icon_class')); $data['sort'] = (int)trim(input('post.sort')); $data['status'] = (int)trim(input('post.status')); $data['type'] = (int)trim(input('post.type')); if(empty($data['type'])){ - $this->returnCode('90000011'); + $this->returnCode(1, '请选择按钮类型'); } if($data['type'] == 1){ $data['src'] = trim(input('post.src1')); if(empty($data['src'])){ - $this->returnCode('90000012'); + $this->returnCode(1, '请输入内部跳转地址'); } }else if($data['type'] == 2){ $data['src'] = trim(input('post.src2')); if(empty($data['src'])){ - $this->returnCode('90000013'); + $this->returnCode(1, '请输入超链接地址'); } } $res = Db::table('yz_admin_sys_menu')->where('smid',$smid)->update($data); if(!$res){ - $this->returnCode('91000002'); + $this->returnCode(1, '修改按钮失败'); } $this->returnCode(0); }else{ @@ -232,7 +257,7 @@ class Yunzer extends Base{ $smid = (int)input('post.smid'); $res = Db::table('yz_admin_sys_menu')->where('smid',$smid)->delete(); if(empty($res)){ - $this->returnCode('91000003'); + $this->returnCode(1, '删除按钮失败'); } $this->returnCode(0); } @@ -267,7 +292,7 @@ class Yunzer extends Base{ $data['config_sort'] = trim(input('post.config_sort')); $res = Db::table('yz_admin_config')->insert($data); if(empty($res)){ - $this->returnCode('91000001'); + $this->returnCode(1, '添加配置失败'); } $this->returnCode(0); }else{ @@ -296,7 +321,7 @@ class Yunzer extends Base{ $data['config_sort'] = trim(input('post.config_sort')); $res = Db::table('yz_admin_config')->where('config_id',$config_id)->update($data); if(empty($res)){ - $this->returnCode('91000002'); + $this->returnCode(1, '修改配置失败'); } $this->returnCode(0); }else{ @@ -316,7 +341,7 @@ class Yunzer extends Base{ } $res = Db::table('yz_admin_config')->where('config_id',$config_id)->delete(); if(empty($res)){ - $this->returnCode('91000003'); + $this->returnCode(1, '删除配置失败'); } $this->returnCode(0); } @@ -331,7 +356,7 @@ class Yunzer extends Base{ $oConfig = new YzAdminConfig(); $updateAll = $oConfig->updateAll($post); if(empty($updateAll)){ - $this->returnCode('91000002'); + $this->returnCode(1, '更新配置值失败'); } $this->returnCode(0); }else{ diff --git a/app/admin/view/article/add.php b/app/admin/view/article/add.php new file mode 100644 index 0000000..2f519b6 --- /dev/null +++ b/app/admin/view/article/add.php @@ -0,0 +1,226 @@ +{include file="public/header" /} +
+
+
+ 添加文章 +
+
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+
+ + + +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/app/admin/view/article/articlecate.php b/app/admin/view/article/articlecate.php new file mode 100644 index 0000000..b56a962 --- /dev/null +++ b/app/admin/view/article/articlecate.php @@ -0,0 +1,137 @@ +{include file="public/header" /} +
+
+
+ 文章分类列表 +
+
+ + +
+
+ + + + + + + + + + + + + + + {volist name="lists" id='vo'} + {if condition="$vo.cid eq 0"} + + + + + + + + + + {volist name="lists" id='sub'} + {if condition="$sub.cid eq $vo.id"} + + + + + + + + + + {/if} + {/volist} + {/if} + {/volist} + +
ID分类名称描述排序状态创建时间操作
{$vo.id}{$vo.name}{$vo.desc}{$vo.sort}{$vo.status==1?'开启':'禁用'}{$vo.create_time} + + + +
{$sub.id}├─ {$sub.name}{$sub.desc}{$sub.sort}{$sub.status==1?'开启':'禁用'}{$sub.create_time} + + +
+
+ + \ No newline at end of file diff --git a/app/admin/view/article/articlelist.php b/app/admin/view/article/articlelist.php new file mode 100644 index 0000000..b054c76 --- /dev/null +++ b/app/admin/view/article/articlelist.php @@ -0,0 +1,106 @@ +{include file="public/header" /} +
+
+
+ 文章列表 +
+
+ + +
+
+ + + + + + + + + + + + + + + + {volist name="lists" id='vo'} + + + + + + + + + + + {/volist} + +
ID标题分类封面作者状态发布时间操作
{$vo.id}{$vo.title}{$vo.cate} + {if condition="$vo.image"} + + {/if} + {$vo.author} + {switch name="vo.status"} + {case value="0"}草稿{/case} + {case value="1"}待审核{/case} + {case value="2"}已发布{/case} + {case value="3"}隐藏{/case} + {/switch} + {$vo.publishdate} + + +
+
+ + \ No newline at end of file diff --git a/app/admin/view/article/cateadd.php b/app/admin/view/article/cateadd.php new file mode 100644 index 0000000..2fab86c --- /dev/null +++ b/app/admin/view/article/cateadd.php @@ -0,0 +1,77 @@ +{include file="public/header" /} +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/app/admin/view/article/cateedit.php b/app/admin/view/article/cateedit.php new file mode 100644 index 0000000..e1c3810 --- /dev/null +++ b/app/admin/view/article/cateedit.php @@ -0,0 +1,90 @@ +{include file="public/header" /} +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/app/admin/view/public/header.php b/app/admin/view/public/header.php index 0191020..ed90582 100644 --- a/app/admin/view/public/header.php +++ b/app/admin/view/public/header.php @@ -5,8 +5,9 @@ - + + + + + + +
+
+
+ 添加文章 +
+
+ +
+
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+
+
+
+ +
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+
+ + + +
+
+
+
+ + + + + + \ No newline at end of file diff --git a/runtime/admin/temp/57d210b0392c6ab0bf9a8c64d5dcfe4b.php b/runtime/admin/temp/57d210b0392c6ab0bf9a8c64d5dcfe4b.php index d4f112e..25fd4c1 100644 --- a/runtime/admin/temp/57d210b0392c6ab0bf9a8c64d5dcfe4b.php +++ b/runtime/admin/temp/57d210b0392c6ab0bf9a8c64d5dcfe4b.php @@ -1,4 +1,4 @@ - + diff --git a/runtime/admin/temp/5fcc0e440c64e4a69fa6ab9d4849f68a.php b/runtime/admin/temp/5fcc0e440c64e4a69fa6ab9d4849f68a.php new file mode 100644 index 0000000..f9aea1b --- /dev/null +++ b/runtime/admin/temp/5fcc0e440c64e4a69fa6ab9d4849f68a.php @@ -0,0 +1,216 @@ + + + + + <?php echo htmlentities((string) $config['admin_name']); ?> + + + + + + + + + + +
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+
+ +
+ + +
+
+
+
+
+ +
+
+ + + + \ No newline at end of file diff --git a/runtime/admin/temp/8fd05746d9f4d337d2b8ead74b013673.php b/runtime/admin/temp/8fd05746d9f4d337d2b8ead74b013673.php index 42988cf..48edf88 100644 --- a/runtime/admin/temp/8fd05746d9f4d337d2b8ead74b013673.php +++ b/runtime/admin/temp/8fd05746d9f4d337d2b8ead74b013673.php @@ -1,4 +1,4 @@ - + diff --git a/runtime/admin/temp/a4422e18098f908e0359a72e8b02a77c.php b/runtime/admin/temp/a4422e18098f908e0359a72e8b02a77c.php new file mode 100644 index 0000000..d0bd55b --- /dev/null +++ b/runtime/admin/temp/a4422e18098f908e0359a72e8b02a77c.php @@ -0,0 +1,196 @@ + + + + + <?php echo htmlentities((string) $config['admin_name']); ?> + + + + + + + + + + + +
+
+
+ 文章列表 +
+
+ + +
+
+ + + + + + + + + + + + + + + + $vo): $mod = ($i % 2 );++$i;?> + + + + + + + + + + + + +
ID标题分类封面作者状态发布时间操作
+ + + + + 草稿待审核已发布隐藏 + + + + +
+
+ + \ No newline at end of file diff --git a/runtime/admin/temp/afa4276487a18a3dcb5f95a687b90882.php b/runtime/admin/temp/afa4276487a18a3dcb5f95a687b90882.php index 1dfaea1..ccb9074 100644 --- a/runtime/admin/temp/afa4276487a18a3dcb5f95a687b90882.php +++ b/runtime/admin/temp/afa4276487a18a3dcb5f95a687b90882.php @@ -1,4 +1,4 @@ - + diff --git a/runtime/admin/temp/afdc7ba517f0eba6675e7ddb71a0cccf.php b/runtime/admin/temp/afdc7ba517f0eba6675e7ddb71a0cccf.php index 9392484..4068071 100644 --- a/runtime/admin/temp/afdc7ba517f0eba6675e7ddb71a0cccf.php +++ b/runtime/admin/temp/afdc7ba517f0eba6675e7ddb71a0cccf.php @@ -1,4 +1,4 @@ - + @@ -6,6 +6,7 @@ + + + + + +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/runtime/admin/temp/b742557fe5ab4483e3082140659f1f68.php b/runtime/admin/temp/b742557fe5ab4483e3082140659f1f68.php index 9fc43e1..ec38b4c 100644 --- a/runtime/admin/temp/b742557fe5ab4483e3082140659f1f68.php +++ b/runtime/admin/temp/b742557fe5ab4483e3082140659f1f68.php @@ -1,4 +1,4 @@ - + diff --git a/runtime/admin/temp/b7a371608e8ada2d05d443e9741070b7.php b/runtime/admin/temp/b7a371608e8ada2d05d443e9741070b7.php index 59504d2..9f8db78 100644 --- a/runtime/admin/temp/b7a371608e8ada2d05d443e9741070b7.php +++ b/runtime/admin/temp/b7a371608e8ada2d05d443e9741070b7.php @@ -1,4 +1,4 @@ - + diff --git a/runtime/admin/temp/d77fada158bea690b888f3ff24abcd9f.php b/runtime/admin/temp/d77fada158bea690b888f3ff24abcd9f.php index 6a8436b..521fb45 100644 --- a/runtime/admin/temp/d77fada158bea690b888f3ff24abcd9f.php +++ b/runtime/admin/temp/d77fada158bea690b888f3ff24abcd9f.php @@ -1,4 +1,4 @@ - + diff --git a/runtime/admin/temp/da1e5ef515e9305545e65d884dd881a9.php b/runtime/admin/temp/da1e5ef515e9305545e65d884dd881a9.php new file mode 100644 index 0000000..3804c60 --- /dev/null +++ b/runtime/admin/temp/da1e5ef515e9305545e65d884dd881a9.php @@ -0,0 +1,170 @@ + + + + + <?php echo htmlentities((string) $config['admin_name']); ?> + + + + + + + + + + +
+
+
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+
+ +
+
+
+
+ + \ No newline at end of file diff --git a/runtime/admin/temp/fed9a1a8ceb5c7246f7bfd4eaf6ebab4.php b/runtime/admin/temp/fed9a1a8ceb5c7246f7bfd4eaf6ebab4.php new file mode 100644 index 0000000..7ef47a1 --- /dev/null +++ b/runtime/admin/temp/fed9a1a8ceb5c7246f7bfd4eaf6ebab4.php @@ -0,0 +1,229 @@ + + + + + <?php echo htmlentities((string) $config['admin_name']); ?> + + + + + + + + + + + +
+
+
+ 文章分类列表 +
+
+ + +
+
+ + + + + + + + + + + + + + + $vo): $mod = ($i % 2 );++$i;if($vo['cid'] == 0): ?> + + + + + + + + + + $sub): $mod = ($i % 2 );++$i;if($sub['cid'] == $vo['id']): ?> + + + + + + + + + + + + + + +
ID分类名称描述排序状态创建时间操作
禁用'; ?> + + + +
├─ 禁用'; ?> + + +
+
+ + \ No newline at end of file