This commit is contained in:
Gitea 2022-03-30 09:13:50 +08:00
parent 15dfc6576b
commit 557aa3c555
179 changed files with 6115 additions and 4092 deletions

191
LICENSE Normal file
View File

@ -0,0 +1,191 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and
distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright
owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities
that control, are controlled by, or are under common control with that entity.
For the purposes of this definition, "control" means (i) the power, direct or
indirect, to cause the direction or management of such entity, whether by
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising
permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including
but not limited to software source code, documentation source, and configuration
files.
"Object" form shall mean any form resulting from mechanical transformation or
translation of a Source form, including but not limited to compiled object code,
generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made
available under the License, as indicated by a copyright notice that is included
in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that
is based on (or derived from) the Work and for which the editorial revisions,
annotations, elaborations, or other modifications represent, as a whole, an
original work of authorship. For the purposes of this License, Derivative Works
shall not include works that remain separable from, or merely link (or bind by
name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version
of the Work and any modifications or additions to that Work or Derivative Works
thereof, that is intentionally submitted to Licensor for inclusion in the Work
by the copyright owner or by an individual or Legal Entity authorized to submit
on behalf of the copyright owner. For the purposes of this definition,
"submitted" means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems, and
issue tracking systems that are managed by, or on behalf of, the Licensor for
the purpose of discussing and improving the Work, but excluding communication
that is conspicuously marked or otherwise designated in writing by the copyright
owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf
of whom a Contribution has been received by Licensor and subsequently
incorporated within the Work.
2. Grant of Copyright License.
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the Work and such
Derivative Works in Source or Object form.
3. Grant of Patent License.
Subject to the terms and conditions of this License, each Contributor hereby
grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free,
irrevocable (except as stated in this section) patent license to make, have
made, use, offer to sell, sell, import, and otherwise transfer the Work, where
such license applies only to those patent claims licensable by such Contributor
that are necessarily infringed by their Contribution(s) alone or by combination
of their Contribution(s) with the Work to which such Contribution(s) was
submitted. If You institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work or a
Contribution incorporated within the Work constitutes direct or contributory
patent infringement, then any patent licenses granted to You under this License
for that Work shall terminate as of the date such litigation is filed.
4. Redistribution.
You may reproduce and distribute copies of the Work or Derivative Works thereof
in any medium, with or without modifications, and in Source or Object form,
provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of
this License; and
You must cause any modified files to carry prominent notices stating that You
changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute,
all copyright, patent, trademark, and attribution notices from the Source form
of the Work, excluding those notices that do not pertain to any part of the
Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any
Derivative Works that You distribute must include a readable copy of the
attribution notices contained within such NOTICE file, excluding those notices
that do not pertain to any part of the Derivative Works, in at least one of the
following places: within a NOTICE text file distributed as part of the
Derivative Works; within the Source form or documentation, if provided along
with the Derivative Works; or, within a display generated by the Derivative
Works, if and wherever such third-party notices normally appear. The contents of
the NOTICE file are for informational purposes only and do not modify the
License. You may add Your own attribution notices within Derivative Works that
You distribute, alongside or as an addendum to the NOTICE text from the Work,
provided that such additional attribution notices cannot be construed as
modifying the License.
You may add Your own copyright statement to Your modifications and may provide
additional or different license terms and conditions for use, reproduction, or
distribution of Your modifications, or for any such Derivative Works as a whole,
provided Your use, reproduction, and distribution of the Work otherwise complies
with the conditions stated in this License.
5. Submission of Contributions.
Unless You explicitly state otherwise, any Contribution intentionally submitted
for inclusion in the Work by You to the Licensor shall be under the terms and
conditions of this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify the terms of
any separate license agreement you may have executed with Licensor regarding
such Contributions.
6. Trademarks.
This License does not grant permission to use the trade names, trademarks,
service marks, or product names of the Licensor, except as required for
reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.
7. Disclaimer of Warranty.
Unless required by applicable law or agreed to in writing, Licensor provides the
Work (and each Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied,
including, without limitation, any warranties or conditions of TITLE,
NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are
solely responsible for determining the appropriateness of using or
redistributing the Work and assume any risks associated with Your exercise of
permissions under this License.
8. Limitation of Liability.
In no event and under no legal theory, whether in tort (including negligence),
contract, or otherwise, unless required by applicable law (such as deliberate
and grossly negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special, incidental,
or consequential damages of any character arising as a result of this License or
out of the use or inability to use the Work (including but not limited to
damages for loss of goodwill, work stoppage, computer failure or malfunction, or
any and all other commercial damages or losses), even if such Contributor has
been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability.
While redistributing the Work or Derivative Works thereof, You may choose to
offer, and charge a fee for, acceptance of support, warranty, indemnity, or
other liability obligations and/or rights consistent with this License. However,
in accepting such obligations, You may act only on Your own behalf and on Your
sole responsibility, not on behalf of any other Contributor, and only if You
agree to indemnify, defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason of your
accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work
To apply the Apache License to your work, attach the following boilerplate
notice, with the fields enclosed by brackets "{}" replaced with your own
identifying information. (Don't include the brackets!) The text should be
enclosed in the appropriate comment syntax for the file format. We also
recommend that a file or class name and description of purpose be included on
the same "printed page" as the copyright notice for easier identification within
third-party archives.
Copyright 2018 Hunan AoYun Network Technology Co., Ltd.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

103
README.md Normal file
View File

@ -0,0 +1,103 @@
# PbootCMS
### PbootCMS是全新内核且永久开源免费的PHP企业网站开发建设管理系统是一套高效、简洁、 强悍的可免费商用的PHP CMS源码能够满足各类企业网站开发建设的需要。系统采用简单到想哭的模板标签只要懂HTML就可快速开发企业网站。官方提供了大量网站模板免费下载和使用将致力于为广大开发者和企业提供最佳的网站开发建设解决方案。
* 系统采用高效、简洁、强悍的模板标签只要懂HTML就可快速开发企业网站
* 系统采用PHP语言开发使用自主研发的高速多层开发框架及缓存技术
* 系统默认采用sqlite轻型数据库放入PHP空间即可直接使用可选mysql等数据库满足各类存储需求
* 系统采用响应式管理后台,满足各类设备随时管理的需要;
* 系统支持后台在线升级,满足系统及时升级更新的需要;
* 系统支持内容模型、多语言、自定义表单、筛选、多条件搜索、小程序、APP等功能
* 系统支持多种URL模式及模型、栏目、内容自定义地址名称满足各类网站推广优化的需要。
## 简单到想哭的模板标签:
```
1、全局标签示意
{pboot:sitetitle} 站点标题
{pboot:sitelogo} 站点logo
2、列表页标签示意
{pboot:list num=10 order=date}
<p><a href="[list:link]">[list:title]</a></p>
{/pboot:list}
3、内容页标签示意
{content:title} 标题
{content:subtitle}副标题
{content:author} 作者
{content:source} 来源
更多简单到想哭的标签请参考开发手册...
```
## 主要功能:
* 支持自定义模板
* 支持站点信息后台配置
* 支持无限极栏目
* 支持自定义内容模型
* 支持自定义内容字段
* 支持专题单页内容
* 支持列表内容管理
* 支持内容复制移动
* 支持自定义栏目地址
* 支持自定义内容地址
* 支持多语言区域建站
* 支持手机独立模板
* 支持手机版域名绑定
* 支持首页分页
* 支持页面SEO优化
* 支持在线留言
* 支持幻N组灯片轮播
* 支持友情链接
* 支持自定义表单
* 支持多条件筛选
* 支持多条件搜索
* 支持验证码开关
* 支持留言发送到多邮箱
* 支持API对接
* 支持小程序/APP开发
* 支持Ajax远程获取数据
* 支持自定义标签
* 支持全站伪静态
* 支持前端动态缓存
* 支持系统角色管理
* 支持完整角色权限管理
* 支持多用户在线管理
* 支持系统日志功能
* 支持数据库在线管理
* 支持后台在线升级
* 支持自定义URL模式
## 系统安装:
发布的源码默认采用sqlite数据库放入PHP5.3+)空间即可直接使用。
如果需要启用Mysql版本请导入目录下数据库文件/static/backup/sql/xxx.sql同时请注意使用最新日期名字的脚本文件并修改config/database数据库连接文件信息。
系统后台默认访问路径http://ip/admin.php 账号admin 密码123456
## 升级说明:
* 使用后台在线升级(推荐):
支持跨版本升级,会自动升级数据库及代码文件。
* 使用全包升级:
支持跨版本升级保留config、data、static、template目录其余全部用新版替换 同时如果涉及到的中间版本有升级数据库,需要使用群文件数据库脚本升级数据库。
## 授权声明:
1、PbootCMS是免费可商用的建站系统用户通过官网获取免费域名授权码即算授权成功并且永久有效。对于已经授权的域名也不存在未来收费的说法大家可以放心使用。
2、PbootCMS系统允许个人或公司进行任意二开及商用但是不允许任何形式的破解或绕过系统授权的行为包括但不限于通过PbootCMS系统建设网站、二次开发、发布衍生版本等情况对于任何破解或绕过PbootCMS官网授权的行为我们将保留依法追究法律责任的权力。
3、PbootCMS除了一个授权文件代码外其它代码全部开源并使用Apache2开源协议。对于任何基于PbootCMS进行二开的系统应该遵守Apache2开源协议的有关要求。
4、PbootCMS官方不对使用本软件所构建网站中的文章、商品和其它任何信息承担责任不管您通过任何渠道下载本软件您一旦开始安装PbootCMS即被视为完全理解并接受PbootCMS授权声明的各项条款。
## 联系我们:
官方网站https://www.pbootcms.com/
Giteehttps://gitee.com/hnaoyun/PbootCMS

View File

@ -52,12 +52,15 @@ class IndexController extends Controller
$dbsecurity = true;
// 如果是sqlite数据库并且路径为默认的则标记为不安全
if (get_db_type() == 'sqlite') {
// 数据库配置含有默认名字则进行修改
if (strpos($this->config('database.dbname'), 'pbootcms') !== false) {
if (get_user_ip() != '127.0.0.1' && $this->modDB()) { // 非本地测试时尝试自动修改数据库名称
$dbsecurity = true;
} else {
$dbsecurity = false;
}
} elseif (file_exists(ROOT_PATH . '/data/pbootcms.db')) { // 存在多余的默认数据库文件则改名
rename(ROOT_PATH . '/data/pbootcms.db', ROOT_PATH . '/data/' . get_uniqid() . '.db');
}
} elseif (file_exists(ROOT_PATH . '/data/pbootcms.db')) {
rename(ROOT_PATH . '/data/pbootcms.db', ROOT_PATH . '/data/' . get_uniqid() . '.db');
@ -256,30 +259,34 @@ class IndexController extends Controller
} else {
$rs = (path_delete(RUN_PATH . '/cache') && path_delete(RUN_PATH . '/complile') && path_delete(RUN_PATH . '/config') && path_delete(RUN_PATH . '/upgrade') && path_delete(RUN_PATH . '/image'));
}
cache_config(); // 清理缓存后立即生成新的配置
if ($rs) {
if (extension_loaded('Zend OPcache')) {
opcache_reset(); // 在启用了OPcache加速器时同时清理
}
$this->log('清理缓存成功!');
alert_back('清理缓存成功!');
alert_back('清理缓存成功!', 1);
} else {
$this->log('清理缓存失败!');
alert_back('清理缓存失败!');
alert_back('清理缓存失败!', 0);
}
}
// 清理会话
public function clearSession()
{
$rs = path_delete(RUN_PATH . '/session');
if ($rs) {
$this->log('清理会话成功!');
alert_back('清理会话成功!');
} else {
$this->log('清理会话失败!');
alert_back('清理会话失败!');
}
ignore_user_abort(true); // 后台运行
set_time_limit(7200);
ob_start();
$output['code'] = 1;
$output['data'] = '执行成功,后台自动清理中!';
$output['tourl'] = '';
echo json_encode($output);
ob_end_flush();
flush();
$rs = path_delete(RUN_PATH . '/session', false, array(
'sess_' . session_id()
));
}
// 文件上传方法

View File

@ -41,6 +41,8 @@ class ContentController extends Controller
} else {
$result = $this->model->findContentAll($mcode, get('keyword', 'vars'));
}
} elseif (! ! $scode = get('scode', 'int')) {
$result = $this->model->findContent($mcode, $scode, '');
} else {
$result = $this->model->getList($mcode);
}
@ -120,7 +122,7 @@ class ContentController extends Controller
alert_back('文章标题不能为空!');
}
if ($filename && ! preg_match('/^[a-zA-Z0-9\-]+$/', $filename)) {
if ($filename && ! preg_match('/^[a-zA-Z0-9\-\/]+$/', $filename)) {
alert_back('内容URL名称只允许字母、数字、横线组成!');
}
@ -129,6 +131,11 @@ class ContentController extends Controller
$description = escape_string(clear_html_blank(substr_both(strip_tags($_POST['content']), 0, 150)));
}
// 无缩略图时,自动提取文章第一张图为缩略图
if (! $ico && preg_match('/<img\s+.*?src=\s?[\'|\"](.*?(\.gif|\.jpg|\.png|\.jpeg))[\'|\"].*?[\/]?>/i', decode_string($content), $srcs) && isset($srcs[1])) {
$ico = $srcs[1];
}
// 缩放缩略图
if ($ico) {
resize_img(ROOT_PATH . $ico, '', $this->config('ico.max_width'), $this->config('ico.max_height'));
@ -437,7 +444,7 @@ class ContentController extends Controller
alert_back('文章标题不能为空!');
}
if ($filename && ! preg_match('/^[a-zA-Z0-9\-]+$/', $filename)) {
if ($filename && ! preg_match('/^[a-zA-Z0-9\-\/]+$/', $filename)) {
alert_back('内容URL名称只允许字母、数字、横线组成!');
}
@ -446,6 +453,11 @@ class ContentController extends Controller
$description = escape_string(clear_html_blank(substr_both(strip_tags($_POST['content']), 0, 150)));
}
// 无缩略图时,自动提取文章第一张图为缩略图
if (! $ico && preg_match('/<img\s+.*?src=\s?[\'|\"](.*?(\.gif|\.jpg|\.png|\.jpeg))[\'|\"].*?[\/]?>/i', decode_string($content), $srcs) && isset($srcs[1])) {
$ico = $srcs[1];
}
// 缩放缩略图
if ($ico) {
resize_img(ROOT_PATH . $ico, '', $this->config('ico.max_width'), $this->config('ico.max_height'));

View File

@ -66,29 +66,9 @@ class ContentSortController extends Controller
foreach ($tree as $value) {
$this->count ++;
$this->outData[$this->count] = new \stdClass();
$this->outData[$this->count]->id = $value->id;
$this->outData[$this->count]->blank = $this->blank;
$this->outData[$this->count]->name = $value->name;
$this->outData[$this->count]->subname = $value->subname;
$this->outData[$this->count]->scode = $value->scode;
$this->outData[$this->count]->pcode = $value->pcode;
$this->outData[$this->count]->mcode = $value->mcode;
$this->outData[$this->count]->listtpl = $value->listtpl;
$this->outData[$this->count]->contenttpl = $value->contenttpl;
$this->outData[$this->count]->ico = $value->ico;
$this->outData[$this->count]->pic = $value->pic;
$this->outData[$this->count]->keywords = $value->keywords;
$this->outData[$this->count]->description = $value->description;
$this->outData[$this->count]->outlink = $value->outlink;
$this->outData[$this->count]->sorting = $value->sorting;
$this->outData[$this->count]->status = $value->status;
$this->outData[$this->count]->filename = $value->filename;
$this->outData[$this->count]->type = $value->type;
$this->outData[$this->count]->urlname = $value->urlname;
$this->outData[$this->count]->create_user = $value->create_user;
$this->outData[$this->count]->update_user = $value->update_user;
$this->outData[$this->count]->create_time = $value->create_time;
$this->outData[$this->count]->update_time = $value->update_time;
foreach ($value as $k => $v) {
$this->outData[$this->count]->$k = $v;
}
if ($value->son) {
$this->outData[$this->count]->son = true;

View File

@ -101,6 +101,10 @@ class ExtFieldController extends Controller
$mysql = 'TEXT';
$sqlite = 'TEXT(10000)';
break;
case '10': // 多图
$mysql = 'varchar(1000)';
$sqlite = 'TEXT(1000)';
break;
default:
$mysql = 'varchar(200)';
$sqlite = 'TEXT(200)';

View File

@ -188,6 +188,11 @@ class SingleController extends Controller
$description = escape_string(clear_html_blank(substr_both(strip_tags($_POST['content']), 0, 150)));
}
// 无缩略图时,自动提取文章第一张图为缩略图
if (! $ico && preg_match('/<img\s+.*?src=\s?[\'|\"](.*?(\.gif|\.jpg|\.png|\.jpeg))[\'|\"].*?[\/]?>/i', decode_string($content), $srcs) && isset($srcs[1])) {
$ico = $srcs[1];
}
// 缩放缩略图
if ($ico) {
resize_img(ROOT_PATH . $ico, '', $this->config('ico.max_width'), $this->config('ico.max_height'));

View File

@ -28,7 +28,7 @@ class ConfigController extends Controller
if (! ! $action = get('action')) {
switch ($action) {
case 'sendemail':
$rs = sendmail($this->config(), get('to'), '【PbootCMS】测试邮件', '欢迎您使用PbootCMS网站开发管理系统!');
$rs = sendmail($this->config(), get('to'), '【' . CMSNAME . '】测试邮件', '欢迎您使用' . CMSNAME . '网站开发管理系统!');
if ($rs === true) {
alert_back('测试邮件发送成功!');
} else {
@ -41,14 +41,17 @@ class ConfigController extends Controller
// 修改参数配置
if ($_POST) {
unset($_POST['upload']); // 去除上传组件
if (isset($_POST['sn'])) {
$_POST['licensecode'] = base64_encode(post('sn') . '/' . post('sn_user')) . substr(post('sn'), 1, 1);
}
foreach ($_POST as $key => $value) {
if (! preg_match('/^[\w\-]+$/', $key)) {
continue;
}
$config = array(
'debug',
'sn',
'sn_user',
// 'sn',
// 'sn_user',
'pagenum',
'tpl_html_cache',
'tpl_html_cache_time',
@ -103,8 +106,10 @@ class ConfigController extends Controller
}
$configs = $this->model->getList();
$configs['debug']['value'] = $this->config('debug');
$configs['sn']['value'] = $this->config('sn');
$configs['sn_user']['value'] = $this->config('sn_user');
if (! $configs['sn']['value']) {
$configs['sn']['value'] = $this->config('sn');
$configs['sn_user']['value'] = $this->config('sn_user');
}
$configs['session_in_sitepath']['value'] = $this->config('session_in_sitepath');
$configs['pagenum']['value'] = $this->config('pagenum');
$configs['url_type']['value'] = $this->config('url_type');

View File

@ -214,7 +214,7 @@ class DatabaseController extends Controller
$sql .= $brackets;
$comma = "";
for ($i = 0; $i < $fieldNnum; $i ++) {
$sql .= ($comma . "'" . decode_string($value[$i]) . "'");
$sql .= ($comma . "'" . addslashes(decode_string($value[$i])) . "'");
$comma = ",";
}
$sql .= ")";

View File

@ -16,7 +16,7 @@ class ContentModel extends Model
protected $scodes = array();
// 获取文章列表
public function getList($mcode)
public function getList($mcode, $where = array())
{
$field = array(
'a.id',
@ -61,6 +61,7 @@ class ContentModel extends Model
->where("b.mcode='$mcode'")
->where('d.type=2 OR d.type is null ')
->where("a.acode='" . session('acode') . "'")
->where($where)
->join($join)
->order('a.sorting ASC,a.id DESC')
->page()

View File

@ -22,7 +22,8 @@ class ContentSortModel extends Model
$field = array(
'a.*',
'b.type',
'b.urlname'
'b.urlname',
'(select count(*) from ay_content c where c.scode=a.scode) wzcount'
);
$join = array(
'ay_model b',

View File

@ -2,8 +2,8 @@
</div>
<script type="text/javascript" src="{APP_THEME_DIR}/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/comm.js?v=v2.0.0"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/mylayui.js?v=v3.0.6"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/comm.js?v=v3.1.1"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/mylayui.js?v=v3.1.0"></script>
<!-- 让IE8/9支持媒体查询从而兼容栅格 -->

View File

@ -1,134 +1,137 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title>后台管理中心-V{APP_VERSION}-{RELEASE_TIME}</title>
<link rel="shortcut icon" href="{SITE_DIR}/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="{APP_THEME_DIR}/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="{APP_THEME_DIR}/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="{APP_THEME_DIR}/css/comm.css?v=v3.0.6">
<link href="{APP_THEME_DIR}/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{APP_THEME_DIR}/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/jquery.treetable.js"></script>
</head>
<body class="layui-layout-body">
<!--定义部分地址方便JS调用-->
<div style="display: none">
<span id="controller" data-controller="{C}"></span>
<span id="url" data-url="{URL}"></span>
<span id="preurl" data-preurl="{fun=url('/admin',false)}"></span>
<span id="sitedir" data-sitedir="{SITE_DIR}"></span>
<span id="mcode" data-mcode="{$get.mcode}"></span>
</div>
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo">
<a href="{url./admin/Index/home}">
后台管理
{if(LICENSE==3)}
<span class="layui-badge">SVIP</span>
{else}
<span class="layui-badge layui-bg-gray">V{APP_VERSION}</span>
{/if}
</a>
</div>
<ul class="menu">
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
</ul>
{if(![$one_area])}
<form method="post" action="{url./admin/Index/area}" class="area-select">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-col-xs8">
<select name="acode">
{$area_html}
</select>
</div>
<div class="layui-col-xs4">
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
</div>
</form>
{/if}
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item layui-hide-xs">
<a href="{SITE_DIR}/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="{url./admin/Index/clearCache}"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="javascript:;">
<i class="fa fa-user-circle-o" aria-hidden="true"></i> {$session.realname}
</a>
<dl class="layui-nav-child">
<dd><a href="{url./admin/Index/ucenter}"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
<dd><a href="{url./admin/Index/loginOut}"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
<dd><a href="{url./admin/Upgrade/index}"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
<dd><a href="{url./admin/Index/clearSession}"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
</dl>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域可配合layui已有的垂直导航 -->
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
{foreach $menu_tree(key,value)}
<li class="layui-nav-item nav-item {if([$primary_menu_url]==$value->url)}layui-nav-itemed{/if}">
<a class="" href="javascript:;"><i class="fa [value->ico]" aria-hidden="true"></i>[value->name]</a>
<dl class="layui-nav-child">
{if($value->mcode=='M130')}
{foreach $menu_models(key3,value3,num3)}
{if($value3->type==1)}
<dd><a href="{url./admin/Single/index/mcode/'.$value3->mcode.'}"><i class="fa fa-file-text-o" aria-hidden="true"></i>[value3->name]内容</a></dd>
{/if}
{if($value3->type==2)}
<dd><a href="{url./admin/Content/index/mcode/'.$value3->mcode.'}"><i class="fa fa-file-text-o" aria-hidden="true"></i>[value3->name]内容</a></dd>
{/if}
{/foreach}
{else}
{foreach $value->son(key2,value2,num2)}
{if(!isset($value2->status)|| $value2->status==1)}
<dd><a href="{url.'.$value2->url.'}"><i class="fa [value2->ico]" aria-hidden="true"></i>[value2->name]</a></dd>
{/if}
{/foreach}
{if($value->mcode=='M101' && session('ucode')==10001)}
<dd><a href="{url./admin/Upgrade/index}"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
{/if}
{/if}
</dl>
</li>
{/foreach}
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
<li class="layui-nav-item layui-hide-sm">
<a href="{SITE_DIR}/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="{url./admin/Index/ucenter}"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="{url./admin/Index/clearCache}"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="{url./admin/Index/loginOut}"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
</li>
</ul>
</div>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title>{CMSNAME}管理中心-V{APP_VERSION}-{RELEASE_TIME}</title>
<link rel="shortcut icon" href="{SITE_DIR}/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="{APP_THEME_DIR}/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="{APP_THEME_DIR}/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="{APP_THEME_DIR}/css/comm.css?v=v3.0.6">
<link href="{APP_THEME_DIR}/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{APP_THEME_DIR}/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/jquery.treetable.js"></script>
</head>
<body class="layui-layout-body">
<!--定义部分地址方便JS调用-->
<div style="display: none">
<span id="controller" data-controller="{C}"></span>
<span id="url" data-url="{URL}"></span>
<span id="preurl" data-preurl="{fun=url('/admin',false)}"></span>
<span id="sitedir" data-sitedir="{SITE_DIR}"></span>
<span id="mcode" data-mcode="{$get.mcode}"></span>
</div>
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo">
<a href="{url./admin/Index/home}">
<img src="{APP_THEME_DIR}/images/logo.png" height="30">
{CMSNAME}
{if(LICENSE==3)}
<span class="layui-badge">SVIP</span>
{else}
<span class="layui-badge layui-bg-gray">V{APP_VERSION}</span>
{/if}
</a>
</div>
<ul class="menu">
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
</ul>
{if(![$one_area])}
<form method="post" action="{url./admin/Index/area}" class="area-select">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-col-xs8">
<select name="acode">
{$area_html}
</select>
</div>
<div class="layui-col-xs4">
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
</div>
</form>
{/if}
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item layui-hide-xs">
<a href="{SITE_DIR}/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="{url./admin/Index/clearCache}" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="javascript:;">
<i class="fa fa-user-circle-o" aria-hidden="true"></i> {$session.realname}
</a>
<dl class="layui-nav-child">
<dd><a href="{url./admin/Index/ucenter}"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
<dd><a href="{url./admin/Index/loginOut}"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
{if(session('ucode')==10001)}
<dd><a href="{url./admin/Upgrade/index}"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
<dd><a href="{url./admin/Index/clearSession}" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
{/if}
</dl>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域可配合layui已有的垂直导航 -->
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
{foreach $menu_tree(key,value)}
<li class="layui-nav-item nav-item {if([$primary_menu_url]==$value->url)}layui-nav-itemed{/if}">
<a class="" href="javascript:;"><i class="fa [value->ico]" aria-hidden="true"></i>[value->name]</a>
<dl class="layui-nav-child">
{if($value->mcode=='M130')}
{foreach $menu_models(key3,value3,num3)}
{if($value3->type==1)}
<dd><a href="{url./admin/Single/index/mcode/'.$value3->mcode.'}"><i class="fa fa-file-text-o" aria-hidden="true"></i>[value3->name]内容</a></dd>
{/if}
{if($value3->type==2)}
<dd><a href="{url./admin/Content/index/mcode/'.$value3->mcode.'}"><i class="fa fa-file-text-o" aria-hidden="true"></i>[value3->name]内容</a></dd>
{/if}
{/foreach}
{else}
{foreach $value->son(key2,value2,num2)}
{if(!isset($value2->status)|| $value2->status==1)}
<dd><a href="{url.'.$value2->url.'}"><i class="fa [value2->ico]" aria-hidden="true"></i>[value2->name]</a></dd>
{/if}
{/foreach}
{if($value->mcode=='M101' && session('ucode')==10001)}
<dd><a href="{url./admin/Upgrade/index}"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
{/if}
{/if}
</dl>
</li>
{/foreach}
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
<li class="layui-nav-item layui-hide-sm">
<a href="{SITE_DIR}/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="{url./admin/Index/ucenter}"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="{url./admin/Index/clearCache}"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="{url./admin/Index/loginOut}"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
</li>
</ul>
</div>
</div>

View File

@ -1,113 +1,113 @@
{include file='common/head.html'}
<div class="layui-body">
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">公司信息</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="{url./admin/Company/mod}" method="post">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-block">
<input type="text" name="name" value="{$companys->name}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司地址</label>
<div class="layui-input-block">
<input type="text" name="address" value="{$companys->address}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">邮政编码</label>
<div class="layui-input-block">
<input type="text" name="postcode" value="{$companys->postcode}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系人</label>
<div class="layui-input-block">
<input type="text" name="contact" value="{$companys->contact}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">手机号码</label>
<div class="layui-input-block">
<input type="text" name="mobile" value="{$companys->mobile}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电话号码</label>
<div class="layui-input-block">
<input type="text" name="phone" value="{$companys->phone}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">传真号码</label>
<div class="layui-input-block">
<input type="text" name="fax" value="{$companys->fax}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电子邮箱</label>
<div class="layui-input-block">
<input type="text" name="email" value="{$companys->email}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">QQ号码</label>
<div class="layui-input-block">
<input type="text" name="qq" value="{$companys->qq}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">微信二维码</label>
<div class="layui-input-inline">
<input type="text" name="weixin" id="weixin" value="{$companys->weixin}" placeholder="" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="weixin">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="weixin_box" class="pic"><dl><dt>{if(@[$companys->weixin])}<img src="{SITE_DIR}{$companys->weixin}" data-url="{$companys->weixin}"></dt><dd>删除</dd></dl>{/if}</div>
</div>
<!--<div class="layui-form-item">
<label class="layui-form-label">营业执照代码</label>
<div class="layui-input-block">
<input type="text" name="blicense" value="{$companys->blicense}" placeholder="" class="layui-input">
</div>
</div>-->
<div class="layui-form-item">
<label class="layui-form-label">其它信息</label>
<div class="layui-input-block">
<input type="text" name="other" value="{$companys->other}" placeholder="" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{include file='common/foot.html'}
{include file='common/head.html'}
<div class="layui-body">
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">公司信息</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="{url./admin/Company/mod}" method="post">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-block">
<input type="text" name="name" value="{$companys->name}" placeholder="请输入公司名称" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司地址</label>
<div class="layui-input-block">
<input type="text" name="address" value="{$companys->address}" placeholder="请输入公司地址" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">邮政编码</label>
<div class="layui-input-block">
<input type="text" name="postcode" value="{$companys->postcode}" placeholder="请输入邮政编码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系人</label>
<div class="layui-input-block">
<input type="text" name="contact" value="{$companys->contact}" placeholder="请输入联系人" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">手机号码</label>
<div class="layui-input-block">
<input type="text" name="mobile" value="{$companys->mobile}" placeholder="请输入手机号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电话号码</label>
<div class="layui-input-block">
<input type="text" name="phone" value="{$companys->phone}" placeholder="请输入电话号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">传真号码</label>
<div class="layui-input-block">
<input type="text" name="fax" value="{$companys->fax}" placeholder="请输入传真号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电子邮箱</label>
<div class="layui-input-block">
<input type="text" name="email" value="{$companys->email}" placeholder="请输入电子邮箱" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">QQ号码</label>
<div class="layui-input-block">
<input type="text" name="qq" value="{$companys->qq}" placeholder="请输入QQ号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">微信图标</label>
<div class="layui-input-inline">
<input type="text" name="weixin" id="weixin" value="{$companys->weixin}" placeholder="请上传微信图标" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="weixin">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="weixin_box" class="pic"><dl><dt>{if(@[$companys->weixin])}<img src="{SITE_DIR}{$companys->weixin}" data-url="{$companys->weixin}"></dt><dd>删除</dd></dl>{/if}</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">营业执照代码</label>
<div class="layui-input-block">
<input type="text" name="blicense" value="{$companys->blicense}" placeholder="请输入营业执照代码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">其它信息</label>
<div class="layui-input-block">
<input type="text" name="other" value="{$companys->other}" placeholder="请输入其它信息" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{include file='common/foot.html'}

View File

@ -76,45 +76,31 @@
<td class="table-input"><input type="text" lay-ignore class="layui-input" name="sorting[]" value="[value->sorting]"></td>
<td>
{if($value->status)}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0}"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0}" class="switch"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
{else}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1}"><i class='fa fa-toggle-off' title="点击开启"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1}" class="switch"><i class='fa fa-toggle-off' title="点击开启"></i></a>
{/if}
</td>
<td>
{if($value->istop)}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/istop/value/0}"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/istop/value/0}" class="switch"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
{else}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/istop/value/1}"><i class='fa fa-toggle-off' title="点击开启"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/istop/value/1}" class="switch"><i class='fa fa-toggle-off' title="点击开启"></i></a>
{/if}
</td>
<td>
{if($value->isrecommend)}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/isrecommend/value/0}"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/isrecommend/value/0}" class="switch"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
{else}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/isrecommend/value/1}"><i class='fa fa-toggle-off' title="点击开启"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/isrecommend/value/1}" class="switch"><i class='fa fa-toggle-off' title="点击开启"></i></a>
{/if}
</td>
<td>[value->visits]</td>
<td>
{if(!$value->outlink)}
{php}
$sortfilename = $value->sortfilename;
$contentfilename = $value->filename;
$id = $value->id;
$urlname = $value->urlname?:'list';
$scode = $value->scode;
$url_break_char= get_var('url_break_char');
if ($sortfilename && $contentfilename) {
$link = homeurl('home/Index/' . $sortfilename . '/' . $contentfilename, true);
} elseif ($sortfilename) {
$link = homeurl('home/Index/' . $sortfilename . '/' . $id, true);
} elseif ($contentfilename) {
$link = homeurl('home/Index/' . $urlname . $url_break_char . $scode . '/' . $contentfilename, true);
} else {
$link = homeurl('home/Index/' . $urlname . $url_break_char . $scode . '/' . $id, true);
}
$Parser=new app\home\controller\ParserController();
$link=$Parser->parserLink(2,$value->urlname,'content',$value->scode,$value->sortfilename,$value->id,$value->filename);
{/php}
<input type="hidden" name="urls[[value->id]]" value="{php}echo $link{/php}">
@ -276,6 +262,19 @@
</div>
{/if}
{if($value->type==10)}<!-- 多图片 -->
<div class="layui-form-item">
<label class="layui-form-label">[value->description]</label>
<div class="layui-input-inline">
<input type="text" name="[value->name]" id="[value->name]" placeholder="请上传[value->description]" class="layui-input">
</div>
<button type="button" class="layui-btn uploads watermark" data-des="[value->name]">
<i class="layui-icon">&#xe67c;</i>上传多图
</button>
<div id="[value->name]_box" class="pic addedit"><dl></dl> <!-- 规避空内容拖动bug --></div>
</div>
{/if}
{if($value->type==6)}<!-- 文件 -->
<div class="layui-form-item">
<label class="layui-form-label">[value->description]</label>
@ -445,7 +444,7 @@
<div class="layui-form-item">
<label class="layui-form-label">URL名称</label>
<div class="layui-input-block">
<input type="text" name="filename" placeholder="请输入URL名称如:test" class="layui-input">
<input type="text" name="filename" placeholder="请输入URL名称如:testtest/a/b" class="layui-input">
</div>
</div>
@ -629,6 +628,34 @@
</div>
{/if}
{if($value->type==10)}<!-- 多图 -->
<div class="layui-form-item">
<label class="layui-form-label">[value->description]</label>
<div class="layui-input-inline">
<input type="text" name="[value->name]" id="[value->name]" value="{$content->{$value->name}}" placeholder="请上传[value->description]" class="layui-input">
</div>
<button type="button" class="layui-btn uploads watermark" data-des="[value->name]">
<i class="layui-icon">&#xe67c;</i>上传多图
</button>
<div id="[value->name]_box" class="pic addedit">
<dl></dl> <!-- 规避空内容拖动bug -->
{php}
$name=$value->name;
if([$content->$name]){
$pics=explode(',',[$content->$name]);
}else{
$pics = array();
}
foreach ($pics as $key=>$value) {
//需要留一个空,不然被解析为标签了
echo "<dl><dt><img src='".SITE_DIR.$value."' data-url='".$value."'></dt><dd>删除</dd></dl>";
}
{/php}
</div>
</div>
{/if}
{if($value->type==6)}<!-- 文件 -->
<div class="layui-form-item">
<label class="layui-form-label">[value->description]</label>
@ -825,7 +852,7 @@
<div class="layui-form-item">
<label class="layui-form-label">URL名称</label>
<div class="layui-input-block">
<input type="text" name="filename" value="{$content->filename}" placeholder="请输入URL名称如:test" class="layui-input">
<input type="text" name="filename" value="{$content->filename}" placeholder="请输入URL名称如:testtest/a/b" class="layui-input">
</div>
</div>

View File

@ -42,9 +42,16 @@
<i class="fa fa-folder-open-o" aria-hidden="true"></i>
{/if}
[value->name]
{if($value->outlink)}
<span class="layui-badge layui-bg-black"></span>
<a href="[value->outlink]" target="_blank"><i class="fa fa-external-link" aria-hidden="true"></i></a>
{else}
{if($value->type==1)}
<a href="{url./admin/Single/index/mcode}/[value->mcode]&scode=[value->scode]"><i class="fa fa-file-text-o" aria-hidden="true"></i> </a>
{else}
<a href="{url./admin/Content/index/mcode}/[value->mcode]&scode=[value->scode]"><i class="fa fa-file-text-o" aria-hidden="true"></i> </a>
{/if}
{/if}
</td>
<td>[value->scode]</td>
@ -61,24 +68,18 @@
<td class="table-input"><input type="text" name="sorting[]" value="[value->sorting]" class="layui-input"></td>
<td>
{if($value->status)}
<a href="{url./admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/0}"><i class='fa fa-toggle-on' title="点击禁用"></i></a>
<a href="{url./admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/0}" class="switch"><i class='fa fa-toggle-on' title="点击禁用"></i></a>
{else}
<a href="{url./admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/1}"><i class='fa fa-toggle-off' title="点击启用"></i></a>
<a href="{url./admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/1}" class="switch"><i class='fa fa-toggle-off' title="点击启用"></i></a>
{/if}
</td>
<td>
{if(!$value->outlink)}
{if($value->type==1)}
{php}$value->urlname=$value->urlname?:'about';{/php}
{else}
{php}$value->urlname=$value->urlname?:'list';{/php}
{/if}
{if($value->filename)}
<a href="{fun=homeurl('/home/Index/'.$value->filename)}" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
{else}
<a href="{fun=homeurl('/home/Index/'.$value->urlname.[$url_break_char].$value->scode)}" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
{/if}
{php}
$Parser=new app\home\controller\ParserController();
$link=$Parser->parserLink($value->type,$value->urlname,'list',$value->scode,$value->filename,'','');
{/php}
<a href="{php}echo $link{/php}" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
{/if}
{fun=get_btn_del($value->scode,'scode')}
@ -131,7 +132,7 @@
<div class="layui-form-item">
<label class="layui-form-label">URL名称 </label>
<div class="layui-input-block">
<input type="text" name="filename" placeholder="请输入URL名称如:test" class="layui-input">
<input type="text" name="filename" placeholder="请输入URL名称如:testtest/a/b/c" class="layui-input">
</div>
</div>
@ -418,7 +419,7 @@
<div class="layui-form-item">
<label class="layui-form-label">URL名称 </label>
<div class="layui-input-block">
<input type="text" name="filename" value="{$sort->filename}" placeholder="请输入URL名称如:test" class="layui-input">
<input type="text" name="filename" value="{$sort->filename}" placeholder="请输入URL名称如:testtest/a/b/c" class="layui-input">
</div>
</div>

View File

@ -39,7 +39,8 @@
{if($value->type==2)}多行文本{/if}
{if($value->type==3)}单选按钮{/if}
{if($value->type==4)}多选按钮{/if}
{if($value->type==5)}图片上传{/if}
{if($value->type==5)}单图上传{/if}
{if($value->type==10)}多图上传{/if}
{if($value->type==6)}附件上传{/if}
{if($value->type==7)}日期选择{/if}
{if($value->type==8)}编辑器{/if}
@ -94,7 +95,8 @@
<option value="2">多行文本</option>
<option value="3">单选按钮</option>
<option value="4">多选按钮</option>
<option value="5">图片上传</option>
<option value="5">单图上传</option>
<option value="10">多图上传</option>
<option value="6">附件上传</option>
<option value="7">日期选择</option>
<option value="8">编辑器</option>
@ -181,11 +183,15 @@
<option value="8" selected>编辑器</option>
{/if}
{if([$extfield->type]!=2 && [$extfield->type]!=7 && [$extfield->type]!=8)}
{if([$extfield->type]==10)}
<option value="10" selected>多图上传</option>
{/if}
{if([$extfield->type]!=2 && [$extfield->type]!=7 && [$extfield->type]!=8 && [$extfield->type]!=10)}
<option value="1" {if([$extfield->type]==1)}selected{/if}>单行文本</option>
<option value="3" {if([$extfield->type]==3)}selected{/if}>单选按钮</option>
<option value="4" {if([$extfield->type]==4)}selected{/if}>多选按钮</option>
<option value="5" {if([$extfield->type]==5)}selected{/if}>图片上传</option>
<option value="5" {if([$extfield->type]==5)}selected{/if}>图上传</option>
<option value="6" {if([$extfield->type]==6)}selected{/if}>附件上传</option>
<option value="9" {if([$extfield->type]==9)}selected{/if}>下拉选择</option>
{/if}

View File

@ -25,7 +25,7 @@
<tbody>
{foreach $links(key,value)}
<tr>
<td>分组[value->gid]</td>
<td>[value->gid]</td>
<td>[value->name]</td>
<td>[value->link]</td>
<td><img src="{SITE_DIR}[value->logo]" style="height:20px;"></td>
@ -113,15 +113,11 @@
<div class="layui-tab-item layui-show">
<form action="{url./admin/Link/mod/id/'.[$get.id].'}{$backurl}" method="post" class="layui-form">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-form-item">
<div class="layui-form-item">
<label class="layui-form-label">分组</label>
<div class="layui-input-block">
<select name="gid">
{foreach $gids(key,value)}
<option value="[value]" {if([$link->gid]==$value)}selected{/if}>分组[value]</option>
{/foreach}
<option value="" >自动新增分组</option>
</select>
<input type="text" name="gid" required lay-verify="required" value="{$link->gid}" placeholder="请输入分组" class="layui-input">
</div>
</div>

View File

@ -36,9 +36,9 @@
<td>[value->contenttpl]</td>
<td>
{if($value->status)}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0}"><i class='fa fa-toggle-on' title="点击禁用"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0}" class="switch"><i class='fa fa-toggle-on' title="点击禁用"></i></a>
{else}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1}"><i class='fa fa-toggle-off' title="点击启用"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1}" class="switch"><i class='fa fa-toggle-off' title="点击启用"></i></a>
{/if}
</td>
<td>

View File

@ -60,23 +60,19 @@
<td>[value->date]</td>
<td>
{if($value->status)}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0}"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/0}" class="switch"><i class='fa fa-toggle-on' title="点击关闭"></i></a>
{else}
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1}"><i class='fa fa-toggle-off' title="点击开启"></i></a>
<a href="{url./admin/'.C.'/mod/id/'.$value->id.'/field/status/value/1}" class="switch"><i class='fa fa-toggle-off' title="点击开启"></i></a>
{/if}
</td>
<td>[value->visits]</td>
<td>
{if(!$value->outlink)}
{php}
$value->urlname=$value->urlname?:'about';
{/php}
{if($value->filename)}
<a href="{fun=homeurl('/home/Index/'.$value->filename)}" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
{else}
<a href="{fun=homeurl('/home/Index/'.$value->urlname.[$url_break_char].$value->scode)}" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
{/if}
{php}
$Parser=new app\home\controller\ParserController();
$link=$Parser->parserLink(1,$value->urlname,'about',$value->scode,$value->filename,'','');
{/php}
<a href="{php}echo $link{/php}" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
{/if}
{if(check_level('mod'))}

View File

@ -1,107 +1,107 @@
{include file='common/head.html'}
<div class="layui-body">
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">站点信息</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="{url./admin/Site/mod}" method="post" class="layui-form">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-form-item">
<label class="layui-form-label">站点标题</label>
<div class="layui-input-block">
<input type="text" name="title" value="{$sites->title}" placeholder="请输入站点标题" class="layui-input">
</div>
</div>
<!-- <div class="layui-form-item">
<label class="layui-form-label">站点副标题</label>
<div class="layui-input-block">
<input type="text" name="subtitle" value="{$sites->subtitle}" placeholder="请输入站点副标题" class="layui-input">
</div>
</div>-->
<div class="layui-form-item">
<label class="layui-form-label">站点域名</label>
<div class="layui-input-block">
<input type="text" name="domain" value="{$sites->domain}" placeholder="请输入站点域名" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点LOGO</label>
<div class="layui-input-inline">
<input type="text" name="logo" id="logo" value="{$sites->logo}" placeholder="请上传站点LOGO图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="logo">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="logo_box" class="pic"><dl><dt>{if(@[$sites->logo])}<img src="{SITE_DIR}{$sites->logo}" data-url="{$sites->logo}"></dt><dd>删除</dd></dl>{/if}</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点关键字</label>
<div class="layui-input-block">
<input type="text" name="keywords" value="{$sites->keywords}" placeholder="请输入站点关键字" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点描述</label>
<div class="layui-input-block">
<textarea name="description" placeholder="请输入站点描述" class="layui-textarea">{$sites->description}</textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点备案</label>
<div class="layui-input-block">
<input type="text" name="icp" value="{$sites->icp}" placeholder="请输入站点备案" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点模板</label>
<div class="layui-input-block">
<select name="theme">
{foreach $themes(key,value)}
{if($value == [$sites->theme])}
<option value="[value]" selected='selected'>[value]</option>
{else}
<option value="[value]">[value]</option>
{/if}
{/foreach}
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">统计代码</label>
<div class="layui-input-block">
<textarea name="statistical" placeholder="请输入统计代码" class="layui-textarea">{$sites->statistical}</textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">尾部信息</label>
<div class="layui-input-block">
<textarea name="copyright" placeholder="请输入尾部信息" class="layui-textarea">{$sites->copyright}</textarea>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{include file='common/foot.html'}
{include file='common/head.html'}
<div class="layui-body">
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">站点信息</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="{url./admin/Site/mod}" method="post" class="layui-form">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-form-item">
<label class="layui-form-label">站点标题</label>
<div class="layui-input-block">
<input type="text" name="title" value="{$sites->title}" placeholder="请输入站点标题" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点副标题</label>
<div class="layui-input-block">
<input type="text" name="subtitle" value="{$sites->subtitle}" placeholder="请输入站点副标题" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点域名</label>
<div class="layui-input-block">
<input type="text" name="domain" value="{$sites->domain}" placeholder="请输入站点域名" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点LOGO</label>
<div class="layui-input-inline">
<input type="text" name="logo" id="logo" value="{$sites->logo}" placeholder="请上传站点LOGO图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="logo">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="logo_box" class="pic"><dl><dt>{if(@[$sites->logo])}<img src="{SITE_DIR}{$sites->logo}" data-url="{$sites->logo}"></dt><dd>删除</dd></dl>{/if}</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点关键字</label>
<div class="layui-input-block">
<input type="text" name="keywords" value="{$sites->keywords}" placeholder="请输入站点关键字" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点描述</label>
<div class="layui-input-block">
<textarea name="description" placeholder="请输入站点描述" class="layui-textarea">{$sites->description}</textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点备案</label>
<div class="layui-input-block">
<input type="text" name="icp" value="{$sites->icp}" placeholder="请输入站点备案" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点模板</label>
<div class="layui-input-block">
<select name="theme">
{foreach $themes(key,value)}
{if($value == [$sites->theme])}
<option value="[value]" selected='selected'>[value]</option>
{else}
<option value="[value]">[value]</option>
{/if}
{/foreach}
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">统计代码</label>
<div class="layui-input-block">
<textarea name="statistical" placeholder="请输入统计代码" class="layui-textarea">{$sites->statistical}</textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">尾部信息</label>
<div class="layui-input-block">
<textarea name="copyright" placeholder="请输入尾部信息" class="layui-textarea">{$sites->copyright}</textarea>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
{include file='common/foot.html'}

View File

@ -26,7 +26,7 @@
<tbody>
{foreach $slides(key,value)}
<tr>
<td>分组[value->gid]</td>
<td>[value->gid]</td>
<td><img src="{SITE_DIR}[value->pic]" style="height:30px;"></td>
<td>[value->link]</td>
<td>[value->title]</td>
@ -123,15 +123,11 @@
<div class="layui-tab-item layui-show">
<form action="{url./admin/Slide/mod/id/'.[$get.id].'}{$backurl}" method="post" class="layui-form">
<input type="hidden" name="formcheck" value="{$formcheck}" >
<div class="layui-form-item">
<div class="layui-form-item">
<label class="layui-form-label">分组</label>
<div class="layui-input-block">
<select name="gid">
{foreach $gids(key,value)}
<option value="[value]" {if([$slide->gid]==$value)}selected{/if}>分组[value]</option>
{/foreach}
<option value="" >自动新增分组</option>
</select>
<input type="text" name="gid" required lay-verify="required" value="{$slide->gid}" placeholder="请输入分组" class="layui-input">
</div>
</div>

View File

@ -1,78 +1,82 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title>{CMSNAME}管理中心-V{APP_VERSION}-{RELEASE_TIME}</title>
<link rel="shortcut icon" href="{SITE_DIR}/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="{APP_THEME_DIR}/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="{APP_THEME_DIR}/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="{APP_THEME_DIR}/css/login.css?v=v1.1.6">
<script type="text/javascript" src="{APP_THEME_DIR}/js/jquery-1.12.4.min.js"></script>
</head>
<body>
<div class="user-login" >
<div class="user-login-main">
<div class="user-login-header">
<h2>
网站管理中心
</h2>
<p>高效、简洁、强悍的PHP企业网站管理系统</p>
</div>
<form action="{url./admin/Index/login}" onsubmit="return false" class="layui-form" id="dologin">
<input type="hidden" name="formcheck" id="formcheck" value="{$formcheck}" >
<div class="user-login-box">
<div class="layui-form-item">
<label class="user-login-icon layui-icon layui-icon-username"></label>
<input name="username" id="username" type="text" lay-verify="required" placeholder="用户名" autocomplete="off" class="layui-input">
</div>
<div class="layui-form-item">
<label class="user-login-icon layui-icon layui-icon-password"></label>
<input name="password" id="password" type="password" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input">
</div>
{if([$config.admin_check_code])}
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-xs7 layui-col-sm8">
<label class="user-login-icon layui-icon layui-icon-vercode" ></label>
<input name="checkcode" id="checkcode" type="text" lay-verify="required" placeholder="验证码" autocomplete="off" class="layui-input">
</div>
<div class="layui-col-xs5 layui-col-sm4">
<div style="margin-left: 10px;">
<img title="点击刷新" src="{CORE_DIR}/code.php" class="user-login-codeimg" id="codeimg" onclick="this.src='{CORE_DIR}/code.php?'+Math.round(Math.random()*10);" />
</div>
</div>
</div>
</div>
{/if}
<div class="layui-form-item">
<button class="layui-btn layui-btn-fluid" lay-submit lay-filter="login-submit" >登 录</button>
</div>
<div style="color:red;" id="note"></div>
</div>
</form>
</div>
<div class="layui-trans user-login-footer">
<p>© 2018-{fun=date('Y')}</p>
</div>
</div>
<script type="text/javascript" src="{APP_THEME_DIR}/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/mylayui.js?v=v1.1.6"></script>
<!-- 让IE8/9支持媒体查询从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</body>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title>{CMSNAME}管理中心-V{APP_VERSION}-{RELEASE_TIME}</title>
<link rel="shortcut icon" href="{SITE_DIR}/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="{APP_THEME_DIR}/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="{APP_THEME_DIR}/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="{APP_THEME_DIR}/css/login.css?v=v1.1.6">
<script type="text/javascript" src="{APP_THEME_DIR}/js/jquery-1.12.4.min.js"></script>
</head>
<body>
<div class="user-login" >
<div class="user-login-main">
<div class="user-login-header">
<h2>
<img src="{APP_THEME_DIR}/images/logo.png" height="40">
{CMSNAME}管理中心
</h2>
<p>高效、简洁、强悍的PHP企业网站管理系统</p>
</div>
<form action="{url./admin/Index/login}" onsubmit="return false" class="layui-form" id="dologin">
<input type="hidden" name="formcheck" id="formcheck" value="{$formcheck}" >
<div class="user-login-box">
<div class="layui-form-item">
<label class="user-login-icon layui-icon layui-icon-username"></label>
<input name="username" id="username" type="text" lay-verify="required" placeholder="用户名" autocomplete="off" class="layui-input">
</div>
<div class="layui-form-item">
<label class="user-login-icon layui-icon layui-icon-password"></label>
<input name="password" id="password" type="password" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input">
</div>
{if([$config.admin_check_code])}
<div class="layui-form-item">
<div class="layui-row">
<div class="layui-col-xs7 layui-col-sm8">
<label class="user-login-icon layui-icon layui-icon-vercode" ></label>
<input name="checkcode" id="checkcode" type="text" lay-verify="required" placeholder="验证码" autocomplete="off" class="layui-input">
</div>
<div class="layui-col-xs5 layui-col-sm4">
<div style="margin-left: 10px;">
<img title="点击刷新" src="{CORE_DIR}/code.php" class="user-login-codeimg" id="codeimg" onclick="this.src='{CORE_DIR}/code.php?'+Math.round(Math.random()*10);" />
</div>
</div>
</div>
</div>
{/if}
<div class="layui-form-item">
<button class="layui-btn layui-btn-fluid" lay-submit lay-filter="login-submit" >登 录</button>
</div>
<div style="color:red;" id="note"></div>
</div>
</form>
</div>
{if(CMSNAME=='PbootCMS')}
<div class="layui-trans user-login-footer">
<p>© 2018-{fun=date('Y')} <a href="http://www.pbootcms.com/" target="_blank">pbootcms.com</a></p>
<p><span><a href="http://demo.pbootcms.com" target="_blank">在线演示</a></span><span><a href="http://www.pbootcms.com" target="_blank">前往官网</a></span> </p>
</div>
{/if}
</div>
<script type="text/javascript" src="{APP_THEME_DIR}/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="{APP_THEME_DIR}/js/mylayui.js?v=v1.1.6"></script>
<!-- 让IE8/9支持媒体查询从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</body>
</html>

View File

@ -71,6 +71,42 @@ $(document).ready(function (e) {
$(this).attr('href', $(this).attr('href')+hash);
});
}
//无刷新切换状态
$('.switch').on("click",".fa-toggle-on",function(){
$.get($(this).parent(".switch").attr("href"))
$(this).addClass("fa-toggle-off");
$(this).removeClass("fa-toggle-on");
return false;
})
$('.switch').on("click",".fa-toggle-off",function(){
$.get($(this).parent(".switch").attr("href"))
$(this).addClass("fa-toggle-on");
$(this).removeClass("fa-toggle-off");
return false;
})
$('.ajaxlink').on("click",function(){
var url=$(this).attr("href");
$.ajax({
type: 'GET',
url: url,
dataType: 'json',
data: {},
success: function (response, status) {
alert(response.data);
if(response.tourl!=""){
location.href=response.tourl;
}
},
error:function(xhr,status,error){
alert('返回数据异常!');
}
});
return false;
})
})

View File

@ -112,6 +112,7 @@ layui.use(['element','upload','laydate','form'], function(){
//执行多图片上传实例
var files='';
var html='';
var html2='';
var uploadsInst = upload.render({
elem: '.uploads' //绑定元素
,url: uploadurl //上传接口
@ -136,6 +137,7 @@ layui.use(['element','upload','laydate','form'], function(){
html += "<dl><dt><img src='"+sitedir+res.data[0]+"' data-url='"+res.data[0]+"'></dt><dd>删除</dd>" +
"<dt><input type='text' name='picstitle[]' style='width:95%' /></dt>"+
"</dl>";
html2 += "<dl><dt><img src='"+sitedir+res.data[0]+"' data-url='"+res.data[0]+"'></dt><dd>删除</dd>" + "</dl>";
}else{
layer.msg('有文件上传失败:'+res.data);
}
@ -151,10 +153,15 @@ layui.use(['element','upload','laydate','form'], function(){
}else{
$('#'+des).val(files);
}
$('#'+des+'_box').append(html);
if(des=='pics'){
$('#'+des+'_box').append(html);
}else{
$('#'+des+'_box').append(html2);
}
layer.msg('成功上传'+obj.successful+'个文件!');
files='';
html='';
html2='';
}else{
layer.msg('全部上传失败!');
}

File diff suppressed because it is too large Load Diff

View File

@ -1,173 +1,176 @@
{include file='common/head.html'}
<div class="layui-body">
{if(![$dbsecurity]||![$session.pwsecurity])}
<blockquote class="layui-elem-quote layui-text-red" id="note">
{if(![$dbsecurity])}
<p>
<i class="fa fa-info-circle" aria-hidden="true"></i>
您的数据库文件存在安全隐患,可能被下载,请尽快修改数据库路径!<a class="layui-btn layui-btn-sm" href="{url./admin/Index/home}&action=moddb">自动修改</a>
</p>
{/if}
{if(![$session.pwsecurity])}
<p>
<i class="fa fa-info-circle" aria-hidden="true"></i>
您的账号密码为初始密码,存在安全隐患,请尽快修改密码!<a class="layui-btn layui-btn-sm" href="{url./admin/Index/ucenter}">立即修改</a>
</p>
{/if}
</blockquote>
{/if}
<blockquote class="layui-elem-quote">
当前登录用户:{$user_info->username} {$user_info->realname},登录时间:{$user_info->update_time}登录IP{fun=long2ip([$user_info->last_login_ip])},累计登录次数:{$user_info->login_count}
</blockquote>
<fieldset class="layui-elem-field">
<legend>快捷操作</legend>
<div class="layui-field-box">
<div class="layui-row">
{foreach $model_msg(key,value)}
<div class="layui-col-xs6 layui-col-sm4 layui-col-md3 layui-col-lg2">
{if($value->type==1)}
<a href="{url./admin/Single/index/mcode/'.$value->mcode.'}">
{else}
<a href="{url./admin/Content/index/mcode/'.$value->mcode.'}">
{/if}
<dl class="deskbox center-block">
<dt>[value->name]</dt>
<dd>[value->count]</dd>
</dl>
</a>
</div>
{/foreach}
<div class="layui-col-xs6 layui-col-sm4 layui-col-md3 layui-col-lg2">
<a href="{url./admin/Message/index}">
<dl class="deskbox center-block">
<dt>留言</dt>
<dd>{$sum_msg}</dd>
</dl>
</a>
</div>
</div>
</div>
</fieldset>
{if(CMSNAME=='PbootCMS')}
<div class="layui-row layui-col-space10">
<div class="layui-col-xs12 layui-col-md6">
<table class="layui-table table-two">
<thead>
<tr>
<th colspan="2">系统信息</th>
</tr>
</thead>
<tbody>
<tr>
<th width="100">应用版本</th>
<td>PbootCMS V{APP_VERSION}-{RELEASE_TIME}
{if(session('ucode')==10001)}
<a href="{url./admin/Upgrade/index}" class="layui-btn layui-btn-xs" id="check">在线更新</a>
{/if}
</td>
</tr>
<tr>
<th>主机系统</th>
<td>{$server->php_os}</td>
</tr>
<tr>
<th>主机地址</th>
<td>{$server->server_name}{$server->server_addr}:{$server->server_port}</td>
</tr>
<tr>
<th>WEB软件</th>
<td>{$server->server_software}</td>
</tr>
<tr>
<th>PHP版</th>
<td>{$server->php_version}</td>
</tr>
<tr>
<th>数据库驱动</th>
<td>{$server->db_driver}</td>
</tr>
<tr>
<th>文件上传限制</th>
<td>{$server->upload_max_filesize}</td>
</tr>
<tr>
<th>表单提交限制</th>
<td>{$server->post_max_size}</td>
</tr>
</tbody>
</table>
</div>
<div class="layui-col-xs12 layui-col-md6">
<table class="layui-table table-two">
<thead>
<tr>
<th colspan="2">开发信息</th>
</tr>
</thead>
<tbody>
<tr>
<th>系统名称</th>
<td>{CMSNAME}企业网站开发建设管理系统</td>
</tr>
<tr>
<th>官方网站</th>
<td><a href="http://www.pbootcms.com" target="_blank" style="color:#666">www.pbootcms.com</a></td>
</tr>
<tr>
<th>模板下载</th>
<td>
<a href="http://www.adminbuy.cn/" style="color:#666" target="_blank">AB模板网</a>
</td>
</tr>
<tr>
<th>图标下载</th>
<td><a href="http://sc.adminbuy.cn" style="color:#666" target="_blank">图标库</a></td>
</tr>
<tr>
<th>系统开发</th>
<td>星梦</td>
</tr>
<tr>
<th>友情贡献者</th>
<td>
感谢交流群各网友对PbootCMS发展的大力支持
感谢LayUI提供的前端框架
感谢百度提供的富文本编辑器;
感谢星梦开发团队的日夜奋斗。
</td>
</tr>
</tbody>
</table>
</div>
</div>
{/if}
</div>
<script>
$.ajax({
type: 'GET',
url: 'https://www.pbootcms.com/index.php?p=/upgrade/check&version={APP_VERSION}.{RELEASE_TIME}.{$revise}&branch={$branch}&snuser={$snuser}&site={$site}',
dataType: 'json',
success: function (response, status) {
if(response.code==1){
$("#check").html($("#check").html()+'<span class="layui-badge-dot"></span>');
}
}
});
</script>
{include file='common/foot.html'}
{include file='common/head.html'}
<div class="layui-body">
{if(![$dbsecurity]||![$session.pwsecurity])}
<blockquote class="layui-elem-quote layui-text-red" id="note">
{if(![$dbsecurity])}
<p>
<i class="fa fa-info-circle" aria-hidden="true"></i>
您的数据库文件存在安全隐患,可能被下载,请尽快修改数据库路径!<a class="layui-btn layui-btn-sm" href="{url./admin/Index/home}&action=moddb">自动修改</a>
</p>
{/if}
{if(![$session.pwsecurity])}
<p>
<i class="fa fa-info-circle" aria-hidden="true"></i>
您的账号密码为初始密码,存在安全隐患,请尽快修改密码!<a class="layui-btn layui-btn-sm" href="{url./admin/Index/ucenter}">立即修改</a>
</p>
{/if}
</blockquote>
{/if}
<blockquote class="layui-elem-quote">
当前登录用户:{$user_info->username} {$user_info->realname},登录时间:{$user_info->update_time}登录IP{fun=long2ip([$user_info->last_login_ip])},累计登录次数:{$user_info->login_count}
</blockquote>
<fieldset class="layui-elem-field">
<legend>快捷操作</legend>
<div class="layui-field-box">
<div class="layui-row">
{foreach $model_msg(key,value)}
<div class="layui-col-xs6 layui-col-sm4 layui-col-md3 layui-col-lg2">
{if($value->type==1)}
<a href="{url./admin/Single/index/mcode/'.$value->mcode.'}">
{else}
<a href="{url./admin/Content/index/mcode/'.$value->mcode.'}">
{/if}
<dl class="deskbox center-block">
<dt>[value->name]</dt>
<dd>[value->count]</dd>
</dl>
</a>
</div>
{/foreach}
<div class="layui-col-xs6 layui-col-sm4 layui-col-md3 layui-col-lg2">
<a href="{url./admin/Message/index}">
<dl class="deskbox center-block">
<dt>留言</dt>
<dd>{$sum_msg}</dd>
</dl>
</a>
</div>
</div>
</div>
</fieldset>
{if(CMSNAME=='PbootCMS')}
<div class="layui-row layui-col-space10">
<div class="layui-col-xs12 layui-col-md6">
<table class="layui-table table-two">
<thead>
<tr>
<th colspan="2">系统信息</th>
</tr>
</thead>
<tbody>
<tr>
<th width="100">应用版本</th>
<td>PbootCMS V{APP_VERSION}-{RELEASE_TIME}
{if(session('ucode')==10001)}
<a href="{url./admin/Upgrade/index}" class="layui-btn layui-btn-xs" id="check">在线更新</a>
{/if}
</td>
</tr>
<tr>
<th>主机系统</th>
<td>{$server->php_os}</td>
</tr>
<tr>
<th>主机地址</th>
<td>{$server->server_name}{$server->server_addr}:{$server->server_port}</td>
</tr>
<tr>
<th>WEB软件</th>
<td>{$server->server_software}</td>
</tr>
<tr>
<th>PHP版</th>
<td>{$server->php_version}</td>
</tr>
<tr>
<th>数据库驱动</th>
<td>{$server->db_driver}</td>
</tr>
<tr>
<th>文件上传限制</th>
<td>{$server->upload_max_filesize}</td>
</tr>
<tr>
<th>表单提交限制</th>
<td>{$server->post_max_size}</td>
</tr>
</tbody>
</table>
</div>
<div class="layui-col-xs12 layui-col-md6">
<table class="layui-table table-two">
<thead>
<tr>
<th colspan="2">开发信息</th>
</tr>
</thead>
<tbody>
<tr>
<th>系统名称</th>
<td>{CMSNAME}企业网站开发建设管理系统</td>
</tr>
<tr>
<th>官方网站</th>
<td><a href="http://www.pbootcms.com" target="_blank" style="color:#666">www.pbootcms.com</a></td>
</tr>
<tr>
<th>源码下载</th>
<td>
<a href="https://gitee.com/hnaoyun/PbootCMS/" style="color:#666" target="_blank">Gitee</a>
</td>
</tr>
<tr>
<th>系统开发</th>
<td>星梦</td>
</tr>
<tr>
<th>版权协议</th>
<td><a href="http://www.pbootcms.com/system-usage/277.html" style="color:#666" target="_blank">点击查看</a></td>
</tr>
<tr>
<th>技术交流群</th>
<td>822430453、794519782</td>
</tr>
<tr>
<th>友情贡献者</th>
<td>
感谢交流群各网友对PbootCMS发展的大力支持
感谢LayUI提供的前端框架
感谢百度提供的富文本编辑器;
感谢星梦开发团队的日夜奋斗。
</td>
</tr>
</tbody>
</table>
</div>
</div>
{/if}
</div>
<script>
$.ajax({
type: 'GET',
url: 'https://www.pbootcms.com/index.php?p=/upgrade/check&version={APP_VERSION}.{RELEASE_TIME}.{$revise}&branch={$branch}&snuser={$snuser}&site={$site}',
dataType: 'json',
success: function (response, status) {
if(response.code==1){
$("#check").html($("#check").html()+'<span class="layui-badge-dot"></span>');
}
}
});
</script>
{include file='common/foot.html'}

View File

@ -11,6 +11,7 @@ namespace app\api\controller;
use core\basic\Controller;
use app\api\model\CmsModel;
use core\basic\Url;
use app\home\controller\ParserController;
class AboutController extends Controller
{
@ -40,15 +41,8 @@ class AboutController extends Controller
$data->likeslink = url('/home/Do/likes/id/' . $data->id, false);
$data->opposelink = url('/home/Do/oppose/id/' . $data->id, false);
$urlname = $data->urlname ?: 'about';
$url_break_char = $this->config('url_break_char') ?: '_';
if ($data->sortfilename) {
$data->contentlink = Url::home($data->sortfilename);
} else {
$data->contentlink = Url::home($urlname . $url_break_char . $data->scode);
}
$Parser = new ParserController();
$data->contentlink = $Parser->parserLink(1, $data->urlname, 'about', $data->scode, $data->sortfilename);
$data->content = str_replace(STATIC_DIR . '/upload/', get_http_url() . STATIC_DIR . '/upload/', $data->content);
json(1, $data);
} else {

View File

@ -11,6 +11,7 @@ namespace app\api\controller;
use core\basic\Controller;
use app\api\model\CmsModel;
use core\basic\Url;
use app\home\controller\ParserController;
class CmsController extends Controller
{
@ -170,7 +171,7 @@ class CmsController extends Controller
// 获取主要参数
$field = request('field');
if (! preg_match('/^[\w\|\s]+$/', $field)) {
if (! preg_match('/^[\w\|]+$/', $field)) {
$field = '';
}
$keyword = request('keyword', 'vars');
@ -329,7 +330,7 @@ class CmsController extends Controller
// 读取数据
$data = $this->model->getLists($acode, $scode, $num, $order, $where1, $where2, $where3, $fuzzy);
$url_break_char = $this->config('url_break_char') ?: '_';
$Parser = new ParserController();
foreach ($data as $key => $value) {
if ($value->outlink) {
@ -342,16 +343,7 @@ class CmsController extends Controller
$data[$key]->content = str_replace(STATIC_DIR . '/upload/', get_http_url() . STATIC_DIR . '/upload/', $value->content);
// 返回网页链接地址便于AJAX调用内容
$urlname = $value->urlname ?: 'list';
if ($value->sortfilename && $value->filename) {
$data[$key]->contentlink = Url::home($value->sortfilename . '/' . $value->filename, true);
} elseif ($value->sortfilename) {
$data[$key]->contentlink = Url::home($value->sortfilename . '/' . $value->id, true);
} elseif ($value->filename) {
$data[$key]->contentlink = Url::home($urlname . $url_break_char . $value->scode . '/' . $value->filename, true);
} else {
$data[$key]->contentlink = Url::home($urlname . $url_break_char . $value->scode . '/' . $value->id, true);
}
$data[$key]->contentlink = $Parser->parserLink(2, $value->urlname, 'content', $value->scode, $value->sortfilename, $value->id, $value->filename);
}
// 输出数据
@ -427,7 +419,7 @@ class CmsController extends Controller
if ($this->model->addMessage($value->table_name, $data)) {
$this->log('API提交留言数据成功');
if ($this->config('message_send_mail') && $this->config('message_send_to')) {
$mail_subject = "PbootCMS】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_subject = "" . CMSNAME . "】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_body .= '<br>来自网站' . get_http_url() . '' . date('Y-m-d H:i:s') . '';
sendmail($this->config(), $this->config('message_send_to'), $mail_subject, $mail_body);
}
@ -509,7 +501,7 @@ class CmsController extends Controller
if ($this->model->addForm($value->table_name, $data)) {
$this->log('API提交表单数据成功');
if ($this->config('form_send_mail') && $this->config('message_send_to')) {
$mail_subject = "PbootCMS】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_subject = "" . CMSNAME . "】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_body .= '<br>来自网站' . get_http_url() . '' . date('Y-m-d H:i:s') . '';
sendmail($this->config(), $this->config('message_send_to'), $mail_subject, $mail_body);
}

View File

@ -11,6 +11,7 @@ namespace app\api\controller;
use core\basic\Controller;
use app\api\model\CmsModel;
use core\basic\Url;
use app\home\controller\ParserController;
class ContentController extends Controller
{
@ -38,21 +39,9 @@ class ContentController extends Controller
$data->likeslink = url('/home/Do/likes/id/' . $data->id, false);
$data->opposelink = url('/home/Do/oppose/id/' . $data->id, false);
$url_break_char = $this->config('url_break_char') ?: '_';
$url_rule_sort_suffix = $this->config('url_rule_sort_suffix') ? true : null;
$urlname = $data->urlname ?: 'list';
// 返回网页链接地址
if ($data->sortfilename && $data->filename) {
$data->contentlink = Url::home($data->sortfilename . '/' . $data->filename, true);
} elseif ($data->sortfilename) {
$data->contentlink = Url::home($data->sortfilename . '/' . $data->id, true);
} elseif ($data->filename) {
$data->contentlink = Url::home($urlname . $url_break_char . $data->scode . '/' . $data->filename, true);
} else {
$data->contentlink = Url::home($urlname . $url_break_char . $data->scode . '/' . $data->id, true);
}
$Parser = new ParserController();
$data->contentlink = $Parser->parserLink(2, $data->urlname, 'content', $data->scode, $data->sortfilename, $data->id, $data->filename);
$data->content = str_replace(STATIC_DIR . '/upload/', get_http_url() . STATIC_DIR . '/upload/', $data->content);
json(1, $data);
} else {

View File

@ -11,6 +11,7 @@ namespace app\api\controller;
use core\basic\Controller;
use app\api\model\CmsModel;
use core\basic\Url;
use app\home\controller\ParserController;
class ListController extends Controller
{
@ -82,7 +83,7 @@ class ListController extends Controller
// 读取数据
$data = $this->model->getLists($acode, $scode, $num, $order);
$url_break_char = $this->config('url_break_char') ?: '_';
$Parser = new ParserController();
foreach ($data as $key => $value) {
if ($value->outlink) {
@ -95,16 +96,7 @@ class ListController extends Controller
$data[$key]->content = str_replace(STATIC_DIR . '/upload/', get_http_url() . STATIC_DIR . '/upload/', $value->content);
// 返回网页链接地址便于AJAX调用内容
$urlname = $value->urlname ?: 'list';
if ($value->sortfilename && $value->filename) {
$data[$key]->contentlink = Url::home($value->sortfilename . '/' . $value->filename, true);
} elseif ($value->sortfilename) {
$data[$key]->contentlink = Url::home($value->sortfilename . '/' . $value->id, true);
} elseif ($value->filename) {
$data[$key]->contentlink = Url::home($urlname . $url_break_char . $value->scode . '/' . $value->filename, true);
} else {
$data[$key]->contentlink = Url::home($urlname . $url_break_char . $value->scode . '/' . $value->id, true);
}
$data[$key]->contentlink = $Parser->parserLink(2, $value->urlname, 'content', $value->scode, $value->sortfilename, $value->id, $value->filename);
}
// 输出数据

View File

@ -18,6 +18,10 @@ class ApiController extends Controller
{
// 自动缓存基础信息
cache_config();
// 从配置文件读取cmsname参数来设置系统名称
define("CMSNAME", $this->config("cmsname") ?: 'PbootCMS');
$this->checkAccess($this->config());
}

View File

@ -19,6 +19,9 @@ class HomeController extends Controller
// 自动缓存基础信息
cache_config();
// 从配置文件读取cmsname参数来设置系统名称
define("CMSNAME", $this->config("cmsname") ?: 'PbootCMS');
// 站点关闭检测
if (! ! $close_site = Config::get('close_site')) {
$close_site_note = Config::get('close_site_note');
@ -38,6 +41,7 @@ class HomeController extends Controller
} else {
header("Location: http://" . $main_domain . ':' . $_SERVER['SERVER_PORT'], true, 301);
}
exit();
}
}
@ -92,7 +96,8 @@ class HomeController extends Controller
} else {
$pre = 'http://';
}
header('Location:' . $pre . $this->config('wap_domain') . URL, true, 301); // 手机访问并且绑定了域名,但是访问域名不一致则跳转
header('Location:' . $pre . $this->config('wap_domain') . URL, true, 302); // 手机访问并且绑定了域名,但是访问域名不一致则跳转
exit();
} elseif (is_mobile()) { // 其他情况手机访问则自动手机版本
$this->setTheme(get_theme() . '/wap');
} else { // 其他情况,电脑版本

View File

@ -184,7 +184,10 @@ function cache_config($refresh = false)
$config_cache = RUN_PATH . '/config/' . md5('config') . '.php';
if (! file_exists($config_cache) || $refresh) {
$model = model('admin.system.Config');
Config::set(md5('config'), $model->getConfig(), false, true);
$config = $model->getConfig();
unset($config['sn']);
unset($config['sn_user']);
Config::set(md5('config'), $config, false, true);
}
// 多语言缓存

View File

@ -37,8 +37,9 @@ return array(
// 前台及接口路径统一小写URL
// =======前台路由============
'home/sitemap.xml' => 'home/Sitemap/index', // 站点地图1
'home/sitemap' => 'home/Sitemap/index', // 站点地图2
'home/sitemap.xml' => 'home/Sitemap/index', // 站点地图XML格式
'home/sitemap.txt' => 'home/Sitemap/linkTxt', // 站点地图TXT格式
'home/sitemap' => 'home/Sitemap/index', // 站点地图默认XML
// =======接口路由============
'api/list' => 'api/list/index/scode',

View File

@ -1,12 +1,12 @@
<?php
return array(
// 应用版本
'app_version' => '3.0.9',
'app_version' => '3.1.3',
// 发布时间
'release_time' => '20211013',
'release_time' => '20220103',
// 修订版本
'revise_version' => '1'
'revise_version' => '5'
);

View File

@ -4,7 +4,7 @@
* @author XingMeng
* @email hnxsh@foxmail.com
* @date 2020年06月27日
* 评论控制器
* 评论控制器
*/
namespace app\home\controller;
@ -91,7 +91,7 @@ class CommentController extends Controller
session('lastsub', time()); // 记录最后提交时间
$this->log('文章' . $contentid . '评论提交成功!');
if ($this->config('comment_send_mail') && $this->config('message_send_to')) {
$mail_subject = "PbootCMS】您有新的文章评论信息,请注意查收!";
$mail_subject = "" . CMSNAME . "】您有新的文章评论信息,请注意查收!";
$mail_body = '评论内容:' . $comment . '<br>';
$mail_body .= '<br>来自网站 ' . get_http_url() . ' ' . date('Y-m-d H:i:s') . '';
sendmail($this->config(), $this->config('message_send_to'), $mail_subject, $mail_body);

View File

@ -4,7 +4,7 @@
* @author XingMeng
* @email hnxsh@foxmail.com
* @date 2020年3月8日
* 表单控制器
* 表单控制器
*/
namespace app\home\controller;
@ -89,7 +89,7 @@ class FormController extends Controller
session('lastsub', time()); // 记录最后提交时间
$this->log('提交表单数据成功!');
if ($this->config('form_send_mail') && $this->config('message_send_to')) {
$mail_subject = "PbootCMS】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_subject = "" . CMSNAME . "】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_body .= '<br>来自网站 ' . get_http_url() . ' ' . date('Y-m-d H:i:s') . '';
sendmail($this->config(), $this->config('message_send_to'), $mail_subject, $mail_body);
}

View File

@ -54,7 +54,7 @@ class IndexController extends Controller
}
}
// 地址去后缀,并且强制模式
// 判断是否存在后缀
$url_rule_suffix = substr($this->config('url_rule_suffix'), 1);
$suffix = false;
$slash = false;
@ -65,11 +65,12 @@ class IndexController extends Controller
$slash = true;
$path = trim($path, '/');
}
$path = escape_string($path);
$path_arr = $path ? explode('/', $path) : array();
// 开始路由
if (isset($path_arr) && count($path_arr) > 0) {
switch ($path_arr[0]) {
if (isset($path_arr) && count($path_arr) > 0 && preg_match('/^[\w\-\/]+$/', $path)) {
switch (strtolower($path_arr[0])) {
case 'search':
case 'keyword':
$search = new SearchController();
@ -85,10 +86,14 @@ class IndexController extends Controller
$form->index();
break;
case 'sitemap':
case 'Sitemap':
case 'sitemap_xml':
$sitemap = new SitemapController();
$sitemap->index();
break;
case 'sitemap_txt':
$sitemap = new SitemapController();
$sitemap->linkTxt();
break;
case 'tag':
$tag = new TagController();
$tag->index();
@ -101,37 +106,68 @@ class IndexController extends Controller
$comment = new CommentController();
$comment->{$path_arr[1]}();
break;
case 'spider':
$spider = new SpiderController();
$spider->index();
break;
default:
if (get($path_arr[0])) {
$this->getIndex();
$url_break_char = $this->config('url_break_char') ?: '_';
$url_rule_content_path = $this->config('url_rule_content_path') ? true : false;
$err = '';
$iscontent = false;
// 开始进行地址匹配
if (! $suffix && ! ! $sort = $this->model->getSort($path)) {
// 栏目名称,即栏目全路径匹配
} elseif (preg_match('/^([a-zA-Z0-9\-\/]+)' . $url_break_char . '([0-9]+)$/i', $path, $matchs) && ! ! $sort = $this->model->getSort($matchs[1])) {
// 栏目名称_分页栏目分页的情况
define('CMS_PAGE_CUSTOM', true); // 设置走自定义CMS分页
$_GET['page'] = $matchs[2]; // 设置分页参数
} else {
// 假设详情页地址,详情页匹配前段为栏目路径
$temp = $path_arr;
$contenturl = array_pop($temp);
$sorturl = implode('/', $temp);
$url_break_char = $this->config('url_break_char') ?: '_';
// 开始进行匹配
if (! ! $sort = $this->model->getSort($path)) {
// 栏目名称
$iscontent = false;
} elseif (preg_match('/^([a-zA-Z0-9\-\/]+)' . $url_break_char . '([0-9]+)$/i', $path, $matchs) && ! ! $sort = $this->model->getSort($matchs[1])) {
// 栏目名称_分页
$iscontent = false;
define('CMS_PAGE_CUSTOM', true);
$_GET['page'] = $matchs[2]; // 分页
} elseif (! ! $sorturl && ! ! $sort = $this->model->getSort($sorturl)) {
// 栏目名称/内容名称或ID要在第2个判断【栏目名称_分页】后
$data = $this->model->getContent($contenturl);
$iscontent = true;
} elseif (preg_match('/^list' . $url_break_char . '[0-9]+|about' . $url_break_char . '[0-9]+$/', $sorturl)) {
// 模型默认名称_栏目ID/内容名称或ID
$data = $this->model->getContent($contenturl);
$iscontent = true;
} else {
preg_match('/^([a-zA-Z0-9\-\/]+)(' . $url_break_char . '([0-9]+))?' . $url_break_char . '([0-9]+)$/i', $path, $matchs);
if ($url_rule_content_path && ! ! $data = $this->model->getContent($path)) {
$iscontent = true; // 短路径情况
} elseif (! $url_rule_content_path) {
// 详情页至少是2级对地址进行栏目和内容路径拆分访问详情页
$part1 = dirname($path);
$part2 = basename($path);
while ($part1 != '.') {
if ((! ! $sort = $this->model->getSort($part1)) && ! ! $data = $this->model->getContent($part2)) {
// 栏目名称/内容名称或ID
$iscontent = true;
$scode = $sort->scode;
break;
} elseif (preg_match('/^([a-zA-Z0-9\-\/]+)' . $url_break_char . '([0-9]+)$/i', $part1, $matchs) && ! ! $model = $this->model->checkModelUrlname($matchs[1])) {
// 模型名称_栏目ID/内容名称或ID
$data = $this->model->getContent($part2);
$iscontent = true;
$scode = $matchs[2];
// 限制串模型多路径
if (! ! $data->urlname && $matchs[1] != $data->urlname) {
$err = true;
}
break;
} else {
$part2 = basename($part1) . '/' . $part2;
$part1 = dirname($part1);
}
}
// 限制串栏目多路径
if ($scode != $data->scode) {
$err = true;
}
// 限制串内容ID及名称多路径
if (! ! $data->filename && $part2 != $data->filename) {
$err = true;
}
}
// 执行未配置栏目名称但是配置了模型路径的情况路径匹配
if (! $iscontent) {
preg_match('/^([a-zA-Z0-9\-\/]+)(' . $url_break_char . '([0-9]+))?' . $url_break_char . '([0-9]+)$/i', $path, $matchs);
if ($matchs[2] && $model = $this->model->checkModelUrlname($matchs[1])) {
// 模型名称_栏目ID_分页
define('CMS_PAGE_CUSTOM', false);
@ -140,50 +176,47 @@ class IndexController extends Controller
} elseif (! ! $model = $this->model->checkModelUrlname($matchs[1])) {
// 模型名称_栏目ID
$sort = $this->model->getSort($matchs[4]);
} elseif (preg_match('/^([a-zA-Z0-9\-\/]+)' . $url_break_char . '([0-9]+)$/i', $sorturl, $matchs)) {
// 模型名称_栏目ID/内容名称或ID
if (! ! $model = $this->model->checkModelUrlname($matchs[1])) {
$data = $this->model->getContent($contenturl);
$iscontent = true;
}
}
// 限制串模型和栏目名称多路径,当栏目名称不为空时不允许使用模型路径
if ($sort->filename != '') {
$err = true;
}
// 限制串模型多路径
if (! ! $sort->urlname && $matchs[1] != $sort->urlname) {
$err = true;
}
}
if ($iscontent) {
define('CMS_PAGE', false); // 使用普通分页处理模型
if (! ! $data && $suffix) {
if ($data->acode != get_lg() && Config::get('lgautosw') !== '0') {
cookie('lg', $data->acode); // 调用内容语言与当前语言不一致时,自动切换语言
}
$this->getContent($data);
}
if ($iscontent) {
define('CMS_PAGE', false); // 使用普通分页处理模型
if (! ! $data && $suffix && ! $err) {
$this->getContentPage($data);
} else {
_404('您访问的内容不存在,请核对后重试!');
}
} else {
define('CMS_PAGE', true); // 使用cms分页处理模型
if (! ! $sort && ! $suffix && ! $err) {
if ($sort->type == 1) {
$this->getAboutPage($sort);
} else {
_404('您访问的内容不存在,请核对后重试!');
$this->getListPage($sort);
}
} else {
define('CMS_PAGE', true); // 使用cms分页处理模型
if (! ! $sort && ! $suffix) {
if ($sort->acode != get_lg() && Config::get('lgautosw') !== '0') {
cookie('lg', $sort->acode); // 调用栏目语言与当前语言不一致时,自动切换语言
}
if ($sort->type == 1) {
$this->getAbout($sort);
} else {
$this->getList($sort);
}
} else {
_404('您访问的页面不存在,请核对后重试!');
}
_404('您访问的页面不存在,请核对后重试!');
}
}
}
} else {
$this->getIndex();
$this->getIndexPage();
}
}
// 首页
private function getIndex()
private function getIndexPage()
{
$content = parent::parser($this->htmldir . 'index.html'); // 框架标签解析
$content = $this->parser->parserBefore($content); // CMS公共标签前置解析
@ -195,8 +228,12 @@ class IndexController extends Controller
}
// 列表
private function getList($sort)
private function getListPage($sort)
{
// 调用栏目语言与当前语言不一致时,自动切换语言
if ($sort->acode != get_lg() && Config::get('lgautosw') !== '0') {
cookie('lg', $sort->acode);
}
if ($sort->listtpl) {
$this->checkPageLevel($sort->gcode, $sort->gtype, $sort->gnote);
$content = parent::parser($this->htmldir . $sort->listtpl); // 框架标签解析
@ -216,8 +253,14 @@ class IndexController extends Controller
}
// 详情页
private function getContent($data)
private function getContentPage($data)
{
// 调用内容语言与当前语言不一致时,自动切换语言
if ($data->acode != get_lg() && Config::get('lgautosw') !== '0') {
cookie('lg', $data->acode);
}
// 读取模板
if (! ! $sort = $this->model->getSort($data->scode)) {
if ($sort->contenttpl) {
@ -243,8 +286,13 @@ class IndexController extends Controller
}
// 单页
private function getAbout($sort)
private function getAboutPage($sort)
{
// 调用栏目语言与当前语言不一致时,自动切换语言
if ($sort->acode != get_lg() && Config::get('lgautosw') !== '0') {
cookie('lg', $sort->acode);
}
// 读取数据
if (! $data = $this->model->getAbout($sort->scode)) {
_404('您访问的内容不存在,请核对后重试!');

View File

@ -290,10 +290,19 @@ class MemberController extends Controller
$nickname = post('nickname');
$useremail = post('useremail');
$usermobile = post('usermobile');
$opassword = post('opassword');
$password = post('password');
$rpassword = post('rpassword');
$headpic = str_replace(SITE_DIR, '', post('headpic'));
if (! $opassword) {
alert_back('请输入当前密码!');
} else {
if (! $this->model->checkUsername(" password='" . md5(md5($opassword)) . "' AND id='" . session('pboot_uid') . "'")) {
alert_back('您输入的当前密码不正确!');
}
}
if ($useremail) { // 邮箱校验
if (! preg_match('/^[\w]+@[\w\.]+\.[a-zA-Z]+$/', $useremail)) {
alert_back('邮箱格式不正确,请输入正确的邮箱账号!');
@ -441,7 +450,7 @@ class MemberController extends Controller
$rs = false;
if ($to) {
session('lastsend', time()); // 记录最后提交时间
$mail_subject = "PbootCMS】您有新的验证码信息,请注意查收!";
$mail_subject = "" . CMSNAME . "】您有新的验证码信息,请注意查收!";
$code = create_code(4);
session('checkcode', strtolower($code));
$mail_body = "您的验证码为:" . $code;

View File

@ -4,7 +4,7 @@
* @author XingMeng
* @email hnxsh@foxmail.com
* @date 2020年3月8日
* 留言控制器
* 留言控制器
*/
namespace app\home\controller;
@ -96,7 +96,7 @@ class MessageController extends Controller
session('lastsub', time()); // 记录最后提交时间
$this->log('留言提交成功!');
if ($this->config('message_send_mail') && $this->config('message_send_to')) {
$mail_subject = "PbootCMS】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_subject = "" . CMSNAME . "】您有新的" . $value->form_name . "信息,请注意查收!";
$mail_body .= '<br>来自网站 ' . get_http_url() . ' ' . date('Y-m-d H:i:s') . '';
sendmail($this->config(), $this->config('message_send_to'), $mail_subject, $mail_body);
}

View File

@ -176,6 +176,17 @@ class ParserController extends Controller
$content = str_replace('{pboot:registerstatus}', $this->config('register_status') === '0' ? 0 : 1, $content); // 是否开启注册
$content = str_replace('{pboot:loginstatus}', $this->config('login_status') === '0' ? 0 : 1, $content); // 是否开启登录
$content = str_replace('{pboot:commentstatus}', $this->config('comment_status') === '0' ? 0 : 1, $content); // 是否开启评论
// 记录蜘蛛爬行
if ($this->config('spiderlog') !== '0') {
if ($this->config('tpl_html_cache')) { // 缓存时插入script,否则直接执行
$spidercode = "<script src='" . Url::home('Spider', null, 'url=' . URL) . "' async='async'></script>";
$content = preg_replace('/(<\/body>)/i', $spidercode . "\n$1", $content);
} else {
$spider = new SpiderController(URL);
$spider->index();
}
}
return $content;
}
@ -184,8 +195,18 @@ class ParserController extends Controller
public function parserSiteLabel($content)
{
$pattern = '/\{pboot:site([\w]+)(\s+[^}]+)?\}/';
if (preg_match_all($pattern, $content, $matches)) {
$data = array();
// 页面自适应标题避免多横线
if (preg_match($pattern, $content)) {
$data = $this->model->getSite();
if (! $data->subtitle) {
$content = str_replace('{pboot:sitetitle}-{pboot:sitesubtitle}', '{pboot:sitetitle}', $content);
}
}
if (preg_match_all($pattern, $content, $matches)) {
$data = $data ?: $this->model->getSite();
$count = count($matches[0]);
for ($i = 0; $i < $count; $i ++) {
$params = $this->parserParam($matches[2][$i]);
@ -386,6 +407,8 @@ class ParserController extends Controller
}
$parent = 0;
$num = 0;
$scode = 0;
$scode_arr = array();
foreach ($params as $key => $value) {
switch ($key) {
case 'parent':
@ -394,14 +417,20 @@ class ParserController extends Controller
case 'num':
$num = $value;
break;
case 'scode':
$scode = $value;
$scode_arr = explode(',', $scode);
break;
}
}
if ($parent) { // 非顶级栏目起始
if (isset($data['tree'][$parent]['son'])) {
$out_data = $data['tree'][$parent]['son'];
} else {
$out_data = array();
if ($parent) { // 非顶级栏目起始,调用子栏目
$parent_arr = explode(',', $parent);
$out_data = array();
foreach ($parent_arr as $vp) {
if (isset($data['tree'][trim($vp)]['son'])) {
$out_data = array_merge($out_data, $data['tree'][trim($vp)]['son']);
}
}
} else { // 顶级栏目起始
$out_data = $data['top'];
@ -422,6 +451,9 @@ class ParserController extends Controller
$out_html = '';
$key = 1;
foreach ($out_data as $value) { // 按查询的数据条数循环
if ($scode_arr && ! in_array($value['scode'], $scode_arr)) {
continue;
}
$one_html = $matches[2][$i];
if ($count2) {
for ($j = 0; $j < $count2; $j ++) { // 循环替换数据
@ -1505,6 +1537,7 @@ class ParserController extends Controller
// 获取调节参数
$params = $this->parserParam($matches[1][$i]);
$id = - 1;
$field = "pics";
if (! self::checkLabelLevel($params)) {
$content = str_replace($matches[0][$i], '', $content);
@ -1525,12 +1558,15 @@ class ParserController extends Controller
case 'num':
$num = $value;
break;
case 'field':
$field = $value;
break;
}
}
// 读取内容多图
if (! ! $rs = $this->model->getContentPics(escape_string($id))) {
$pics = explode(',', $rs->pics);
if (! ! $rs = $this->model->getContentPics(escape_string($id), $field)) {
$pics = explode(',', $rs->$field);
$picstitle = explode(',', $rs->picstitle);
} else {
$pics = array();
@ -1552,7 +1588,7 @@ class ParserController extends Controller
$out_html = '';
$key = 1;
foreach ($pics as $key => $value) { // 按查询图片条数循环
foreach ($pics as $vkey => $value) { // 按查询图片条数循环
$one_html = $matches[2][$i];
if (! $value)
continue;
@ -1577,8 +1613,10 @@ class ParserController extends Controller
}
break;
case 'title':
$one_html = str_replace($matches2[0][$j], $this->adjustLabelData($params, isset($picstitle[$key]) ? $picstitle[$key] : ''), $one_html);
$one_html = str_replace($matches2[0][$j], $this->adjustLabelData($params, isset($picstitle[$vkey]) ? $picstitle[$vkey] : ''), $one_html);
break;
default:
$one_html = str_replace($matches2[0][$j], '', $one_html);
}
}
$key ++;
@ -3270,7 +3308,7 @@ class ParserController extends Controller
}
eval('if(' . $matches[1][$i] . '){$flag="if";}else{$flag="else";}');
if (preg_match('/([\s\S]*)?\{else\}([\s\S]*)?/', $matches[2][$i], $matches2)) { // 判断是否存在else
if (preg_match('/^([\s\S]*)\{else\}([\s\S]*)$/', $matches[2][$i], $matches2)) { // 判断是否存在else
switch ($flag) {
case 'if': // 条件为真
if (isset($matches2[1])) {
@ -3870,12 +3908,13 @@ class ParserController extends Controller
}
// 解析生成内容链接
protected function parserLink($type, $urlname, $page, $scode, $sortfilename, $id, $contentfilename)
public function parserLink($type, $urlname, $pagetype, $scode, $sortfilename, $id = '', $contentfilename = '')
{
$url_break_char = $this->config('url_break_char') ?: '_';
$url_rule_sort_suffix = $this->config('url_rule_sort_suffix') ? true : null;
$url_rule_content_path = $this->config('url_rule_content_path') ? true : false;
if ($type == 1) {
if ($type == 1 || $pagetype == 'about') {
$urlname = $urlname ?: 'about';
if ($sortfilename) {
$link = Url::home($sortfilename);
@ -3884,21 +3923,29 @@ class ParserController extends Controller
}
} else {
$urlname = $urlname ?: 'list';
if ($page == 'list') {
if ($pagetype == 'list') {
if ($sortfilename) {
$link = Url::home($sortfilename);
} else {
$link = Url::home($urlname . $url_break_char . $scode);
}
} elseif ($page == 'content') {
if ($sortfilename && $contentfilename) {
$link = Url::home($sortfilename . '/' . $contentfilename, true);
} elseif ($sortfilename) {
$link = Url::home($sortfilename . '/' . $id, true);
} elseif ($contentfilename) {
$link = Url::home($urlname . $url_break_char . $scode . '/' . $contentfilename, true);
} elseif ($pagetype == 'content') {
if ($url_rule_content_path) {
if ($contentfilename) {
$link = Url::home($contentfilename, true);
} else {
$link = Url::home($id, true);
}
} else {
$link = Url::home($urlname . $url_break_char . $scode . '/' . $id, true);
if ($sortfilename && $contentfilename) {
$link = Url::home($sortfilename . '/' . $contentfilename, true);
} elseif ($sortfilename) {
$link = Url::home($sortfilename . '/' . $id, true);
} elseif ($contentfilename) {
$link = Url::home($urlname . $url_break_char . $scode . '/' . $contentfilename, true);
} else {
$link = Url::home($urlname . $url_break_char . $scode . '/' . $id, true);
}
}
} else {
$link = 'javascript:;';

View File

@ -26,48 +26,28 @@ class SitemapController extends Controller
{
header("Content-type:text/xml;charset=utf-8");
$str = '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
$str .= '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:mobile="http://www.baidu.com/schemas/sitemap-mobile/1/">' . "\n";
$str .= $this->makeNode('', date('Y-m-d'), '1.00'); // 根目录
$url_break_char = $this->config('url_break_char') ?: '_';
$str .= '<urlset>' . "\n";
$str .= $this->makeNode('', date('Y-m-d'), '1.00', 'always'); // 根目录
$sorts = $this->model->getSorts();
$Parser = new ParserController();
foreach ($sorts as $value) {
if ($value->outlink) {
continue;
} elseif ($value->type == 1) {
$value->urlname = $value->urlname ?: 'list';
if ($value->filename) {
$link = Url::home($value->filename);
} else {
$link = Url::home($value->urlname . $url_break_char . $value->scode);
}
$str .= $this->makeNode($link, date('Y-m-d'), '0.80');
$link = $Parser->parserLink(1, $value->urlname, 'about', $value->scode, $value->filename);
$str .= $this->makeNode($link, date('Y-m-d'), '0.80', 'daily');
} else {
$value->urlname = $value->urlname ?: 'list';
if ($value->filename) {
$link = Url::home($value->filename);
} else {
$link = Url::home($value->urlname . $url_break_char . $value->scode);
}
$str .= $this->makeNode($link, date('Y-m-d'), '0.80');
$link = $Parser->parserLink(2, $value->urlname, 'list', $value->scode, $value->filename);
$str .= $this->makeNode($link, date('Y-m-d'), '0.80', 'daily');
$contents = $this->model->getSortContent($value->scode);
foreach ($contents as $value2) {
if ($value2->outlink) { // 外链
continue;
} else {
$value2->urlname = $value2->urlname ?: 'list';
if ($value2->filename && $value2->sortfilename) {
$link = Url::home($value2->sortfilename . '/' . $value2->filename, true);
} elseif ($value2->sortfilename) {
$link = Url::home($value2->sortfilename . '/' . $value2->id, true);
} elseif ($value2->contentfilename) {
$link = Url::home($value2->urlname . $url_break_char . $value2->scode . '/' . $value2->filename, true);
} else {
$link = Url::home($value2->urlname . $url_break_char . $value2->scode . '/' . $value2->id, true);
}
$link = $Parser->parserLink(2, $value2->urlname, 'content', $value2->scode, $value2->sortfilename, $value2->id, $value2->filename);
}
$str .= $this->makeNode($link, date('Y-m-d'), '0.60');
$str .= $this->makeNode($link, date('Y-m-d', strtotime($value2->date)), '0.60', 'daily');
}
}
}
@ -75,16 +55,44 @@ class SitemapController extends Controller
}
// 生成结点信息
private function makeNode($link, $date, $priority = 0.60)
private function makeNode($link, $date, $priority = 0.60, $changefreq = 'always')
{
$node = '
<url>
<mobile:mobile type="pc,mobile"/>
<loc>' . get_http_url() . $link . '</loc>
<priority>' . $priority . '</priority>
<lastmod>' . $date . '</lastmod>
<changefreq>Always</changefreq>
<changefreq>' . $changefreq . '</changefreq>
</url>';
return $node;
}
// 文本格式
public function linkTxt()
{
header("Content-type:text/plain;charset=utf-8");
$sorts = $this->model->getSorts();
$Parser = new ParserController();
$str = get_http_url() . "\n";
foreach ($sorts as $value) {
if ($value->outlink) {
continue;
} elseif ($value->type == 1) {
$link = $Parser->parserLink(1, $value->urlname, 'about', $value->scode, $value->filename);
} else {
$link = $Parser->parserLink(2, $value->urlname, 'list', $value->scode, $value->filename);
$str .= get_http_url() . $link . "\n";
$contents = $this->model->getSortContent($value->scode);
foreach ($contents as $value2) {
if ($value2->outlink) { // 外链
continue;
} else {
$link = $Parser->parserLink(2, $value2->urlname, 'content', $value2->scode, $value2->sortfilename, $value2->id, $value2->filename);
}
$str .= get_http_url() . $link . "\n";
}
}
}
echo $str;
}
}

View File

@ -0,0 +1,88 @@
<?php
/**
* @copyright (C)2016-2099 Hnaoyun Inc.
* @license This is not a freeware, use is subject to license terms
* @author XingMeng
* @email hnxsh@foxmail.com
* @date 2021年10月27日
*
*/
namespace app\home\controller;
use core\basic\Controller;
class SpiderController extends Controller
{
private $url;
public function __construct($url = null)
{
$this->url = $url ? escape_string($url) : get('url');
}
public function index()
{
$rs = $this->getSpider();
if ($rs !== false) {
$this->log($rs . '爬行' . $this->url);
}
}
private function getSpider()
{
$useragent = strtolower($_SERVER['HTTP_USER_AGENT']);
if (strpos($useragent, 'googlebot') !== false) {
return 'Google';
} elseif (strpos($useragent, 'baiduspider') !== false) {
return 'Baidu';
} elseif (strpos($useragent, 'webscan') !== false) {
return '360WebScan';
} elseif (strpos($useragent, '360spider') !== false) {
return '360So';
} elseif (strpos($useragent, 'adsbot') !== false) {
return 'Adwords';
} elseif (strpos($useragent, 'bingbot') !== false) {
return 'Bing';
} elseif (strpos($useragent, 'slurp') !== false) {
return 'Yahoo';
} elseif (strpos($useragent, 'sosospider') !== false) {
return 'Soso';
} elseif (strpos($useragent, 'sogou') !== false) {
return 'Sogou';
} elseif (strpos($useragent, 'yodaobot') !== false) {
return 'Yodao';
} elseif (strpos($useragent, 'speedy') !== false) {
return 'Speedy';
} elseif (strpos($useragent, 'yandexbot') !== false) {
return 'Yandex';
} elseif (strpos($useragent, 'easouspider') !== false) {
return 'Easou';
} elseif (strpos($useragent, 'symantecspider') !== false) {
return 'Symantec';
} elseif (strpos($useragent, 'qiniu') !== false) {
return 'Qiniu';
} elseif (strpos($useragent, 'jiankongbao') !== false) {
return 'JianKongBao';
} elseif (strpos($useragent, 'dnspod') !== false) {
return 'DNSPod';
} elseif (strpos($useragent, 'linkpadbot') !== false) {
return 'Linkpad';
} elseif (strpos($useragent, 'mj12bot') !== false) {
return 'MJ12';
} elseif (strpos($useragent, 'dingtalkbot') !== false) {
return 'DingTalk';
} elseif (strpos($useragent, 'bytespider') !== false) {
return 'Byte';
} elseif (strpos($useragent, 'zoominfobot') !== false) {
return 'Zoominfo';
} elseif (strpos($useragent, 'yisouspider') !== false) {
return 'Yisou';
} elseif (strpos($useragent, 'spider') !== false) {
return 'other-spider';
} elseif (strpos($useragent, 'bot') !== false) {
return 'other-bot';
}
return false;
}
}

View File

@ -58,6 +58,7 @@ class ParserModel extends Model
// 单个分类信息,不区分语言,兼容跨语言
public function getSort($scode)
{
$scode = escape_string($scode);
$field = array(
'a.*',
'c.name AS parentname',
@ -262,6 +263,7 @@ class ParserModel extends Model
// 列表内容,带分页,不区分语言,兼容跨语言
public function getLists($scode, $num, $order, $filter = array(), $tags = array(), $select = array(), $fuzzy = true, $start = 1, $lfield = null, $lg = null)
{
$scode = escape_string($scode);
$ext_table = false;
if ($lfield) {
$lfield .= ',id,outlink,type,scode,sortfilename,filename,urlname'; // 附加必须字段
@ -376,6 +378,7 @@ class ParserModel extends Model
// 列表内容,不带分页,不区分语言,兼容跨语言
public function getList($scode, $num, $order, $filter = array(), $tags = array(), $select = array(), $fuzzy = true, $start = 1, $lfield = null, $lg = null)
{
$scode = escape_string($scode);
$ext_table = false;
if ($lfield) {
$lfield .= ',id,outlink,type,scode,sortfilename,filename,urlname'; // 附加必须字段
@ -490,6 +493,7 @@ class ParserModel extends Model
// 内容详情,不区分语言,兼容跨语言
public function getContent($id)
{
$id = escape_string($id);
$field = array(
'a.*',
'b.name as sortname',
@ -533,6 +537,7 @@ class ParserModel extends Model
$result = parent::table('ay_content a')->field($field)
->where("a.id='$id' OR a.filename='$id'")
->where('a.status=1')
->where("a.date<'" . date('Y-m-d H:i:s') . "'")
->join($join)
->decode()
->find();
@ -542,6 +547,7 @@ class ParserModel extends Model
// 单篇详情,不区分语言,兼容跨语言
public function getAbout($scode)
{
$scode = escape_string($scode);
$field = array(
'a.*',
'b.name as sortname',
@ -592,11 +598,18 @@ class ParserModel extends Model
}
// 指定内容多图
public function getContentPics($id)
public function getContentPics($id, $field)
{
$result = parent::table('ay_content')->field("pics,picstitle")
->where("id='$id'")
->where('status=1')
$join = array(
'ay_content_ext b',
'a.id=b.contentid',
'LEFT'
);
$result = parent::table('ay_content a')->field($field . ',picstitle')
->join($join)
->where("a.id='$id'")
->where('a.status=1')
->where("a.date<'" . date('Y-m-d H:i:s') . "'")
->find();
return $result;
}
@ -614,6 +627,7 @@ class ParserModel extends Model
$result = parent::table('ay_content')->field('scode,tags')
->where("id='$id'")
->where('status=1')
->where("date<'" . date('Y-m-d H:i:s') . "'")
->find();
return $result;
}
@ -693,6 +707,7 @@ class ParserModel extends Model
->in('a.scode', $scodes)
->where("a.acode='" . get_lg() . "'")
->where('a.status=1')
->where("a.date<'" . date('Y-m-d H:i:s') . "'")
->order('a.id DESC')
->find();
}
@ -736,6 +751,7 @@ class ParserModel extends Model
->in('a.scode', $scodes)
->where("a.acode='" . get_lg() . "'")
->where('a.status=1')
->where("a.date<'" . date('Y-m-d H:i:s') . "'")
->order('a.id ASC')
->find();
}

View File

@ -67,7 +67,8 @@ class SitemapModel extends Model
$where = array(
'a.status=1',
'c.type=2'
'c.type=2',
"a.date<'" . date('Y-m-d H:i:s') . "'"
);
return parent::table('ay_content a')->field($fields)

View File

@ -4,14 +4,8 @@ return array(
// 定义CMS名称
'cmsname' => 'PbootCMS',
// 授权码,多个授权码使用英文逗号隔开,如:'aaaaa,bbbbb'
'sn' => 'AE6C1BA496',
// 授权用户手机
'sn_user' => '',
// 模板内容输出缓存开关
'tpl_html_cache' => 1,
'tpl_html_cache' => 0,
// 模板内容缓存有效时间(秒)
'tpl_html_cache_time' => 900,

View File

@ -22,4 +22,4 @@ return array(
'dbname' => '/data/42a7c160922cdd04f08438f03dd6d19b.db' // 去掉注释启用Sqlite数据库注意修改type为sqlite
)
);
);

View File

@ -21,7 +21,7 @@ class Check
}
// 判断自动转换状态
if (function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc()) {
if (PHP_VERSION < '7.0' && function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc()) {
error('您的服务器环境PHP.ini中magic_quotes_gpc配置为On状态会导致数据存储异常请设置为Off状态或切换为更高版本PHP。');
}

File diff suppressed because one or more lines are too long

View File

@ -118,16 +118,16 @@ class Url
$suffix = '/';
}
// 去除默认模块及控制器部分
$path = trim($path, '/');
$path = str_replace('home/Index', '', $path);
$path = trim($path, '/');
// 去除默认模块及控制器部分
$path = str_replace('home/Index/', '', $path);
if (! $path) {
if (! $path) { // 地址前缀
if ($url_rule_type == 1) {
$link = SITE_INDEX_DIR . '/index.php';
$link = SITE_INDEX_DIR . '/index.php/';
} elseif ($url_rule_type == 2) {
$link = SITE_INDEX_DIR;
$link = SITE_INDEX_DIR . '/';
} else {
$link = SITE_INDEX_DIR . '/?';
}

View File

@ -114,7 +114,7 @@ function path_list($path)
* 是否删除目录true删除目录false则只删除文件保留目录
* @return bool 返回删除状态
*/
function path_delete($path, $delDir = false)
function path_delete($path, $delDir = false, $exFile = array())
{
$result = true; // 对于空目录直接返回true状态
if (! file_exists($path)) {
@ -123,9 +123,9 @@ function path_delete($path, $delDir = false)
if (is_dir($path)) {
if (! ! $dirs = scandir($path)) {
foreach ($dirs as $value) {
if ($value != "." && $value != "..") {
if ($value != "." && $value != ".." && ! in_array($value, $exFile)) {
$dir = $path . '/' . $value;
$result = is_dir($dir) ? path_delete($dir, $delDir) : unlink($dir);
$result = is_dir($dir) ? path_delete($dir, $delDir, $exFile) : unlink($dir);
}
}
if ($result && $delDir) {

View File

@ -406,8 +406,8 @@ function decode_string($string)
} else { // 字符串处理
$string = stripcslashes($string);
$string = htmlspecialchars_decode($string, ENT_QUOTES);
$string = preg_replace_r('/pboot:if/i', 'pboot@if', $string); // 避免解码绕过问题
}
$string = preg_replace_r('/pboot:if/i', 'pboot@if', $string); // 避免解码绕过问题
return $string;
}

View File

@ -237,8 +237,8 @@ class Paging
// 对于路径保留变量给予去除
$qs = $_SERVER["QUERY_STRING"];
if ((M == 'home' && Config::get('url_rule_type') == 2) || (M != 'home' && Config::get('app_url_type') == 2)) {
$qs = preg_replace('/[&\?]?p=([\w\/\.]+)?/i', '', $qs);
$qs = preg_replace('/[&\?]?s=([\w\/\.]+)?/i', '', $qs);
$qs = preg_replace('/[&\?]?p=([\w\/\.]+)?&?/i', '', $qs);
$qs = preg_replace('/[&\?]?s=([\w\/\.]+)?&?/i', '', $qs);
}
$qs = preg_replace('/[&\?]?page=([0-9]+)?/i', '', $qs);

Binary file not shown.

View File

@ -3,6 +3,47 @@
标签手册https://www.pbootcms.com/docs.html
##########################################
PbootCMS V3.1.3 build 2022-01-03
1、修复自定义路径存在注入问题
2、修复API接口搜索存在注入问题
3、修复用户信息修改存在CSRF问题
4、修复伪静态搜索结果分页问题
5、修改授权码存储位置为数据库
6、修复sitemap.txt不换行问题
7、兼容PHP8.1版本;
PbootCMS V3.1.2 build 2021-10-28
1、修复扩展多图字段编码长度问题
2、修复sitemap未过滤定时文章问题
3、修复上个版本导致邮件标题不对问题;
4、新增自动记录蜘蛛访问到后台系统日志
5、优化nav参数parent支持传递多个栏目编码
6、新增nav参数scode='1,2,3'方式限制栏目范围;
7、其他问题修复与优化
PbootCMS V3.1.1 build 2021-10-26
1、修复上版本sitemap短路径模式不统一问题
2、修复栏目名称必填导致外链跳转栏目无法添加
3、修复数据库备份引号未转义问题
4、优化栏目管理跳转内容支持跳转指定子栏目
5、优化会话清理功能
6、优化更彻底的OEM定义
7、优化轮播及友链支持修改分组
8、新增sitemap.txt格式的支持
PbootCMS V3.1.0 build 2021-10-24
1、修复地址串栏目及模型可访问问题
2、优化if语句执行性能提高系统速度
3、新增详情页URL路径支持层级路径定义
4、新增后台栏目及内容开关无刷新操作
5、新增文章新增时自动提取缩略图
6、新增后台栏目管理跳转文章链接
7、新增文章扩展字段多图类型的支持
8、配合多图扩展新增多图标签{pboot:pics}指定field字段参数
9、新增详情页URL是否带目录路径控制参数
10、修复自适应标题标签无站点副标题时横线问题
11、其他问题修复与优化
PbootCMS V3.0.9 build 2021-10-13
1、修复上版本栏目分享到微信出现打不开问题
2、修复pboot:sql循环标签无法传带引号参数问题

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

@ -1,415 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>公司名</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="www.adminbuy.cn K33" />
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/global.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/style.css">
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/wow.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/main.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="https://pxgw.theluyuan.com/"><img src="/static/upload/image/20211014/1634170265483909.png" /></a> </div>
<div class="nav">
<ul>
<li class='on'><a href="/">网站首页</a></li>
<li ><a href="/guanyu/">关于我们</a></li>
<li ><a href="/kecheng/">班级课程</a></li>
<li ><a href="/tuandui/">名师团队</a></li>
<li ><a href="/anli/">作品案例</a></li>
<li ><a href="/xinwen/">新闻动态</a></li>
<li ><a href="/contact/">联系我们</a></li>
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer main_index">
<div class="banner">
<div class="banner_cur cur"> <span class="prev"></span> <span class="next"></span> </div>
<div class="owl">
<div class="item">
<div class="img"><a href="#" target="_blank"><img src="/static/upload/image/20211013/1634133015345091.jpg"/></a></div>
</div>
<div class="item">
<div class="img"><a href="#" target="_blank"><img src="/static/upload/image/20211013/1634133028859093.jpg"/></a></div>
</div>
<div class="item">
<div class="img"><a href="#" target="_blank"><img src="/static/upload/image/20211013/1634133034509917.jpg"/></a></div>
</div>
</div>
</div>
<div class="page_num clear">
<div class="wrap">
<ul>
<li class="wow fadeInUp" data-wow-delay=".1s">
<h2><span class="timer" data-to="12" data-speed="1800">12</span></h2>
<label></label>
<p>12年专注国际艺术教育</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".2s">
<h2><span class="timer" data-to="200" data-speed="1900">200</span>万+</h2>
<label></label>
<p>200多万的学员光荣毕业</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".3s">
<h2><span class="timer" data-to="500" data-speed="1800">500</span>+</h2>
<label></label>
<p>500多家合作机构</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".4s">
<h2><span class="timer" data-to="300" data-speed="1900">300</span>+</h2>
<label></label>
<p>300多位优秀导师</p>
</li>
</ul>
</div>
</div>
<div class="div_hot">
<div class="wrap">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
<h3>班级课程</h3>
<label></label>
<span>CLASS COURSE</span> </div>
<div class="div_tag wow fadeInUp animated" data-wow-delay=".3s">
<ul>
<li><a href="/lm1/">课程分类一</a></li>
<li><a href="/lm2/">课程分类二</a></li>
<li><a href="/lm3/">课程分类三</a></li>
<li><a href="/lm4/">课程分类四</a></li>
<li><a href="/lm5/">课程分类五</a></li>
</ul>
</div>
<div class="hot_list wow_list">
<ul>
<li class="wow fadeInUp animated"> <a href="/lm5/33.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135495516394.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程六<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm4/32.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135472493965.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程五<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm2/31.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135435590138.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程四<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm2/30.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135389772953.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程三<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm1/29.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135334519650.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程二<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm1/23.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20220124/1642992067912272.jpg" /></div>
<div class="text">
<div class="cell">
<p>java 开发<span></span></p>
</div>
</div>
</a> </li>
<li class="li_more wow fadeInUp animated"> <a href="/kecheng/" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135110902907.jpg" /></div>
<div class="text text_t_ht">
<div class="cell">
<p>更多精彩课程等你开启</p>
<span></span></div>
</div>
</a> </li>
</ul>
</div>
</div>
</div>
<div class="div_about">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
<h3>关于我们</h3>
<label></label>
<span>ABOUT US</span> </div>
<div class="about wow fadeInUp animated" data-wow-delay=".2s">
<div class="img" style="background:url(/static/upload/image/20211013/1634135687720863.jpg) no-repeat center center; background-size:cover;"><img src="/static/upload/image/20211013/1634135687720863.jpg" /></div>
<div class="wrap wow fadeInUp animated" data-wow-delay=".3s">
<div class="tit">
<h3>关于我们</h3>
</div>
<div class="text">
<p>
我们是一家以网站设计制作和广告设计制作为主的公司。公司主营业务为网站建设、网站设计、服务器空间租售、网站维护、网站托管、网站优化、百度推广、自媒体营销、微信公众号开发制作、APP设计制作、小程序设计制作等我们自成立以来一直专注于互联网品牌建设我们团队的成员曾务于国内优秀广告公司及互联网公司业务类型涉及WEB视觉、交互设计、移动终端用户体验等质量和信誉是我们存在的基石。我们注重客户提出的每个要求充分考虑每一个细节积极的做好服务努力开拓更好的视野。我们永远不会因为我们曾经的成绩而满足。在所有新老客户面前我们都很乐意虚心、朴实的跟您接触更深入的了解您的企业以便为您提供更优质的服务主要服务于个人与中小型企业自公司创立以来已合作过全国众多企业某某传媒致力提供...
</p>
<div class="btn"><a href="/guanyu/"><span>more</span></a></div>
</div>
</div>
</div>
</div>
<div class="div_team">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
<h3>名师团队</h3>
<label></label>
<span>TENM</span>
</div>
<div class="div_tag wow fadeInUp animated" data-wow-delay=".1s">
<ul>
<li><a href="/ls1/">英语老师</a></li>
<li><a href="/ls2/">数学老师</a></li>
<li><a href="/ls3/">语文老师</a></li>
</ul>
</div>
<div class="team_owl wow fadeInUp animated" data-wow-delay=".2s">
<div class="team_bg"><img src="https://pxgw.theluyuan.com//skin/images/team_wap.jpg" /></div>
<div class="team_cur cur"> <span class="prev"></span> <span class="next"></span> </div>
<div class="wrap wow fadeInUp animated" data-wow-delay=".3s">
<div class="owl">
<div class="item">
<div class="box">
<div class="tit">
<h3>赵敏<span></span></h3>
</div>
<div class="text">
<p>她生为女儿身,曾期许自己能创一番大事业,奉命剿灭反贼,下毒囚禁六大门派于万安寺,自从绿柳山庄事件后,对敌军首领张无忌一往···</p>
</div>
</div>
<div class="btn"><a href="/ls1/34.html"><span>more</span></a></div>
</div>
<div class="item">
<div class="box">
<div class="tit">
<h3>周芷若<span></span></h3>
</div>
<div class="text">
<p>周芷若,金庸小说《倚天屠龙记》中的角色。峨嵋派弟子、峨嵋派第四代掌门人,出尘如仙,武学天资卓绝,是金庸笔下一个极富传奇色···</p>
</div>
</div>
<div class="btn"><a href="/ls1/24.html"><span>more</span></a></div>
</div>
</div>
</div>
</div>
</div>
<div class="div_work">
<div class="title on wow fadeInUp animated" data-wow-delay=".2s">
<h3>作品案例</h3>
<label></label>
<span>SAMPLE REELS</span>
</div>
<div class="div_tag wow fadeInUp animated" data-wow-delay=".3s">
<ul>
<li><a href="/al1/">案例分类一</a></li>
<li><a href="/al2/">案例分类二</a></li>
<li><a href="/al3/">案例分类三</a></li>
<li><a href="/al4/">案例分类四</a></li>
</ul>
</div>
<div class="course_owl wow fadeInUp animated" data-wow-delay=".4s">
<div class="course_cur cur"> <span class="prev"></span> <span class="next"></span> </div>
<div class="owl">
<div class="item"> <a href="/al4/37.html">
<div class="img"><img src="/static/upload/image/20211014/1634169963631413.jpg" /></div>
<div class="text">
<h3>案例展示三</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
<div class="item"> <a href="/al3/36.html">
<div class="img"><img src="/static/upload/image/20211014/1634169920998625.jpg" /></div>
<div class="text">
<h3>案例展示三</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
<div class="item"> <a href="/al2/35.html">
<div class="img"><img src="/static/upload/image/20211014/1634169856640355.jpg" /></div>
<div class="text">
<h3>案例展示二</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
<div class="item"> <a href="/al1/25.html">
<div class="img"><img src="/static/upload/image/20211013/1634131895723626.jpg" /></div>
<div class="text">
<h3>案例展示一</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
</div>
</div>
</div>
<div class="div_news">
<div class="title wow fadeInUp animated" data-wow-delay=".3s">
<h3>新闻动态</h3>
<label></label>
<span>NEWS INFORMATION</span>
</div>
<div class="wrap">
<div class="news_lt item flt wow fadeInUp animated" data-wow-delay=".4s">
<div class="img"><img src="/static/upload/image/20211014/1634170206545969.jpg"/></div>
<div class="text"> <a href="/xuexiao/39.html">
<h3>今明两年广东国企将扩招高校毕业生</h3>
<p>广东省人力资源和社会保障厅6日称广东省人社厅与广东省人民政府国有资产监督管理委员会联合印发《广东省促进国有企业吸纳高校毕业生就业工作方案》明确今明两年该省国有企业招收大专以上应届高校毕业生要实现一定比例的增长。2020年广东省应届高校毕业生总量超过60万人比去年增加约3万人。今年以来受新冠肺炎疫情、...</p>
</a> </div>
</div>
<div class="news_rt item frt wow fadeInUp animated" data-wow-delay=".3s">
<ul>
<li> <a href="/xuexiao/39.html">
<div class="date"><span>2021-10-14</span>
<label>2021-10-14</label>
</div>
<div class="text">
<h3>今明两年广东国企将扩招高校毕业生</h3>
<p>广东省人力资源和社会保障厅6日称广东省人社厅与广东省人民政府国有资产监督管理委员会联合印发《广东省促进国有企业吸纳高校毕业生就业工作方案》明确今明两年该省国有企业招收大专以上应届高校毕业生要实现一定比例的增长。2020年广东省应届高校毕业生总量超过60万人比去年增加约3万人。今年以来受新冠肺炎疫情、...</p>
</div>
</a> </li>
<li> <a href="/hangye/38.html">
<div class="date"><span>2021-10-14</span>
<label>2021-10-14</label>
</div>
<div class="text">
<h3>教育部:努力开发适合毕业生的科研助理岗位</h3>
<p>5月6日由教育部、人力资源和社会保障部、工业和信息化部、国资委、中央广播电视总台、共青团中央等6部门共同主办的2020届普通高校毕业生就业“百日冲刺”行动正式启动。启动仪式上发布了促进高校毕业生就业创业十大专项行动。今年高校毕业生规模达到874万人增量、增幅均为近年之最。受新冠肺炎疫情等多种因素叠加影响...</p>
</div>
</a> </li>
<li> <a href="/xuexiao/27.html">
<div class="date"><span>2021-10-13</span>
<label>2021-10-13</label>
</div>
<div class="text">
<h3>2020年湖南省新工科研究与实践项目公布</h3>
<p>根据我厅《转发教育部办公厅关于推荐第二批新工科研究与实践项目的通知》湘教通202055号要求经学校申报推荐我厅组织专家评审决定立项国防科技大学的《精准施策、分类培养以产出为导向的军校材料专业新工科人才培养模式构建与实践》等62个项目为2020年湖南省新工科研究与实践项目见附件现予以公布。各...</p>
</div>
</a> </li>
<li> <a href="/xuexiao/26.html">
<div class="date"><span>2021-10-13</span>
<label>2021-10-13</label>
</div>
<div class="text">
<h3>河北省两所高校获批省部共建国家重点实验室</h3>
<p>河北省科技厅:为提高区域自主创新能力,推进区域科技创新体系建设,加大创新驱动区域经济社会发展力度,落实科技部与河北省部省会商会议相关议定事项,经河北省人民政府推荐和专家论证,省部共建交通工程结构力学行为与系统安全、华北作物改良与调控国家重点实验室已基本具备建设运行条件。现决定批准省部共建交通工程...</p>
</div>
</a> </li>
</ul>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url(https://pxgw.theluyuan.com//skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>公司名称</h3>
<p><a href="https://pxgw.theluyuan.com/">网站首页</a> /<a href="/guanyu/">关于我们</a> /<a href="/kecheng/">班级课程</a> /<a href="/tuandui/">名师团队</a> /<a href="/anli/">作品案例</a></p>
</div>
<div class="right">
<h3>电话:<span></span></h3>
<p>Copyright © 2021 某某有限公司 All Rights Reserved.&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow"></a>&nbsp;&nbsp;<a href="https://pxgw.theluyuan.com//sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> </p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html>

View File

@ -1,95 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>java 开发</title>
<meta name="keywords" content="">
<meta name="description" content="某某倾力打造的一个从网站建设.网站运营管理到网站推广的自动化免费建站平台,为中小微企业及个人提供免费的在线响应式建站服务.起飞页倾力打造的一个从网站建设.网网站运营管理到网站推广的自动化免费建站平台,为中小微企业及个人提供免费的在线响应式建站服务.为终端用户浏览带来最佳用户体验.实现无需编程零基础建站,使人">
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/global.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/style.css">
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/wow.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/main.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="https://pxgw.theluyuan.com/"><img src="/static/upload/image/20211014/1634170265483909.png" /></a> </div>
<div class="nav">
<ul>
<li ><a href="/">网站首页</a></li>
<li ><a href="/guanyu/">关于我们</a></li>
<li class="on"><a href="/kecheng/">班级课程</a></li>
<li ><a href="/tuandui/">名师团队</a></li>
<li ><a href="/anli/">作品案例</a></li>
<li ><a href="/xinwen/">新闻动态</a></li>
<li ><a href="/contact/">联系我们</a></li>
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="curriculum_article">
<div class="img wow fadeInUp" data-wow-delay=".1s"> <img src="/static/upload/image/20220124/1642992067912272.jpg"/> </div>
<div class="web">
<div class="tit wow fadeInUp" data-wow-delay=".3s">
<h3>java 开发</h3>
<p>课程时长6个月<span>上课时间:周一到周五</span></p>
<div class="line"></div>
</div>
<div class="text wow fadeInUp" data-wow-delay=".3s">
<h4>课程价格:<span style="font-size:20px; font-weight:bold; color:#FCC442">¥2999</span></h4>
</div>
<div class="text wow fadeInUp" data-wow-delay=".3s">
<h4>课程介绍:</h4>
<p><p><img src="/static/upload/image/20220124/1642992112844044.png" title="1642992112844044.png" alt="java开发技能树.png"/></p></p>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url(https://pxgw.theluyuan.com//skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>公司名称</h3>
<p><a href="https://pxgw.theluyuan.com/">网站首页</a> /<a href="/guanyu/">关于我们</a> /<a href="/kecheng/">班级课程</a> /<a href="/tuandui/">名师团队</a> /<a href="/anli/">作品案例</a></p>
</div>
<div class="right">
<h3>电话:<span></span></h3>
<p>Copyright © 2021 某某有限公司 All Rights Reserved.&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow"></a>&nbsp;&nbsp;<a href="https://pxgw.theluyuan.com//sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> </p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
<script src='/?p=/Do/visits/id/23' async='async'></script>
</body>
</html>

View File

@ -1,201 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>班级课程</title>
<meta name="keywords" content="班级课程">
<meta name="description" content="班级课程">
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/global.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/style.css">
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/wow.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/main.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="https://pxgw.theluyuan.com/"><img src="/static/upload/image/20211014/1634170265483909.png" /></a> </div>
<div class="nav">
<ul>
<li ><a href="/">网站首页</a></li>
<li ><a href="/guanyu/">关于我们</a></li>
<li class="on"><a href="/kecheng/">班级课程</a></li>
<li ><a href="/tuandui/">名师团队</a></li>
<li ><a href="/anli/">作品案例</a></li>
<li ><a href="/xinwen/">新闻动态</a></li>
<li ><a href="/contact/">联系我们</a></li>
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="title wow fadeInUp" data-wow-delay=".1s">
<h3>班级课程</h3>
<label></label>
<span></span> </div>
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
<ul>
<li><a href="/lm1/">课程分类一</a></li>
<li><a href="/lm2/">课程分类二</a></li>
<li><a href="/lm3/">课程分类三</a></li>
<li><a href="/lm4/">课程分类四</a></li>
<li><a href="/lm5/">课程分类五</a></li>
</ul>
<div class="clear"></div>
</div>
<div class="curriculum_list wow_list">
<ul>
<li class="wow fadeInUp"> <a href="/lm5/33.html">
<div class="img_box">
<div class="img"> <img src="/static/upload/image/20211013/1634135495516394.jpg"/> </div>
<div class="curriculum_list_mb">
<div class="curriculum_list_more"> <span>more</span> </div>
</div>
</div>
</a>
<div class="web">
<p>班级课程六<span><em></em>888</span></p>
</div>
</li>
<li class="wow fadeInUp"> <a href="/lm4/32.html">
<div class="img_box">
<div class="img"> <img src="/static/upload/image/20211013/1634135472493965.jpg"/> </div>
<div class="curriculum_list_mb">
<div class="curriculum_list_more"> <span>more</span> </div>
</div>
</div>
</a>
<div class="web">
<p>班级课程五<span><em></em>999</span></p>
</div>
</li>
<li class="wow fadeInUp"> <a href="/lm2/31.html">
<div class="img_box">
<div class="img"> <img src="/static/upload/image/20211013/1634135435590138.jpg"/> </div>
<div class="curriculum_list_mb">
<div class="curriculum_list_more"> <span>more</span> </div>
</div>
</div>
</a>
<div class="web">
<p>班级课程四<span><em></em>1299</span></p>
</div>
</li>
<li class="wow fadeInUp"> <a href="/lm2/30.html">
<div class="img_box">
<div class="img"> <img src="/static/upload/image/20211013/1634135389772953.jpg"/> </div>
<div class="curriculum_list_mb">
<div class="curriculum_list_more"> <span>more</span> </div>
</div>
</div>
</a>
<div class="web">
<p>班级课程三<span><em></em>5888</span></p>
</div>
</li>
<li class="wow fadeInUp"> <a href="/lm1/29.html">
<div class="img_box">
<div class="img"> <img src="/static/upload/image/20211013/1634135334519650.jpg"/> </div>
<div class="curriculum_list_mb">
<div class="curriculum_list_more"> <span>more</span> </div>
</div>
</div>
</a>
<div class="web">
<p>班级课程二<span><em></em>5999</span></p>
</div>
</li>
<li class="wow fadeInUp"> <a href="/lm1/23.html">
<div class="img_box">
<div class="img"> <img src="/static/upload/image/20220124/1642992067912272.jpg"/> </div>
<div class="curriculum_list_mb">
<div class="curriculum_list_more"> <span>more</span> </div>
</div>
</div>
</a>
<div class="web">
<p>java 开发<span><em></em>2999</span></p>
</div>
</li>
</ul>
<div class="clear"></div>
</div>
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
<ul>
<a href="/kecheng/">首页</a>
<a href='javascript:;'>上一页</a>
<a href="/kecheng/" class="page-num page-num-current">1</a>
<a href='javascript:;'>下一页</a>
<a href='/kecheng/'>末页</a>
</ul>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url(https://pxgw.theluyuan.com//skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>公司名称</h3>
<p><a href="https://pxgw.theluyuan.com/">网站首页</a> /<a href="/guanyu/">关于我们</a> /<a href="/kecheng/">班级课程</a> /<a href="/tuandui/">名师团队</a> /<a href="/anli/">作品案例</a></p>
</div>
<div class="right">
<h3>电话:<span></span></h3>
<p>Copyright © 2021 某某有限公司 All Rights Reserved.&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow"></a>&nbsp;&nbsp;<a href="https://pxgw.theluyuan.com//sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> </p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html>

View File

@ -1,415 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>公司名</title>
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="author" content="www.adminbuy.cn K33" />
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/global.css">
<link rel="stylesheet" type="text/css" href="https://pxgw.theluyuan.com//skin/css/style.css">
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/wow.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/main.js"></script>
<script type="text/javascript" src="https://pxgw.theluyuan.com//skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="https://pxgw.theluyuan.com/"><img src="/static/upload/image/20211014/1634170265483909.png" /></a> </div>
<div class="nav">
<ul>
<li class='on'><a href="/">网站首页</a></li>
<li ><a href="/guanyu/">关于我们</a></li>
<li ><a href="/kecheng/">班级课程</a></li>
<li ><a href="/tuandui/">名师团队</a></li>
<li ><a href="/anli/">作品案例</a></li>
<li ><a href="/xinwen/">新闻动态</a></li>
<li ><a href="/contact/">联系我们</a></li>
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer main_index">
<div class="banner">
<div class="banner_cur cur"> <span class="prev"></span> <span class="next"></span> </div>
<div class="owl">
<div class="item">
<div class="img"><a href="#" target="_blank"><img src="/static/upload/image/20211013/1634133015345091.jpg"/></a></div>
</div>
<div class="item">
<div class="img"><a href="#" target="_blank"><img src="/static/upload/image/20211013/1634133028859093.jpg"/></a></div>
</div>
<div class="item">
<div class="img"><a href="#" target="_blank"><img src="/static/upload/image/20211013/1634133034509917.jpg"/></a></div>
</div>
</div>
</div>
<div class="page_num clear">
<div class="wrap">
<ul>
<li class="wow fadeInUp" data-wow-delay=".1s">
<h2><span class="timer" data-to="12" data-speed="1800">12</span></h2>
<label></label>
<p>12年专注国际艺术教育</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".2s">
<h2><span class="timer" data-to="200" data-speed="1900">200</span>万+</h2>
<label></label>
<p>200多万的学员光荣毕业</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".3s">
<h2><span class="timer" data-to="500" data-speed="1800">500</span>+</h2>
<label></label>
<p>500多家合作机构</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".4s">
<h2><span class="timer" data-to="300" data-speed="1900">300</span>+</h2>
<label></label>
<p>300多位优秀导师</p>
</li>
</ul>
</div>
</div>
<div class="div_hot">
<div class="wrap">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
<h3>班级课程</h3>
<label></label>
<span>CLASS COURSE</span> </div>
<div class="div_tag wow fadeInUp animated" data-wow-delay=".3s">
<ul>
<li><a href="/lm1/">课程分类一</a></li>
<li><a href="/lm2/">课程分类二</a></li>
<li><a href="/lm3/">课程分类三</a></li>
<li><a href="/lm4/">课程分类四</a></li>
<li><a href="/lm5/">课程分类五</a></li>
</ul>
</div>
<div class="hot_list wow_list">
<ul>
<li class="wow fadeInUp animated"> <a href="/lm5/33.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135495516394.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程六<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm4/32.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135472493965.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程五<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm2/31.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135435590138.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程四<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm2/30.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135389772953.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程三<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm1/29.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135334519650.jpg" /></div>
<div class="text">
<div class="cell">
<p>班级课程二<span></span></p>
</div>
</div>
</a> </li>
<li class="wow fadeInUp animated"> <a href="/lm1/23.html" class="ht_w">
<div class="img"><img src="/static/upload/image/20220124/1642992067912272.jpg" /></div>
<div class="text">
<div class="cell">
<p>java 开发<span></span></p>
</div>
</div>
</a> </li>
<li class="li_more wow fadeInUp animated"> <a href="/kecheng/" class="ht_w">
<div class="img"><img src="/static/upload/image/20211013/1634135110902907.jpg" /></div>
<div class="text text_t_ht">
<div class="cell">
<p>更多精彩课程等你开启</p>
<span></span></div>
</div>
</a> </li>
</ul>
</div>
</div>
</div>
<div class="div_about">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
<h3>关于我们</h3>
<label></label>
<span>ABOUT US</span> </div>
<div class="about wow fadeInUp animated" data-wow-delay=".2s">
<div class="img" style="background:url(/static/upload/image/20211013/1634135687720863.jpg) no-repeat center center; background-size:cover;"><img src="/static/upload/image/20211013/1634135687720863.jpg" /></div>
<div class="wrap wow fadeInUp animated" data-wow-delay=".3s">
<div class="tit">
<h3>关于我们</h3>
</div>
<div class="text">
<p>
我们是一家以网站设计制作和广告设计制作为主的公司。公司主营业务为网站建设、网站设计、服务器空间租售、网站维护、网站托管、网站优化、百度推广、自媒体营销、微信公众号开发制作、APP设计制作、小程序设计制作等我们自成立以来一直专注于互联网品牌建设我们团队的成员曾务于国内优秀广告公司及互联网公司业务类型涉及WEB视觉、交互设计、移动终端用户体验等质量和信誉是我们存在的基石。我们注重客户提出的每个要求充分考虑每一个细节积极的做好服务努力开拓更好的视野。我们永远不会因为我们曾经的成绩而满足。在所有新老客户面前我们都很乐意虚心、朴实的跟您接触更深入的了解您的企业以便为您提供更优质的服务主要服务于个人与中小型企业自公司创立以来已合作过全国众多企业某某传媒致力提供...
</p>
<div class="btn"><a href="/guanyu/"><span>more</span></a></div>
</div>
</div>
</div>
</div>
<div class="div_team">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
<h3>名师团队</h3>
<label></label>
<span>TENM</span>
</div>
<div class="div_tag wow fadeInUp animated" data-wow-delay=".1s">
<ul>
<li><a href="/ls1/">英语老师</a></li>
<li><a href="/ls2/">数学老师</a></li>
<li><a href="/ls3/">语文老师</a></li>
</ul>
</div>
<div class="team_owl wow fadeInUp animated" data-wow-delay=".2s">
<div class="team_bg"><img src="https://pxgw.theluyuan.com//skin/images/team_wap.jpg" /></div>
<div class="team_cur cur"> <span class="prev"></span> <span class="next"></span> </div>
<div class="wrap wow fadeInUp animated" data-wow-delay=".3s">
<div class="owl">
<div class="item">
<div class="box">
<div class="tit">
<h3>赵敏<span></span></h3>
</div>
<div class="text">
<p>她生为女儿身,曾期许自己能创一番大事业,奉命剿灭反贼,下毒囚禁六大门派于万安寺,自从绿柳山庄事件后,对敌军首领张无忌一往···</p>
</div>
</div>
<div class="btn"><a href="/ls1/34.html"><span>more</span></a></div>
</div>
<div class="item">
<div class="box">
<div class="tit">
<h3>周芷若<span></span></h3>
</div>
<div class="text">
<p>周芷若,金庸小说《倚天屠龙记》中的角色。峨嵋派弟子、峨嵋派第四代掌门人,出尘如仙,武学天资卓绝,是金庸笔下一个极富传奇色···</p>
</div>
</div>
<div class="btn"><a href="/ls1/24.html"><span>more</span></a></div>
</div>
</div>
</div>
</div>
</div>
<div class="div_work">
<div class="title on wow fadeInUp animated" data-wow-delay=".2s">
<h3>作品案例</h3>
<label></label>
<span>SAMPLE REELS</span>
</div>
<div class="div_tag wow fadeInUp animated" data-wow-delay=".3s">
<ul>
<li><a href="/al1/">案例分类一</a></li>
<li><a href="/al2/">案例分类二</a></li>
<li><a href="/al3/">案例分类三</a></li>
<li><a href="/al4/">案例分类四</a></li>
</ul>
</div>
<div class="course_owl wow fadeInUp animated" data-wow-delay=".4s">
<div class="course_cur cur"> <span class="prev"></span> <span class="next"></span> </div>
<div class="owl">
<div class="item"> <a href="/al4/37.html">
<div class="img"><img src="/static/upload/image/20211014/1634169963631413.jpg" /></div>
<div class="text">
<h3>案例展示三</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
<div class="item"> <a href="/al3/36.html">
<div class="img"><img src="/static/upload/image/20211014/1634169920998625.jpg" /></div>
<div class="text">
<h3>案例展示三</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
<div class="item"> <a href="/al2/35.html">
<div class="img"><img src="/static/upload/image/20211014/1634169856640355.jpg" /></div>
<div class="text">
<h3>案例展示二</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
<div class="item"> <a href="/al1/25.html">
<div class="img"><img src="/static/upload/image/20211013/1634131895723626.jpg" /></div>
<div class="text">
<h3>案例展示一</h3>
<p>作者:超级管理员</p>
</div>
</a> </div>
</div>
</div>
</div>
<div class="div_news">
<div class="title wow fadeInUp animated" data-wow-delay=".3s">
<h3>新闻动态</h3>
<label></label>
<span>NEWS INFORMATION</span>
</div>
<div class="wrap">
<div class="news_lt item flt wow fadeInUp animated" data-wow-delay=".4s">
<div class="img"><img src="/static/upload/image/20211014/1634170206545969.jpg"/></div>
<div class="text"> <a href="/xuexiao/39.html">
<h3>今明两年广东国企将扩招高校毕业生</h3>
<p>广东省人力资源和社会保障厅6日称广东省人社厅与广东省人民政府国有资产监督管理委员会联合印发《广东省促进国有企业吸纳高校毕业生就业工作方案》明确今明两年该省国有企业招收大专以上应届高校毕业生要实现一定比例的增长。2020年广东省应届高校毕业生总量超过60万人比去年增加约3万人。今年以来受新冠肺炎疫情、...</p>
</a> </div>
</div>
<div class="news_rt item frt wow fadeInUp animated" data-wow-delay=".3s">
<ul>
<li> <a href="/xuexiao/39.html">
<div class="date"><span>2021-10-14</span>
<label>2021-10-14</label>
</div>
<div class="text">
<h3>今明两年广东国企将扩招高校毕业生</h3>
<p>广东省人力资源和社会保障厅6日称广东省人社厅与广东省人民政府国有资产监督管理委员会联合印发《广东省促进国有企业吸纳高校毕业生就业工作方案》明确今明两年该省国有企业招收大专以上应届高校毕业生要实现一定比例的增长。2020年广东省应届高校毕业生总量超过60万人比去年增加约3万人。今年以来受新冠肺炎疫情、...</p>
</div>
</a> </li>
<li> <a href="/hangye/38.html">
<div class="date"><span>2021-10-14</span>
<label>2021-10-14</label>
</div>
<div class="text">
<h3>教育部:努力开发适合毕业生的科研助理岗位</h3>
<p>5月6日由教育部、人力资源和社会保障部、工业和信息化部、国资委、中央广播电视总台、共青团中央等6部门共同主办的2020届普通高校毕业生就业“百日冲刺”行动正式启动。启动仪式上发布了促进高校毕业生就业创业十大专项行动。今年高校毕业生规模达到874万人增量、增幅均为近年之最。受新冠肺炎疫情等多种因素叠加影响...</p>
</div>
</a> </li>
<li> <a href="/xuexiao/27.html">
<div class="date"><span>2021-10-13</span>
<label>2021-10-13</label>
</div>
<div class="text">
<h3>2020年湖南省新工科研究与实践项目公布</h3>
<p>根据我厅《转发教育部办公厅关于推荐第二批新工科研究与实践项目的通知》湘教通202055号要求经学校申报推荐我厅组织专家评审决定立项国防科技大学的《精准施策、分类培养以产出为导向的军校材料专业新工科人才培养模式构建与实践》等62个项目为2020年湖南省新工科研究与实践项目见附件现予以公布。各...</p>
</div>
</a> </li>
<li> <a href="/xuexiao/26.html">
<div class="date"><span>2021-10-13</span>
<label>2021-10-13</label>
</div>
<div class="text">
<h3>河北省两所高校获批省部共建国家重点实验室</h3>
<p>河北省科技厅:为提高区域自主创新能力,推进区域科技创新体系建设,加大创新驱动区域经济社会发展力度,落实科技部与河北省部省会商会议相关议定事项,经河北省人民政府推荐和专家论证,省部共建交通工程结构力学行为与系统安全、华北作物改良与调控国家重点实验室已基本具备建设运行条件。现决定批准省部共建交通工程...</p>
</div>
</a> </li>
</ul>
</div>
<div class="clear"></div>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url(https://pxgw.theluyuan.com//skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>公司名称</h3>
<p><a href="https://pxgw.theluyuan.com/">网站首页</a> /<a href="/guanyu/">关于我们</a> /<a href="/kecheng/">班级课程</a> /<a href="/tuandui/">名师团队</a> /<a href="/anli/">作品案例</a></p>
</div>
<div class="right">
<h3>电话:<span></span></h3>
<p>Copyright © 2021 某某有限公司 All Rights Reserved.&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow"></a>&nbsp;&nbsp;<a href="https://pxgw.theluyuan.com//sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> </p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html>

View File

@ -0,0 +1,176 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{sort:title}</title>
<meta name="keywords" content="{sort:keywords}">
<meta name="description" content="{sort:description}">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
<div class="nav">
<ul>
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
{pboot:nav num=8 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="contact">
<div class="img wow fadeInUp" data-wow-delay=".1s">
<div id="allmap" style="width:100%; height:400px; margin:20px auto"></div>
<script type="text/javascript" src="https://api.map.baidu.com/getscript?v=2.0&ak=DsyzV6aY9pNspbZrMHG6tSQ9dWUTSOHA=&t=20180323171755"></script>
<script>
$(function () {
ShowMap('{pboot:companyother}', 'cname', 'address', 'tel', 'fax', 'email', '18');
})
function ShowMap(zuobiao, name, addrsee, phone, chuanzhen, email, zoom) {
var arrzuobiao = zuobiao.split(',');
var map = new BMap.Map("allmap");
map.centerAndZoom(new BMap.Point(arrzuobiao[0], arrzuobiao[1]), zoom);
map.addControl(new BMap.NavigationControl());
var marker = new BMap.Marker(new BMap.Point(arrzuobiao[0], arrzuobiao[1]));
map.addOverlay(marker);
var infoWindow = new BMap.InfoWindow('<p>{pboot:companyaddress}</p><p>&nbsp;</p><p>电话:{pboot:companyphone}</p>');
marker.addEventListener("click", function () {
this.openInfoWindow(infoWindow);
});
marker.openInfoWindow(infoWindow);
}
</script>
</div>
<div class="cont_rt wow fadeInUp" data-wow-delay=".1s">
<div class="contact_box">
<div class="tit">
<h3>用户留言</h3>
<span></span></div>
<form action="{pboot:msgaction}" method="post" onsubmit="return checkForm();">
<div class="list">
<ul>
<li><span>姓名:</span>
<div class="div_input">
<input type='text' name='name' id='name'>
</div>
</li>
<li><span>电话:</span>
<div class="div_input">
<input type='text' name='tel' id='tel'>
</div>
</li>
<li><span>邮箱:</span>
<div class="div_input">
<input type='text' name='email' id='email'>
</div>
</li>
<li class="li_last"><span>写下您的需求和建议:</span>
<div class="div_input">
<textarea type='text' name='content' id='content'></textarea>
</div>
</li>
</ul>
<div class="clear"></div>
<div class="btn1"><a onclick="$('form').submit()"><span>提交留言</span></a></div>
</div>
</form>
<script type="text/javascript">
function checkForm()
{
if(document.getElementById('name').value.length == 0)
{
alert('姓名不能为空!');
return false;
}
if(document.getElementById('tel').value.length == 0)
{
alert('电话不能为空!');
return false;
}
if(document.getElementById('email').value.length == 0)
{
alert('邮箱不能为空!');
return false;
}
return true;
}
</script>
</div>
</div>
<div class="clear"></div>
</div>
<div class="c_list wow_list">
<ul>
<li class="fadeInUp wow">
<div class="img"><img src="{pboot:sitedomain}/skin/images/icon13.png"/><i class="i1 animated wow infinite flash"></i></div>
<div class="text">
<h4> </h4>
<p>{pboot:companyphone}</p>
</div>
</li>
<li class="fadeInUp wow">
<div class="img"><img src="{pboot:sitedomain}/skin/images/icon14.png"/><i class="i2 animated wow infinite bounceInLeft"></i></div>
<div class="text">
<h4> </h4>
<p>{pboot:companyemail} </p>
</div>
</li>
<li class="fadeInUp wow">
<div class="img"><img src="{pboot:sitedomain}/skin/images/icon15.png"/><i class="i3 animated wow infinite rubberBand"></i></div>
<div class="text">
<h4> </h4>
<p>{pboot:companyaddress} </p>
</div>
</li>
</ul>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>{pboot:companyname}</h3>
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html><?php return array (
0 => '/home/php/pxgw/template/default/html/head.html',
1 => '/home/php/pxgw/template/default/html/foot.html',
); ?>

View File

@ -0,0 +1,103 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{sort:title}</title>
<meta name="keywords" content="{sort:keywords}">
<meta name="description" content="{sort:description}">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
<div class="nav">
<ul>
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
{pboot:nav num=8 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="title wow fadeInUp" data-wow-delay=".1s">
<h3>{sort:topname}</h3>
<label></label>
<span></span> </div>
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
<ul>
{pboot:nav num=15 parent={sort:tcode}}
{pboot:if('[nav:scode]'=='{sort:scode}')}
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
{else}
<li><a href="[nav:link]">[nav:name]</a></li>
{/pboot:if}
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="zxns_list wow_list">
<ul>
{pboot:list num=50 order=date}
<li class="on wow fadeInUp">
<div class="tit">
<h3>[list:title]
<label>more</label>
</h3>
</div>
<div class="text" [list:i]>
<div class="list">
<h4>职位描述:</h4>
[list:content] </div>
</div>
</li>
{/pboot:list}
</ul>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>{pboot:companyname}</h3>
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html><?php return array (
0 => '/home/php/pxgw/template/default/html/head.html',
1 => '/home/php/pxgw/template/default/html/foot.html',
); ?>

View File

@ -0,0 +1,269 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
<link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
<link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
</head>
<body class="layui-layout-body">
<!--定义部分地址方便JS调用-->
<div style="display: none">
<span id="controller" data-controller="<?php echo C;?>"></span>
<span id="url" data-url="<?php echo URL;?>"></span>
<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
</div>
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo">
<a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
<img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
<?php echo CMSNAME;?>
<?php if (LICENSE==3) {?>
<span class="layui-badge">SVIP</span>
<?php } else { ?>
<span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
<?php } ?>
</a>
</div>
<ul class="menu">
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
</ul>
<?php if (!$this->getVar('one_area')) {?>
<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-col-xs8">
<select name="acode">
<?php echo $this->getVar('area_html');?>
</select>
</div>
<div class="layui-col-xs4">
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
</div>
</form>
<?php } ?>
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item layui-hide-xs">
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="javascript:;">
<i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
</a>
<dl class="layui-nav-child">
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
<?php if (session('ucode')==10001) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
<?php } ?>
</dl>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域可配合layui已有的垂直导航 -->
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
<?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
<li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
<a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
<dl class="layui-nav-child">
<?php if ($value->mcode=='M130') {?>
<?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
<?php if ($value3->type==1) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
<?php } ?>
<?php if ($value3->type==2) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
<?php } ?>
<?php } ?>
<?php } else { ?>
<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
<?php if (!isset($value2->status)|| $value2->status==1) {?>
<dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
<?php } ?>
<?php } ?>
<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
<?php } ?>
<?php } ?>
</dl>
</li>
<?php } ?>
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
</li>
</ul>
</div>
</div>
<div class="layui-body">
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">公司信息</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="<?php echo \core\basic\Url::get('/admin/Company/mod');?>" method="post">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-form-item">
<label class="layui-form-label">公司名称</label>
<div class="layui-input-block">
<input type="text" name="name" value="<?php echo @$this->getVar('companys')->name;?>" placeholder="请输入公司名称" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">公司地址</label>
<div class="layui-input-block">
<input type="text" name="address" value="<?php echo @$this->getVar('companys')->address;?>" placeholder="请输入公司地址" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">邮政编码</label>
<div class="layui-input-block">
<input type="text" name="postcode" value="<?php echo @$this->getVar('companys')->postcode;?>" placeholder="请输入邮政编码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">联系人</label>
<div class="layui-input-block">
<input type="text" name="contact" value="<?php echo @$this->getVar('companys')->contact;?>" placeholder="请输入联系人" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">手机号码</label>
<div class="layui-input-block">
<input type="text" name="mobile" value="<?php echo @$this->getVar('companys')->mobile;?>" placeholder="请输入手机号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电话号码</label>
<div class="layui-input-block">
<input type="text" name="phone" value="<?php echo @$this->getVar('companys')->phone;?>" placeholder="请输入电话号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">传真号码</label>
<div class="layui-input-block">
<input type="text" name="fax" value="<?php echo @$this->getVar('companys')->fax;?>" placeholder="请输入传真号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电子邮箱</label>
<div class="layui-input-block">
<input type="text" name="email" value="<?php echo @$this->getVar('companys')->email;?>" placeholder="请输入电子邮箱" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">QQ号码</label>
<div class="layui-input-block">
<input type="text" name="qq" value="<?php echo @$this->getVar('companys')->qq;?>" placeholder="请输入QQ号码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">微信图标</label>
<div class="layui-input-inline">
<input type="text" name="weixin" id="weixin" value="<?php echo @$this->getVar('companys')->weixin;?>" placeholder="请上传微信图标" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="weixin">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="weixin_box" class="pic"><dl><dt><?php if (@$this->getVar('companys')->weixin) {?><img src="<?php echo SITE_DIR;?><?php echo @$this->getVar('companys')->weixin;?>" data-url="<?php echo @$this->getVar('companys')->weixin;?>"></dt><dd>删除</dd></dl><?php } ?></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">营业执照代码</label>
<div class="layui-input-block">
<input type="text" name="blicense" value="<?php echo @$this->getVar('companys')->blicense;?>" placeholder="请输入营业执照代码" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">其它信息</label>
<div class="layui-input-block">
<input type="text" name="other" value="<?php echo @$this->getVar('companys')->other;?>" placeholder="请输入其它信息" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</body>
</html>
<?php return array (
0 => '/home/php/pxgw/apps/admin/view/default/common/head.html',
1 => '/home/php/pxgw/apps/admin/view/default/common/foot.html',
); ?>

View File

@ -47,18 +47,7 @@
<h3>{sort:topname}</h3>
<label></label>
<span></span> </div>
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
<ul>
{pboot:nav num=15 parent={sort:tcode}}
{pboot:if('[nav:scode]'=='{sort:scode}')}
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
{else}
<li><a href="[nav:link]">[nav:name]</a></li>
{/pboot:if}
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="curriculum_list wow_list">
<ul>
{pboot:list num=8 order=date}
@ -101,7 +90,7 @@
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp;<a href="{pboot:sitedomain}/sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> {pboot:sitestatistical}</p>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>

View File

@ -53,33 +53,6 @@
{/pboot:slide}
</div>
</div>
<div class="page_num clear">
<div class="wrap">
<ul>
<li class="wow fadeInUp" data-wow-delay=".1s">
<h2><span class="timer" data-to="12" data-speed="1800">12</span></h2>
<label></label>
<p>12年专注国际艺术教育</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".2s">
<h2><span class="timer" data-to="200" data-speed="1900">200</span>+</h2>
<label></label>
<p>200多万的学员光荣毕业</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".3s">
<h2><span class="timer" data-to="500" data-speed="1800">500</span>+</h2>
<label></label>
<p>500多家合作机构</p>
</li>
<li class="wow fadeInUp" data-wow-delay=".4s">
<h2><span class="timer" data-to="300" data-speed="1900">300</span>+</h2>
<label></label>
<p>300多位优秀导师</p>
</li>
</ul>
</div>
</div>
<div class="div_hot">
<div class="wrap">
<div class="title wow fadeInUp animated" data-wow-delay=".1s">
@ -257,7 +230,7 @@
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp;<a href="{pboot:sitedomain}/sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> {pboot:sitestatistical}</p>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>

View File

@ -0,0 +1,117 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{sort:title}</title>
<meta name="keywords" content="{sort:keywords}">
<meta name="description" content="{sort:description}">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
<script>
$(function () {
$(".class_nav li").click(function () { $(this).addClass("on").siblings().removeClass("on") });
})
</script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
<div class="nav">
<ul>
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
{pboot:nav num=8 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="title wow fadeInUp" data-wow-delay=".1s">
<h3>{sort:topname}</h3>
<label></label>
<span></span> </div>
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
<ul>
{pboot:nav num=15 parent={sort:tcode}}
{pboot:if('[nav:scode]'=='{sort:scode}')}
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
{else}
<li><a href="[nav:link]">[nav:name]</a></li>
{/pboot:if}
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="course_owl wow_list">
<ul>
{pboot:list num=8 order=date}
<li class="wow fadeInUp">
<div class="item"> <a href="[list:link]">
<div class="img"><img src="[list:ico]"/></div>
<div class="text">
<h3>[list:title]</h3>
<p>作者:[list:author]</p>
</div>
</a> </div>
</li>
{/pboot:list}
</ul>
</div>
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
<ul>
{pboot:if({page:rows}>0)}
<a href="{page:index}">首页</a>
<a href='{page:pre}'>上一页</a>
{page:numbar}
<a href='{page:next}'>下一页</a>
<a href='{page:last}'>末页</a>
{/pboot:if}
</ul>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>{pboot:companyname}</h3>
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html><?php return array (
0 => '/home/php/pxgw/template/default/html/head.html',
1 => '/home/php/pxgw/template/default/html/foot.html',
); ?>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,101 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{sort:title}</title>
<meta name="keywords" content="{sort:keywords}">
<meta name="description" content="{sort:description}">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
<div class="nav">
<ul>
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
{pboot:nav num=8 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="title wow fadeInUp" data-wow-delay=".1s">
<h3>{sort:topname}</h3>
<label></label>
<span></span> </div>
<div class="news2_list wow_list">
<ul>
{pboot:list num=8 order=date}
<li class="wow fadeInUp animated "> <a href="[list:link]">
<div class="img"><img src="[list:ico]"/></div>
<div class="date"><span>[list:date style=m-d]</span>
<label>[list:date style=Y]</label>
</div>
<div class="text">
<h3>[list:title]</h3>
<p>[list:description]...</p>
</div>
<div class="clear"></div>
</a> </li>
{/pboot:list}
</ul>
</div>
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
<ul>
{pboot:if({page:rows}>0)}
<a href="{page:index}">首页</a>
<a href='{page:pre}'>上一页</a>
{page:numbar}
<a href='{page:next}'>下一页</a>
<a href='{page:last}'>末页</a>
{/pboot:if}
</ul>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>{pboot:companyname}</h3>
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html><?php return array (
0 => '/home/php/pxgw/template/default/html/head.html',
1 => '/home/php/pxgw/template/default/html/foot.html',
); ?>

View File

@ -0,0 +1,117 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{sort:title}</title>
<meta name="keywords" content="{sort:keywords}">
<meta name="description" content="{sort:description}">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
<script>
$(function () {
$(".close").click(function () { $(".modal").stop().fadeOut(); })
$(".team2_list li a").click(function () { $(".modal_team").stop().fadeIn(); });
})
</script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
<div class="nav">
<ul>
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
{pboot:nav num=8 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="title wow fadeInUp" data-wow-delay=".1s">
<h3>{sort:topname}</h3>
<label></label>
<span></span> </div>
<div class="class_nav wow fadeInUp" data-wow-delay=".2s">
<ul>
{pboot:nav num=15 parent={sort:tcode}}
{pboot:if('[nav:scode]'=='{sort:scode}')}
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
{else}
<li><a href="[nav:link]">[nav:name]</a></li>
{/pboot:if}
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="team2_list wow_list">
<ul>
{pboot:list num=8 order=date}
<li class="wow fadeInUp"><a href="[list:link]">
<div class="img"><img src="[list:ico]"/></div>
<div class="text"><span></span>
<h3>[list:title]</h3>
<p>[list:ext_zhiwei]</p>
</div>
</a></li>
{/pboot:list}
</ul>
</div>
<div class="ab_pages wow fadeInUp" data-wow-delay=".5s">
<ul>
{pboot:if({page:rows}>0)}
<a href="{page:index}">首页</a>
<a href='{page:pre}'>上一页</a>
{page:numbar}
<a href='{page:next}'>下一页</a>
<a href='{page:last}'>末页</a>
{/pboot:if}
</ul>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>{pboot:companyname}</h3>
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html><?php return array (
0 => '/home/php/pxgw/template/default/html/head.html',
1 => '/home/php/pxgw/template/default/html/foot.html',
); ?>

View File

@ -0,0 +1,95 @@
<!DOCTYPE html>
<html>
<head>
<!--[if lt IE 9]>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/html5.js"></script>
<![endif]-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{sort:title}</title>
<meta name="keywords" content="{sort:keywords}">
<meta name="description" content="{sort:description}">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/animate.min.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/global.css">
<link rel="stylesheet" type="text/css" href="{pboot:sitedomain}/skin/css/style.css">
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/wow.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/main.js"></script>
<script type="text/javascript" src="{pboot:sitedomain}/skin/js/owl.carousel.js"></script>
</head>
<body>
<!-------------------------------------- 头部开始 -------------------------------------->
<div class="header">
<div class="wrap">
<div class="logo"> <a href="{pboot:sitedomain}"><img src="{pboot:sitelogo}" /></a> </div>
<div class="nav">
<ul>
<li {pboot:if(0=='{sort:scode}')}class='on'{/pboot:if}><a href="/">网站首页</a></li>
{pboot:nav num=8 parent=0}
<li {pboot:if('[nav:scode]'=='{sort:tcode}')}class="on"{/pboot:if}><a href="[nav:link]">[nav:name]</a></li>
{/pboot:nav}
</ul>
<div class="clear"></div>
</div>
<div class="nav_wap"></div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 头部结束 -------------------------------------->
<!-------------------------------------- 内容开始 -------------------------------------->
<div class="mainer">
<div class="wrap">
<div class="title wow fadeInUp" data-wow-delay=".1s">
<h3>{sort:topname}</h3>
<label></label>
<span></span> </div>
<!-- <div class="class_nav wow fadeInUp" data-wow-delay=".2s">
<ul>
{pboot:nav num=15 parent={sort:tcode}}
{pboot:if('[nav:scode]'=='{sort:scode}')}
<li class="on"><a href="[nav:link]">[nav:name]</a></li>
{else}
<li><a href="[nav:link]">[nav:name]</a></li>
{/pboot:if}
{/pboot:nav}
</ul>
<div class="clear"></div>
</div> -->
<div class="about_gsjj">
<div class="list wow fadeInUp" data-wow-delay=".3s">
<div class="web">
<div class="text" id="maximg">
<p>{content:content}</p>
</div>
</div>
<div class="clear"></div>
</div>
</div>
</div>
</div>
<!-------------------------------------- 内容结束 -------------------------------------->
<!-------------------------------------- 尾部开始 -------------------------------------->
<div class="footer" style="background:url({pboot:sitedomain}/skin/images/ft.jpg) no-repeat center center; background-size:cover;">
<div class="wrap">
<div class="left">
<h3>{pboot:companyname}</h3>
<p><a href="{pboot:sitedomain}">网站首页</a>{pboot:nav num=4 parent=0} /<a href="[nav:link]">[nav:name]</a>{/pboot:nav}</p>
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>
</div>
<!-------------------------------------- 尾部结束 -------------------------------------->
</body>
</html><?php return array (
0 => '/home/php/pxgw/template/default/html/head.html',
1 => '/home/php/pxgw/template/default/html/foot.html',
); ?>

View File

@ -0,0 +1,771 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
<link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
<link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
</head>
<body class="layui-layout-body">
<!--定义部分地址方便JS调用-->
<div style="display: none">
<span id="controller" data-controller="<?php echo C;?>"></span>
<span id="url" data-url="<?php echo URL;?>"></span>
<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
</div>
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo">
<a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
<img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
<?php echo CMSNAME;?>
<?php if (LICENSE==3) {?>
<span class="layui-badge">SVIP</span>
<?php } else { ?>
<span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
<?php } ?>
</a>
</div>
<ul class="menu">
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
</ul>
<?php if (!$this->getVar('one_area')) {?>
<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-col-xs8">
<select name="acode">
<?php echo $this->getVar('area_html');?>
</select>
</div>
<div class="layui-col-xs4">
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
</div>
</form>
<?php } ?>
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item layui-hide-xs">
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="javascript:;">
<i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
</a>
<dl class="layui-nav-child">
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
<?php if (session('ucode')==10001) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
<?php } ?>
</dl>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域可配合layui已有的垂直导航 -->
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
<?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
<li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
<a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
<dl class="layui-nav-child">
<?php if ($value->mcode=='M130') {?>
<?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
<?php if ($value3->type==1) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
<?php } ?>
<?php if ($value3->type==2) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
<?php } ?>
<?php } ?>
<?php } else { ?>
<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
<?php if (!isset($value2->status)|| $value2->status==1) {?>
<dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
<?php } ?>
<?php } ?>
<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
<?php } ?>
<?php } ?>
</dl>
</li>
<?php } ?>
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
</li>
</ul>
</div>
</div>
<div class="layui-body">
<?php if ($this->getVar('list')) {?>
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this" lay-id="t1">栏目列表</li>
<li lay-id="t2">栏目新增</li>
<li lay-id="t3">批量新增</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/mod');?>" method="post" id="sortForm" name="sortForm">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<table class="layui-table" id="sortTable">
<thead>
<tr>
<th><input type="checkbox" lay-ignore id="checkall" title="全选"></th>
<th>栏目名称</th>
<th>编码</th>
<th>URL名称</th>
<th>模型</th>
<th>列表页模板</th>
<th>详情页模板</th>
<th>排序</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<?php $num = 0;foreach ($this->getVar('sorts') as $key => $value) { $num++;?>
<tr data-tt-id='<?php echo $value->scode; ?>' data-tt-parent-id="<?php echo $value->pcode; ?>">
<td>
<input type="checkbox" class="checkitem" lay-ignore name="list[]" value="<?php echo $value->scode; ?>">
<input type="hidden" name="listall[]" value="<?php echo $value->id; ?>">
</td>
<td>
<?php if ($value->son) {?>
<i class="fa fa-folder-o" aria-hidden="true"></i>
<?php } else { ?>
<i class="fa fa-folder-open-o" aria-hidden="true"></i>
<?php } ?>
<?php echo $value->name; ?>
<?php if ($value->outlink) {?>
<a href="<?php echo $value->outlink; ?>" target="_blank"><i class="fa fa-external-link" aria-hidden="true"></i></a>
<?php } else { ?>
<?php if ($value->type==1) {?>
<a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode');?>/<?php echo $value->mcode; ?>&scode=<?php echo $value->scode; ?>"><i class="fa fa-file-text-o" aria-hidden="true"></i> </a>
<?php } else { ?>
<a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode');?>/<?php echo $value->mcode; ?>&scode=<?php echo $value->scode; ?>"><i class="fa fa-file-text-o" aria-hidden="true"></i> </a>
<?php } ?>
<?php } ?>
</td>
<td><?php echo $value->scode; ?></td>
<td><?php echo $value->filename; ?></td>
<td>
<?php $num = 0;foreach ($this->getVar('allmodels') as $key2 => $value2) { $num++;?>
<?php if ($value2->mcode==$value->mcode) {?>
<?php echo $value2->name; ?>
<?php } ?>
<?php } ?>
</td>
<td><?php echo $value->listtpl; ?></td>
<td><?php echo $value->contenttpl; ?></td>
<td class="table-input"><input type="text" name="sorting[]" value="<?php echo $value->sorting; ?>" class="layui-input"></td>
<td>
<?php if ($value->status) {?>
<a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/0');?>" class="switch"><i class='fa fa-toggle-on' title="点击禁用"></i></a>
<?php } else { ?>
<a href="<?php echo \core\basic\Url::get('/admin/'.C.'/mod/scode/'.$value->scode.'/field/status/value/1');?>" class="switch"><i class='fa fa-toggle-off' title="点击启用"></i></a>
<?php } ?>
</td>
<td>
<?php if (!$value->outlink) {?>
<?php
$Parser=new app\home\controller\ParserController();
$link=$Parser->parserLink($value->type,$value->urlname,'list',$value->scode,$value->filename,'','');
?>
<a href="<?php echo $link?>" class="layui-btn layui-btn-xs layui-btn-primary" target="_blank">查看</a>
<?php } ?>
<?php echo get_btn_del($value->scode,'scode');?>
<?php echo get_btn_mod($value->scode,'scode');?>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<button type="submit" name="submit" value="sorting" class="layui-btn">保存排序</button>
<button type="submit" name="submit" onclick="return setDelAction();" class="layui-btn">批量删除</button>
<script>
function setDelAction(){
document.sortForm.action = "<?php echo \core\basic\Url::get('/admin/ContentSort/del');?>";
return confirm("您确定要删除选中的栏目么?");
}
$("#sortTable").treetable({ expandable: true,column: 1,indent:20,stringCollapse:'收缩',stringExpand:'展开' });
</script>
</form>
</div>
<div class="layui-tab-item">
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/add');?>" method="post" class="layui-form" lay-filter="sort">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this">基本选项</li>
<li>高级选项</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<div class="layui-form-item">
<label class="layui-form-label">父栏目</label>
<div class="layui-input-block">
<select name="pcode">
<option value="0" >顶级栏目</option>
<?php echo $this->getVar('sort_select');?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目名称 <span class="layui-text-red">*</span></label>
<div class="layui-input-block">
<input type="text" name="name" required lay-verify="required" placeholder="请输入栏目名称" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">URL名称 </label>
<div class="layui-input-block">
<input type="text" name="filename" placeholder="请输入URL名称如:testtest/a/b/c" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">内容模型 <span class="layui-text-red">*</span></label>
<div class="layui-input-block">
<select name="mcode" lay-filter="model" lay-verify="required" >
<option value="">请选择内容模型</option>
<?php $num = 0;foreach ($this->getVar('models') as $key => $value) { $num++;?>
<option value="<?php echo $value->mcode; ?>" data-type="<?php echo $value->type; ?>" data-listtpl="<?php echo $value->listtpl; ?>" data-contenttpl="<?php echo $value->contenttpl; ?>" ><?php echo $value->name; ?></option>
<?php } ?>
</select>
</div>
</div>
<input type="hidden" value="1" name="type" id="type">
<div class="layui-form-item">
<label class="layui-form-label">列表页模板</label>
<div class="layui-input-block">
<select name="listtpl" id="listtpl">
<option value=""></option>
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">详情页模板</label>
<div class="layui-input-block">
<select name="contenttpl" id="contenttpl" >
<option value=""></option>
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-block">
<input type="radio" name="status" value="1" title="显示" checked>
<input type="radio" name="status" value="0" title="隐藏">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">浏览权限</label>
<div class="layui-input-block">
<select name="gid">
<option value="">不限制</option>
<?php $num = 0;foreach ($this->getVar('groups') as $key => $value) { $num++;?>
<option value="<?php echo $value->id; ?>"><?php echo $value->gname; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">权限类型</label>
<div class="layui-input-block">
<select name="gtype" id="gtype" >
<option value="1">小于</option>
<option value="2">小于等于</option>
<option value="3">等于</option>
<option value="4" selected>大于等于</option>
<option value="5">大于</option>
</select>
</div>
</div>
</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">栏目副名称</label>
<div class="layui-input-block">
<input type="text" name="subname" placeholder="请输入栏目副名称" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目描述1</label>
<div class="layui-input-block">
<input type="text" name="def1" placeholder="请输入栏目描述1内容" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目描述2</label>
<div class="layui-input-block">
<input type="text" name="def2" placeholder="请输入栏目描述2内容" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目描述3</label>
<div class="layui-input-block">
<input type="text" name="def3" placeholder="请输入栏目描述3内容" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">跳转链接</label>
<div class="layui-input-block">
<input type="text" name="outlink" placeholder="请输入跳转链接" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">权限不足提示</label>
<div class="layui-input-block">
<input type="text" name="gnote" placeholder="请输入权限不足时提示文本" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目缩略图</label>
<div class="layui-input-inline">
<input type="text" name="ico" id="ico" placeholder="请上传栏目缩略图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="ico">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="ico_box" class="pic"></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目大图</label>
<div class="layui-input-inline">
<input type="text" name="pic" id="pic" placeholder="请上传栏目大图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="pic">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="pic_box" class="pic"></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SEO标题</label>
<div class="layui-input-block">
<input type="text" name="title" placeholder="请输入栏目SEO标题需前端调用" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SEO关键字</label>
<div class="layui-input-block">
<input type="text" name="keywords" placeholder="请输入栏目SEO关键字需前端调用" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SEO描述</label>
<div class="layui-input-block">
<textarea name="description" placeholder="请输入栏目SEO描述需前端调用" class="layui-textarea"></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
<!-- 批量新增 -->
<div class="layui-tab-item">
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/add');?>" method="post" class="layui-form" lay-filter="sort">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-form-item">
<label class="layui-form-label">父栏目</label>
<div class="layui-input-block">
<select name="pcode">
<option value="0" >顶级栏目</option>
<?php echo $this->getVar('sort_select');?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目名称</label>
<div class="layui-input-block">
<input type="text" name="multiplename" required lay-verify="required" placeholder="请输入栏目名称,多个栏目用逗号隔开" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">内容模型</label>
<div class="layui-input-block">
<select name="mcode" lay-filter="model" lay-verify="required" >
<option value="">请选择内容模型</option>
<?php $num = 0;foreach ($this->getVar('models') as $key => $value) { $num++;?>
<option value="<?php echo $value->mcode; ?>" data-type="<?php echo $value->type; ?>" data-listtpl="<?php echo $value->listtpl; ?>" data-contenttpl="<?php echo $value->contenttpl; ?>" ><?php echo $value->name; ?></option>
<?php } ?>
</select>
</div>
</div>
<input type="hidden" value="1" name="type" id="type">
<div class="layui-form-item">
<label class="layui-form-label">列表页模板</label>
<div class="layui-input-block">
<select name="listtpl" id="listtpl">
<option value=""></option>
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">详情页模板</label>
<div class="layui-input-block">
<select name="contenttpl" id="contenttpl" >
<option value=""></option>
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-block">
<input type="radio" name="status" value="1" title="显示" checked>
<input type="radio" name="status" value="0" title="隐藏">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
<?php } ?>
<?php if ($this->getVar('mod')) {?>
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">栏目修改</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="<?php echo \core\basic\Url::get('/admin/ContentSort/mod/scode/'.get('scode').'');?><?php echo $this->getVar('backurl');?>" method="post" class="layui-form" lay-filter="sort">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-tab">
<ul class="layui-tab-title">
<li class="layui-this">基本选项</li>
<li>高级选项</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<div class="layui-form-item">
<label class="layui-form-label">父栏目</label>
<div class="layui-input-block">
<select name="pcode" id="pcode">
<option value="0" >顶级栏目</option>
<?php echo $this->getVar('sort_select');?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目名称 <span class="layui-text-red">*</span></label>
<div class="layui-input-block">
<input type="text" name="name" required lay-verify="required" value="<?php echo @$this->getVar('sort')->name;?>" placeholder="请输入栏目名称" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">URL名称 </label>
<div class="layui-input-block">
<input type="text" name="filename" value="<?php echo @$this->getVar('sort')->filename;?>" placeholder="请输入URL名称如:testtest/a/b/c" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">内容模型 <span class="layui-text-red">*</span></label>
<div class="layui-input-block">
<select name="mcode" lay-filter="model" lay-verify="required" >
<option value="">请选择内容模型</option>
<?php $num = 0;foreach ($this->getVar('models') as $key => $value) { $num++;?>
<option value="<?php echo $value->mcode; ?>" <?php if ($value->mcode==$this->getVar('sort')->mcode) {?>selected<?php } ?> data-type="<?php echo $value->type; ?>" data-listtpl="<?php echo $value->listtpl; ?>" data-contenttpl="<?php echo $value->contenttpl; ?>" ><?php echo $value->name; ?></option>
<?php } ?>
</select>
</div>
</div>
<input type="hidden" name="type" id="type" value="<?php echo @$this->getVar('sort')->type;?>">
<div class="layui-form-item">
<label class="layui-form-label">列表页模板</label>
<div class="layui-input-block">
<select name="listtpl" id="listtpl">
<option value="<?php echo @$this->getVar('sort')->listtpl;?>"><?php echo @$this->getVar('sort')->listtpl;?></option>
<option value=""></option>
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
<?php if ($value!=$this->getVar('sort')->listtpl) {?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">详情页模板</label>
<div class="layui-input-block">
<select name="contenttpl" id="contenttpl" >
<option value="<?php echo @$this->getVar('sort')->contenttpl;?>"><?php echo @$this->getVar('sort')->contenttpl;?></option>
<option value=""></option>
<?php $num = 0;foreach ($this->getVar('tpls') as $key => $value) { $num++;?>
<?php if ($value!=$this->getVar('sort')->contenttpl) {?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">同步子栏目模板</label>
<div class="layui-input-block">
<input type="radio" name="modsub" value="1" title="">
<input type="radio" name="modsub" value="0" title="" checked>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">状态</label>
<div class="layui-input-block">
<input type="radio" name="status" value="1" title="显示" <?php if ($this->getVar('sort')->status==1) {?>checked="checked"<?php } ?>>
<input type="radio" name="status" value="0" title="隐藏" <?php if ($this->getVar('sort')->status==0) {?>checked="checked"<?php } ?>>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">浏览权限</label>
<div class="layui-input-block">
<select name="gid">
<option value="">不限制</option>
<?php $num = 0;foreach ($this->getVar('groups') as $key => $value) { $num++;?>
<option value="<?php echo $value->id; ?>" <?php if ($this->getVar('sort')->gid==$value->id) {?>selected="selected"<?php } ?>><?php echo $value->gname; ?></option>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">权限类型</label>
<div class="layui-input-block">
<select name="gtype" id="gtype" >
<option value="1" <?php if ($this->getVar('sort')->gtype==1) {?>selected="selected"<?php } ?>>小于</option>
<option value="2" <?php if ($this->getVar('sort')->gtype==2) {?>selected="selected"<?php } ?>>小于等于</option>
<option value="3" <?php if ($this->getVar('sort')->gtype==3) {?>selected="selected"<?php } ?>>等于</option>
<option value="4" <?php if ($this->getVar('sort')->gtype==4||(!$this->getVar('sort')->gtype)) {?>selected="selected"<?php } ?>>大于等于</option>
<option value="5" <?php if ($this->getVar('sort')->gtype==5) {?>selected="selected"<?php } ?>>大于</option>
</select>
</div>
</div>
</div>
<div class="layui-tab-item">
<div class="layui-form-item">
<label class="layui-form-label">栏目副名称</label>
<div class="layui-input-block">
<input type="text" name="subname" value="<?php echo @$this->getVar('sort')->subname;?>" placeholder="请输入栏目副名称" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目描述1</label>
<div class="layui-input-block">
<input type="text" name="def1" value="<?php echo @$this->getVar('sort')->def1;?>" placeholder="请输入栏目描述1内容" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目描述2</label>
<div class="layui-input-block">
<input type="text" name="def2" value="<?php echo @$this->getVar('sort')->def2;?>" placeholder="请输入栏目描述2内容" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目描述3</label>
<div class="layui-input-block">
<input type="text" name="def3" value="<?php echo @$this->getVar('sort')->def3;?>" placeholder="请输入栏目描述3内容" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">跳转链接</label>
<div class="layui-input-block">
<input type="text" name="outlink" value="<?php echo @$this->getVar('sort')->outlink;?>" placeholder="请输入跳转链接" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">权限不足提示</label>
<div class="layui-input-block">
<input type="text" name="gnote" value="<?php echo @$this->getVar('sort')->gnote;?>" placeholder="请输入权限不足时提示文本" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目缩略图</label>
<div class="layui-input-inline">
<input type="text" name="ico" id="ico" value="<?php echo @$this->getVar('sort')->ico;?>" placeholder="请上传栏目缩略图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="ico">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="ico_box" class="pic"><dl><dt><?php if ($this->getVar('sort')->ico) {?><img src='<?php echo SITE_DIR;?><?php echo @$this->getVar('sort')->ico;?>' data-url="<?php echo @$this->getVar('sort')->ico;?>"></dt><dd>删除</dd></dl><?php } ?></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">栏目大图</label>
<div class="layui-input-inline">
<input type="text" name="pic" id="pic" value="<?php echo @$this->getVar('sort')->pic;?>" placeholder="请上传栏目大图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="pic">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="pic_box" class="pic"><dl><dt><?php if ($this->getVar('sort')->pic) {?><img src='<?php echo SITE_DIR;?><?php echo @$this->getVar('sort')->pic;?>' data-url="<?php echo @$this->getVar('sort')->pic;?>"></dt><dd>删除</dd></dl><?php } ?></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SEO标题</label>
<div class="layui-input-block">
<input type="text" name="title" value="<?php echo @$this->getVar('sort')->title;?>" placeholder="请输入栏目SEO标题需前端调用" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SEO关键字</label>
<div class="layui-input-block">
<input type="text" name="keywords" value="<?php echo @$this->getVar('sort')->keywords;?>" placeholder="请输入栏目SEO关键字需前端调用" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">SEO描述</label>
<div class="layui-input-block">
<textarea name="description" placeholder="请输入栏目SEO描述需前端调用" class="layui-textarea"><?php echo @$this->getVar('sort')->description;?></textarea>
</div>
</div>
</div>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
<?php echo get_btn_back();?>
</div>
</div>
</form>
</div>
</div>
</div>
<?php } ?>
</div>
</div>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</body>
</html>
<?php return array (
0 => '/home/php/pxgw/apps/admin/view/default/common/head.html',
1 => '/home/php/pxgw/apps/admin/view/default/common/foot.html',
); ?>

View File

@ -44,7 +44,7 @@
<div class="mainer">
<div class="wrap">
<div class="curriculum_article">
<div class="img wow fadeInUp" data-wow-delay=".1s"> <img src="{content:ico}"/> </div>
<div class="img wow fadeInUp" data-wow-delay=".1s"> <img style="height: 100%" src="{content:ico}"/> </div>
<div class="web">
<div class="tit wow fadeInUp" data-wow-delay=".3s">
<h3>{content:title}</h3>
@ -73,7 +73,7 @@
</div>
<div class="right">
<h3>电话:<span>{pboot:companyphone}</span></h3>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp;<a href="{pboot:sitedomain}/sitemap.xml" target="_blank">XML地图</a>&nbsp;&nbsp;<a href="http://www.adminbuy.cn" target="_blank">网站源码</a> {pboot:sitestatistical}</p>
<p>{pboot:sitecopyright}&nbsp;&nbsp;<a href="https://beian.miit.gov.cn/" target="_blank" rel="nofollow">{pboot:siteicp}</a>&nbsp;&nbsp; {pboot:sitestatistical}</p>
</div>
<div class="clear"></div>
</div>

View File

@ -0,0 +1,263 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="renderer" content="webkit">
<title><?php echo CMSNAME;?>管理中心-V<?php echo APP_VERSION;?>-<?php echo RELEASE_TIME;?></title>
<link rel="shortcut icon" href="<?php echo SITE_DIR;?>/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/layui/css/layui.css?v=v2.5.4">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/font-awesome/css/font-awesome.min.css?v=v4.7.0" type="text/css">
<link rel="stylesheet" href="<?php echo APP_THEME_DIR;?>/css/comm.css?v=v3.0.6">
<link href="<?php echo APP_THEME_DIR;?>/css/jquery.treetable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/jquery.treetable.js"></script>
</head>
<body class="layui-layout-body">
<!--定义部分地址方便JS调用-->
<div style="display: none">
<span id="controller" data-controller="<?php echo C;?>"></span>
<span id="url" data-url="<?php echo URL;?>"></span>
<span id="preurl" data-preurl="<?php echo url('/admin',false);?>"></span>
<span id="sitedir" data-sitedir="<?php echo SITE_DIR;?>"></span>
<span id="mcode" data-mcode="<?php echo get('mcode');?>"></span>
</div>
<div class="layui-layout layui-layout-admin">
<div class="layui-header">
<div class="layui-logo">
<a href="<?php echo \core\basic\Url::get('/admin/Index/home');?>">
<img src="<?php echo APP_THEME_DIR;?>/images/logo.png" height="30">
<?php echo CMSNAME;?>
<?php if (LICENSE==3) {?>
<span class="layui-badge">SVIP</span>
<?php } else { ?>
<span class="layui-badge layui-bg-gray">V<?php echo APP_VERSION;?></span>
<?php } ?>
</a>
</div>
<ul class="menu">
<li class="menu-ico" title="显示或隐藏侧边栏"><i class="fa fa-bars" aria-hidden="true"></i></li>
</ul>
<?php if (!$this->getVar('one_area')) {?>
<form method="post" action="<?php echo \core\basic\Url::get('/admin/Index/area');?>" class="area-select">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-col-xs8">
<select name="acode">
<?php echo $this->getVar('area_html');?>
</select>
</div>
<div class="layui-col-xs4">
<button type="submit" class="layui-btn layui-btn-sm">切换</button>
</div>
</form>
<?php } ?>
<ul class="layui-nav layui-layout-right">
<li class="layui-nav-item layui-hide-xs">
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-xs">
<a href="javascript:;">
<i class="fa fa-user-circle-o" aria-hidden="true"></i> <?php echo session('realname');?>
</a>
<dl class="layui-nav-child">
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 密码修改</a></dd>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a></dd>
<?php if (session('ucode')==10001) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i> 在线更新</a></dd>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Index/clearSession');?>" class="ajaxlink"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理会话</a></dd>
<?php } ?>
</dl>
</li>
</ul>
</div>
<div class="layui-side layui-bg-black">
<div class="layui-side-scroll">
<!-- 左侧导航区域可配合layui已有的垂直导航 -->
<ul class="layui-nav layui-nav-tree" id="nav" lay-shrink="all">
<?php $num = 0;foreach ($this->getVar('menu_tree') as $key => $value) { $num++;?>
<li class="layui-nav-item nav-item <?php if ($this->getVar('primary_menu_url')==$value->url) {?>layui-nav-itemed<?php } ?>">
<a class="" href="javascript:;"><i class="fa <?php echo $value->ico; ?>" aria-hidden="true"></i><?php echo $value->name; ?></a>
<dl class="layui-nav-child">
<?php if ($value->mcode=='M130') {?>
<?php $num3 = 0;foreach ($this->getVar('menu_models') as $key3 => $value3) { $num3++;?>
<?php if ($value3->type==1) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Single/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
<?php } ?>
<?php if ($value3->type==2) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Content/index/mcode/'.$value3->mcode.'');?>"><i class="fa fa-file-text-o" aria-hidden="true"></i><?php echo $value3->name; ?>内容</a></dd>
<?php } ?>
<?php } ?>
<?php } else { ?>
<?php $num2 = 0;foreach ($value->son as $key2 => $value2) { $num2++;?>
<?php if (!isset($value2->status)|| $value2->status==1) {?>
<dd><a href="<?php echo \core\basic\Url::get(''.$value2->url.'');?>"><i class="fa <?php echo $value2->ico; ?>" aria-hidden="true"></i><?php echo $value2->name; ?></a></dd>
<?php } ?>
<?php } ?>
<?php if ($value->mcode=='M101' && session('ucode')==10001) {?>
<dd><a href="<?php echo \core\basic\Url::get('/admin/Upgrade/index');?>"><i class="fa fa-cloud-upload" aria-hidden="true"></i>在线更新</a></dd>
<?php } ?>
<?php } ?>
</dl>
</li>
<?php } ?>
<li style="height:1px;background:#666" class="layui-hide-sm"></li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo SITE_DIR;?>/" target="_blank"><i class="fa fa-home" aria-hidden="true"></i> 网站主页</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/ucenter');?>"><i class="fa fa-address-card-o" aria-hidden="true"></i> 资料修改</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/clearCache');?>"><i class="fa fa-trash-o" aria-hidden="true"></i> 清理缓存</a>
</li>
<li class="layui-nav-item layui-hide-sm">
<a href="<?php echo \core\basic\Url::get('/admin/Index/loginOut');?>"><i class="fa fa-sign-out" aria-hidden="true"></i> 退出登录</a>
</li>
</ul>
</div>
</div>
<div class="layui-body">
<div class="layui-tab layui-tab-brief" lay-filter="tab">
<ul class="layui-tab-title">
<li class="layui-this">站点信息</li>
</ul>
<div class="layui-tab-content">
<div class="layui-tab-item layui-show">
<form action="<?php echo \core\basic\Url::get('/admin/Site/mod');?>" method="post" class="layui-form">
<input type="hidden" name="formcheck" value="<?php echo $this->getVar('formcheck');?>" >
<div class="layui-form-item">
<label class="layui-form-label">站点标题</label>
<div class="layui-input-block">
<input type="text" name="title" value="<?php echo @$this->getVar('sites')->title;?>" placeholder="请输入站点标题" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点副标题</label>
<div class="layui-input-block">
<input type="text" name="subtitle" value="<?php echo @$this->getVar('sites')->subtitle;?>" placeholder="请输入站点副标题" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点域名</label>
<div class="layui-input-block">
<input type="text" name="domain" value="<?php echo @$this->getVar('sites')->domain;?>" placeholder="请输入站点域名" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点LOGO</label>
<div class="layui-input-inline">
<input type="text" name="logo" id="logo" value="<?php echo @$this->getVar('sites')->logo;?>" placeholder="请上传站点LOGO图" class="layui-input">
</div>
<button type="button" class="layui-btn upload" data-des="logo">
<i class="layui-icon">&#xe67c;</i>上传图片
</button>
<div id="logo_box" class="pic"><dl><dt><?php if (@$this->getVar('sites')->logo) {?><img src="<?php echo SITE_DIR;?><?php echo @$this->getVar('sites')->logo;?>" data-url="<?php echo @$this->getVar('sites')->logo;?>"></dt><dd>删除</dd></dl><?php } ?></div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点关键字</label>
<div class="layui-input-block">
<input type="text" name="keywords" value="<?php echo @$this->getVar('sites')->keywords;?>" placeholder="请输入站点关键字" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点描述</label>
<div class="layui-input-block">
<textarea name="description" placeholder="请输入站点描述" class="layui-textarea"><?php echo @$this->getVar('sites')->description;?></textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点备案</label>
<div class="layui-input-block">
<input type="text" name="icp" value="<?php echo @$this->getVar('sites')->icp;?>" placeholder="请输入站点备案" class="layui-input">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">站点模板</label>
<div class="layui-input-block">
<select name="theme">
<?php $num = 0;foreach ($this->getVar('themes') as $key => $value) { $num++;?>
<?php if ($value == $this->getVar('sites')->theme) {?>
<option value="<?php echo $value; ?>" selected='selected'><?php echo $value; ?></option>
<?php } else { ?>
<option value="<?php echo $value; ?>"><?php echo $value; ?></option>
<?php } ?>
<?php } ?>
</select>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">统计代码</label>
<div class="layui-input-block">
<textarea name="statistical" placeholder="请输入统计代码" class="layui-textarea"><?php echo @$this->getVar('sites')->statistical;?></textarea>
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">尾部信息</label>
<div class="layui-input-block">
<textarea name="copyright" placeholder="请输入尾部信息" class="layui-textarea"><?php echo @$this->getVar('sites')->copyright;?></textarea>
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit>立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/layui/layui.all.js?v=v2.5.4"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/comm.js?v=v3.1.1"></script>
<script type="text/javascript" src="<?php echo APP_THEME_DIR;?>/js/mylayui.js?v=v3.1.0"></script>
<!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</body>
</html>
<?php return array (
0 => '/home/php/pxgw/apps/admin/view/default/common/head.html',
1 => '/home/php/pxgw/apps/admin/view/default/common/foot.html',
); ?>

View File

@ -67,5 +67,7 @@ return array (
'register_gcode' => '',
'home_upload_ext' => '',
'upgrade_branch' => '3.X',
'upgrade_force' => '0',
'upgrade_force' => '1',
'spiderlog' => '1',
'licensecode' => 'QUU2QzFCQTQ5Ni8=E',
);

View File

@ -0,0 +1,8 @@
<?php
return array (
'47.240.61.164' =>
array (
'time' => 1648552304,
'count' => 2,
),
);

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
formcheck|s:32:"5ab6061f63c791d5e081408b8273513f";checkcode|s:4:"etne";

View File

@ -0,0 +1 @@
sendemail|b:0;

View File

@ -1 +0,0 @@
formcheck|s:32:"38597a5d1fc5926f0b4898356d4d67f5";checkcode|s:4:"dmw3";

View File

@ -0,0 +1 @@
sendemail|b:0;

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
sendemail|b:0;

View File

@ -0,0 +1 @@
sendemail|b:0;

View File

@ -0,0 +1 @@
sendemail|b:0;

View File

@ -1 +0,0 @@
formcheck|s:32:"54f7e366052c27be1ca17df2b045c033";

View File

@ -0,0 +1 @@
sendemail|b:0;

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
formcheck|s:32:"7c4b244ff358d6f0a0db883e6f156b75";checkcode|s:4:"6vcv";

Some files were not shown because too many files have changed in this diff Show More