| 365 |
// Get upload quota and used space |
// Get upload quota and used space |
| 366 |
$atta_id_list = "-1"; |
$atta_id_list = "-1"; |
| 367 |
$attachment_count = (isset($_FILES['attachment']['error']) ? count($_FILES['attachment']['error']) : 0); |
$attachment_count = (isset($_FILES['attachment']['error']) ? count($_FILES['attachment']['error']) : 0); |
| 368 |
|
if ($attachment_count > $BBS_upload_count_limit) |
|
if ($attachment_count >= $BBS_upload_count_limit) |
|
| 369 |
{ |
{ |
| 370 |
$result_set["return"]["code"] = -1; |
$result_set["return"]["code"] = -1; |
| 371 |
array_push($result_set["return"]["errorFields"], array( |
array_push($result_set["return"]["errorFields"], array( |
| 622 |
while ($row = mysqli_fetch_array($rs)) |
while ($row = mysqli_fetch_array($rs)) |
| 623 |
{ |
{ |
| 624 |
//Send notification message |
//Send notification message |
|
|
|
| 625 |
$msg_content = "[hide]SYS_Reply_Article[/hide]有人回复了您所发表/回复的主题文章,快来". |
$msg_content = "[hide]SYS_Reply_Article[/hide]有人回复了您所发表/回复的主题文章,快来". |
| 626 |
"[article " . $tid . "#" . $aid . "]看看[/article]《" . $r_title . "》吧!\n"; |
"[article $aid]看看[/article]《" . $r_title . "》吧!\n"; |
| 627 |
|
|
| 628 |
$sql = "INSERT INTO bbs_msg(fromUID, toUID, content, send_dt, send_ip) |
$sql = "INSERT INTO bbs_msg(fromUID, toUID, content, send_dt, send_ip) |
| 629 |
VALUES($BBS_sys_uid, " . $row["UID"] . ", '" . |
VALUES($BBS_sys_uid, " . $row["UID"] . ", '" . |