scenario 이름은 build시에 db에 넣을 수 있으므로, getScenario() 삭제
This commit is contained in:
+5
-4
@@ -43,7 +43,7 @@ if($me['newmsg'] == 1 && $me['newvote'] == 1) {
|
||||
MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
}
|
||||
|
||||
$query = "select develcost,online,conlimit,tournament,tnmt_type,turnterm,scenario,extend,fiction,npcmode,vote from game where no=1";
|
||||
$query = "select develcost,online,conlimit,tournament,tnmt_type,turnterm,scenario,scenario_text,extend,fiction,npcmode,vote from game where no=1";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
@@ -54,7 +54,7 @@ $plock = MYDB_fetch_array($result);
|
||||
$con = checkLimit($me['con'], $admin['conlimit']);
|
||||
if($con >= 2) { printLimitMsg($me['turntime']); exit(); }
|
||||
|
||||
$scenario = getScenario();
|
||||
$scenario = $admin['scenario_text'];
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
@@ -293,9 +293,10 @@ echo banner();
|
||||
</table>
|
||||
<?php PrintElapsedTime(); ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
<?php
|
||||
if($con == 1) { MessageBox("접속제한이 얼마 남지 않았습니다!"); }
|
||||
if($me['newmsg'] == 1) { MessageBox("개인 서신이 도착했습니다!"); }
|
||||
if($me['newvote'] == 1) { $develcost = $admin['develcost']*5; MessageBox("설문조사에 참여하시면 금{$develcost}과 유니크템을 드립니다! (우측 상단 설문조사 메뉴)"); }
|
||||
?>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user