mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-02 18:44:21 +00:00
chore: version change and some forgotten files :P
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[](https://www.codetriage.com/shadowss/travianz) [](https://gitter.im/TravianZ-V8/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||
|
||||
TravianZ Version v.8.3.3 BETA b2
|
||||
TravianZ Version v.8.3.3 BETA b3
|
||||
|
||||
Download and updates : https://github.com/Shadowss/TravianZ
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<tr>
|
||||
<th colspan="2">Subject</th>
|
||||
<th>Sender</th>
|
||||
<th class="sent"><a href="nachrichten.php?o=1">Sent</a></th>
|
||||
<th class="sent">Sent</th>
|
||||
</tr></thead><tfoot><tr><th>
|
||||
<?php
|
||||
$MyGold = mysqli_query($GLOBALS['link'],"SELECT plus FROM ".TB_PREFIX."users WHERE `id`='".(int) $session->uid."'") or die(mysqli_error($database->dblink));
|
||||
@@ -28,17 +28,17 @@
|
||||
echo "«»";
|
||||
}
|
||||
else if (!isset($_GET['s']) && count($message->inbox1) > 10) {
|
||||
echo "«<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=10&o=".(!empty($_GET['o']) ? $_GET['o'] : 0)."\">»</a>";
|
||||
echo "«<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=10&o=".(!empty($_GET['o']) )."\">»</a>";
|
||||
}
|
||||
else if(isset($_GET['s']) && count($message->inbox1) > $_GET['s']) {
|
||||
if(count($message->inbox1) > ($_GET['s']+10) && $_GET['s']-10 < count($message->inbox1) && $_GET['s'] != 0) {
|
||||
echo "<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']-10)."&o=".(!empty($_GET['o']) ? $_GET['o'] : 0)."\">«</a><a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']+10)."&o=".(!empty($_GET['o']) ? $_GET['o'] : 0)."\">»</a>";
|
||||
echo "<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']-10)."&o=0\">«</a><a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']+10)."&o=0\">»</a>";
|
||||
}
|
||||
else if(count($message->inbox1) > $_GET['s']+10) {
|
||||
echo "«<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']+10)."&o=".(!empty($_GET['o']) ? $_GET['o'] : 0)."\">»</a>";
|
||||
echo "«<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']+10)."&o=0\">»</a>";
|
||||
}
|
||||
else {
|
||||
echo "<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']-10)."&o=".(!empty($_GET['o']) ? $_GET['o'] : 0)."\">«</a>»";
|
||||
echo "<a href=\"?".(!empty($_GET['t']) ? 't='.$_GET['t'].'&' : '')."s=".($_GET['s']-10)."&o=0\">«</a>»";
|
||||
}
|
||||
}
|
||||
?></th></tr></tfoot><tbody>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class="footer-menu">
|
||||
<center><br />
|
||||
<div class="copyright">© 2010 - <?php echo date('Y') . ' ' . (defined('SERVER_NAME') ? SERVER_NAME : 'TravianZ');?> All rights reserved</div>
|
||||
<div class="copyright">Server running on: <a href="version.php"><b><font color="Red">v.8.3.3 BETA b2</font></b></a>
|
||||
<div class="copyright">Server running on: <a href="version.php"><b><font color="Red">v.8.3.3 BETA b3</font></b></a>
|
||||
</div>
|
||||
</div>
|
||||
</div></center>
|
||||
|
||||
+4
-4
@@ -15,18 +15,18 @@
|
||||
namespace App\Utils;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* Mathematics-related helpers.
|
||||
*
|
||||
*
|
||||
* @author martinambrus
|
||||
*
|
||||
*/
|
||||
class Math {
|
||||
|
||||
|
||||
public static function isInt($val) {
|
||||
return (is_numeric($val) && intval($val) === $val);
|
||||
}
|
||||
|
||||
|
||||
public static function isFloat($val) {
|
||||
return (is_numeric($val) && floatval($val) === $val);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user