From d247e5fa2798c0cb1756b6da4b2f1126218e528c Mon Sep 17 00:00:00 2001 From: Martin Ambrus Date: Sun, 26 Nov 2017 17:52:21 +0100 Subject: [PATCH] chore: version change and some forgotten files :P --- README.md | 2 +- Templates/Message/inbox.tpl | 10 +++++----- Templates/footer.tpl | 2 +- src/Utils/Math.php | 8 ++++---- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 1bb0d3aa..7f3355e0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Code Triagers Badge](https://www.codetriage.com/shadowss/travianz/badges/users.svg)](https://www.codetriage.com/shadowss/travianz) [![Join the chat at https://gitter.im/TravianZ-V8/Lobby](https://badges.gitter.im/TravianZ-V8/Lobby.svg)](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 diff --git a/Templates/Message/inbox.tpl b/Templates/Message/inbox.tpl index 48d0e44d..9dfa2a7b 100644 --- a/Templates/Message/inbox.tpl +++ b/Templates/Message/inbox.tpl @@ -8,7 +8,7 @@ Subject Sender - Sent + Sent uid."'") or die(mysqli_error($database->dblink)); @@ -28,17 +28,17 @@ echo "«»"; } else if (!isset($_GET['s']) && count($message->inbox1) > 10) { - echo "«»"; + echo "«»"; } 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 "«»"; + echo "«»"; } else if(count($message->inbox1) > $_GET['s']+10) { - echo "«»"; + echo "«»"; } else { - echo "«»"; + echo "«»"; } } ?> diff --git a/Templates/footer.tpl b/Templates/footer.tpl index 9b048ae6..46cf3349 100644 --- a/Templates/footer.tpl +++ b/Templates/footer.tpl @@ -22,7 +22,7 @@ diff --git a/src/Utils/Math.php b/src/Utils/Math.php index 8310fb34..33f127cf 100644 --- a/src/Utils/Math.php +++ b/src/Utils/Math.php @@ -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); }