@@ -72,7 +72,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
<span>(为了系统安全,游客投稿已禁止,启用游客投稿,会员发布文件删除对游客投稿限制)</span> | |||||
<span>(为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作)</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -53,7 +53,7 @@ | |||||
<td>附加表:</td> | <td>附加表:</td> | ||||
<td> | <td> | ||||
<input type="text" name="addtable" id="addtable" class="admin-input-sm" value="<?php echo $row['addtable'];?>"> | <input type="text" name="addtable" id="addtable" class="admin-input-sm" value="<?php echo $row['addtable'];?>"> | ||||
<span>(#@__是表示数据表前缀,栏目除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性:推荐、会员权限等,也可以使用完全以附加表作为存储数据)</span> | |||||
<span>(#@__表示数据表前缀,栏目除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性:推荐、会员权限等,也可以使用完全以附加表作为存储数据)</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -79,7 +79,7 @@ | |||||
} | } | ||||
?> | ?> | ||||
</select> | </select> | ||||
<span>(为了系统安全,游客投稿已禁止,启用游客投稿,会员发布文件删除对游客投稿限制)</span> | |||||
<span>(为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作)</span> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
@@ -9,8 +9,8 @@ if (!defined('DEDEINC')) exit ('dedebiz'); | |||||
* @license https://www.dedebiz.com/license | * @license https://www.dedebiz.com/license | ||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
@set_time_limit(0); | |||||
require_once(DEDEINC."/archive/partview.class.php"); | require_once(DEDEINC."/archive/partview.class.php"); | ||||
@set_time_limit(0); | |||||
class SgListView | class SgListView | ||||
{ | { | ||||
var $dsql; | var $dsql; | ||||
@@ -9,7 +9,6 @@ if (!defined('DEDEINC')) exit ('dedebiz'); | |||||
* @license https://www.dedebiz.com/license | * @license https://www.dedebiz.com/license | ||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
//使用缓存助手 | |||||
helper('cache'); | helper('cache'); | ||||
/** | /** | ||||
* 检查会员名的合法性 | * 检查会员名的合法性 | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($cfg_mb_lit == 'Y') { | if ($cfg_mb_lit == 'Y') { | ||||
ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); | ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); | ||||
exit(); | exit(); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($cfg_mb_lit == 'Y') { | if ($cfg_mb_lit == 'Y') { | ||||
ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); | ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); | ||||
exit(); | exit(); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/userlogin.class.php"); | require_once(DEDEINC."/userlogin.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
@@ -14,7 +14,7 @@ $aid = isset($aid) && is_numeric($aid) ? $aid : 0; | |||||
$channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 1; | $channelid = isset($channelid) && is_numeric($channelid) ? $channelid : 1; | ||||
//删除收藏 | //删除收藏 | ||||
if ($dopost == "delStow") { | if ($dopost == "delStow") { | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$type = empty($type) ? '' : HtmlReplace(trim($type), -1); | $type = empty($type) ? '' : HtmlReplace(trim($type), -1); | ||||
$tupdate = ''; | $tupdate = ''; | ||||
if (!empty($type)) { | if (!empty($type)) { | ||||
@@ -30,7 +30,7 @@ if ($dopost == "delStow") { | |||||
} | } | ||||
//添加投稿 | //添加投稿 | ||||
else if ($dopost == "addArc") { | else if ($dopost == "addArc") { | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($channelid == 1) { | if ($channelid == 1) { | ||||
$addcon = 'article_add.php?channelid='.$channelid; | $addcon = 'article_add.php?channelid='.$channelid; | ||||
} else if ($channelid == 2) { | } else if ($channelid == 2) { | ||||
@@ -54,7 +54,7 @@ else if ($dopost == "addArc") { | |||||
} | } | ||||
//修改投稿 | //修改投稿 | ||||
else if ($dopost == "edit") { | else if ($dopost == "edit") { | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($channelid == 1) { | if ($channelid == 1) { | ||||
$edit = 'article_edit.php?channelid='.$channelid; | $edit = 'article_edit.php?channelid='.$channelid; | ||||
} else if ($channelid == 2) { | } else if ($channelid == 2) { | ||||
@@ -78,7 +78,7 @@ else if ($dopost == "edit") { | |||||
} | } | ||||
//删除文档 | //删除文档 | ||||
else if ($dopost == "delArc") { | else if ($dopost == "delArc") { | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
include_once(DEDEMEMBER."/inc/inc_batchup.php"); | include_once(DEDEMEMBER."/inc/inc_batchup.php"); | ||||
$ENV_GOBACK_URL = empty($_COOKIE['ENV_GOBACK_URL']) ? 'content_list.php?channelid=' : $_COOKIE['ENV_GOBACK_URL']; | $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' "; | $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") { | else if ($dopost == "viewArchives") { | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($type == "") { | if ($type == "") { | ||||
header("location:".$cfg_phpurl."/view.php?aid=".$aid); | header("location:".$cfg_phpurl."/view.php?aid=".$aid); | ||||
} else { | } else { | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/userlogin.class.php"); | require_once(DEDEINC."/userlogin.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/userlogin.class.php"); | require_once(DEDEINC."/userlogin.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__).'/config.php'); | require_once(dirname(__FILE__).'/config.php'); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$menutype = 'mydede'; | $menutype = 'mydede'; | ||||
$menutype_son = 'op'; | $menutype_son = 'op'; | ||||
$_menu_buy = true; | $_menu_buy = true; | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$dopost = isset($dopost)? $dopost : ''; | $dopost = isset($dopost)? $dopost : ''; | ||||
$menutype = 'mydede'; | $menutype = 'mydede'; | ||||
$menutype_son = 'op'; | $menutype_son = 'op'; | ||||
@@ -7,7 +7,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$svali = GetCkVdValue(); | $svali = GetCkVdValue(); | ||||
if (strtolower($vdcode) != $svali || $svali == "") { | if (strtolower($vdcode) != $svali || $svali == "") { | ||||
ShowMsg("验证码不正确", "-1"); | ShowMsg("验证码不正确", "-1"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/typelink/typelink.class.php"); | require_once(DEDEINC."/typelink/typelink.class.php"); | ||||
require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/typelink/typelink.class.php"); | require_once(DEDEINC."/typelink/typelink.class.php"); | ||||
require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | require_once(DEDEMEMBER."/inc/inc_list_functions.php"); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$menutype = 'config'; | $menutype = 'config'; | ||||
if (!isset($dopost)) $dopost = ''; | if (!isset($dopost)) $dopost = ''; | ||||
$pwd2 = (empty($pwd2)) ? "" : $pwd2; | $pwd2 = (empty($pwd2)) ? "" : $pwd2; | ||||
@@ -121,7 +121,7 @@ if ($fmdo == 'sendMail') { | |||||
} | } | ||||
//积分换金币 | //积分换金币 | ||||
else if ($dopost == "money2s") { | else if ($dopost == "money2s") { | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($cfg_money_scores == 0) { | if ($cfg_money_scores == 0) { | ||||
ShowMsg('系统禁用了积分与金币兑换功能', '-1'); | ShowMsg('系统禁用了积分与金币兑换功能', '-1'); | ||||
exit(); | exit(); | ||||
@@ -207,7 +207,7 @@ if ($fmdo == 'sendMail') { | |||||
} | } | ||||
} else if ($fmdo == 'purl'){ | } else if ($fmdo == 'purl'){ | ||||
require_once(DEDEINC.'/libraries/oxwindow.class.php'); | 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}' "); | $row = $dsql->GetOne("SELECT count(*) as dd FROM `#@__member` WHERE `pmid`='{$cfg_ml->M_ID}' "); | ||||
$msg = "<p>您已经邀请了{$row['dd']}人:</p> | $msg = "<p>您已经邀请了{$row['dd']}人:</p> | ||||
<div class='media mb-3'> | <div class='media mb-3'> | ||||
@@ -260,6 +260,6 @@ if ($fmdo == 'sendMail') { | |||||
$win->Display(DEDEMEMBER."/templets/win_templet.htm"); | $win->Display(DEDEMEMBER."/templets/win_templet.htm"); | ||||
exit; | exit; | ||||
} else { | } else { | ||||
ShowMsg("本页面禁止返回", "index.php"); | |||||
ShowMsg("操作失败", "index.php"); | |||||
} | } | ||||
?> | ?> |
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__).'/config.php'); | require_once(dirname(__FILE__).'/config.php'); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$menutype = 'mydede'; | $menutype = 'mydede'; | ||||
$menutype_son = 'op'; | $menutype_son = 'op'; | ||||
require_once(DEDEINC.'/datalistcp.class.php'); | require_once(DEDEINC.'/datalistcp.class.php'); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
setcookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); | setcookie("ENV_GOBACK_URL", GetCurUrl(), time() + 3600, "/"); | ||||
$type = empty($type) ? "sys" : trim($type); | $type = empty($type) ? "sys" : trim($type); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/datalistcp.class.php"); | require_once(DEDEINC."/datalistcp.class.php"); | ||||
$menutype = 'mydede'; | $menutype = 'mydede'; | ||||
$menutype_son = 'op'; | $menutype_son = 'op'; | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0); | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
$menutype = 'mydede'; | $menutype = 'mydede'; | ||||
$menutype_son = 'pm'; | $menutype_son = 'pm'; | ||||
$id = isset($id) ? intval($id) : 0; | $id = isset($id) ? intval($id) : 0; | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
if ($cfg_mb_lit == 'Y') { | if ($cfg_mb_lit == 'Y') { | ||||
ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); | ShowMsg("系统开启精简会员空间,您浏览的功能不可用", "-1"); | ||||
exit(); | exit(); | ||||
@@ -9,7 +9,7 @@ | |||||
* @link https://www.dedebiz.com | * @link https://www.dedebiz.com | ||||
*/ | */ | ||||
require_once(dirname(__FILE__)."/config.php"); | require_once(dirname(__FILE__)."/config.php"); | ||||
CheckRank(0, 0);//禁止游客投稿 | |||||
CheckRank(0, 0);//禁止游客操作 | |||||
require_once(DEDEINC."/dedetag.class.php"); | require_once(DEDEINC."/dedetag.class.php"); | ||||
require_once(DEDEINC."/customfields.func.php"); | require_once(DEDEINC."/customfields.func.php"); | ||||
require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | require_once(DEDEMEMBER."/inc/inc_catalog_options.php"); | ||||