Tokiwa Battle Royale  GE777
A PHP Battle Royale inspired game
 All Data Structures Namespaces Files Functions Variables Pages
1_usergdicon.tpl.php
Go to the documentation of this file.
1 <?php if(!defined('IN_GAME')) exit('Access Denied'); ?>
2 <table align="center">
3 <tr>
4 <td>性别</td>
5 <td>
6 <input type="radio" id="male" name="gender" onclick="userIconMover()" value="m"
7 <?php if($gender != "f") { ?>
9 <?php } ?>
10  ><?php echo $sexinfo['m']?><br />
11 <input type="radio" name="gender" onclick="userIconMover()" value="f"
12 <?php if($gender == "f") { ?>
13 checked
14 <?php } ?>
15 ><?php echo $sexinfo['f']?>
16 </td>
17 <td> </td>
18 </tr>
19 <tr>
20 <td>头像</td>
21 <td>
22 <select id="icon" name="icon" onchange="userIconMover()">
23 <?php if(is_array($iconarray)) { foreach($iconarray as $icon) { ?>
24 <?php echo $icon?>
25 <?php } } ?>
26 </select>(0为随机)
27 </td>
28 <td>
29 <div id="userIconImg" class="iconImg" >
30 <img src="img/
31 <?php if($gender != 'f') { ?>
32 m
33 <?php } else { ?>
34 f
35 <?php } ?>
36 _<?php echo $select_icon?>.gif" alt="<?php echo $select_icon?>">
37 </div>
38 </td>
39 </tr>
40 </table>
$sexinfo
Definition: resources_1.php:51
< inputtype="radio"name="tplrefresh"value="0"<?phpif(!$tplrefresh){?> checked
$iconarray
Definition: user.php:92
value
Definition: 1_alive.tpl.php:10
$gender
Definition: login.php:117