twe 테스트 준비

This commit is contained in:
2018-01-11 22:49:33 +09:00
parent 6e71abe710
commit f523683624
164 changed files with 59155 additions and 56 deletions
+20
View File
@@ -0,0 +1,20 @@
<?php
include "lib.php";
include "func.php";
//로그인 검사
CheckLogin();
$connect = dbConn();
$query = "select killturn from game where no='1'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
$admin[killturn] *= 3;
$query = "update general set killturn='$admin[killturn]' where user_id='$_SESSION[p_id]'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
echo "<script>location.replace('b_myPage.php');</script>";
?>