Tokiwa Battle Royale  GE777
A PHP Battle Royale inspired game
 All Data Structures Namespaces Files Functions Variables Pages
1_alive.tpl.php
Go to the documentation of this file.
1 <?php if(!defined('IN_GAME')) exit('Access Denied'); include template('header'); ?>
2 <div id="notice"></div>
3 <div id="aliveinfo">
4 <center>
5 <span class="subtitle">幸存者一览</span>
6 <form method="post" name="alive" onSubmit="return false;">
7 <input type="hidden" id="alivemode" name="alivemode" value="last">
8 <input type="hidden" id="gbmode" name="gbmode" value="none">
9 <p>
10 <input type="button" value="显示前<?php echo $alivelimit?>名幸存者" onClick="$('alivemode').value='last';$('gbmode').value='none';postCmd('alive','alive.php');">
11 【生存者数:<?php echo $alivenum?>人】
12 <input type="button" value="显示全部幸存者" onClick="$('alivemode').value='all';$('gbmode').value='none';postCmd('alive','alive.php');">
13 </p>
14 <?php if($gamblingon && $gamestate >= 20) { ?>
15 <p>
16 <?php include template('gambling'); ?>
17 </p>
18 <?php } elseif($gamblingon && $gamestate <= 10) { ?>
19 <p>
20 <?php include template('lastgb'); ?>
21 </p>
22 <?php } ?>
23 </form>
24 
25 <div id="alivelist">
26 <?php include template('alivelist'); ?>
27 </div>
28 <form method="post" name="backindex" action="index.php">
29 <input type="submit" value="返回首页">
30 </form>
31 </center>
32 </div>
33 <?php include template('footer'); ?>
【生存者数:<?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
$gamestate
Definition: gameinfo.php:4
value
Definition: 1_alive.tpl.php:10
$gamblingon
Definition: gamecfg_1.php:41