@@ -21,10 +21,10 @@ if ($action == "post") { | |||||
$subject = cn_substrR(HtmlReplace($subject), 70); | $subject = cn_substrR(HtmlReplace($subject), 70); | ||||
$message = cn_substrR(HtmlReplace($message), 1000); | $message = cn_substrR(HtmlReplace($message), 1000); | ||||
if (!isset($subject) || empty($subject)) { | if (!isset($subject) || empty($subject)) { | ||||
ShowMsg('短信标题不能为空!', '-1'); | ShowMsg('短信标题不能为空', '-1'); | ||||
exit(); | exit(); | ||||
} else if (!isset($message) || empty($message)) { | } else if (!isset($message) || empty($message)) { | ||||
ShowMsg('请填写短信文档!', '-1'); | ShowMsg('请填写短信文档', '-1'); | ||||
exit(); | exit(); | ||||
} | } | ||||
$rs = $dsql->ExecuteNoneQuery("INSERT INTO `#@__member_pms` (floginid,fromid,toid,tologinid,folder,hasview,subject,sendtime,writetime,message,isadmin) VALUES ('$floginid','$fromid','$toid','$tologinid','outbox','0','$subject','$sendtime','$writetime','$message','1');"); | $rs = $dsql->ExecuteNoneQuery("INSERT INTO `#@__member_pms` (floginid,fromid,toid,tologinid,folder,hasview,subject,sendtime,writetime,message,isadmin) VALUES ('$floginid','$fromid','$toid','$tologinid','outbox','0','$subject','$sendtime','$writetime','$message','1');"); | ||||
@@ -13,7 +13,7 @@ CheckPurview('sys_Group'); | |||||
if (empty($dopost)) $dopost = ''; | if (empty($dopost)) $dopost = ''; | ||||
if ($dopost == 'save') { | if ($dopost == 'save') { | ||||
if ($rank == 10) { | if ($rank == 10) { | ||||
ShowMsg('超级管理员的权限不允许修改!', 'sys_group.php'); | ShowMsg('超级管理员的权限不允许修改', 'sys_group.php'); | ||||
exit(); | exit(); | ||||
} | } | ||||
$purview = ''; | $purview = ''; | ||||
@@ -379,7 +379,7 @@ class DedeHttpDown | |||||
return TRUE; | return TRUE; | ||||
} | } | ||||
if (!$this->PrivateOpenHost()) { | if (!$this->PrivateOpenHost()) { | ||||
$this->m_error .= "打开远程主机出错!"; | $this->m_error .= "打开远程主机出错"; | ||||
return FALSE; | return FALSE; | ||||
} | } | ||||
$this->reTry++; | $this->reTry++; | ||||