@velhbxtyrj updates

This commit is contained in:
Shadow
2018-08-02 13:31:18 +03:00
parent 81dcd16e3d
commit cec37642c4
12 changed files with 38 additions and 19 deletions
+3 -2
View File
@@ -18,8 +18,9 @@ if(isset($id))
<input type="hidden" name="admid" id="admid" value="<?php echo $_SESSION['id']; ?>">
<input type="hidden" name="uid" value="<?php echo $uid; ?>" />
<input type="hidden" name="id" value="<?php echo $id; ?>" />
<br /><br />
<br>
<p>Adding the value in days it is delivered to the already existing value. In order to remove the bonus it is necessary to put a minus value.</p>
<br>
<table id="profile">
<tbody>
<td class="details">
+1 -1
View File
@@ -27,6 +27,6 @@
<?php
if(isset($_GET['g']))
{
echo '<font color="red">All Players Gold Reset</font>';
echo '<br><br><font color="red"><b>All Players Gold Reset</b></font>';
}
?>
+2 -2
View File
@@ -14,7 +14,7 @@
<table id="member" cellpadding="1" cellspacing="1" >
<thead>
<tr>
<th colspan="2">Reset All Players Resource Bonus</th>
<th colspan="2">Reset All Players Plus Bonus</th>
</tr>
</thead>
<tbody>
@@ -27,6 +27,6 @@
<?php
if(isset($_GET['g']))
{
echo '<font color="red">All Players Plus Reset</font>';
echo '<br><br><font color="red"><b>All Players Plus Bonus Reset</b></font>';
}
?>
@@ -14,7 +14,7 @@
<table id="member" cellpadding="1" cellspacing="1" >
<thead>
<tr>
<th colspan="2">Reset All Players Plus</th>
<th colspan="2">Reset All Players Resource Bonus</th>
</tr>
</thead>
<tbody>
@@ -27,6 +27,6 @@
<?php
if(isset($_GET['g']))
{
echo '<font color="red">All Players Plus Resource Bonus Reset</font>';
echo '<br><br><font color="red"><b>All Players Resource Bonus Reset</b></font>';
}
?>
+1 -1
View File
@@ -230,7 +230,7 @@
</tr>
<tr>
<td colspan="2"><a href="?p=editPlus&uid=<?php echo $user['id']; ?>">&raquo; Edit Plus & Bonus</a></td>
<td colspan="2"><a href="?p=editPlus&uid=<?php echo $user['id']; ?>">&raquo; Edit Plus & Res Bonus</a></td>
</tr>
<tr>
+4 -8
View File
@@ -61,8 +61,8 @@ if (!empty($_GET['p'])) {
$subpage = 'Map';
break;
case 'artifacts':
$subpage = 'Artifacts';
case 'natars':
$subpage = 'Natars Management';
break;
case 'search':
@@ -506,7 +506,7 @@ if (!empty($_GET['p'])) {
<li><a href="?p=report">Players Report</a></li>
<li><a href="?p=msg">Players Message</a></li>
<li><a href="?p=map">Map</a></li>
<li><a href="?p=artifacts">Artifacts</a></li>
<li><a href="?p=natars">Natars Management</a></li>
</ul>
</li>
<li class="sub"><a href="#">Search</a>
@@ -536,14 +536,10 @@ if (!empty($_GET['p'])) {
<li><a href="?p=maintenenceResetGold">Reset Gold</a></li>
</ul>
</li>
<li class="sub"><a href="#">Plus</a>
<li class="sub"><a href="#">Plus & Res Bonus</a>
<ul>
<li><a href="?p=givePlus">Give All Plus</a></li>
<li><a href="?p=maintenenceResetPlus">Reset Plus</a></li>
</ul>
</li>
<li class="sub"><a href="#">Res Bonus</a>
<ul>
<li><a href="?p=givePlusRes">Give All Res Bonus</a></li>
<li><a href="?p=maintenenceResetPlusBonus">Reset Res Bonus</a></li>
</ul>
@@ -34,5 +34,5 @@ if($sessionaccess != 9) die("<h1><font color=\"red\">Access Denied: You are not
mysqli_query($GLOBALS["link"], "UPDATE ".TB_PREFIX."users SET plus = '0' WHERE id !=0");
header("Location: ../../../Admin/admin.php?p=resetPlusBonus&g");
header("Location: ../../../Admin/admin.php?p=maintenenceResetPlus&g");
?>
+6
View File
@@ -99,6 +99,12 @@ if($displayarray['username'] == "Taskmaster"){
$profiel = preg_replace("/\[#TASKMASTER]/is",'<img src="'.$gpack.'img/t/taskmaster.png" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Taskmaster Account</td></tr></table>\')">', $profiel, 1);
}
//veteran & veteran_5a IMAGES
$profiel = preg_replace("/\[#g2300]/is",'<img src="'.$gpack.'img/t/Veteran_Medal.jpg" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Veteran Player<br><br>Medal achieved for playing 3 years of Travian.</td></tr></table>\')">', $profiel, 1);
$profiel = preg_replace("/\[#g2301]/is",'<img src="'.$gpack.'img/t/5year_medal.png" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>Veteran Player 5a<br><br>Medal achieved for playing 5 years of Travian.</td></tr></table>\')">', $profiel, 1);
//de lintjes
/******************************
INDELING CATEGORIEEN:
+6 -1
View File
@@ -4,6 +4,11 @@
| <span class=none><b>Preferences</b></span>
| <span class=none><b>Account</b></span>
<?php
if(NEW_FUNCTIONS_VACATION){
?>
| <span class=none><b>Vacation</b></span>
<?php
}
if(GP_ENABLE) {
?>
| <span class=none><b>Graphic pack</b></span>
@@ -11,4 +16,4 @@
}
?>
</div>
</div>
+12 -1
View File
@@ -166,6 +166,18 @@ MEDAL CATEGORY:
<td></td>
<td>[#0]</td>
</tr>
<tr>
<td>veteran</td>
<td></td>
<td></td>
<td>[#g2300]</td>
</tr>
<tr>
<td>veteran_5a</td>
<td></td>
<td></td>
<td>[#g2301]</td>
</tr>
<?php
// Added by Shadow - cata7007@gmail.com / Skype : cata7007
if(NEW_FUNCTIONS_TRIBE_IMAGES){
@@ -199,4 +211,3 @@ MEDAL CATEGORY:
<p class="btn"><input type="image" value="" tabindex="9" name="s1" id="btn_ok" class="dynamic_img" src="img/x.gif" alt="OK" /></p>
</form>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB