mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 06:11:00 +00:00
feat: Admins can be attacked, raided and traded with via config option
This commit is contained in:
@@ -30,7 +30,7 @@ $date = $generator->procMtime($rep[0]['time']); ?>
|
||||
<tr><td colspan="2" class="report_content">
|
||||
<table cellpadding="1" cellspacing="1" id="trade"><thead><tr>
|
||||
<td> </td>
|
||||
<td>><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
<td><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
</tr></thead><tbody><tr>
|
||||
<th>Resources</th>
|
||||
<td>
|
||||
|
||||
@@ -30,7 +30,7 @@ $date = $generator->procMtime($rep[0]['time']); ?>
|
||||
<tr><td colspan="2" class="report_content">
|
||||
<table cellpadding="1" cellspacing="1" id="trade"><thead><tr>
|
||||
<td> </td>
|
||||
<td>><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
<td><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
</tr></thead><tbody><tr>
|
||||
<th>Resources</th>
|
||||
<td>
|
||||
|
||||
@@ -30,7 +30,7 @@ $date = $generator->procMtime($rep[0]['time']); ?>
|
||||
<tr><td colspan="2" class="report_content">
|
||||
<table cellpadding="1" cellspacing="1" id="trade"><thead><tr>
|
||||
<td> </td>
|
||||
<td>><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
<td><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
</tr></thead><tbody><tr>
|
||||
<th>Resources</th>
|
||||
<td>
|
||||
|
||||
@@ -30,7 +30,7 @@ $date = $generator->procMtime($rep[0]['time']); ?>
|
||||
<tr><td colspan="2" class="report_content">
|
||||
<table cellpadding="1" cellspacing="1" id="trade"><thead><tr>
|
||||
<td> </td>
|
||||
<td>><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
<td><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
</tr></thead><tbody><tr>
|
||||
<th>Resources</th>
|
||||
<td>
|
||||
|
||||
@@ -30,7 +30,7 @@ $date = $generator->procMtime($rep[0]['time']); ?>
|
||||
<tr><td colspan="2" class="report_content">
|
||||
<table cellpadding="1" cellspacing="1" id="trade"><thead><tr>
|
||||
<td> </td>
|
||||
<td>><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
<td><?php echo $user_url;?> from the village <?php echo $from_url;?></td>
|
||||
</tr></thead><tbody><tr>
|
||||
<th>Resources</th>
|
||||
<td>
|
||||
|
||||
@@ -398,6 +398,10 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
<td>Include Support Messages in Admin Mailbox</td>
|
||||
<td><?php if(ADMIN_RECEIVE_SUPPORT_MESSAGES == true){ echo "<b><font color='Green'>Enabled</font></b>"; } else if(ADMIN_RECEIVE_SUPPORT_MESSAGES == false){ echo "<b><font color='Red'>Disabled</font></b>"; } ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Allow Administrative Accounts to be Raided and Attacked</td>
|
||||
<td><?php if(ADMIN_ALLOW_INCOMING_RAIDS == true){ echo "<b><font color='Green'>Yes</font></b>"; } else if(ADMIN_ALLOW_INCOMING_RAIDS == false){ echo "<b><font color='Red'>No</font></b>"; } ?></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
|
||||
@@ -41,6 +41,7 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Include Support Messages in Admin Mailbox:</td>
|
||||
<td>
|
||||
<select name="admin_support_msgs">
|
||||
@@ -49,6 +50,15 @@ if($_SESSION['access'] < 9) die(ACCESS_DENIED_ADMIN);
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Allow Administrative Accounts to be Raided and Attacked:</td>
|
||||
<td>
|
||||
<select name="admin_raidable">
|
||||
<option value="True" <?php if (ADMIN_ALLOW_INCOMING_RAIDS==true) echo "selected";?>>True</option>
|
||||
<option value="False" <?php if (ADMIN_ALLOW_INCOMING_RAIDS==false) echo "selected";?>>False</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
Reference in New Issue
Block a user