mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-24 12:07:15 +00:00
more updates
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<th></th>
|
||||
<th>Subject</th>
|
||||
<th>Recipient</th>
|
||||
<th class="sent"><a href="nachrichten.php?s=0&t=2&o=1">Sent</a></th>
|
||||
<th class="sent"><a href="nachrichten.php?t=2&s=0&t=2&o=1">Sent</a></th>
|
||||
</tr></thead><tfoot><tr><th><?php
|
||||
$MyGold = mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE `username`='".$session->username."'") or die(mysql_error());
|
||||
$golds = mysql_fetch_array($MyGold);
|
||||
@@ -34,17 +34,17 @@
|
||||
echo "«»";
|
||||
}
|
||||
else if (!isset($_GET['s']) && count($message->sent1) > 10) {
|
||||
echo "«<a href=\"?s=10&o=0\">»</a>";
|
||||
echo "«<a href=\"?t=2&s=10&o=0\">»</a>";
|
||||
}
|
||||
else if(isset($_GET['s']) && count($message->sent1) > $_GET['s']) {
|
||||
if(count($message->sent1) > ($_GET['s']+10) && $_GET['s']-10 < count($message->sent1) && $_GET['s'] != 0) {
|
||||
echo "<a href=\"?s=".($_GET['s']-10)."&o=0\">«</a><a href=\"?s=".($_GET['s']+10)."&o=0\">»</a>";
|
||||
echo "<a href=\"?t=2&s=".($_GET['s']-10)."&o=0\">«</a><a href=\"?t=2&s=".($_GET['s']+10)."&o=0\">»</a>";
|
||||
}
|
||||
else if(count($message->sent1) > $_GET['s']+10) {
|
||||
echo "«<a href=\"?s=".($_GET['s']+10)."&o=0\">»</a>";
|
||||
echo "«<a href=\"?t=2&s=".($_GET['s']+10)."&o=0\">»</a>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"?s=".($_GET['s']-10)."&o=0\">«</a>»";
|
||||
echo "<a href=\"?t=2&s=".($_GET['s']-10)."&o=0\">«</a>»";
|
||||
}
|
||||
}
|
||||
?></th></tr></tfoot>
|
||||
|
||||
@@ -78,7 +78,6 @@ $end = ($tribe*10);
|
||||
?>
|
||||
|
||||
<h1><?php echo $actionType." to ".$process[1]; ?></h1>
|
||||
<?php if($session->access != BANNED){ ?>
|
||||
<form method="post" action="a2b.php">
|
||||
|
||||
<table id="short_info" cellpadding="1" cellspacing="1">
|
||||
@@ -434,7 +433,4 @@ class="dynamic_img " src="img/x.gif" alt="OK" type="image" onclick="if (this.dis
|
||||
|
||||
<?php } ?>
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
else{header("Location: banned.php");}?>
|
||||
</div>
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
if($session->access != BANNED){
|
||||
$to = $database->getVillage($enforce['from']);
|
||||
$fromcoor = $database->getCoor($enforce['from']);
|
||||
$tocoor = $database->getCoor($enforce['vref']);
|
||||
@@ -178,7 +177,4 @@ $tocoor = $database->getCoor($enforce['vref']);
|
||||
<p class="btn"><input value="ok" name="s1" id="btn_ok" class="dynamic_img " src="img/x.gif" alt="OK" type="image" onclick="if (this.disabled==false) {document.getElementsByTagName('form')[0].submit();} this.disabled=true;" onLoad="this.disabled=false;"></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
else{header("Location: banned.php");}?>
|
||||
</div>
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
if($session->access != BANNED){
|
||||
$to = $database->getVillage($enforce['from']);
|
||||
$fromcoor = $database->getCoor($enforce['from']);
|
||||
$tocoor = $database->getCoor($enforce['vref']);
|
||||
@@ -179,7 +178,4 @@ $tocoor = $database->getCoor($enforce['vref']);
|
||||
<p class="btn"><input value="ok" name="s1" id="btn_ok" class="dynamic_img " src="img/x.gif" alt="OK" type="image" onclick="if (this.disabled==false) {document.getElementsByTagName('form')[0].submit();} this.disabled=true;" onLoad="this.disabled=false;"></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
else{header("Location: banned.php");}?>
|
||||
</div>
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
if($session->access != BANNED){
|
||||
$to = $database->getVillage($enforce['from']);
|
||||
$fromcoor = $database->getCoor($enforce['from']);
|
||||
$tocoor = $database->getCoor($enforce['vref']);
|
||||
@@ -178,7 +177,4 @@ $tocoor = $database->getCoor($enforce['vref']);
|
||||
<p class="btn"><input value="ok" name="s1" id="btn_ok" class="dynamic_img " src="img/x.gif" alt="OK" type="image" onclick="if (this.disabled==false) {document.getElementsByTagName('form')[0].submit();} this.disabled=true;" onLoad="this.disabled=false;"></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
else{header("Location: banned.php");}?>
|
||||
</div>
|
||||
@@ -1,5 +1,4 @@
|
||||
<?php
|
||||
if($session->access != BANNED){
|
||||
$to = $database->getVillage($enforce['from']);
|
||||
$fromcoor = $database->getCoor($enforce['from']);
|
||||
$tocoor = $database->getCoor($enforce['vref']);
|
||||
@@ -179,7 +178,4 @@ $tocoor = $database->getCoor($enforce['vref']);
|
||||
<p class="btn"><input value="ok" name="s1" id="btn_ok" class="dynamic_img " src="img/x.gif" alt="OK" type="image" onclick="if (this.disabled==false) {document.getElementsByTagName('form')[0].submit();} this.disabled=true;" onLoad="this.disabled=false;"></p>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
}
|
||||
else{header("Location: banned.php");}?>
|
||||
</div>
|
||||
Reference in New Issue
Block a user