mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-03 17:07:17 +00:00
A little forgetfulness
This commit is contained in:
@@ -17,9 +17,6 @@ if(mysqli_num_rows($MyGold)){
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<table class="plusFunctions" cellpadding="1" cellspacing="1">
|
<table class="plusFunctions" cellpadding="1" cellspacing="1">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -56,7 +53,7 @@ $date2 = strtotime("NOW");
|
|||||||
|
|
||||||
if ($datetimep == 0) echo "get PLUS<br>";
|
if ($datetimep == 0) echo "get PLUS<br>";
|
||||||
else
|
else
|
||||||
|
{
|
||||||
if ($datetimep <= $date2) {
|
if ($datetimep <= $date2) {
|
||||||
print "Your PLUS advantage has ended.<br>";
|
print "Your PLUS advantage has ended.<br>";
|
||||||
mysqli_query($database->dblink,"UPDATE ".TB_PREFIX."users set plus = '0' where `id`='".$session->uid."'") or die(mysqli_error($database->dblink));
|
mysqli_query($database->dblink,"UPDATE ".TB_PREFIX."users set plus = '0' where `id`='".$session->uid."'") or die(mysqli_error($database->dblink));
|
||||||
@@ -100,6 +97,7 @@ if (mysqli_num_rows($MyGold)) {
|
|||||||
|
|
||||||
} else {
|
} else {
|
||||||
echo '<a href="plus.php?s=1"><span class="none">too little gold';}
|
echo '<a href="plus.php?s=1"><span class="none">too little gold';}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</span></a></td>
|
</span></a></td>
|
||||||
@@ -339,7 +337,7 @@ echo "<b> ".($holdmr4). "</b> mins</font>";
|
|||||||
echo ''.(PLUS_PRODUCTION/3600).' Hours';
|
echo ''.(PLUS_PRODUCTION/3600).' Hours';
|
||||||
} ?></td>
|
} ?></td>
|
||||||
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />5</td>
|
<td class="cost"><img src="img/x.gif" class="gold" alt="Gold" title="Gold" />5</td>
|
||||||
<td <span class="none">
|
<td> <span class="none">
|
||||||
<?php
|
<?php
|
||||||
if ($session->access != BANNED){
|
if ($session->access != BANNED){
|
||||||
if (mysqli_num_rows($MyGold)) {
|
if (mysqli_num_rows($MyGold)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user