Tokiwa Battle Royale
GE777
A PHP Battle Royale inspired game
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
1_game.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
<table border=
"0"
cellspacing=
"10"
cellpadding=
"0"
align=
"center"
>
4
<tr valign=top>
5
<td>
6
<div
id
=
"main"
>
7
<?php
if
(
$main
==
'battle'
) { include
template
(
'battle'
); }
else
{ include
template
(
'profile'
); } ?>
8
</div>
9
</td>
10
<td valign=
"top"
rowspan=
"2"
>
11
<table border=
"0"
width=
"300"
height=
"560"
cellspacing=
"0"
cellpadding=
"0"
>
12
<tr>
13
<td height=
"20"
class
=
"b1"
>
14
<div>
15
<span
class
=
"yellow"
id
=
"pls"
><?php echo
$plsinfo
[$pls]?></span>【<span
class
=
"red"
>剩余:<span
id
=
"anum"
><?php echo
$alivenum
?></span>人</span>】
16
</div>
17
</td>
18
</tr>
19
<tr>
20
<td valign=
"top"
class
=
"b3"
height=
"540"
style=
"text-align: left;overflow:auto;overflow-x:hidden;"
>
21
<div
id
=
"log"
><?php echo
$log
?></div>
22
<div>
23
<form method=
"post"
id
=
"gamecmd"
name=
"gamecmd"
style=
"margin: 0px"
>
24
<div
id
=
"cmd"
>
25
<?php
if
($hp <= 0) { include
template
(
'death'
); }
elseif
($state >=1 && $state <= 3) { include
template
(
'rest'
); }
elseif
($itms0) { include
template
(
'itemfind'
); }
elseif
(
$cmd
) { ?>
26
<?php echo
$cmd
?>
27
<?php }
else
{ include
template
(
'command'
); } ?>
28
</div>
29
</form>
30
</div>
31
</td>
32
</tr>
33
</table>
34
</td>
35
</tr>
36
<tr>
37
<td>
38
<?php include
template
(
'chat'
); ?>
39
</td>
40
</tr>
41
</table>
42
<?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
gamedata
templates
1_game.tpl.php
Generated on Thu Nov 20 2014 11:38:02 for Tokiwa Battle Royale by
1.8.8