game table을 KVStorage로 일부 대체

This commit is contained in:
Hide_D committed 2018-05-13 00:52:16 +09:00
1 parent 67ecd514a4
commit 9d6181ede1
36 files changed
+196 -308

No files matched your search

+1 -5
View File
@@ -13,15 +13,11 @@ $connect=$db->get();
increaseRefresh("세력일람", 2);
$query = "select conlimit from game limit 1";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$admin = MYDB_fetch_array($result);
$query = "select con,turntime from general where owner='{$userID}'";
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
$me = MYDB_fetch_array($result);
$con = checkLimit($me['con'], $admin['conlimit']);
$con = checkLimit($me['con']);
if($con >= 2) { printLimitMsg($me['turntime']); exit(); }
?>
<!DOCTYPE html>