diff --git a/www/include/common.php b/www/include/common.php
index 2a6e00f..5d03c7e 100644
--- a/www/include/common.php
+++ b/www/include/common.php
@@ -16,6 +16,9 @@ require SYSTEM_ROOT . "db.class.php";
$DB = new DB($dbconfig['host'], $dbconfig['user'], $dbconfig['pwd'], $dbconfig['dbname'], $dbconfig['port']);
$web_config = $DB->query("SELECT * FROM `lylme_config`");
+if(empty($web_config)) {
+ exit("
LyLme Spage Error: MySQL config table is empty(code:404)");
+}
while($row = $DB->fetch($web_config)) {
$conf[$row['k']] = $row['v'];
}
diff --git a/www/install/data/install_data.sql b/www/install/data/install_data.sql
index a3a06d7..e69de29 100644
--- a/www/install/data/install_data.sql
+++ b/www/install/data/install_data.sql
@@ -1,124 +0,0 @@
-SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
-SET AUTOCOMMIT = 0;
-START TRANSACTION;
-SET time_zone = "+00:00";
-
-/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
-/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
-/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
-/*!40101 SET NAMES utf8mb4 */;
-
-
-INSERT INTO `lylme_groups` (`group_id`, `group_name`, `group_icon`, `group_order`, `group_status`, `group_pwd`) VALUES
-(1, '常用导航', '', 1, 1, 0),
-(2, '设计视觉', '', 2, 1, 0),
-(3, '社交&存储', '', 3, 1, 0),
-(4, '工具', '', 4, 1, 0),
-(5, '开发', '', 5, 1, 0),
-(6, '游戏娱乐', '', 6, 1, 0),
-(7, '网站公告', '', 7, 1, 0);
-
-INSERT INTO `lylme_links` (`id`, `name`, `group_id`, `url`, `icon`, `link_desc`, `link_order`, `link_status`, `link_pwd`) VALUES
-(1, '百度', 1, 'https://www.baidu.com/', '', NULL, 10, 1, 0),
-(2, '腾讯视频', 1, 'https://v.qq.com', '', NULL, 10, 1, 0),
-(3, '优酷', 1, 'https://www.youku.com/', '', NULL, 10, 1, 0),
-(4, '爱奇艺', 1, 'https://www.iqiyi.com/', '', NULL, 10, 1, 0),
-(5, '淘宝', 1, 'https://www.taobao.com/', '', NULL, 10, 1, 0),
-(6, '哔哩哔哩', 1, 'https://www.bilibili.com/', '', NULL, 10, 1, 0),
-(7, '微博', 1, 'https://www.weibo.com/', '', NULL, 10, 1, 0),
-(8, 'QQ邮箱', 1, 'https://mail.qq.com/', '', NULL, 10, 1, 0),
-(9, '百度贴吧', 1, 'https://tieba.baidu.com/', '', NULL, 10, 1, 0),
-(10, 'CCTV直播', 1, 'https://tv.cctv.com/live/index.shtml', '', NULL, 10, 1, 0),
-(11, '抖音网页版', 1, 'https://www.douyin.com/', '', NULL, 10, 1, 0),
-(12, '快手网页版', 1, 'https://www.kuaishou.com/', '', NULL, 10, 1, 0),
-(13, '网易云音乐', 1, 'https://music.163.com/', '', NULL, 10, 1, 0),
-(14, 'QQ音乐', 1, 'https://y.qq.com/', '', NULL, 10, 1, 0),
-(15, '酷狗音乐', 1, 'https://www.kugou.com/', '', NULL, 10, 1, 0),
-(16, '虎牙直播', 1, 'https://www.huya.com/', '', NULL, 10, 1, 0),
-(17, '斗鱼直播', 1, 'https://www.douyu.com/', '', NULL, 10, 1, 0),
-(18, '企鹅电竞', 1, 'https://egame.qq.com/', '', NULL, 10, 1, 0),
-(19, '微信文件传输助手', 1, 'https://filehelper.weixin.qq.com/', '', NULL, 10, 1, 0),
-(20, '120秒视界', 1, 'https://60s.lylme.com/', '', NULL, 10, 1, 0),
-(21, 'Office模板', 2, 'https://www.officeplus.cn/', '', NULL, 10, 1, 0),
-(22, '搞定设计', 2, 'https://www.gaoding.com/', '', NULL, 10, 1, 0),
-(23, '素材天下', 2, 'http://www.sucaitianxia.net/', '', NULL, 10, 1, 0),
-(24, '千库网', 2, 'https://588ku.com/', '', NULL, 10, 1, 0),
-(25, '图怪兽', 2, 'https://818ps.com', '', NULL, 10, 1, 0),
-(26, '站酷', 2, 'https://www.zcool.com.cn/', '', NULL, 10, 1, 0),
-(27, '阿里图标', 2, 'https://www.iconfont.cn/', '', NULL, 10, 1, 0),
-(28, 'IconFinder', 2, 'https://www.iconfinder.com/', '', NULL, 10, 1, 0),
-(29, '优设教程', 2, 'https://uiiiuiii.com/', '', NULL, 10, 1, 0),
-(30, '知乎', 3, 'https://www.zhihu.com/explore', '', NULL, 10, 1, 0),
-(31, '豆瓣', 3, 'https://www.douban.com/', '', NULL, 10, 1, 0),
-(32, '简书', 3, 'https://www.jianshu.com/', '', NULL, 10, 1, 0),
-(33, '阿里云盘', 3, 'https://www.aliyundrive.com/', '', NULL, 10, 1, 0),
-(34, '百度网盘', 3, 'https://pan.baidu.com/', '', NULL, 10, 1, 0),
-(35, '蓝奏云', 3, 'https://www.lanzou.com/', '', NULL, 10, 1, 0),
-(36, '迅雷云盘', 3, 'https://pan.xunlei.com/', '', NULL, 10, 1, 0),
-(37, 'OneDrive', 3, 'https://onedrive.live.com/', '', NULL, 10, 1, 0),
-(38, '天翼云盘', 3, 'https://cloud.189.cn/', '', NULL, 10, 1, 0),
-(39, 'UC网盘', 3, 'https://www.yun.cn/', '', NULL, 10, 1, 0),
-(40, 'QQ邮箱', 3, 'https://mail.qq.com/', '', NULL, 10, 1, 0),
-(41, 'Gmail', 3, 'https://mail.google.com/', '', NULL, 10, 1, 0),
-(42, 'Hotmail', 3, 'https://outlook.live.com/mail/', '', NULL, 10, 1, 0),
-(43, '网易邮箱', 3, 'https://mail.163.com/', '', NULL, 10, 1, 0),
-(44, '新浪邮箱', 3, 'https://mail.sina.com.cn/', '', NULL, 10, 1, 0),
-(45, '阿里邮箱', 3, 'https://mail.aliyun.com/', '', NULL, 10, 1, 0),
-(46, '在线工具', 4, 'https://tool.lu/', '', NULL, 10, 1, 0),
-(47, 'IP查询', 4, 'https://ip.cn/', '', NULL, 10, 1, 0),
-(48, '文档在线转换', 4, 'https://xpdf.net/', '', NULL, 10, 1, 0),
-(49, '谷歌翻译', 4, 'https://translate.google.cn/?hl=zh-CN', '', NULL, 10, 1, 0),
-(50, '有道翻译', 4, 'https://fanyi.youdao.com/', '', NULL, 10, 1, 0),
-(51, 'HTML在线运行', 4, 'https://c.runoob.com/front-end/61/', '', NULL, 10, 1, 0),
-(52, 'MD编辑器', 4, 'https://www.lylme.com/html/', '', NULL, 10, 1, 0),
-(53, '微PE工具', 4, 'http://www.wepe.com.cn/', '', NULL, 10, 1, 0),
-(54, '在线代码格式化', 4, 'https://tool.oschina.net/codeformat/html/', '', NULL, 10, 1, 0),
-(55, 'JS混淆器', 4, 'http://tool.chinaz.com/tools/jscodeconfusion.aspx', '', NULL, 10, 1, 0),
-(56, '站长工具', 4, 'http://tool.chinaz.com/', '', NULL, 10, 1, 0),
-(57, '在线Ping', 4, 'https://ping.chinaz.com/', '', NULL, 10, 1, 0),
-(58, 'ICP备案查询', 4, 'https://icp.chinaz.com/', '', NULL, 10, 1, 0),
-(59, '在线PS', 4, 'https://www.photopea.com/', '', NULL, 10, 1, 0),
-(60, 'W3school', 5, 'http://www.w3school.com.cn/', '', NULL, 10, 1, 0),
-(61, 'Github', 5, 'https://github.com/', '', NULL, 10, 1, 0),
-(62, '码云Gitee', 5, 'https://gitee.com/', '', NULL, 10, 1, 0),
-(63, 'Linux命令查询', 5, 'https://linux.lylme.com/', '', NULL, 10, 1, 0),
-(64, 'CSDN', 5, 'https://www.csdn.net/', '', NULL, 10, 1, 0),
-(65, 'CdnJs', 5, 'https://cdnjs.com/', '', NULL, 10, 1, 0),
-(66, '字节跳动CDN', 5, 'https://cdn.bytedance.com/', '', NULL, 10, 1, 0),
-(67, 'Font Awesome', 5, 'https://fontawesome.com/icons?https://fontawesome.com/', '', NULL, 10, 1, 0),
-(68, 'MSDN我告诉你', 5, 'https://msdn.itellyou.cn/', '', NULL, 10, 1, 0),
-(69, '腾讯云', 5, 'https://cloud.tencent.com/', '', NULL, 10, 1, 0),
-(70, '阿里云', 5, 'https://www.aliyun.com/', '', NULL, 10, 1, 0),
-(71, '4399小游戏', 6, 'http://www.4399.com/', '', NULL, 10, 1, 0),
-(72, '7k7k小游戏', 6, 'http://www.7k7k.com/', '', NULL, 10, 1, 0),
-(73, '英雄联盟', 6, 'https://lol.qq.com/', '', NULL, 10, 1, 0),
-(74, '永劫无间', 6, 'https://www.yjwujian.cn/', '', NULL, 10, 1, 0),
-(75, 'STEAM', 6, 'https://store.steampowered.com/', '', NULL, 10, 1, 0),
-(76, '王者荣耀', 6, 'https://pvp.qq.com/', '', NULL, 10, 1, 0),
-(77, '3DM GAME', 6, 'https://www.3dmgame.com/', '', NULL, 10, 1, 0),
-(78, '官方主页', 7, 'https://www.lylme.com/', '', NULL, 10, 1, 0),
-(79, '申请收录', 7, '/apply', '', NULL, 10, 1, 0),
-(80, '建议&反馈', 7, 'https://support.qq.com/products/356339', '', NULL, 10, 1, 0);
-
-INSERT INTO `lylme_sou` (`sou_id`, `sou_alias`, `sou_name`, `sou_hint`, `sou_color`, `sou_link`, `sou_waplink`, `sou_icon`, `sou_st`, `sou_order`) VALUES
-(1, 'baidu', '百度一下', '百度一下,你就知道', '#0c498c', 'https://www.baidu.com/s?word=', 'https://m.baidu.com/s?word=', '', 1, 1),
-(2, 'sogou', '搜狗搜索', '上网从搜狗开始', '#696a6d', 'https://www.sogou.com/web?query=', NULL, '', 1, 2),
-(3, 'bing', 'Bing必应', '微软必应搜索', '#696a6d', 'https://cn.bing.com/search?', NULL, '', 1, 3),
-(4, 'zhihu', '知乎搜索', '有问题,上知乎', '#0084fe', 'https://www.zhihu.com/search?q=', NULL, '', 1, 4),
-(5, 'bilibili', '哔哩哔哩', '(゜-゜)つロ 干杯~', '#00aeec', 'https://search.bilibili.com/all?keyword=', NULL, '', 1, 5),
-(6, 'weibo', '微博搜索', '随时随地发现新鲜事', '#ff5722', 'https://s.weibo.com/weibo/', '', '', 1, 6),
-(7, 'google', '谷歌搜索', '值得信任的搜索引擎', '#3B83FA', 'https://www.google.com/search?q=', '', '', 1, 7),
-(8, 'fanyi', '在线翻译', '输入翻译内容(自动检测语言)', '#0084fe', 'https://fanyi.baidu.com/#auto/zh/', NULL, '', 1, 8);
-
-
-INSERT INTO `lylme_tags` (`tag_id`, `tag_name`, `tag_link`, `tag_target`, `sort`) VALUES
-(1, '主页', 'https://www.lylme.com/', 0, 10),
-(2, '博客', 'https://blog.lylme.com/', 1, 10),
-(3, 'Github', 'https://github.com/lylme', 1, 10),
-(4, '关于本站', '/about', 1, 10),
-(5, '申请收录', '/apply', 1, 10),
-(6, '查看', '/pwd', 0, 10);
-COMMIT;
-/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
-/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
-/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
diff --git a/www/install/data/install_struct.sql b/www/install/data/install_struct.sql
index 62cd3a0..48b10f9 100644
--- a/www/install/data/install_struct.sql
+++ b/www/install/data/install_struct.sql
@@ -16,52 +16,42 @@ CREATE TABLE `lylme_apply` (
`apply_url` varchar(255) NOT NULL,
`apply_group` int(2) NOT NULL,
`apply_icon` text NOT NULL,
- `apply_desc` varchar(30) NOT NULL,
+ `apply_desc` varchar(255) DEFAULT NULL COMMENT '链接描述',
`apply_time` datetime NOT NULL,
`apply_status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='收录申请';
DROP TABLE IF EXISTS `lylme_config`;
CREATE TABLE `lylme_config` (
- `id` int(11) NOT NULL,
+ `id` int(11) NOT NULL COMMENT 'ID',
`k` varchar(30) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '键',
`v` text COLLATE utf8mb4_unicode_ci COMMENT '值',
- `description` varchar(60) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '描述'
+ `description` varchar(30) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '描述'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='导航配置' ROW_FORMAT=COMPACT;
INSERT INTO `lylme_config` (`id`, `k`, `v`, `description`) VALUES
-(1, 'admin_user', 'admin', '管理员用户名'),
-(2, 'admin_pwd', '1ef987f238b7a80eaf3689cfc42aad2d', '管理员密码(1ef987f238b7a80eaf3689cfc42aad2d)对应123456'),
-(3, 'md5pass', '1', '启用md5加密密码'),
-(4, 'apply', '0', '收录申请'),
-(5, 'apply_gg', '收录说明:
1. 禁止提交违规违法站点
2. 页面整洁,无多个弹窗广告和恶意跳转
3. 非盈利性网站,网站正常访问
4. 添加本站友链或网站已ICP备案优先收录
', '收录公告'),
-(6, 'background', './assets/img/background.jpg', '背景图片'),
+(1, 'admin_pwd', '1ef987f238b7a80eaf3689cfc42aad2d', '管理员密码'),
+(2, 'admin_user', 'admin', '管理员账号'),
+(3, 'apply', '0', '收录申请'),
+(4, 'apply_gg', '收录说明:
1. 禁止提交违规违法站点
2. 页面整洁,无多个弹窗广告和恶意跳转
3. 非盈利性网站,网站正常访问
4. 添加本站友链或网站已ICP备案优先收录
', '收录公告'),
+(5, 'background', './assets/img/background.jpg', '背景图片'),
+(6, 'title', '上网导航 - LyLme Spage', '网站标题'),
(7, 'cdnpublic', NULL, 'CDN地址'),
(8, 'copyright', 'Copyright ©2022 LyLme Spage. All Rights Reserved.', '版权代码'),
(9, 'description', '六零导航页(LyLme Spage)致力于简洁高效无广告的上网导航和搜索入口,沉淀最具价值链接,全站无商业推广,简约而不简单。', '网站描述'),
(10, 'home-title', '上网,从这里开始!
', '首页标题'),
(11, 'icp', '', '备案号'),
(12, 'keywords', '六零导航页,百度搜索,哔哩哔哩搜索,知乎搜索,六零导航,LyLme Spage,六零,LyLme,网站导航,上网导航', '关键字'),
-(13, 'logo', './assets/img/logo.png', '网站图标'),
-(14, 'template', 'default', '网站模板'),
-(15, 'title', '上网导航 - LyLme Spage', '网站名称'),
-(16, 'tq', 'true', '天气显示开关'),
-(17, 'version', 'v1.8.0', '程序版本'),
-(18, 'wap_background', NULL, '手机端背景'),
-(19, 'wztj', '', '网站统计代码'),
-(20, 'yan', 'true', '随机一言开关'),
-(21, 'wxplus', '', '微信推送密钥'),
-(22, 'wxplustime', '20:00', '微信推送时间');
-
-
-ALTER TABLE `lylme_config`
- ADD PRIMARY KEY (`id`),
- ADD UNIQUE KEY `k` (`k`);
-
-
-ALTER TABLE `lylme_config`
- MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
-COMMIT;
+(13, 'logo', './assets/img/logo.png', '网站LOGO'),
+(14, 'md5pass', '1', '启用md5加密密码'),
+(15, 'template', 'default', '网站模板'),
+(16, 'wztj', '', '网站统计代码(自定义footer)'),
+(17, 'tq', 'true', '天气显示开关'),
+(18, 'version', 'v1.8.0', '程序版本'),
+(19, 'wap_background', NULL, '手机端背景'),
+(20, 'wxplus', '', '微信推送密钥'),
+(21, 'wxplustime', '20:00', '微信推送时间'),
+(22, 'yan', 'true', '随机一言开关');
DROP TABLE IF EXISTS `lylme_groups`;
CREATE TABLE `lylme_groups` (
@@ -86,6 +76,7 @@ CREATE TABLE `lylme_links` (
`link_pwd` int(2) DEFAULT '0' COMMENT '加密组ID'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT;
+
DROP TABLE IF EXISTS `lylme_pwd`;
CREATE TABLE `lylme_pwd` (
`pwd_id` int(2) NOT NULL COMMENT '加密组ID',
@@ -108,6 +99,10 @@ CREATE TABLE `lylme_sou` (
`sou_order` int(2) NOT NULL COMMENT '搜索引擎排序'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='搜索引擎';
+INSERT INTO `lylme_sou` (`sou_id`, `sou_alias`, `sou_name`, `sou_hint`, `sou_color`, `sou_link`, `sou_waplink`, `sou_icon`, `sou_st`, `sou_order`) VALUES
+(1, 'baidu', '百度一下', '百度一下,你就知道', '#0c498c', 'https://www.baidu.com/s?word=', 'https://m.baidu.com/s?word=', '', 1, 1);
+
+
DROP TABLE IF EXISTS `lylme_tags`;
CREATE TABLE `lylme_tags` (
`tag_id` int(11) NOT NULL,
@@ -122,7 +117,8 @@ ALTER TABLE `lylme_apply`
ADD PRIMARY KEY (`apply_id`);
ALTER TABLE `lylme_config`
- ADD PRIMARY KEY (`k`) USING BTREE;
+ ADD PRIMARY KEY (`id`),
+ ADD UNIQUE KEY `k` (`k`);
ALTER TABLE `lylme_groups`
ADD PRIMARY KEY (`group_id`) USING BTREE,
@@ -145,20 +141,23 @@ ALTER TABLE `lylme_tags`
ALTER TABLE `lylme_apply`
MODIFY `apply_id` int(4) NOT NULL AUTO_INCREMENT;
+ALTER TABLE `lylme_config`
+ MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID', AUTO_INCREMENT=23;
+
ALTER TABLE `lylme_groups`
- MODIFY `group_id` int(2) NOT NULL AUTO_INCREMENT COMMENT '分组ID';
+ MODIFY `group_id` int(2) NOT NULL AUTO_INCREMENT COMMENT '分组ID', AUTO_INCREMENT=8;
ALTER TABLE `lylme_links`
- MODIFY `id` int(4) NOT NULL AUTO_INCREMENT COMMENT '网站ID';
+ MODIFY `id` int(4) NOT NULL AUTO_INCREMENT COMMENT '链接ID', AUTO_INCREMENT=81;
ALTER TABLE `lylme_pwd`
MODIFY `pwd_id` int(2) NOT NULL AUTO_INCREMENT COMMENT '加密组ID';
ALTER TABLE `lylme_sou`
- MODIFY `sou_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '搜索引擎ID';
+ MODIFY `sou_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '搜索引擎ID', AUTO_INCREMENT=9;
ALTER TABLE `lylme_tags`
- MODIFY `tag_id` int(11) NOT NULL AUTO_INCREMENT;
+ MODIFY `tag_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '导航菜单ID', AUTO_INCREMENT=7;
ALTER TABLE `lylme_links`
@@ -168,3 +167,108 @@ COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+
+INSERT INTO `lylme_groups` (`group_id`, `group_name`, `group_icon`, `group_order`, `group_status`, `group_pwd`) VALUES
+(1, '常用导航', '', 1, 1, 0),
+(2, '设计视觉', '', 2, 1, 0),
+(3, '社交&存储', '', 3, 1, 0),
+(4, '工具', '', 4, 1, 0),
+(5, '开发', '', 5, 1, 0),
+(6, '游戏娱乐', '', 6, 1, 0),
+(7, '网站公告', '', 7, 1, 0);
+INSERT INTO `lylme_links` (`id`, `name`, `group_id`, `url`, `icon`, `link_desc`, `link_order`, `link_status`, `link_pwd`) VALUES
+(1, '百度', 1, 'https://www.baidu.com/', '', NULL, 10, 1, 0),
+(2, '腾讯视频', 1, 'https://v.qq.com', '', NULL, 10, 1, 0),
+(3, '优酷', 1, 'https://www.youku.com/', '', NULL, 10, 1, 0),
+(4, '爱奇艺', 1, 'https://www.iqiyi.com/', '', NULL, 10, 1, 0),
+(5, '淘宝', 1, 'https://www.taobao.com/', '', NULL, 10, 1, 0),
+(6, '哔哩哔哩', 1, 'https://www.bilibili.com/', '', NULL, 10, 1, 0),
+(7, '微博', 1, 'https://www.weibo.com/', '', NULL, 10, 1, 0),
+(8, 'QQ邮箱', 1, 'https://mail.qq.com/', '', NULL, 10, 1, 0),
+(9, '百度贴吧', 1, 'https://tieba.baidu.com/', '', NULL, 10, 1, 0),
+(10, 'CCTV直播', 1, 'https://tv.cctv.com/live/index.shtml', '', NULL, 10, 1, 0),
+(11, '抖音网页版', 1, 'https://www.douyin.com/', '', NULL, 10, 1, 0),
+(12, '快手网页版', 1, 'https://www.kuaishou.com/', '', NULL, 10, 1, 0),
+(13, '网易云音乐', 1, 'https://music.163.com/', '', NULL, 10, 1, 0),
+(14, 'QQ音乐', 1, 'https://y.qq.com/', '', NULL, 10, 1, 0),
+(15, '酷狗音乐', 1, 'https://www.kugou.com/', '', NULL, 10, 1, 0),
+(16, '虎牙直播', 1, 'https://www.huya.com/', '', NULL, 10, 1, 0),
+(17, '斗鱼直播', 1, 'https://www.douyu.com/', '', NULL, 10, 1, 0),
+(18, '企鹅电竞', 1, 'https://egame.qq.com/', '', NULL, 10, 1, 0),
+(19, '微信文件传输助手', 1, 'https://filehelper.weixin.qq.com/', '', NULL, 10, 1, 0),
+(20, '120秒视界', 1, 'https://60s.lylme.com/', '', NULL, 10, 1, 0),
+(21, 'Office模板', 2, 'https://www.officeplus.cn/', '', NULL, 10, 1, 0),
+(22, '搞定设计', 2, 'https://www.gaoding.com/', '', NULL, 10, 1, 0),
+(23, '素材天下', 2, 'http://www.sucaitianxia.net/', '', NULL, 10, 1, 0),
+(24, '千库网', 2, 'https://588ku.com/', '', NULL, 10, 1, 0),
+(25, '图怪兽', 2, 'https://818ps.com', '', NULL, 10, 1, 0),
+(26, '站酷', 2, 'https://www.zcool.com.cn/', '', NULL, 10, 1, 0),
+(27, '阿里图标', 2, 'https://www.iconfont.cn/', '', NULL, 10, 1, 0),
+(28, 'IconFinder', 2, 'https://www.iconfinder.com/', '', NULL, 10, 1, 0),
+(29, '优设教程', 2, 'https://uiiiuiii.com/', '', NULL, 10, 1, 0),
+(30, '知乎', 3, 'https://www.zhihu.com/explore', '', NULL, 10, 1, 0),
+(31, '豆瓣', 3, 'https://www.douban.com/', '', NULL, 10, 1, 0),
+(32, '简书', 3, 'https://www.jianshu.com/', '', NULL, 10, 1, 0),
+(33, '阿里云盘', 3, 'https://www.aliyundrive.com/', '', NULL, 10, 1, 0),
+(34, '百度网盘', 3, 'https://pan.baidu.com/', '', NULL, 10, 1, 0),
+(35, '蓝奏云', 3, 'https://www.lanzou.com/', '', NULL, 10, 1, 0),
+(36, '迅雷云盘', 3, 'https://pan.xunlei.com/', '', NULL, 10, 1, 0),
+(37, 'OneDrive', 3, 'https://onedrive.live.com/', '', NULL, 10, 1, 0),
+(38, '天翼云盘', 3, 'https://cloud.189.cn/', '', NULL, 10, 1, 0),
+(39, 'UC网盘', 3, 'https://www.yun.cn/', '', NULL, 10, 1, 0),
+(40, 'QQ邮箱', 3, 'https://mail.qq.com/', '', NULL, 10, 1, 0),
+(41, 'Gmail', 3, 'https://mail.google.com/', '', NULL, 10, 1, 0),
+(42, 'Hotmail', 3, 'https://outlook.live.com/mail/', '', NULL, 10, 1, 0),
+(43, '网易邮箱', 3, 'https://mail.163.com/', '', NULL, 10, 1, 0),
+(44, '新浪邮箱', 3, 'https://mail.sina.com.cn/', '', NULL, 10, 1, 0),
+(45, '阿里邮箱', 3, 'https://mail.aliyun.com/', '', NULL, 10, 1, 0),
+(46, '在线工具', 4, 'https://tool.lu/', '', NULL, 10, 1, 0),
+(47, 'IP查询', 4, 'https://ip.cn/', '', NULL, 10, 1, 0),
+(48, '文档在线转换', 4, 'https://xpdf.net/', '', NULL, 10, 1, 0),
+(49, '谷歌翻译', 4, 'https://translate.google.cn/?hl=zh-CN', '', NULL, 10, 1, 0),
+(50, '有道翻译', 4, 'https://fanyi.youdao.com/', '', NULL, 10, 1, 0),
+(51, 'HTML在线运行', 4, 'https://c.runoob.com/front-end/61/', '', NULL, 10, 1, 0),
+(52, 'MD编辑器', 4, 'https://www.lylme.com/html/', '', NULL, 10, 1, 0),
+(53, '微PE工具', 4, 'http://www.wepe.com.cn/', '', NULL, 10, 1, 0),
+(54, '在线代码格式化', 4, 'https://tool.oschina.net/codeformat/html/', '', NULL, 10, 1, 0),
+(55, 'JS混淆器', 4, 'http://tool.chinaz.com/tools/jscodeconfusion.aspx', '', NULL, 10, 1, 0),
+(56, '站长工具', 4, 'http://tool.chinaz.com/', '', NULL, 10, 1, 0),
+(57, '在线Ping', 4, 'https://ping.chinaz.com/', '', NULL, 10, 1, 0),
+(58, 'ICP备案查询', 4, 'https://icp.chinaz.com/', '', NULL, 10, 1, 0),
+(59, '在线PS', 4, 'https://www.photopea.com/', '', NULL, 10, 1, 0),
+(60, 'W3school', 5, 'http://www.w3school.com.cn/', '', NULL, 10, 1, 0),
+(61, 'Github', 5, 'https://github.com/', '', NULL, 10, 1, 0),
+(62, '码云Gitee', 5, 'https://gitee.com/', '', NULL, 10, 1, 0),
+(63, 'Linux命令查询', 5, 'https://linux.lylme.com/', '', NULL, 10, 1, 0),
+(64, 'CSDN', 5, 'https://www.csdn.net/', '', NULL, 10, 1, 0),
+(65, 'CdnJs', 5, 'https://cdnjs.com/', '', NULL, 10, 1, 0),
+(66, '字节跳动CDN', 5, 'https://cdn.bytedance.com/', '', NULL, 10, 1, 0),
+(67, 'Font Awesome', 5, 'https://fontawesome.com/icons?https://fontawesome.com/', '', NULL, 10, 1, 0),
+(68, 'MSDN我告诉你', 5, 'https://msdn.itellyou.cn/', '', NULL, 10, 1, 0),
+(69, '腾讯云', 5, 'https://cloud.tencent.com/', '', NULL, 10, 1, 0),
+(70, '阿里云', 5, 'https://www.aliyun.com/', '', NULL, 10, 1, 0),
+(71, '4399小游戏', 6, 'http://www.4399.com/', '', NULL, 10, 1, 0),
+(72, '7k7k小游戏', 6, 'http://www.7k7k.com/', '', NULL, 10, 1, 0),
+(73, '英雄联盟', 6, 'https://lol.qq.com/', '', NULL, 10, 1, 0),
+(74, '永劫无间', 6, 'https://www.yjwujian.cn/', '', NULL, 10, 1, 0),
+(75, 'STEAM', 6, 'https://store.steampowered.com/', '', NULL, 10, 1, 0),
+(76, '王者荣耀', 6, 'https://pvp.qq.com/', '', NULL, 10, 1, 0),
+(77, '3DM GAME', 6, 'https://www.3dmgame.com/', '', NULL, 10, 1, 0),
+(78, '官方主页', 7, 'https://www.lylme.com/', '', NULL, 10, 1, 0),
+(79, '申请收录', 7, '/apply', '', NULL, 10, 1, 0),
+(80, '建议&反馈', 7, 'https://support.qq.com/products/356339', '', NULL, 10, 1, 0);
+INSERT INTO `lylme_sou` (`sou_id`, `sou_alias`, `sou_name`, `sou_hint`, `sou_color`, `sou_link`, `sou_waplink`, `sou_icon`, `sou_st`, `sou_order`) VALUES
+(2, 'sogou', '搜狗搜索', '上网从搜狗开始', '#696a6d', 'https://www.sogou.com/web?query=', NULL, '', 1, 2),
+(3, 'bing', 'Bing必应', '微软必应搜索', '#696a6d', 'https://cn.bing.com/search?q=', NULL, '', 1, 3),
+(4, 'zhihu', '知乎搜索', '有问题,上知乎', '#0084fe', 'https://www.zhihu.com/search?q=', NULL, '', 1, 4),
+(5, 'bilibili', '哔哩哔哩', '(゜-゜)つロ 干杯~', '#00aeec', 'https://search.bilibili.com/all?keyword=', NULL, '', 1, 5),
+(6, 'weibo', '微博搜索', '随时随地发现新鲜事', '#ff5722', 'https://s.weibo.com/weibo/', '', '', 1, 6),
+(7, 'google', '谷歌搜索', '值得信任的搜索引擎', '#3B83FA', 'https://www.google.com/search?q=', '', '', 1, 7),
+(8, 'fanyi', '在线翻译', '输入翻译内容(自动检测语言)', '#0084fe', 'https://fanyi.baidu.com/#auto/zh/', NULL, '', 1, 8);
+INSERT INTO `lylme_tags` (`tag_id`, `tag_name`, `tag_link`, `tag_target`, `sort`) VALUES
+(1, '主页', 'https://www.lylme.com/', 0, 10),
+(2, '博客', 'https://blog.lylme.com/', 1, 10),
+(3, 'Github', 'https://github.com/lylme', 1, 10),
+(4, '关于本站', '/about', 1, 10),
+(5, '申请收录', '/apply', 1, 10),
+(6, '查看', '/pwd', 0, 10);
diff --git a/www/install/templates/step_1.php b/www/install/templates/step_1.php
index 14e8661..6b52da2 100644
--- a/www/install/templates/step_1.php
+++ b/www/install/templates/step_1.php
@@ -83,7 +83,7 @@ echo @$env_items[$key]['current'];
= $item['name'] ?> |
- = $item['status'] ? '支持' : '不支持' ?> |
+ = $item['status'] ? '支持' : '不支持' ?> |
= $item['status'] ? '无' : '需安装' ?>
|
@@ -103,7 +103,7 @@ echo @$env_items[$key]['current'];
() |
- = isFunExists($v) ? '支持' : '不支持' ?> |
+ = isFunExists($v) ? '支持' : '不支持' ?> |
= isFunExistsTxt($v) ?> |