string 내의 $ 호출들 일괄 변환.
This commit is contained in:
+6
-6
@@ -11,12 +11,12 @@ $query = "select conlimit from game where no=1";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$admin = MYDB_fetch_array($result);
|
||||
|
||||
$query = "select skin,map,con,userlevel,turntime from general where user_id='$_SESSION[p_id]'";
|
||||
$query = "select skin,map,con,userlevel,turntime from general where user_id='$_SESSION['p_id']'";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$me = MYDB_fetch_array($result);
|
||||
|
||||
$con = checkLimit($me[userlevel], $me[con], $admin[conlimit]);
|
||||
if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
|
||||
$con = checkLimit($me['userlevel'], $me['con'], $admin['conlimit']);
|
||||
if($con >= 2) { printLimitMsg($me['turntime']); exit(); }
|
||||
?>
|
||||
<html>
|
||||
|
||||
@@ -34,16 +34,16 @@ if($con >= 2) { printLimitMsg($me[turntime]); exit(); }
|
||||
<table align=center width=1200 height=520 border=1 cellspacing=0 cellpadding=0 bordercolordark=gray bordercolorlight=black style=font-size:13;word-break:break-all; id=bg0>
|
||||
<tr height=520>
|
||||
<td width=498 valign=top>
|
||||
<?php AllLog(34, $me[skin]); ?>
|
||||
<?php AllLog(34, $me['skin']); ?>
|
||||
</td>
|
||||
<td width=698>
|
||||
<iframe src='map.php?type=2&graphic=<?=$me[map];?>' width=698 height=520 frameborder=0 marginwidth=0 marginheight=0 topmargin=0 scrolling=no>
|
||||
<iframe src='map.php?type=2&graphic=<?=$me['map'];?>' width=698 height=520 frameborder=0 marginwidth=0 marginheight=0 topmargin=0 scrolling=no>
|
||||
</iframe>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=2 valign=top>
|
||||
<?php History(34, $me[skin]); ?>
|
||||
<?php History(34, $me['skin']); ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user