[임시] 주사위 삭제
This commit is contained in:
+3
-21
@@ -9,6 +9,9 @@ $name = _String::NoSpecialCharacter($name);
|
||||
$pic = $_POST[pic];
|
||||
$character = $_POST[character];
|
||||
|
||||
$leader = floor($_POST['leader']);
|
||||
$power = floor($_POST['power']);
|
||||
$intel = floor($_POST['intel']);
|
||||
$pwTemp = substr($pw, 0, 32);
|
||||
|
||||
$connect = dbConn("sammo");
|
||||
@@ -49,21 +52,6 @@ $query = "select no from general where name='$name'";
|
||||
$result = MYDB_query($query,$connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$name_num = MYDB_num_rows($result);
|
||||
|
||||
$query = "select * from token where id='$member[id]'";
|
||||
$result = MYDB_query($query,$connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$token_num = MYDB_num_rows($result);
|
||||
|
||||
if($token_num == 1) {
|
||||
$token = MYDB_fetch_array($result);
|
||||
$leader = $token['leader'];
|
||||
$power = $token['power'];
|
||||
$intel = $token['intel'];
|
||||
} else {
|
||||
$leader = 0;
|
||||
$power = 0;
|
||||
$intel = 0;
|
||||
}
|
||||
|
||||
if($id_num) {
|
||||
echo("<script>
|
||||
window.alert('이미 등록하셨습니다!')
|
||||
@@ -76,12 +64,6 @@ if($id_num) {
|
||||
history.go(-1)
|
||||
</script>");
|
||||
exit;
|
||||
} elseif($token_num != 1) {
|
||||
echo("<script>
|
||||
window.alert('능력치 정보가 잘못되었습니다. 운영자에게 문의해 주세요!')
|
||||
history.go(-1)
|
||||
</script>");
|
||||
exit;
|
||||
} elseif($admin[maxgeneral] <= $gencount) {
|
||||
echo("<script>
|
||||
window.alert('더이상 등록할 수 없습니다!')
|
||||
|
||||
Reference in New Issue
Block a user