All Data Structures Namespaces Files Functions Variables Pages
1_alivelist.tpl.php
Go to the documentation of this file.
<?php if(!defined('IN_GAME')) exit('Access Denied'); ?>
<TABLE border="1">
<tr align="center" class="b1">
<td class="b1"><span>名字&编号</span></td>
<td width="140" class="b1"><span>头像</span></td>
<td class="b1"><span>等级</span></td>
<td class="b1"><span>杀害玩家数</span></td>
<td class="b1"><span>当前金钱数</span></td>
<td class="b1"><span>APM</span></td>
<?php if($gamestate < 40 ) { ?>
<td class="b1"><span>队伍名</span></td>
<?php } ?>
<td width="300" class="b1"><span>口头禅</span></td>
<td class="b1"><span>胜率</span></td>
<?php if($gamblingon ) { ?>
<td class="b1"><span>支持者数</span></td>
<td class="b1"><span>切糕数</span></td>
<?php } ?>
</tr>
<?php if(is_array($alivedata)) { foreach($alivedata as $alive) { ?>
<tr class="b3">
<td align="center" class="b3"><span><u><a href="user_profile.php?playerID=<?php echo $alive['name']?>"><?php echo $alive['name']?></a></u><br><?php echo $sexinfo[$alive['gd']]?> <?php echo $alive['sNo']?> 号</span></td>
<td align="center" class="b3"><span><IMG src="img/<?php echo $alive['iconImg']?>" width="140" height="80" border="0" align="absmiddle"></span></td>
<td class="b3"><span><?php echo $alive['lvl']?></span></td>
<td class="b3"><span><?php echo $alive['killnum']?></span></td>
<td class="b3"><span><?php echo $alive['money']?></span></td>
<td class="b3"><span><?php echo $alive['apm']?></span></td>
<?php if($gamestate < 40 ) { ?>
<td class="b3"><span>
<?php if($alive['teamID']) { ?>
<?php echo $alive['teamID']?>
<?php } else { ?>
无
<?php } ?>
</span></td>
<?php } ?>
<td class="b3"><span><?php echo $alive['motto']?></span></td>
<td class="b3"><span><?php echo $alive['winrate']?></span></td>
<?php if($gamblingon ) { ?>
<td class="b3"><span><?php echo $alive['gbnum']?></span></td>
<td class="b3"><span><?php echo $alive['gbsum']?></span></td>
<?php } ?>
</tr>
<?php } } ?>
</table>
$sexinfo
$sexinfo
Definition: resources_1.php:51
$alivedata
$alivedata
Definition: alive.php:17
$gamestate
$gamestate
Definition: gameinfo.php:4
href
href
Definition: 1_itemdrop0.tpl.php:5
$gamblingon
$gamblingon
Definition: gamecfg_1.php:41