mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 05:36:10 +00:00
tr - rm doubling
This commit is contained in:
@@ -81,13 +81,13 @@ Submitting this form will create new Users<br>(and their home Villages) on your
|
||||
$tribe = RANDOM;
|
||||
break;
|
||||
case '1':
|
||||
$tribe = ROMANS;
|
||||
$tribe = TRIBE1; // Romans
|
||||
break;
|
||||
case '2':
|
||||
$tribe = TEUTONS;
|
||||
$tribe = TRIBE2; // Teutons
|
||||
break;
|
||||
case '3':
|
||||
$tribe = GAULS;
|
||||
$tribe = TRIBE3; // Gauls
|
||||
break;
|
||||
default:
|
||||
// Should never reach here
|
||||
@@ -157,9 +157,9 @@ Beginners Protection <input type ="checkbox" name="users_protection"
|
||||
<br><br>
|
||||
Tribe:<br>
|
||||
<label><input type="radio" name="tribe" value="0" checked> <?php echo RANDOM; ?></label><br>
|
||||
<label><input type="radio" name="tribe" value="1"> <?php echo ROMANS; ?></label><br>
|
||||
<label><input type="radio" name="tribe" value="2"> <?php echo TEUTONS; ?></label><br>
|
||||
<label><input type="radio" name="tribe" value="3"> <?php echo GAULS; ?></label><br>
|
||||
<label><input type="radio" name="tribe" value="1"> <?php echo TRIBE1; /* Romans */ ?></label><br>
|
||||
<label><input type="radio" name="tribe" value="2"> <?php echo TRIBE2; /* Teutons */ ?></label><br>
|
||||
<label><input type="radio" name="tribe" value="3"> <?php echo TRIBE3; /* Gauls */ ?></label><br>
|
||||
<br><br>
|
||||
<input type="submit" value="Create Users">
|
||||
</form>
|
||||
|
||||
@@ -662,9 +662,6 @@ define("STARTED"," The server started ". round((time()-COMMENCE)/86400) ." days
|
||||
define("NICKNAME","Nickname");
|
||||
define("EMAIL","Email");
|
||||
define("PASSWORD","Password");
|
||||
define("ROMANS","Romans");
|
||||
define("TEUTONS","Teutons");
|
||||
define("GAULS","Gauls");
|
||||
define("NW","North West");
|
||||
define("NE","North East");
|
||||
define("SW","South West");
|
||||
|
||||
@@ -662,9 +662,6 @@ define("STARTED"," 服务器启动于 ". round((time()-COMMENCE)/86400) ." 天
|
||||
define("NICKNAME","昵称");
|
||||
define("EMAIL","邮箱");
|
||||
define("PASSWORD","密码");
|
||||
define("ROMANS","罗马");
|
||||
define("TEUTONS","条顿");
|
||||
define("GAULS","高卢");
|
||||
define("NW","西北");
|
||||
define("NE","东北");
|
||||
define("SW","西南");
|
||||
|
||||
@@ -27,7 +27,7 @@ $totalpop = 0;
|
||||
foreach($varray as $vil) $totalpop += $vil['pop'];
|
||||
|
||||
$countAu = $database->CountTopic($arr['owner']);
|
||||
$tribeArray = [ROMANS, TEUTONS, GAULS];
|
||||
$tribeArray = [TRIBE1, TRIBE2, TRIBE3];
|
||||
$displayarray = $database->getUserArray($arr['owner'], 1);
|
||||
$trip = $tribeArray[$displayarray['tribe'] - 1];
|
||||
|
||||
|
||||
+3
-3
@@ -93,17 +93,17 @@ if(REG_OPEN == true){ ?>
|
||||
<th colspan="2"><img src="img/x.gif" class="img_u07" alt="starting position" /></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="nat"><label><input class="radio" type="radio" name="vid" value="1" <?php echo $form->getRadio('vid',1); ?> /> <?php echo ROMANS; ?></label></td>
|
||||
<td class="nat"><label><input class="radio" type="radio" name="vid" value="1" <?php echo $form->getRadio('vid',1); ?> /> <?php echo TRIBE1; /* Romans */ ?></label></td>
|
||||
<td class="pos1"><label><input class="radio" type="radio" name="kid" value="0" checked="checked" /> <?php echo RANDOM; ?></label></td>
|
||||
<td class="pos2"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label><input class="radio" type="radio" name="vid" value="2" <?php echo $form->getRadio('vid',2); ?> /> <?php echo TEUTONS; ?></label></td>
|
||||
<td><label><input class="radio" type="radio" name="vid" value="2" <?php echo $form->getRadio('vid',2); ?> /> <?php echo TRIBE2; /* Teutons */ ?></label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="1" <?php echo $form->getRadio('kid',1); ?> /> <?php echo NW; ?> <b>(-|+)</b> </label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="2" <?php echo $form->getRadio('kid',2); ?> /> <?php echo NE; ?> <b>(+|+)</b></label></td>
|
||||
</tr>
|
||||
<tr class="btm">
|
||||
<td><label><input class="radio" type="radio" name="vid" value="3" <?php echo $form->getRadio('vid',3); ?> /> <?php echo GAULS; ?></label></td>
|
||||
<td><label><input class="radio" type="radio" name="vid" value="3" <?php echo $form->getRadio('vid',3); ?> /> <?php echo TRIBE3; /* Gauls */ ?></label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="3" <?php echo $form->getRadio('kid',3); ?> /> <?php echo SW; ?> <b>(-|-)</b></label></td>
|
||||
<td><label><input class="radio" type="radio" name="kid" value="4" <?php echo $form->getRadio('kid',4); ?> /> <?php echo SE; ?> <b>(+|-)</b></label></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user