Tokiwa Battle Royale  GE777
A PHP Battle Royale inspired game
 All Data Structures Namespaces Files Functions Variables Pages
1_useradvdata.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']?>
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 </tr>
18 <tr>
19 <td>头像</td>
20 <td>
21 <select id="icon" name="icon" onchange="userIconMover()">
22 <?php if(is_array($iconarray)) { foreach($iconarray as $icon) { ?>
23 <?php echo $icon?>
24 <?php } } ?>
25 </select>(0为随机)
26 <div id="userIconImg" class="iconImg" >
27 <img src="img/
28 <?php if($gender != 'f') { ?>
29 m
30 <?php } else { ?>
31 f
32 <?php } ?>
33 _<?php echo $select_icon?>.gif" alt="<?php echo $select_icon?>">
34 </div>
35 </td>
36 </tr>
37 <tr>
38 <td>口头禅</td>
39 <td><input size="30" type="text" name="motto" maxlength="30" value="<?php echo $motto?>">写下彰显个性的台词,30个字以内。</td>
40 </tr>
41 <tr>
42 <tr>
43 <td>杀人宣言</td>
44 <td><input size="30" type="text" name="killmsg" maxlength="30" value="<?php echo $killmsg?>">写下你杀死对手的留言,30个字以内</td>
45 </tr>
46 <tr>
47 <td>遗言</td>
48 <td><input size="30" type="text" name="lastword" maxlength="30" value="<?php echo $lastword?>">写下你不幸被害时的台词,30个字以内</td>
49 </tr>
50 <tr>
51 <td>头衔</td>
52 <td>
53 <select name="nick">
54 <?php if(is_array($utlist)) { foreach($utlist as $key => $val) { ?>
55 <option value="<?php echo $val?>"><?php echo $val?></option>
56 <?php } } ?>
57 </select>
58 </td>
59 </tr>
60 </table>
$sexinfo
Definition: resources_1.php:51
< inputtype="radio"name="tplrefresh"value="0"<?phpif(!$tplrefresh){?> checked
$iconarray
Definition: user.php:92
$utlist
Definition: user.php:95
value
Definition: 1_alive.tpl.php:10
$gender
Definition: login.php:117