more updates

This commit is contained in:
unknown
2012-06-24 16:21:41 +03:00
parent 4a62e1820b
commit 1ab732f22f
10 changed files with 46 additions and 33 deletions
+5 -5
View File
@@ -20,7 +20,7 @@
<th></th>
<th>Subject</th>
<th>Recipient</th>
<th class="sent"><a href="nachrichten.php?s=0&amp;t=2&amp;o=1">Sent</a></th>
<th class="sent"><a href="nachrichten.php?t=2&s=0&amp;t=2&amp;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 "&laquo;&raquo;";
}
else if (!isset($_GET['s']) && count($message->sent1) > 10) {
echo "&laquo;<a href=\"?s=10&o=0\">&raquo;</a>";
echo "&laquo;<a href=\"?t=2&s=10&o=0\">&raquo;</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\">&laquo;</a><a href=\"?s=".($_GET['s']+10)."&o=0\">&raquo;</a>";
echo "<a href=\"?t=2&s=".($_GET['s']-10)."&o=0\">&laquo;</a><a href=\"?t=2&s=".($_GET['s']+10)."&o=0\">&raquo;</a>";
}
else if(count($message->sent1) > $_GET['s']+10) {
echo "&laquo;<a href=\"?s=".($_GET['s']+10)."&o=0\">&raquo;</a>";
echo "&laquo;<a href=\"?t=2&s=".($_GET['s']+10)."&o=0\">&raquo;</a>";
}
else {
echo "<a href=\"?s=".($_GET['s']-10)."&o=0\">&laquo;</a>&raquo;";
echo "<a href=\"?t=2&s=".($_GET['s']-10)."&o=0\">&laquo;</a>&raquo;";
}
}
?></th></tr></tfoot>
-4
View File
@@ -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>
-4
View File
@@ -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>
-4
View File
@@ -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>
-4
View File
@@ -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>
-4
View File
@@ -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>