파일 위치를 twe에서 hwe로 옮김.

This commit is contained in:
2018-04-01 01:23:44 +09:00
parent 1ddd26c8a1
commit 25ec9a2579
201 changed files with 0 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace sammo;
include "lib.php";
include "func.php";
//TODO: 이게 뭔지 분석
$btn = $_POST['btn'];
$userID = Session::getUserID();
$connect = dbConn(true);
//회원 테이블에서 정보확인
$query = "select no,name,picture,grade from MEMBER where no='$userID'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$member = MYDB_fetch_array($result);
if(!$member) {
MessageBox("잘못된 접근입니다!!!");
echo "<script>history.go(-1);</script>";
exit(1);
}
if($btn == "장수생성") {
header('Location:join.php');
} elseif($btn == "장수선택") {
header('Location:select_npc.php');
}