mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
fix: undefined variables
This commit is contained in:
@@ -27,7 +27,7 @@ include("alli_menu.tpl");
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Position:</th>
|
||||
<td><input class="name text" type="text" name="a_titel" value="<?php echo $playerData[rank]; ?>" maxlength="50" /></td>
|
||||
<td><input class="name text" type="text" name="a_titel" value="<?php echo $playerData['rank']; ?>" maxlength="50" /></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -40,40 +40,40 @@ include("alli_menu.tpl");
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e1" value="1" <?php if ($playerData[opt1]) { echo "checked=checked"; } ?> ></td>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e1" value="1" <?php if ($playerData['opt1']) { echo "checked=checked"; } ?> ></td>
|
||||
|
||||
<td>Assign to position</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e2" value="1" <?php if ($playerData[opt2]) { echo "checked=checked"; } ?> ></td>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e2" value="1" <?php if ($playerData['opt2']) { echo "checked=checked"; } ?> ></td>
|
||||
<td>Kick player</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="sel"><input class="check" type="checkbox" name="e3" value="1" <?php if ($playerData[opt3]) { echo "checked=checked"; } ?> ></td>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e3" value="1" <?php if ($playerData['opt3']) { echo "checked=checked"; } ?> ></td>
|
||||
<td>Change alliance description</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e6" value="1"<?php if ($playerData[opt6]) { echo "checked=checked"; } ?> ></td>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e6" value="1"<?php if ($playerData['opt6']) { echo "checked=checked"; } ?> ></td>
|
||||
<td>Alliance diplomacy</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e7" value="1" <?php if ($playerData[opt7]) { echo "checked=checked"; } ?> ></td>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e7" value="1" <?php if ($playerData['opt7']) { echo "checked=checked"; } ?> ></td>
|
||||
<td>IGMs to every alliance member</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e4" value="1" <?php if ($playerData[opt4]) { echo "checked=checked"; } ?> ></td>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e4" value="1" <?php if ($playerData['opt4']) { echo "checked=checked"; } ?> ></td>
|
||||
<td>Invite a player into the alliance</td>
|
||||
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e5" value="1" <?php if ($playerData[opt5]) { echo "checked=checked"; } ?> ></td>
|
||||
<tr>
|
||||
<td class="sel"><input class="check" type="checkbox" name="e5" value="1" <?php if ($playerData['opt5']) { echo "checked=checked"; } ?> ></td>
|
||||
<td>Manage forums</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@@ -83,7 +83,7 @@ include("alli_menu.tpl");
|
||||
<input type="hidden" name="a" value="1">
|
||||
<input type="hidden" name="o" value="1">
|
||||
<input type="hidden" name="s" value="5">
|
||||
<input type="hidden" name="a_user" value="<?php echo $_POST['a_user']; ?>">
|
||||
<input type="hidden" name="a_user" value="<?php echo (isset($_POST['a_user']) ? $_POST['a_user'] : ''); ?>">
|
||||
<input type="image" value="ok" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" />
|
||||
</p>
|
||||
</form>
|
||||
Reference in New Issue
Block a user