작업 중...

This commit is contained in:
2018-01-13 21:08:01 +09:00
parent f523683624
commit 1efe3a750b
6 changed files with 48 additions and 16 deletions
+19 -4
View File
@@ -4,16 +4,31 @@
// $_POST['notice'] : 공지
// $_POST['server'] : 서버 인덱스
// $_POST['select'] : 0: 폐쇄, 1: 리셋, 2: 오픈
$action = $_POST['action'];
$notice = $_POST['notice'];
$server = $_POST['server'];
$select = $_POST['select'];
require_once('_common.php');
require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
function getPost($str){
if(!isset($_POST[$str])){
return '';
}
$temp = $_POST[$str];
$temp=str_replace(" ","",$temp);
$temp=str_replace("\n","",$temp);
$temp=strip_tags($temp);
$temp=str_replace(" ","",$temp);
$temp=str_replace(" ","",$temp);
return $temp;
}
$action = getPost('action');
$notice = getPost('notice');
$server = getPost('server');
$select = getPost('select');
$rs = $DB->Select('GRADE', 'MEMBER', "NO='{$SESSION->NoMember()}'");
$member = $DB->Get($rs);