Tokiwa Battle Royale  GE777
A PHP Battle Royale inspired game
 All Data Structures Namespaces Files Functions Variables Pages
1_admin_configmng.tpl.php
Go to the documentation of this file.
1 <?php if(!defined('IN_GAME')) exit('Access Denied'); ?>
2 <form method="post" name="configmng" onsubmit="admin.php">
3 <input type="hidden" id="mode" name="mode" value="configmng">
4 <input type="hidden" id="command" name="command" value="">
5 
6 <table class="admin">
7 <tr>
8 <th><?php echo $lang['variable']?></th>
9 <th><?php echo $lang['value']?></th>
10 <th><?php echo $lang['comment']?></th>
11 </tr>
12 <tr>
13  <td><?php echo $lang['moveut']?></td>
14  <td><input type="text" name="moveut" value="<?php echo $moveut?>" size="5">小时<input type="text" name="moveutmin" value="<?php echo $moveutmin?>" size="5">分钟</td>
15  <td><?php echo $lang['moveut_comment']?><br><?php echo $lang['orin_time']?><?php echo $orin_time?><br><?php echo $lang['set_time']?><?php echo $set_time?></td>
16 </tr>
17 <tr>
18  <td><?php echo $lang['authkey']?></td>
19  <td><input type="text" name="authkey" value="<?php echo $authkey?>" size="30" disabled="true"></td>
20  <td><?php echo $lang['authkey_comment']?></td>
21 </tr>
22 <tr>
23  <td><?php echo $lang['tplrefresh']?></td>
24  <td><input type="radio" name="tplrefresh" value="1"
25 <?php if($tplrefresh) { ?>
26 checked="true"
27 <?php } ?>
28 ><?php echo $lang['on']?>&nbsp;&nbsp;&nbsp;<input type="radio" name="tplrefresh" value="0"
29 <?php if(!$tplrefresh) { ?>
30 checked="true"
31 <?php } ?>
32 ><?php echo $lang['off']?></td>
33  <td><?php echo $lang['tplrefresh_comment']?></td>
34 </tr>
35 <tr>
36  <td><?php echo $lang['errorinfo']?></td>
37  <td><input type="radio" name="errorinfo" value="1"
38 <?php if($errorinfo) { ?>
39 checked="true"
40 <?php } ?>
41 ><?php echo $lang['on']?>&nbsp;&nbsp;&nbsp;<input type="radio" name="errorinfo" value="0"
42 <?php if(!$errorinfo) { ?>
43 checked="true"
44 <?php } ?>
45 ><?php echo $lang['off']?></td>
46  <td><?php echo $lang['errorinfo_comment']?></td>
47 </tr>
48 <tr>
49  <td><?php echo $lang['bbsurl']?></td>
50  <td><input type="text" name="bbsurl" value="<?php echo $bbsurl?>" size="30"></td>
51  <td><?php echo $lang['bbsurl_comment']?></td>
52 </tr>
53 <tr>
54  <td><?php echo $lang['gameurl']?></td>
55  <td><input type="text" name="gameurl" value="<?php echo $gameurl?>" size="30"></td>
56  <td><?php echo $lang['gameurl_comment']?></td>
57 </tr>
58 <tr>
59  <td><?php echo $lang['homepage']?></td>
60  <td><input type="text" name="homepage" value="<?php echo $homepage?>" size="30"></td>
61  <td><?php echo $lang['homepage_comment']?></td>
62 </tr>
63 </table>
64 <input type="submit" value="提交" onclick="$('command').value='edit';">
65 </form>
this disabled
< inputtype="radio"name="tplrefresh"value="0"<?phpif(!$tplrefresh){?> checked
$set_time
Definition: configmng.php:62
$orin_time
Definition: configmng.php:58
$errorinfo
Definition: config.inc.php:94
$lang
Definition: admin.lang.php:4
$tplrefresh
Definition: config.inc.php:79
value
Definition: 1_alive.tpl.php:10