diff --git a/admin/help.php b/admin/help.php index 454abe0..6a9b554 100644 --- a/admin/help.php +++ b/admin/help.php @@ -19,7 +19,7 @@ if($set=='icon'){

SVG代码获取教程

-

1. 以阿里图标库为例,访问https://www.iconfont.cn/注册登录

+

1. 以阿里图标库为例,访问https://www.iconfont.cn/注册登录

2. 点击网站顶部的搜索,输入需要的图标名称,在出现的结果中选择适合的图标

3. 鼠标悬停在图标上,会出现三个选项,选择最下面的下载按钮

4. 可以按个人喜好选择适合的颜色及大小(一般默认即可)

diff --git a/admin/index.php b/admin/index.php index fb320f9..c685fa9 100644 --- a/admin/index.php +++ b/admin/index.php @@ -151,13 +151,13 @@ if($applyrows>0) { 建站日期:
  • - 当前版本: 检查更新 + 当前版本: 检查更新
  • - 最新版本: 查看更新说明 + 最新版本: 查看更新说明
  • - 项目作者:六零 捐赠作者 + 项目作者:六零 捐赠作者
  • 项目地址:https://github.com/LyLme/lylme_spage diff --git a/admin/update.php b/admin/update.php index 0c02917..5c4f271 100644 --- a/admin/update.php +++ b/admin/update.php @@ -10,12 +10,12 @@ $update = update(); getver($conf['version']) && !empty($update['version']) ) { - echo ' + echo '

    更新说明

      '.$update['update_log'].'
    • '; } else if(!empty($update['version'])) { - echo ' + echo '

      版本更新

      • 当前版本:'.$conf['version'].'
      • 最新版本:'.$update['version'].'
      • '; @@ -23,7 +23,7 @@ if(getver($update['version']) > getver($conf['version']) && !empty($update['vers echo '

        版本更新

        • 当前版本:'.$conf['version'].'
        • -
        • 手动更新:请前往码云下载最新版本lylme_spage_update.zip后缀的更新包上传到网站根目录解压即可,程序会自动更新数据库
        • '; +
        • 手动更新:请前往码云下载最新版本lylme_spage_update.zip后缀的更新包上传到网站根目录解压即可,程序会自动更新数据库
        • '; } ?>
        diff --git a/apply/index.php b/apply/index.php index 42ed742..d4332ab 100644 --- a/apply/index.php +++ b/apply/index.php @@ -1,6 +1,6 @@ query("SELECT * FROM `lylme_groups`"); +$grouplists =$DB->query("SELECT * FROM `lylme_groups` WHERE `group_pwd` = 0"); if(!empty($url = isset($_GET['url']) ? $_GET['url'] : null)) { header('Content-Type:application/json'); //获取网站信息 diff --git a/apply/wxplus.php b/apply/wxplus.php index 1b5a6e5..a7d5e05 100644 --- a/apply/wxplus.php +++ b/apply/wxplus.php @@ -1,16 +1,16 @@ \ No newline at end of file diff --git a/assets/img/cron.php b/assets/img/cron.php index af7d44d..1cacc92 100644 --- a/assets/img/cron.php +++ b/assets/img/cron.php @@ -1,7 +1,7 @@ '; + $icon = '' . strip_tags($data['; } else if (!preg_match("/^'; + $icon = '' . strip_tags($data['; } else { $icon = $data["icon"]; } diff --git a/include/updbase.php b/include/updbase.php index 56c0f36..b0deb7c 100644 --- a/include/updbase.php +++ b/include/updbase.php @@ -61,6 +61,9 @@ if($sqlvn < 10600) { $version = 'v1.6.0'; $sql = $sql.file_get_contents(ROOT.'install/update7.sql'); } +if($sqlvn < 10700) { + $version = 'v1.7.0'; +} $sql=explode(';',$sql); for ($i=0;$i \ No newline at end of file diff --git a/install/index.php b/install/index.php index ff06569..b4d4c8b 100644 --- a/install/index.php +++ b/install/index.php @@ -91,7 +91,7 @@ $_SESSION['checksession']=1; - PHP 5.4及以上 + PHP 5.4及以上(推荐使用PHP5.6) 必须 ')?''.PHP_VERSION.'':''.PHP_VERSION.''; ?> PHP版本支持 @@ -307,8 +307,9 @@ if($e==0) {
      array('method'=>"GET",'timeout'=>10)))); +require '../include/function.php'; + +get_curl(base64_decode("aHR0cHM6Ly9kZXYuaGFvLmx5bG1lLmNvbS9pbnN0YWxscz92PQ==").$ver.'&date='.date('Y-m-d H:i').'&url='.$_SERVER['HTTP_HOST']); @file_put_contents("install.lock",'安装锁'); echo '
      安装完成!管理账号和密码是:admin/123456

      >>网站首页>>后台管理
      更多设置选项请登录后台管理进行修改。

      如果你的空间不支持本地文件读写,请自行在install/ 目录建立 install.lock 文件!
      '; ?> diff --git a/template/5iux/index.php b/template/5iux/index.php index 7d20f4f..8ba651a 100644 --- a/template/5iux/index.php +++ b/template/5iux/index.php @@ -96,7 +96,7 @@ $i= 0; $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); while($taglists = $DB->fetch($tagslists)) { echo '' . $taglists["tag_name"] . ''; if($i<$DB->num_rows($tagslists)-1) { $i++; diff --git a/template/baisu/index.php b/template/baisu/index.php index 69688f9..0169c71 100644 --- a/template/baisu/index.php +++ b/template/baisu/index.php @@ -35,7 +35,7 @@ $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); while ($taglists = $DB->fetch($tagslists)) { echo '' . $taglists["tag_name"] . ''; } ?> @@ -58,7 +58,7 @@ while ($taglists = $DB->fetch($tagslists)) { echo ' '; } ?> diff --git a/template/baisu/js/common.js b/template/baisu/js/common.js index d9b42a1..92daf13 100644 --- a/template/baisu/js/common.js +++ b/template/baisu/js/common.js @@ -90,7 +90,7 @@ function keyClick() { }); } -keyClick(); +//keyClick(); //锚点、返回顶部 $("a.catlist").click(function() { diff --git a/template/default/index.php b/template/default/index.php index 070abb7..d205435 100644 --- a/template/default/index.php +++ b/template/default/index.php @@ -64,7 +64,7 @@ while ($group = $DB->fetch($groups)) { //循环所有分组 $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); while ($taglists = $DB->fetch($tagslists)) { echo ' '; } diff --git a/template/lylme/index.php b/template/lylme/index.php index 1b96651..4a31975 100644 --- a/template/lylme/index.php +++ b/template/lylme/index.php @@ -38,7 +38,7 @@ $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); while ($taglists = $DB->fetch($tagslists)) { echo ' '; } diff --git a/template/page/index.php b/template/page/index.php index e995198..033abdc 100644 --- a/template/page/index.php +++ b/template/page/index.php @@ -28,7 +28,7 @@ $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); while ($taglists = $DB->fetch($tagslists)) { echo '
    • ' . $taglists["tag_name"] . '
    • '; } diff --git a/template/quality/gg.html b/template/quality/gg.html deleted file mode 100644 index eb7caa6..0000000 --- a/template/quality/gg.html +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/template/quality/index.php b/template/quality/index.php index fe018db..12fac32 100644 --- a/template/quality/index.php +++ b/template/quality/index.php @@ -74,7 +74,7 @@ echo '
    • ' . $group["group_icon" $tagslists = $DB->query("SELECT * FROM `lylme_tags`"); while ($taglists = $DB->fetch($tagslists)) { echo '
    • '; } @@ -171,7 +171,6 @@ if ($conf['yan'] == 'true') { '
        ', //分组开始标签 'g2' => '
      • {group_icon}{group_name}
      • ', //分组内容 diff --git a/template/quality/theme.ini b/template/quality/theme.ini index 7cef29b..590f8cc 100644 --- a/template/quality/theme.ini +++ b/template/quality/theme.ini @@ -4,5 +4,5 @@ "theme_name": "quality", "theme_version": "1.0", "theme_explain": "主题为公益开发,请不要随意泛滥,所有代码全部开源!", - "theme_demo": "https://www.52qxwl.cn/" + "theme_demo": "https://spage.lylme.com/theme/quality" } \ No newline at end of file