Browse Source

同步提示

tags/6.2.7
叙述、别离 11 months ago
parent
commit
3dbefffc99
6 changed files with 10 additions and 10 deletions
  1. +3
    -3
      src/user/album_add.php
  2. +2
    -2
      src/user/album_edit.php
  3. +1
    -1
      src/user/archives_add.php
  4. +1
    -1
      src/user/archives_sg_add.php
  5. +2
    -2
      src/user/soft_add.php
  6. +1
    -1
      src/user/soft_edit.php

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

@@ -12,11 +12,11 @@ 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();
} }
if ($cfg_mb_album == 'N') { if ($cfg_mb_album == 'N') {
ShowMsg("由于系统关闭了图片功能,您浏览的功能不可用", "-1");
ShowMsg("系统关闭了图片功能,您浏览的功能不可用", "-1");
exit(); exit();
} }
require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/dedetag.class.php");
@@ -36,7 +36,7 @@ if (empty($dopost)) {
$query = "SELECT * FROM `#@__channeltype` WHERE id='$channelid'; "; $query = "SELECT * FROM `#@__channeltype` WHERE id='$channelid'; ";
$cInfos = $dsql->GetOne($query); $cInfos = $dsql->GetOne($query);
if (!is_array($cInfos)) { if (!is_array($cInfos)) {
ShowMsg('图片模型参数不正确', '-1');
ShowMsg('模型参数不正确', '-1');
exit(); exit();
} }
//检查会员等级和类型限制 //检查会员等级和类型限制


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

@@ -12,11 +12,11 @@ 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();
} }
if ($cfg_mb_album == 'N') { if ($cfg_mb_album == 'N') {
ShowMsg("由于系统关闭了图片功能,您浏览的功能不可用", "-1");
ShowMsg("系统关闭了图片功能,您浏览的功能不可用", "-1");
exit(); exit();
} }
require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/dedetag.class.php");


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

@@ -27,7 +27,7 @@ if ($cfg_ml->IsSendLimited()) {
if (empty($dopost)) { if (empty($dopost)) {
$cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid';"); $cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid';");
if (!is_array($cInfos)) { if (!is_array($cInfos)) {
ShowMsg('模型不存在', '-1');
ShowMsg('模型参数不正确', '-1');
exit(); exit();
} }
//检查会员等级和类型限制 //检查会员等级和类型限制


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

@@ -27,7 +27,7 @@ if ($cfg_ml->IsSendLimited()) {
if (empty($dopost)) { if (empty($dopost)) {
$cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid';"); $cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid';");
if (!is_array($cInfos)) { if (!is_array($cInfos)) {
ShowMsg('模型不存在', '-1');
ShowMsg('模型参数不正确', '-1');
exit(); exit();
} }
//检查会员等级和类型限制 //检查会员等级和类型限制


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

@@ -12,7 +12,7 @@ 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();
} }
require_once(DEDEINC."/dedetag.class.php"); require_once(DEDEINC."/dedetag.class.php");
@@ -30,7 +30,7 @@ if ($cfg_ml->IsSendLimited()) {
if (empty($dopost)) { if (empty($dopost)) {
$cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid';"); $cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid';");
if (!is_array($cInfos)) { if (!is_array($cInfos)) {
ShowMsg('模型不正确', '-1');
ShowMsg('模型参数不正确', '-1');
exit(); exit();
} }
//检查会员等级和类型限制 //检查会员等级和类型限制


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

@@ -24,7 +24,7 @@ if (empty($dopost)) {
$dsql->SetQuery($arcQuery); $dsql->SetQuery($arcQuery);
$row = $dsql->GetOne($arcQuery); $row = $dsql->GetOne($arcQuery);
if (!is_array($row)) { if (!is_array($row)) {
ShowMsg("读取文档基本信息出错", "-1");
ShowMsg("读取文档信息出错", "-1");
exit(); exit();
} else if ($row['arcrank'] >= 0) { } else if ($row['arcrank'] >= 0) {
$dtime = time(); $dtime = time();


Loading…
Cancel
Save