From d41e82abda26ab0fa8a4d9e0f4babc632f970f0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= <93301500+xushubieli@users.noreply.github.com> Date: Tue, 7 Feb 2023 11:03:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8F=E8=A7=88=E6=95=B0=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8C50=E5=88=B0200=E5=8C=BA=E9=97=B4=E5=A4=AA=E5=B0=8F?= =?UTF-8?q?=E6=B2=A1=E9=80=BC=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/admin/album_add.php | 4 ++-- src/admin/archives_add.php | 4 ++-- src/admin/article_add.php | 2 +- src/admin/soft_add.php | 4 ++-- src/admin/spec_add.php | 2 +- src/admin/templets/article_add.htm | 2 +- src/admin/templets/freelist_add.htm | 2 +- src/admin/templets/index.htm | 2 +- src/install/install.html | 2 +- src/install/sql-dfdata.txt | 4 ++-- src/system/typelink/typeunit.class.admin.php | 20 ++++++++++---------- src/theme/dedebiz/article_article.htm | 2 +- src/theme/dedebiz/article_default.htm | 2 +- src/theme/dedebiz/article_default_sg.htm | 2 +- src/theme/dedebiz/article_image.htm | 2 +- src/theme/dedebiz/article_infos.htm | 2 +- src/theme/dedebiz/article_soft.htm | 2 +- src/theme/dedebiz/article_spec.htm | 2 +- src/theme/system/list_fulllist.htm | 2 +- src/theme/system/list_sglist.htm | 2 +- 20 files changed, 33 insertions(+), 33 deletions(-) diff --git a/src/admin/album_add.php b/src/admin/album_add.php index f3112df7..848902c7 100644 --- a/src/admin/album_add.php +++ b/src/admin/album_add.php @@ -43,7 +43,7 @@ else if ($dopost == 'save') { require_once(DEDEINC.'/libraries/oxwindow.class.php'); $flag = isset($flags) ? join(',', $flags) : ''; $notpost = isset($notpost) && $notpost == 1 ? 1 : 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); if (!isset($typeid2)) $typeid2 = 0; if (!isset($autokey)) $autokey = 0; if (!isset($remote)) $remote = 0; @@ -54,7 +54,7 @@ else if ($dopost == 'save') { if (!isset($ddisfirst)) $ddisfirst = 0; if (!isset($albums)) $albums = ""; if (!isset($delzip)) $delzip = 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); if ($typeid == 0) { ShowMsg("请指定文档的栏目", "-1"); exit(); diff --git a/src/admin/archives_add.php b/src/admin/archives_add.php index 8d94f6a9..8884fc34 100644 --- a/src/admin/archives_add.php +++ b/src/admin/archives_add.php @@ -46,13 +46,13 @@ else if ($dopost == 'save') { require_once(DEDEINC.'/libraries/oxwindow.class.php'); $flag = isset($flags) ? join(',', $flags) : ''; $notpost = isset($notpost) && $notpost == 1 ? 1 : 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); if (empty($typeid2)) $typeid2 = 0; if (!isset($autokey)) $autokey = 0; if (!isset($remote)) $remote = 0; if (!isset($dellink)) $dellink = 0; if (!isset($autolitpic)) $autolitpic = 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); if ($typeid == 0) { ShowMsg('请指定文档的栏目', '-1'); exit(); diff --git a/src/admin/article_add.php b/src/admin/article_add.php index 514e489c..1a9023bd 100644 --- a/src/admin/article_add.php +++ b/src/admin/article_add.php @@ -54,7 +54,7 @@ else if ($dopost == 'save') { if (!isset($remote)) $remote = 0; if (!isset($dellink)) $dellink = 0; if (!isset($autolitpic)) $autolitpic = 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); if (empty($typeid)) { ShowMsg("请指定文档的栏目", "-1"); exit(); diff --git a/src/admin/soft_add.php b/src/admin/soft_add.php index dfe47291..3ad4d291 100644 --- a/src/admin/soft_add.php +++ b/src/admin/soft_add.php @@ -44,7 +44,7 @@ else if ($dopost == 'save') { require_once(DEDEINC.'/libraries/oxwindow.class.php'); $flag = isset($flags) ? join(',', $flags) : ''; $notpost = isset($notpost) && $notpost == 1 ? 1 : 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); if (!isset($typeid2)) $typeid2 = 0; if (!isset($autokey)) $autokey = 0; if (!isset($remote)) $remote = 0; @@ -73,7 +73,7 @@ else if ($dopost == 'save') { $sortrank = AddDay($pubdate, $sortup); if ($ishtml == 0) $ismake = -1; else $ismake = 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); $title = preg_replace('#"#', '"', $title); $title = cn_substrR($title, $cfg_title_maxlen); $shorttitle = cn_substrR($shorttitle, 36); diff --git a/src/admin/spec_add.php b/src/admin/spec_add.php index 5fb88b10..1ced92f2 100644 --- a/src/admin/spec_add.php +++ b/src/admin/spec_add.php @@ -32,7 +32,7 @@ else if ($dopost == 'save') { require_once(DEDEINC.'/libraries/oxwindow.class.php'); $flag = isset($flags) ? join(',', $flags) : ''; $notpost = isset($notpost) && $notpost == 1 ? 1 : 0; - if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(200, 1000) : $cfg_arc_click); + if (empty($click)) $click = ($cfg_arc_click == '-1' ? mt_rand(1000, 6000) : $cfg_arc_click); $channelid = -1; $money = 0; if (!isset($tags)) $tags = ''; diff --git a/src/admin/templets/article_add.htm b/src/admin/templets/article_add.htm index 8a235e74..07aeebef 100644 --- a/src/admin/templets/article_add.htm +++ b/src/admin/templets/article_add.htm @@ -329,7 +329,7 @@ ?> 浏览次数: - + diff --git a/src/admin/templets/freelist_add.htm b/src/admin/templets/freelist_add.htm index 2db04a53..6b385b2c 100644 --- a/src/admin/templets/freelist_add.htm +++ b/src/admin/templets/freelist_add.htm @@ -58,7 +58,7 @@
[field:description/]
-
日期:[field:pubdate function="MyDate('Y-m-d', @me)"/] 点击:[field:click/] 好评:[field:scores/]
+
日期:[field:pubdate function="MyDate('Y-m-d', @me)"/] 浏览:[field:click/] 好评:[field:scores/]
diff --git a/src/admin/templets/index.htm b/src/admin/templets/index.htm index edbf1050..122fea51 100644 --- a/src/admin/templets/index.htm +++ b/src/admin/templets/index.htm @@ -34,7 +34,7 @@ getUserType() >= 10) {?>
  • -
  • +
  • diff --git a/src/install/install.html b/src/install/install.html index 0536e891..3a7731ad 100644 --- a/src/install/install.html +++ b/src/install/install.html @@ -102,7 +102,7 @@
    根目录安装时不必理会
    -
    +
    diff --git a/src/install/sql-dfdata.txt b/src/install/sql-dfdata.txt index 33362cb5..7389e953 100755 --- a/src/install/sql-dfdata.txt +++ b/src/install/sql-dfdata.txt @@ -526,7 +526,7 @@ INSERT INTO `#@__flinktype` VALUES ('1','综合网站'), ('7','论坛类'), ('8','其它类型'); -INSERT INTO `#@__freelist` VALUES ('1','测试文档','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }
  • [field:imglink/] [field:textlink/] 日期:[field:pubdate function="getdatemk(@me)"/] 点击:[field:click/] 好评:[field:scores/] \t\n

    [field:description/]

  • {/dede:list}','测试','测试文档'), +INSERT INTO `#@__freelist` VALUES ('1','测试文档','{listdir}/index_{listid}_{page}.html','{cmspath}/freelist/','index.html','1','{style}/list_free.htm','1289712633','100','0','{dede:list pagesize="30" col="1" titlelen="60" orderby="pubdate" orderway="desc" typeid="1" channel="1" }
  • [field:imglink/] [field:textlink/] 日期:[field:pubdate function="getdatemk(@me)"/] 浏览:[field:click/] 好评:[field:scores/] \t\n

    [field:description/]

  • {/dede:list}','测试','测试文档'), ('10','Google SiteMap 生成器','{listdir}googlemap_{page}.xml','{cmspath}','index.html','1','{style}/googlemap.htm','1226884666','100','0','{dede:list pagesize="500" col="1" titlelen="60" orderby="pubdate" orderway="desc"\t\nchannel="1" keyword=""}\t\n[field:arcurl function="Gmapurl(@me)"/]\t\n[field:title function="HtmlReplace(@me)"/]\t\n\t\n[field:keywords/]\t\n[field:senddate function="strftime('%Y-%m-%d',@me)"/]\t\n\t\n{/dede:list}','',''); INSERT INTO `#@__member_type` VALUES ('1','50','中级会员半年','100','7'); @@ -4058,7 +4058,7 @@ INSERT INTO `#@__sysconfig` VALUES ('1','cfg_basehost','站点网址','1','strin ('122','cfg_mb_wnameone','是否允许用户昵称重复','4','bool','N'), ('123','cfg_arc_dirname','是否允许用目录作为文档文件名,文档命名规则:{typedir}/{aid}/index.html','7','bool','Y'), ('124','cfg_puccache_time','需缓存文档全局缓存时间(秒)','6','number','36000'), -('125','cfg_arc_click','文档默认点击数(-1表示随机200-1000)','7','number','-1'), +('125','cfg_arc_click','文档默认浏览数(-1表示随机1000到6000之间)','7','number','-1'), ('126','cfg_addon_savetype','附件保存形式,按data函数日期参数(y年m月d日)','3','string','ymd'), ('127','cfg_qk_uploadlit','异步上传缩略图,空间太不稳定用户关闭此项','3','bool','Y'), ('128','cfg_login_adds','登录会员中心获积分','5','number','2'), diff --git a/src/system/typelink/typeunit.class.admin.php b/src/system/typelink/typeunit.class.admin.php index 877cf20f..d60cd1ec 100755 --- a/src/system/typelink/typeunit.class.admin.php +++ b/src/system/typelink/typeunit.class.admin.php @@ -113,11 +113,11 @@ class TypeUnit echo "
    列表{$nss}".$typeName."[id:".$id."](文档数:".$this->GetTotalArc($id).")"; echo ""; echo ""; - echo ""; + echo ""; echo ""; echo ""; echo ""; - echo ""; + echo ""; echo "
    "; } //带封面的栏目 @@ -126,11 +126,11 @@ class TypeUnit echo "
    封面{$nss}".$typeName."[id:".$id."]"; echo ""; echo ""; - echo ""; + echo ""; echo ""; echo ""; echo ""; - echo ""; + echo ""; echo "
    "; } //独立页面 @@ -141,7 +141,7 @@ class TypeUnit echo ""; echo ""; echo ""; - echo ""; + echo ""; echo ""; } echo ""; @@ -196,11 +196,11 @@ class TypeUnit echo "$step列表{$nss}".$typeName."[id:".$id."](文档数:".$this->GetTotalArc($id).")"; echo ""; echo ""; - echo ""; + echo ""; echo ""; echo ""; echo ""; - echo ""; + echo ""; echo ""; } //封面栏目 @@ -210,11 +210,11 @@ class TypeUnit echo "$step封面{$nss}".$typeName."[id:".$id."]"; echo ""; echo ""; - echo ""; + echo ""; echo ""; echo ""; echo ""; - echo ""; + echo ""; echo ""; } //独立页面 @@ -226,7 +226,7 @@ class TypeUnit echo ""; echo ""; echo ""; - echo ""; + echo ""; echo ""; } echo ""; diff --git a/src/theme/dedebiz/article_article.htm b/src/theme/dedebiz/article_article.htm index 346a6de6..f70a53e4 100644 --- a/src/theme/dedebiz/article_article.htm +++ b/src/theme/dedebiz/article_article.htm @@ -41,7 +41,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}来源:{dede:field.source/}作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:field.body/}
    作者:{dede:adminname/}
    diff --git a/src/theme/dedebiz/article_default.htm b/src/theme/dedebiz/article_default.htm index a5255a34..93696c9d 100644 --- a/src/theme/dedebiz/article_default.htm +++ b/src/theme/dedebiz/article_default.htm @@ -39,7 +39,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}来源:{dede:field.source/}作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:field.body/}
    作者:{dede:adminname/}
    diff --git a/src/theme/dedebiz/article_default_sg.htm b/src/theme/dedebiz/article_default_sg.htm index 09894562..3bb32fb9 100644 --- a/src/theme/dedebiz/article_default_sg.htm +++ b/src/theme/dedebiz/article_default_sg.htm @@ -42,7 +42,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}来源:{dede:field.source/}作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:field.body/}
    作者:{dede:adminname/}
    diff --git a/src/theme/dedebiz/article_image.htm b/src/theme/dedebiz/article_image.htm index 94f4e7f6..d15a6240 100644 --- a/src/theme/dedebiz/article_image.htm +++ b/src/theme/dedebiz/article_image.htm @@ -87,7 +87,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}来源:{dede:field.source/}作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:field name='pagestyle' alt='根据不同的页面风格输出不同的头信息' runphp='yes'} diff --git a/src/theme/dedebiz/article_infos.htm b/src/theme/dedebiz/article_infos.htm index 1c09ae5b..274a90ab 100644 --- a/src/theme/dedebiz/article_infos.htm +++ b/src/theme/dedebiz/article_infos.htm @@ -38,7 +38,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/} 来源:{dede:field.source/} 作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:field name='image'/}
    diff --git a/src/theme/dedebiz/article_soft.htm b/src/theme/dedebiz/article_soft.htm index b87e2186..f9edaef7 100644 --- a/src/theme/dedebiz/article_soft.htm +++ b/src/theme/dedebiz/article_soft.htm @@ -38,7 +38,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/} 来源:{dede:field.source/} 作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:softmsg/}
    {dede:field name='image'/}
    diff --git a/src/theme/dedebiz/article_spec.htm b/src/theme/dedebiz/article_spec.htm index 13a1b32b..bfa76e11 100644 --- a/src/theme/dedebiz/article_spec.htm +++ b/src/theme/dedebiz/article_spec.htm @@ -39,7 +39,7 @@ 时间:{dede:field.pubdate function="MyDate('Y-m-d',@me)"/}来源:{dede:field.source/}作者:{dede:field.writer/} - 点击:... + 浏览:...
    {dede:softmsg/}
    {dede:field.note/}
    diff --git a/src/theme/system/list_fulllist.htm b/src/theme/system/list_fulllist.htm index 8098ee41..f1a60aa0 100644 --- a/src/theme/system/list_fulllist.htm +++ b/src/theme/system/list_fulllist.htm @@ -4,7 +4,7 @@ [field:description/]
    - 日期:[field:pubdate function="GetDateTimeMK(@me)"/] 点击:[field:click/] 好评度:[field:scores/] + 日期:[field:pubdate function="GetDateTimeMK(@me)"/] 浏览:[field:click/] 好评度:[field:scores/]
    \ No newline at end of file diff --git a/src/theme/system/list_sglist.htm b/src/theme/system/list_sglist.htm index 8499ee07..5121d3b4 100644 --- a/src/theme/system/list_sglist.htm +++ b/src/theme/system/list_sglist.htm @@ -1,6 +1,6 @@
    ·[field:title/]
    - 日期:[field:senddate function="GetDateMK(@me)"/] 点击:[field:click/] + 日期:[field:senddate function="GetDateMK(@me)"/] 浏览:[field:click/]
    \ No newline at end of file