diff --git a/src/admin/templets/mychannel_add.htm b/src/admin/templets/mychannel_add.htm index 2dbf9ab0..9f2c1b66 100644 --- a/src/admin/templets/mychannel_add.htm +++ b/src/admin/templets/mychannel_add.htm @@ -72,7 +72,7 @@ } ?> - (为了系统安全,游客投稿已禁止,启用游客投稿,会员发布文件删除对游客投稿限制) + (为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作) diff --git a/src/admin/templets/mychannel_edit.htm b/src/admin/templets/mychannel_edit.htm index caedbe99..96a76411 100644 --- a/src/admin/templets/mychannel_edit.htm +++ b/src/admin/templets/mychannel_edit.htm @@ -53,7 +53,7 @@ 附加表: - (#@__是表示数据表前缀,栏目除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性:推荐、会员权限等,也可以使用完全以附加表作为存储数据) + (#@__表示数据表前缀,栏目除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性:推荐、会员权限等,也可以使用完全以附加表作为存储数据) @@ -79,7 +79,7 @@ } ?> - (为了系统安全,游客投稿已禁止,启用游客投稿,会员发布文件删除对游客投稿限制) + (为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作) diff --git a/src/system/archive/sglistview.class.php b/src/system/archive/sglistview.class.php index 4c896e07..87c0fe55 100755 --- a/src/system/archive/sglistview.class.php +++ b/src/system/archive/sglistview.class.php @@ -9,8 +9,8 @@ if (!defined('DEDEINC')) exit ('dedebiz'); * @license https://www.dedebiz.com/license * @link https://www.dedebiz.com */ -@set_time_limit(0); require_once(DEDEINC."/archive/partview.class.php"); +@set_time_limit(0); class SgListView { var $dsql; diff --git a/src/system/memberlogin.class.php b/src/system/memberlogin.class.php index ce27720a..4f552adc 100755 --- a/src/system/memberlogin.class.php +++ b/src/system/memberlogin.class.php @@ -9,7 +9,6 @@ if (!defined('DEDEINC')) exit ('dedebiz'); * @license https://www.dedebiz.com/license * @link https://www.dedebiz.com */ -//使用缓存助手 helper('cache'); /** * 检查会员名的合法性 diff --git a/src/user/album_add.php b/src/user/album_add.php index f6aafb60..39836a61 100755 --- a/src/user/album_add.php +++ b/src/user/album_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 if ($cfg_mb_lit == 'Y') { ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); exit(); diff --git a/src/user/album_edit.php b/src/user/album_edit.php index 2f21af64..9397e08d 100755 --- a/src/user/album_edit.php +++ b/src/user/album_edit.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 if ($cfg_mb_lit == 'Y') { ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); exit(); diff --git a/src/user/archives_add.php b/src/user/archives_add.php index bc594937..5ea96cb5 100755 --- a/src/user/archives_add.php +++ b/src/user/archives_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/userlogin.class.php"); require_once(DEDEINC."/customfields.func.php"); diff --git a/src/user/archives_do.php b/src/user/archives_do.php index 00ac38cc..887d74af 100755 --- a/src/user/archives_do.php +++ b/src/user/archives_do.php @@ -14,7 +14,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; $channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 1; //删除收藏 if ($dopost == "delStow") { - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 $type = empty($type) ? '' : HtmlReplace(trim($type), -1); $tupdate = ''; if (!empty($type)) { @@ -30,7 +30,7 @@ if ($dopost == "delStow") { } //添加投稿 else if ($dopost == "addArc") { - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 if ($channelid == 1) { $addcon = 'article_add.php?channelid='.$channelid; } else if ($channelid == 2) { @@ -54,7 +54,7 @@ else if ($dopost == "addArc") { } //修改投稿 else if ($dopost == "edit") { - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 if ($channelid == 1) { $edit = 'article_edit.php?channelid='.$channelid; } else if ($channelid == 2) { @@ -78,7 +78,7 @@ else if ($dopost == "edit") { } //删除文档 else if ($dopost == "delArc") { - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 include_once(DEDEMEMBER."/inc/inc_batchup.php"); $ENV_GOBACK_URL = empty($_COOKIE['ENV_GOBACK_URL']) ? 'content_list.php?channelid=' : $_COOKIE['ENV_GOBACK_URL']; $equery = "SELECT arc.channel,arc.senddate,arc.arcrank,ch.maintable,ch.addtable,ch.issystem,ch.arcsta FROM `#@__arctiny` arc LEFT JOIN `#@__channeltype` ch ON ch.id=arc.channel WHERE arc.id='$aid' "; @@ -134,7 +134,7 @@ else if ($dopost == "delArc") { } //查看文档 else if ($dopost == "viewArchives") { - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 if ($type == "") { header("location:".$cfg_phpurl."/view.php?aid=".$aid); } else { diff --git a/src/user/archives_edit.php b/src/user/archives_edit.php index 143671c5..503b4c36 100755 --- a/src/user/archives_edit.php +++ b/src/user/archives_edit.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); diff --git a/src/user/archives_sg_add.php b/src/user/archives_sg_add.php index 3cae38d1..df5a0e1e 100755 --- a/src/user/archives_sg_add.php +++ b/src/user/archives_sg_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/userlogin.class.php"); require_once(DEDEINC."/customfields.func.php"); diff --git a/src/user/archives_sg_edit.php b/src/user/archives_sg_edit.php index 919d30d1..a65ce6d8 100755 --- a/src/user/archives_sg_edit.php +++ b/src/user/archives_sg_edit.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); diff --git a/src/user/article_add.php b/src/user/article_add.php index 3d66f6c4..f4005aca 100755 --- a/src/user/article_add.php +++ b/src/user/article_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/userlogin.class.php"); require_once(DEDEINC."/customfields.func.php"); diff --git a/src/user/article_edit.php b/src/user/article_edit.php index 3e82d847..b414508e 100755 --- a/src/user/article_edit.php +++ b/src/user/article_edit.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); diff --git a/src/user/buy.php b/src/user/buy.php index 7bf02ec3..6df341ba 100755 --- a/src/user/buy.php +++ b/src/user/buy.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__).'/config.php'); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 $menutype = 'mydede'; $menutype_son = 'op'; $_menu_buy = true; diff --git a/src/user/buy_action.php b/src/user/buy_action.php index 04fb385e..b66ff77b 100755 --- a/src/user/buy_action.php +++ b/src/user/buy_action.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 $dopost = isset($dopost)? $dopost : ''; $menutype = 'mydede'; $menutype_son = 'op'; diff --git a/src/user/check_card.php b/src/user/check_card.php index acce3a63..4bb35125 100755 --- a/src/user/check_card.php +++ b/src/user/check_card.php @@ -7,7 +7,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 $svali = GetCkVdValue(); if (strtolower($vdcode) != $svali || $svali == "") { ShowMsg("验证码不正确", "-1"); diff --git a/src/user/content_list.php b/src/user/content_list.php index fc67481b..09b37421 100755 --- a/src/user/content_list.php +++ b/src/user/content_list.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/typelink/typelink.class.php"); require_once(DEDEINC."/datalistcp.class.php"); require_once(DEDEMEMBER."/inc/inc_list_functions.php"); diff --git a/src/user/content_sg_list.php b/src/user/content_sg_list.php index 1851b3b7..5d5447c6 100755 --- a/src/user/content_sg_list.php +++ b/src/user/content_sg_list.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/typelink/typelink.class.php"); require_once(DEDEINC."/datalistcp.class.php"); require_once(DEDEMEMBER."/inc/inc_list_functions.php"); diff --git a/src/user/edit_baseinfo.php b/src/user/edit_baseinfo.php index d4e59051..6246dc7e 100755 --- a/src/user/edit_baseinfo.php +++ b/src/user/edit_baseinfo.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 $menutype = 'config'; if (!isset($dopost)) $dopost = ''; $pwd2 = (empty($pwd2)) ? "" : $pwd2; diff --git a/src/user/index_do.php b/src/user/index_do.php index 2c0f36f3..223f2d5b 100755 --- a/src/user/index_do.php +++ b/src/user/index_do.php @@ -121,7 +121,7 @@ if ($fmdo == 'sendMail') { } //积分换金币 else if ($dopost == "money2s") { - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 if ($cfg_money_scores == 0) { ShowMsg('系统禁用了积分与金币兑换功能', '-1'); exit(); @@ -207,7 +207,7 @@ if ($fmdo == 'sendMail') { } } else if ($fmdo == 'purl'){ require_once(DEDEINC.'/libraries/oxwindow.class.php'); - CheckRank(0, 0); + CheckRank(0, 0);//禁止游客操作 $row = $dsql->GetOne("SELECT count(*) as dd FROM `#@__member` WHERE `pmid`='{$cfg_ml->M_ID}' "); $msg = "

您已经邀请了{$row['dd']}人:

@@ -260,6 +260,6 @@ if ($fmdo == 'sendMail') { $win->Display(DEDEMEMBER."/templets/win_templet.htm"); exit; } else { - ShowMsg("本页面禁止返回", "index.php"); + ShowMsg("操作失败", "index.php"); } ?> \ No newline at end of file diff --git a/src/user/mypay.php b/src/user/mypay.php index 58754f33..600fd841 100755 --- a/src/user/mypay.php +++ b/src/user/mypay.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__).'/config.php'); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 $menutype = 'mydede'; $menutype_son = 'op'; require_once(DEDEINC.'/datalistcp.class.php'); diff --git a/src/user/mystow.php b/src/user/mystow.php index 251e22fc..063f738d 100755 --- a/src/user/mystow.php +++ b/src/user/mystow.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/datalistcp.class.php"); setcookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); $type = empty($type) ? "sys" : trim($type); diff --git a/src/user/operation.php b/src/user/operation.php index 12e54ee5..3cb96e63 100755 --- a/src/user/operation.php +++ b/src/user/operation.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/datalistcp.class.php"); $menutype = 'mydede'; $menutype_son = 'op'; diff --git a/src/user/pm.php b/src/user/pm.php index b8ea94c7..f170e34c 100755 --- a/src/user/pm.php +++ b/src/user/pm.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0); +CheckRank(0, 0);//禁止游客操作 $menutype = 'mydede'; $menutype_son = 'pm'; $id = isset($id) ? intval($id) : 0; diff --git a/src/user/soft_add.php b/src/user/soft_add.php index a2e2aac0..4012b58a 100755 --- a/src/user/soft_add.php +++ b/src/user/soft_add.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 if ($cfg_mb_lit == 'Y') { ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); exit(); diff --git a/src/user/soft_edit.php b/src/user/soft_edit.php index 99225e9f..6378b44c 100755 --- a/src/user/soft_edit.php +++ b/src/user/soft_edit.php @@ -9,7 +9,7 @@ * @link https://www.dedebiz.com */ require_once(dirname(__FILE__)."/config.php"); -CheckRank(0, 0);//禁止游客投稿 +CheckRank(0, 0);//禁止游客操作 require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/customfields.func.php"); require_once(DEDEMEMBER."/inc/inc_catalog_options.php");