更新 1.1.5版本

This commit is contained in:
LyLme 2022-05-03 14:00:55 +08:00
parent b980494b70
commit 5bb81df6b7
4 changed files with 8 additions and 42 deletions

View File

@ -2,6 +2,7 @@
error_reporting(0);
session_start();
@header('Content-Type: text/html; charset=UTF-8');
include '../include/version.php';
$do=isset($_GET['do'])?$_GET['do']:'0';
if(file_exists('install.lock')){
exit('您已经安装过,如需重新安装请删除<font color=red> install/install.lock </font>文件后再安装!');
@ -37,18 +38,7 @@ function checkconnect($connect){
echo '<font color="red">不支持</font>';
}
}
// function random($length, $numeric = 0) {
// $seed = base_convert(md5(microtime().$_SERVER['DOCUMENT_ROOT']), 16, $numeric ? 10 : 35);
// $seed = $numeric ? (str_replace('0', '', $seed).'012340567890') : ($seed.'zZ'.strtoupper($seed));
// $hash = '';
// $max = strlen($seed) - 1;
// for($i = 0; $i < $length; $i++) {
// $hash .= $seed[mt_rand(0, $max)];
// }
// return $hash;
// }
$ver = '1.1.5'
$ver = constant("VERSION");
?>
<html lang="zh-cn">
<head>

View File

@ -37,7 +37,7 @@ INSERT INTO `lylme_config` VALUES ('tq', 'true', '天气显示开关');
INSERT INTO `lylme_config` VALUES ('wztj', '', '网站统计代码');
INSERT INTO `lylme_config` VALUES ('template', 'default','网站模板');
INSERT INTO `lylme_config` VALUES ('cdnpublic', NULL,'CDN地址');
INSERT INTO `lylme_config` VALUES ('apply_gg', '<b>收录说明:</b><br>\r\n1. 禁止提交违规违法站点<br> \r\n2. 页面整洁,无多个弹窗广告和恶意跳转<br>\r\n3. 非盈利性网站,网站正常访问<br>\r\n4. 添加本站友链或网站已ICP备案优先收录<br>','收录公告');
INSERT INTO `lylme_config` VALUES ('apply_gg', '<b>收录说明:</b><br>1. 禁止提交违规违法站点<br>2. 页面整洁,无多个弹窗广告和恶意跳转<br>3. 非盈利性网站,网站正常访问<br>4. 添加本站友链或网站已ICP备案优先收录<br>','收录公告');
INSERT INTO `lylme_config` VALUES ('apply', 0,'收录申请');
-- ----------------------------
-- Table structure for lylme_groups

View File

@ -5,42 +5,15 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" />
<title>六零导航页 - 用户协议</title>
</head>
<body>
<div>
<p align="center" style="text-align:center;text-indent:30.1pt;">
<b>六零导航页 - 用户使用协议</b>
</p>
<h3 style="margin-top: 25px;">1. 特别说明</h3>
<p><b>1.1 二开:</b>六零</p>
<p style="font-size:14px">首先感谢 D.Young 和笔下光年的开源项目,虽然原项目的基本上满足了我理想中导航网站的需求,为了更方便的使用,针对我的需求,我在原项目上进行开发并开源,修改如下:<br>
1. 增加一些常用的搜索引擎(如知乎搜索、哔哩哔哩搜索、在线翻译等)<br>
2. 为了让添加数据更方便并且满足一些功能我使用了PHP+MySql加入了后台管理的功能<br>
3. 修改了网站的大部分样式<br>
4. 增加和优化了一些的内容,比如:返回顶部、获取输入框焦点等<br>
博客地址:<a href="https://blog.lylme.com" target="_blank">https://blog.lylme.com/</a> <br>
GitHub<a href="https://github.com/lylme/lylme_spage">https://github.com/lylme/lylme_spage</a>
</p> <hr>
<p><b>1.2 前端部分:</b>D.Young</p>
博客地址:<a href="https://blog.5iux.cn/4679.html" target="_blank">https://blog.5iux.cn/</a> <br>
GitHub<a href="https://github.com/5iux/5iux.github.io">https://github.com/5iux/5iux.github.io</a>
<h3 style="margin-top: 25px;">1. 说明</h3>
1.1 用户即指六零导航页(以下简称“本程序”)后下载、安装、使用本程序的用户。
</p>
<p><b>1.3 后端模板:</b>笔下光年</p>
<p style="font-size:14px">后台使用笔下光年的Light Year Admin模板开发<br>
码云:<a href="https://gitee.com/yinqi/Light-Year-Admin-Template">https://gitee.com/yinqi/Light-Year-Admin-Templatea</a>
</p> <hr>
<p margin-top: 25px;>
1.4 用户即指六零导航页(以下简称“本程序”)后下载、安装、使用系统的用户。
</p>
<p style="margin-top: 25px;">
<b>2.用户使用基本规则</b>
<p>

3
install/update2.sql Normal file
View File

@ -0,0 +1,3 @@
INSERT INTO `lylme_config` (`k`, `v`, `description`) VALUES
('apply_gg', '<b>收录说明:</b><br>1. 禁止提交违规违法站点<br>2. 页面整洁,无多个弹窗广告和恶意跳转<br>3. 非盈利性网站,网站正常访问<br>4. 添加本站友链或网站已ICP备案优先收录<br>', '收录公告'),
('wap_background', '/assets/img/wapbackground.jpg', '手机端背景');