Browse Source

最后调整投稿操作

tags/6.2.7
叙述、别离 11 months ago
parent
commit
eb97fcb579
26 changed files with 32 additions and 33 deletions
  1. +1
    -1
      src/admin/templets/mychannel_add.htm
  2. +2
    -2
      src/admin/templets/mychannel_edit.htm
  3. +1
    -1
      src/system/archive/sglistview.class.php
  4. +0
    -1
      src/system/memberlogin.class.php
  5. +1
    -1
      src/user/album_add.php
  6. +1
    -1
      src/user/album_edit.php
  7. +1
    -1
      src/user/archives_add.php
  8. +5
    -5
      src/user/archives_do.php
  9. +1
    -1
      src/user/archives_edit.php
  10. +1
    -1
      src/user/archives_sg_add.php
  11. +1
    -1
      src/user/archives_sg_edit.php
  12. +1
    -1
      src/user/article_add.php
  13. +1
    -1
      src/user/article_edit.php
  14. +1
    -1
      src/user/buy.php
  15. +1
    -1
      src/user/buy_action.php
  16. +1
    -1
      src/user/check_card.php
  17. +1
    -1
      src/user/content_list.php
  18. +1
    -1
      src/user/content_sg_list.php
  19. +1
    -1
      src/user/edit_baseinfo.php
  20. +3
    -3
      src/user/index_do.php
  21. +1
    -1
      src/user/mypay.php
  22. +1
    -1
      src/user/mystow.php
  23. +1
    -1
      src/user/operation.php
  24. +1
    -1
      src/user/pm.php
  25. +1
    -1
      src/user/soft_add.php
  26. +1
    -1
      src/user/soft_edit.php

+ 1
- 1
src/admin/templets/mychannel_add.htm View File

@@ -72,7 +72,7 @@
}
?>
</select>
<span>(为了系统安全,游客投稿已禁止,启用游客投稿,会员发布文件删除对游客投稿限制)</span>
<span>(为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作)</span>
</td>
</tr>
<tr>


+ 2
- 2
src/admin/templets/mychannel_edit.htm View File

@@ -53,7 +53,7 @@
<td>附加表:</td>
<td>
<input type="text" name="addtable" id="addtable" class="admin-input-sm" value="<?php echo $row['addtable'];?>">
<span>(#@__表示数据表前缀,栏目除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性:推荐、会员权限等,也可以使用完全以附加表作为存储数据)</span>
<span>(#@__表示数据表前缀,栏目除主表以外其它自定义类型数据存放数据的表,如果您不使用主表关连的各种特性:推荐、会员权限等,也可以使用完全以附加表作为存储数据)</span>
</td>
</tr>
<tr>
@@ -79,7 +79,7 @@
}
?>
</select>
<span>(为了系统安全,游客投稿已禁止,启用游客投稿,会员发布文件删除对游客投稿限制)</span>
<span>(为了系统安全,游客投稿已禁止,开启游客投稿功能,到会员发布文件删除禁止游客操作)</span>
</td>
</tr>
<tr>


+ 1
- 1
src/system/archive/sglistview.class.php View File

@@ -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;


+ 0
- 1
src/system/memberlogin.class.php View File

@@ -9,7 +9,6 @@ if (!defined('DEDEINC')) exit ('dedebiz');
* @license https://www.dedebiz.com/license
* @link https://www.dedebiz.com
*/
//使用缓存助手
helper('cache');
/**
* 检查会员名的合法性


+ 1
- 1
src/user/album_add.php View File

@@ -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();


+ 1
- 1
src/user/album_edit.php View File

@@ -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();


+ 1
- 1
src/user/archives_add.php View File

@@ -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");


+ 5
- 5
src/user/archives_do.php View File

@@ -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 {


+ 1
- 1
src/user/archives_edit.php View File

@@ -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");


+ 1
- 1
src/user/archives_sg_add.php View File

@@ -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");


+ 1
- 1
src/user/archives_sg_edit.php View File

@@ -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");


+ 1
- 1
src/user/article_add.php View File

@@ -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");


+ 1
- 1
src/user/article_edit.php View File

@@ -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");


+ 1
- 1
src/user/buy.php View File

@@ -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;


+ 1
- 1
src/user/buy_action.php View File

@@ -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';


+ 1
- 1
src/user/check_card.php View File

@@ -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");


+ 1
- 1
src/user/content_list.php View File

@@ -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");


+ 1
- 1
src/user/content_sg_list.php View File

@@ -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");


+ 1
- 1
src/user/edit_baseinfo.php View File

@@ -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;


+ 3
- 3
src/user/index_do.php View File

@@ -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 = "<p>您已经邀请了{$row['dd']}人:</p>
<div class='media mb-3'>
@@ -260,6 +260,6 @@ if ($fmdo == 'sendMail') {
$win->Display(DEDEMEMBER."/templets/win_templet.htm");
exit;
} else {
ShowMsg("本页面禁止返回", "index.php");
ShowMsg("操作失败", "index.php");
}
?>

+ 1
- 1
src/user/mypay.php View File

@@ -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');


+ 1
- 1
src/user/mystow.php View File

@@ -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);


+ 1
- 1
src/user/operation.php View File

@@ -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';


+ 1
- 1
src/user/pm.php View File

@@ -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;


+ 1
- 1
src/user/soft_add.php View File

@@ -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();


+ 1
- 1
src/user/soft_edit.php View File

@@ -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");


Loading…
Cancel
Save