From c20d2f823ee4f33dc9e1206227b5ffc80b0ca88c Mon Sep 17 00:00:00 2001 From: tianya Date: Wed, 11 Nov 2020 12:45:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E6=97=A0=E6=95=88=E6=96=87?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E9=81=B5=E5=AE=88=E5=B9=BF=E5=91=8A=E6=B3=95?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dede/css/login.css | 12 ------------ src/include/common.inc.php | 2 +- src/include/helpers/channelunit.helper.php | 10 +++++----- src/install/config.cache.inc.php | 8 ++++---- src/member/templets/footer.htm | 2 +- src/templets/default/advancedsearch.htm | 2 +- src/templets/default/footer.htm | 2 +- src/templets/plus/heightsearch.htm | 7 +------ src/templets/plus/plus_footer.htm | 2 +- src/templets/plus/recommend.htm | 7 +------ src/templets/plus/rssmap.htm | 7 +------ src/templets/plus/sitemap.htm | 7 +------ src/templets/plus/view_msg.htm | 7 +------ src/templets/plus/view_msg_catalog.htm | 7 +------ 14 files changed, 20 insertions(+), 62 deletions(-) delete mode 100755 src/dede/css/login.css diff --git a/src/dede/css/login.css b/src/dede/css/login.css deleted file mode 100755 index cef9e8e4..00000000 --- a/src/dede/css/login.css +++ /dev/null @@ -1,12 +0,0 @@ -/* -|--------------------------------------------------------------- -| Login Style -|--------------------------------------------------------------- -| File:login.css -| Creation Date:2011-02-18 -| Last Modified:2011-02-18 -| Author:networker -| From:DesDev INC. -|--------------------------------------------------------------- -*/ -body{background-color:#f7f7f7;}#login-box{border:5px solid #eee;background:url(../images/login-top.jpg) #fff top center no-repeat;width:570px;margin:150px auto 0 auto;padding:0 30px;}.login-top{height:48px;line-height:48px;text-align:right;}.login-top a{color:#666;}.login-top a:hover{color:#333;text-decoration:underline;}.safe-tips{border:1px solid #F2DD8C;background:url(../images/safe-tips.gif) 10px #FFFFCC no-repeat;color:#666;height:35px;line-height:35px;margin-top:5px;padding-left:30px;zoom:1;overflow:hidden;}.login-main{background:url(../images/login-bg.jpg) top right no-repeat;height:160px;margin-top:10px;}.login-main dl{width:300px;}.login-main dl dt,.login-main dl dd{float:left;height:30px;line-height:30px;display:inline-block;margin-top:5px;}.login-main dl dt{width:90px;text-align:right;font-size:14px;font-weight:bold;color:#333;padding-right:5px;}.login-main dl dd{}.login-main dl dd input#vdcode{width:50px;margin-right:5px;}.login-main .login-btn{background:url(../images/login-btn.jpg) no-repeat;width:84px;height:28px;line-height:28px;text-align:center;font-size:14px;font-weight:bold;color:#fff;border:none;margin-top:5px;cursor:pointer;}.login-power{font:11px Tahoma,Helvetica,Arial,sans-serif;height:25px;line-height:25px;text-align:right;color:#999;margin-top:5px;}.login-power strong{color:#669900;}.login-power a{margin:0 3px;color:#256EB1;}.login-power a:hover{text-decoration:underline;color:#1A4A77;}.dede-iframe{margin:0 auto;width:640px;}.dede-ad{border:5px solid #eee;background-color:#fff;width:630px;margin:0 auto;}.dede-ad ul{padding:10px 0 10px 3px;overflow:hidden;zoom:1;}.dede-ad ul li{float:left;display:inline;width:120px;height:60px;margin-left:4px;}.dede-ad ul li img{width:120px;height:60px;} \ No newline at end of file diff --git a/src/include/common.inc.php b/src/include/common.inc.php index e8a97031..64c25209 100755 --- a/src/include/common.inc.php +++ b/src/include/common.inc.php @@ -340,7 +340,7 @@ $cfg_biz_gitUrl = DEDEBIZURL."/git"; $cfg_biz_dedebizUrl = DEDEBIZURL; //引入数据库类 -if ( $GLOBALS['cfg_dbtype'] =='mysql' ) +if ( $GLOBALS['cfg_dbtype'] =='mysql' || $GLOBALS['cfg_dbtype'] =='mysqli' ) { require_once(DEDEINC.'/dedesqli.class.php'); } else { diff --git a/src/include/helpers/channelunit.helper.php b/src/include/helpers/channelunit.helper.php index 5dcfe0fd..37115989 100755 --- a/src/include/helpers/channelunit.helper.php +++ b/src/include/helpers/channelunit.helper.php @@ -546,7 +546,7 @@ function MakeOneTag(&$dtp, &$refObj, $parfield='Y') { if(in_array($tagname, $disable_tags)) { - if(DEBUG_LEVEL) echo 'DedeCMS Error:Tag disabled:"'.$tagname.'" more...!'; + if(DEBUG_LEVEL) echo 'DedeCMS Error:Tag disabled:"'.$tagname.'" more...!'; continue; } if (DEBUG_LEVEL==TRUE) { @@ -671,7 +671,7 @@ function GetFreeListUrl($lid,$namerule,$listdir,$defaultpage,$nodefault){ /** * 获取网站搜索的热门关键字 * - * @param string $dsql + * @param object $dsql * @param string $num 获取数目 * @param string $nday 天数 * @param string $klen 关键词字数 @@ -680,7 +680,7 @@ function GetFreeListUrl($lid,$namerule,$listdir,$defaultpage,$nodefault){ */ function GetHotKeywords(&$dsql,$num=8,$nday=365,$klen=16,$orderby='count') { - global $cfg_phpurl,$cfg_cmspath; + global $cfg_phpurl; $nowtime = time(); $num = @intval($num); $nday = @intval($nday); @@ -703,7 +703,7 @@ function GetHotKeywords(&$dsql,$num=8,$nday=365,$klen=16,$orderby='count') { $orderby = 'count'; } - $dsql->SetQuery("SELECT keyword FROM #@__search_keywords WHERE lasttime>$mintime AND length(keyword)<$klen ORDER BY $orderby DESC LIMIT 0,$num"); + $dsql->SetQuery("SELECT keyword FROM `#@__search_keywords` WHERE lasttime>$mintime AND length(keyword)<$klen ORDER BY $orderby DESC LIMIT 0,$num"); $dsql->Execute('hw'); $hotword = ""; while($row=$dsql->GetArray('hw')) @@ -721,7 +721,7 @@ function GetHotKeywords(&$dsql,$num=8,$nday=365,$klen=16,$orderby='count') */ function Gmapurl($gurl) { - return preg_replace("/http:\/\//i", $gurl) ? $gurl : $GLOBALS['cfg_basehost'].$gurl; + return preg_match("/http[s]?:\/\//i", $gurl) ? $gurl : $GLOBALS['cfg_basehost'].$gurl; } /** diff --git a/src/install/config.cache.inc.php b/src/install/config.cache.inc.php index d847b6bd..c8deef93 100755 --- a/src/install/config.cache.inc.php +++ b/src/install/config.cache.inc.php @@ -26,7 +26,7 @@ $cfg_fck_xhtml = 'N'; $cfg_df_style = 'default'; $cfg_multi_site = 'N'; $cfg_dede_log = 'N'; -$cfg_powerby = 'Copyright © 2004-2020 DEDECMS. 织梦科技 版权所有'; +$cfg_powerby = 'Copyright © 2020 DedeBIZ 版权所有'; $cfg_arcsptitle = 'N'; $cfg_arcautosp = 'N'; $cfg_arcautosp_size = 5; @@ -91,9 +91,9 @@ $cfg_updateperi = '15'; $cfg_sendmail_bysmtp = 'Y'; $cfg_smtp_server = 'smtp.qq.com'; $cfg_smtp_port = '25'; -$cfg_smtp_usermail = 'desdev@vip.qq.com'; -$cfg_smtp_user = 'desdev'; -$cfg_smtp_password = 'desdev'; +$cfg_smtp_usermail = ''; +$cfg_smtp_user = ''; +$cfg_smtp_password = ''; $cfg_online_type = 'nps'; $cfg_upload_switch = 'Y'; $cfg_allsearch_limit = '1'; diff --git a/src/member/templets/footer.htm b/src/member/templets/footer.htm index ae1eeecd..3f3d9856 100644 --- a/src/member/templets/footer.htm +++ b/src/member/templets/footer.htm @@ -1,7 +1,7 @@