All Data Structures Namespaces Files Functions Variables Pages
1_game.tpl.php
Go to the documentation of this file.
<?php if(!defined('IN_GAME')) exit('Access Denied'); include template('header'); ?>
<div id="notice"></div>
<table border="0" cellspacing="10" cellpadding="0" align="center">
<tr valign=top>
<td>
<div id="main">
<?php if($main=='battle') { include template('battle'); } else { include template('profile'); } ?>
</div>
</td>
<td valign="top" rowspan="2">
<table border="0" width="300" height="560" cellspacing="0" cellpadding="0" >
<tr>
<td height="20" class="b1">
<div>
<span class="yellow" id="pls"><?php echo $plsinfo[$pls]?></span>【<span class="red">剩余：<span id="anum"><?php echo $alivenum?></span>人</span>】
</div>
</td>
</tr>
<tr>
<td valign="top" class="b3" height="540" style="text-align: left;overflow:auto;overflow-x:hidden;">
<div id="log"><?php echo $log?></div>
<div>
<form method="post" id="gamecmd" name="gamecmd" style="margin: 0px" >
<div id="cmd">
<?php if($hp <= 0) { include template('death'); } elseif($state >=1 && $state <= 3) { include template('rest'); } elseif($itms0) { include template('itemfind'); } elseif($cmd) { ?>
<?php echo $cmd?>
<?php } else { include template('command'); } ?>
</div>
</form>
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<?php include template('chat'); ?>
</td>
</tr>
</table>
<?php include template('footer'); ?>
$plsinfo
$plsinfo
Definition: resources_1.php:801
elseif
【生存者数：<?php echo $alivenum?> 人】< input type="button"value="显示全部幸存者"onClick="$('alivemode').value='all';$('gbmode').value='none';postCmd('alive','alive.php');"></p > if($gamblingon &&$gamestate >=20) elseif($gamblingon &&$gamestate<=10)
Definition: 1_alive.tpl.php:18
$log
$log
Definition: botservice.php:34
$main
$main
Definition: command.php:457
$alivenum
$alivenum
Definition: gameinfo.php:14
$cmd
$cmd
Definition: botservice.php:51