sammo를 쓰는 일부 파일을 getRootDB()를 이용하도록 수정

메시지 DB 형태 변경.

메시지를 전송하는 별도의 함수 sendMessage(), sendRawMessage() 생성

j_msgsubmit.php 전면 수정

가능한 메일함을 구해오는 getMailboxList() 함수 추가

CheckBlock를 getBlockLevel로 변경하고, 내부 구현 수정
This commit is contained in:
2018-01-29 02:14:41 +09:00
parent 6d30e40cd3
commit b7923e04a4
10 changed files with 201 additions and 240 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ include "func.php";
CheckLogin();
$connect = dbConn();
if(CheckBlock($connect) != 1 && CheckBlock($connect) != 3) {
if(getBlockLevel() != 1 && getBlockLevel() != 3) {
$query = "select no,nation from general where user_id='{$_SESSION['p_id']}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);