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_shop.tpl.php
Go to the documentation of this file.
1
<?php
if
(!defined(
'IN_GAME'
)) exit(
'Access Denied'
); ?>
2
想购买什么物品?<br><br>
3
<input type=
"hidden"
name=
"mode"
value
=
"shop"
>
4
<input type=
"hidden"
name=
"shoptype"
value
=
"<?php echo $shop?>"
>
5
<input type=
"radio"
name=
"command"
id
=
"menu"
value
=
"menu"
checked
><a onclick=
sl
(
'menu'
);
href
=
"javascript:void(0);"
onmouseover
=
"status=' ';return true;"
>离开商店</a><br>
6
<input type=
"radio"
name=
"command"
id
=
"shop"
value
=
"shop"
><a onclick=
sl
(
'shop'
);
href
=
"javascript:void(0);"
onmouseover
=
"status=' ';return true;"
>返回列表</a><br><br>
7
<?php
if
(is_array($itemdata)) {
foreach
($itemdata as $idata) {
if
($idata[
'sid'
]) { ?>
8
<a onclick=
sl
(
"<?php echo $idata['sid']?>"
);
href
=
"javascript:void(0);"
onmouseover
=
"status=' ';return true;"
><input type=
"radio"
name=
"command"
id
=
"<?php echo $idata['sid']?>"
value
=
"<?php echo $idata['sid']?>"
><?php echo $idata[
'item'
]?>/<?php echo $idata[
'itmk_words'
]?>/<?php echo $idata[
'itme'
]?>/<?php echo $idata[
'itms'
]?>
9
<?php
if
($idata[
'itmsk_words'
]) { ?>
10
/<?php echo $idata[
'itmsk_words'
]?>
11
<?php } ?>
12
【价:<?php echo $idata[
'price'
]?>,数:<?php echo $idata[
'num'
]?>】</a><br>
13
<?php } } }
if
($shop==1||$shop==2||$shop==6||$shop==7||$shop==8||$shop==10||$shop==11||$shop==12) { ?>
14
请输入购买数量:<input type=
"text"
name=
"buynum"
value
=
"1"
size=
"5"
maxlength=
"5"
>
15
<?php }
else
{ ?>
16
<input type=
"hidden"
name=
"buynum"
value
=
"1"
>
17
<?php } ?>
18
<br><br>
19
<input type=
"button"
class
=
"cmdbutton"
name=
"submit"
value
=
"提交"
onclick=
"postCmd('gamecmd','command.php');this.disabled=true;"
>
sl
function sl(id)
Definition:
game.js:87
checked
< inputtype="radio"name="tplrefresh"value="0"<?phpif(!$tplrefresh){?> checked
Definition:
1_admin_configmng.tpl.php:30
onmouseover
onmouseover
Definition:
1_shop.tpl.php:5
value
value
Definition:
1_alive.tpl.php:10
href
href
Definition:
1_itemdrop0.tpl.php:5
gamedata
templates
1_shop.tpl.php
Generated on Thu Nov 20 2014 11:38:03 for Tokiwa Battle Royale by
1.8.8