From 8901c36c06dcc234470638176c65a01feb05205d Mon Sep 17 00:00:00 2001 From: Catalin Novgorodschi <1140613+Shadowss@users.noreply.github.com> Date: Thu, 7 May 2026 08:24:40 +0300 Subject: [PATCH] Incremental Refactor Templates 2 Incremental Refactor Templates 2 --- GameEngine/Data/index.php | 34 +- GameEngine/Game/index.php | 34 +- GameEngine/Lang/index.php | 34 +- GameEngine/Notes/index.php | 38 +- GameEngine/Prevention/index.php | 38 +- GameEngine/index.php | 34 +- Security/index.php | 39 +- Templates/Ajax/index.php | 38 +- Templates/Alliance/Forum/index.php | 38 +- Templates/Alliance/index.php | 38 +- Templates/Anleitung/index.php | 38 +- Templates/Build/avaliable/index.php | 37 + Templates/Build/index.php | 38 +- Templates/Build/soon/index.php | 37 + Templates/Manual/index.php | 38 +- Templates/Map/index.php | 38 +- Templates/Message/index.php | 38 +- Templates/News/home/index.php | 38 +- Templates/News/index.php | 34 +- Templates/Notice/index.php | 38 +- Templates/Plus/index.php | 38 +- Templates/Profile/index.php | 34 +- Templates/Ranking/alliance.tpl | 156 +++- Templates/Ranking/alliance_attack.tpl | 149 +++- Templates/Ranking/alliance_defend.tpl | 156 +++- Templates/Ranking/ally_top10.tpl | 20 +- Templates/Ranking/general.tpl | 743 +++++++----------- Templates/Ranking/heroes.tpl | 174 ++-- Templates/Ranking/index.php | 34 +- Templates/Ranking/overview.tpl | 213 +++-- Templates/Ranking/player_1.tpl | 182 +++-- Templates/Ranking/player_2.tpl | 182 +++-- Templates/Ranking/player_3.tpl | 181 +++-- Templates/Ranking/player_attack.tpl | 169 ++-- Templates/Ranking/player_defend.tpl | 169 ++-- Templates/Ranking/player_top10.tpl | 19 +- Templates/Ranking/ranksearch.tpl | 15 + Templates/Ranking/villages.tpl | 163 ++-- Templates/Ranking/ww.tpl | 193 +++-- Templates/Simulator/index.php | 38 +- Templates/Tutorial/index.php | 34 +- Templates/a2b/index.php | 38 +- Templates/activate/index.php | 38 +- Templates/dorf3/index.php | 38 +- Templates/goldClub/index.php | 38 +- Templates/index.php | 36 +- gpack/index.php | 38 +- gpack/travian_default/index.php | 38 +- img/index.php | 38 +- img/un/a/index.php | 38 +- img/un/g/index.php | 38 +- img/un/h/index.php | 38 +- img/un/index.php | 38 +- img/un/l/index.php | 38 +- img/un/res/index.php | 38 +- img/un/s/index.php | 38 +- img/un/u/index.php | 38 +- notification/gpack/index.php | 38 +- .../notification_v1_zzjhons/img/index.php | 38 +- .../img/layout/index.php | 38 +- .../img/round/bg/index.php | 38 +- .../img/round/boxes/gray/index.php | 38 +- .../img/round/boxes/green/index.php | 38 +- .../img/round/boxes/index.php | 38 +- .../img/round/boxes/lightGreen/index.php | 38 +- .../img/round/boxes/orange/index.php | 38 +- .../img/round/boxes/red/index.php | 38 +- .../img/round/button/disabled/index.php | 37 + .../img/round/button/gray-small/index.php | 37 + .../img/round/button/gray/index.php | 37 + .../img/round/button/green-small/index.php | 37 + .../img/round/button/green/index.php | 37 + .../img/round/button/index.php | 38 +- .../img/round/button/orange/index.php | 37 + .../img/round/dialog/index.php | 38 +- .../img/round/index.php | 38 +- .../img/round/tips/index.php | 38 +- .../img/screens/index.php | 38 +- .../gpack/notification_v1_zzjhons/index.php | 38 +- .../lang/en/b/index.php | 38 +- .../lang/en/f/index.php | 38 +- .../notification_v1_zzjhons/lang/en/index.php | 38 +- .../lang/en/p/index.php | 38 +- .../notification_v1_zzjhons/lang/index.php | 38 +- notification/img/index.php | 38 +- notification/lang/index.php | 38 +- src/Database/index.php | 38 +- src/Entity/index.php | 38 +- src/Game/index.php | 37 + src/Utils/index.php | 38 +- src/index.php | 38 +- tools/index.php | 38 +- var/db/index.php | 38 +- var/index.php | 38 +- var/log/index.php | 38 +- 95 files changed, 4095 insertions(+), 1749 deletions(-) create mode 100644 Templates/Build/avaliable/index.php create mode 100644 Templates/Build/soon/index.php create mode 100644 notification/gpack/notification_v1_zzjhons/img/round/button/disabled/index.php create mode 100644 notification/gpack/notification_v1_zzjhons/img/round/button/gray-small/index.php create mode 100644 notification/gpack/notification_v1_zzjhons/img/round/button/gray/index.php create mode 100644 notification/gpack/notification_v1_zzjhons/img/round/button/green-small/index.php create mode 100644 notification/gpack/notification_v1_zzjhons/img/round/button/green/index.php create mode 100644 notification/gpack/notification_v1_zzjhons/img/round/button/orange/index.php create mode 100644 src/Game/index.php diff --git a/GameEngine/Data/index.php b/GameEngine/Data/index.php index a81240cd..9fcb4aed 100755 --- a/GameEngine/Data/index.php +++ b/GameEngine/Data/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/GameEngine/Game/index.php b/GameEngine/Game/index.php index a81240cd..9fcb4aed 100755 --- a/GameEngine/Game/index.php +++ b/GameEngine/Game/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/GameEngine/Lang/index.php b/GameEngine/Lang/index.php index a81240cd..9fcb4aed 100755 --- a/GameEngine/Lang/index.php +++ b/GameEngine/Lang/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/GameEngine/Notes/index.php b/GameEngine/Notes/index.php index 98297c7a..9fcb4aed 100755 --- a/GameEngine/Notes/index.php +++ b/GameEngine/Notes/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/GameEngine/Prevention/index.php b/GameEngine/Prevention/index.php index 98297c7a..9fcb4aed 100755 --- a/GameEngine/Prevention/index.php +++ b/GameEngine/Prevention/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/GameEngine/index.php b/GameEngine/index.php index a81240cd..9fcb4aed 100755 --- a/GameEngine/index.php +++ b/GameEngine/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Security/index.php b/Security/index.php index b5bb52b8..9fcb4aed 100644 --- a/Security/index.php +++ b/Security/index.php @@ -1,4 +1,37 @@ \ No newline at end of file +################################################################################# +## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## --------------------------------------------------------------------------- ## +## Filename index.php ## +## Developed by: aggenkeech ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## +################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); +?> + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/Templates/Ajax/index.php b/Templates/Ajax/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Ajax/index.php +++ b/Templates/Ajax/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Alliance/Forum/index.php b/Templates/Alliance/Forum/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Alliance/Forum/index.php +++ b/Templates/Alliance/Forum/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Alliance/index.php b/Templates/Alliance/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Alliance/index.php +++ b/Templates/Alliance/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Anleitung/index.php b/Templates/Anleitung/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Anleitung/index.php +++ b/Templates/Anleitung/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Build/avaliable/index.php b/Templates/Build/avaliable/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/Templates/Build/avaliable/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/Templates/Build/index.php b/Templates/Build/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Build/index.php +++ b/Templates/Build/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Build/soon/index.php b/Templates/Build/soon/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/Templates/Build/soon/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/Templates/Manual/index.php b/Templates/Manual/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Manual/index.php +++ b/Templates/Manual/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Map/index.php b/Templates/Map/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Map/index.php +++ b/Templates/Map/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Message/index.php b/Templates/Message/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Message/index.php +++ b/Templates/Message/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/News/home/index.php b/Templates/News/home/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/News/home/index.php +++ b/Templates/News/home/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/News/index.php b/Templates/News/index.php index a81240cd..9fcb4aed 100644 --- a/Templates/News/index.php +++ b/Templates/News/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Notice/index.php b/Templates/Notice/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Notice/index.php +++ b/Templates/Notice/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Plus/index.php b/Templates/Plus/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Plus/index.php +++ b/Templates/Plus/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Profile/index.php b/Templates/Profile/index.php index d4c975bf..9fcb4aed 100644 --- a/Templates/Profile/index.php +++ b/Templates/Profile/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Ranking/alliance.tpl b/Templates/Ranking/alliance.tpl index 610f81e6..bcde4ccf 100644 --- a/Templates/Ranking/alliance.tpl +++ b/Templates/Ranking/alliance.tpl @@ -1,53 +1,133 @@ -

The alliance "" does not exist.

+
+ +

+ The alliance "" does not exist. +

+
+
+ - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - - while($_GET['rank'] > (20*$multiplier)) $multiplier++; + + + + + + + + + + + + - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); + + getRank() : array(); - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - } + // Dacă există rank în GET, îl validăm + if (isset($_GET['rank']) && is_numeric($_GET['rank'])) { + $rank = (int)$_GET['rank']; + $multiplier = 1; + $totalRanks = count($rankArray); + + // Limitare la dimensiunea array-ului + if ($rank > $totalRanks) { + $rank = $totalRanks - 1; + } + + // Calcul paginare (pastrat logic original) + while ($rank > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + } + + // Afișare rezultate + if (!empty($rankArray) && count($rankArray) > 1) { + + for ($i = $start; $i < $start + 20; $i++) { + + // Validare element existent + if (isset($rankArray[$i]) && $rankArray[$i] !== "pad" && isset($rankArray[$i]['name'])) { + + // Highlight pentru căutare + $rowClass = ($i === $search) ? 'hl' : ''; + + echo ''; + echo ''; + + // Alliance link (XSS safe) + echo ''; + + // Players + echo ''; + + // Average + echo ''; + + // Total population + echo ''; + + echo ''; } } - else echo ""; - ?> - + + } else { + echo ''; + } + ?> +
- The largest alliances -
AlliancePlayerØPoints
+ The largest alliances + +
AlliancePlayerØPoints
"; - else echo "
"; + // Start implicit sigur + $start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1; - echo $i.".".$rankArray[$i]['tag'].""; - echo $rankArray[$i]['players']."".$rankArray[$i]['avg']."".$rankArray[$i]['totalpop']."
' . $i . '.'; + echo ''; + echo htmlspecialchars($rankArray[$i]['tag'], ENT_QUOTES, 'UTF-8'); + echo '' . (int)$rankArray[$i]['players'] . '' . (int)$rankArray[$i]['avg'] . '' . (int)$rankArray[$i]['totalpop'] . '
No alliances found
No alliances found
+ \ No newline at end of file diff --git a/Templates/Ranking/alliance_attack.tpl b/Templates/Ranking/alliance_attack.tpl index f99f46b8..aefc3407 100644 --- a/Templates/Ranking/alliance_attack.tpl +++ b/Templates/Ranking/alliance_attack.tpl @@ -1,53 +1,126 @@ -

The alliance "" does not exist.

+
+ +

+ The alliance "" does not exist. +

+
+
+ - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - - while($_GET['rank'] > (20*$multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; + + + + + + + + + + + + + + getRank() : array(); + + if(isset($_GET['rank'])){ + $multiplier = 1; + + if(is_numeric($_GET['rank'])) { + + if($_GET['rank'] > count($rankArray)) { + $_GET['rank'] = count($rankArray) - 1; } - else $start = ($_SESSION['start'] + 1); + + while($_GET['rank'] > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; + } + + if(count($rankArray) > 1) { + + for($i = $start; $i < $start + 20; $i++) { + + if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") { + + if($i == $search) { + echo ''; + + echo ''; + + echo ''; + + // Offensive points (Aap) + echo ''; + + echo ''; } } - else echo ""; - ?> - + + } else { + echo ''; + } + ?> +
- The best alliances (off) -
AlliancePlayerPoints
+ The best alliances (off) + +
AlliancePlayerPoints
"; - else echo "
"; - - echo $i.".".$rankArray[$i]['tag'].""; - echo $rankArray[$i]['players']."".$rankArray[$i]['Aap']."
'; + } else { + echo '
'; } + + echo $i . '.'; + echo ''; + echo htmlspecialchars($rankArray[$i]['tag'], ENT_QUOTES, 'UTF-8'); + echo '' . (int)$rankArray[$i]['players'] . '' . (int)$rankArray[$i]['Aap'] . '
No alliances found
No alliances found
+ +?> \ No newline at end of file diff --git a/Templates/Ranking/alliance_defend.tpl b/Templates/Ranking/alliance_defend.tpl index c198b215..c65bacd2 100644 --- a/Templates/Ranking/alliance_defend.tpl +++ b/Templates/Ranking/alliance_defend.tpl @@ -1,53 +1,125 @@ -

The alliance "" does not exist.

+
+ +

+ The alliance "" does not exist. +

+
+
+ - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - - while($_GET['rank'] > (20*$multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); + + + + + + + + + + + + + + getRank() : array(); + + // Start implicit + $start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1; + + // Validare rank GET + if (isset($_GET['rank']) && is_numeric($_GET['rank'])) { + $rank = (int)$_GET['rank']; + $multiplier = 1; + $totalRanks = count($rankArray); + + if ($rank > $totalRanks) { + $rank = $totalRanks - 1; } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - } + + while ($rank > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + } + + // Afișare tabel + if (!empty($rankArray) && count($rankArray) > 1) { + + for ($i = $start; $i < $start + 20; $i++) { + + if (isset($rankArray[$i]) && $rankArray[$i] !== "pad" && isset($rankArray[$i]['name'])) { + + // Highlight search + $rowClass = ($i === $search) ? 'hl' : ''; + + echo ''; + echo ''; + + // Alliance + echo ''; + + // Players + echo ''; + + // Defensive points (Adp) + echo ''; + + echo ''; } } - else echo ""; - ?> - + + } else { + echo ''; + } + ?> +
- The best alliances (def) -
AlliancePlayerPoints
+ The best alliances (def) + +
AlliancePlayerPoints
"; - else echo "
"; - - echo $i.".".$rankArray[$i]['tag'].""; - echo $rankArray[$i]['players']."".$rankArray[$i]['Adp']."
' . $i . '.'; + echo ''; + echo htmlspecialchars($rankArray[$i]['tag'], ENT_QUOTES, 'UTF-8'); + echo '' . (int)$rankArray[$i]['players'] . '' . (int)$rankArray[$i]['Adp'] . '
No alliances found
No alliances found
+ +// Include fallback safe + include("ranksearch.tpl"); +?> \ No newline at end of file diff --git a/Templates/Ranking/ally_top10.tpl b/Templates/Ranking/ally_top10.tpl index 289fad75..e9286db2 100644 --- a/Templates/Ranking/ally_top10.tpl +++ b/Templates/Ranking/ally_top10.tpl @@ -1,4 +1,20 @@ - - Top 10 Alliances + Top 10 Alliances diff --git a/Templates/Ranking/general.tpl b/Templates/Ranking/general.tpl index 3d93e51a..11ca3ed7 100644 --- a/Templates/Ranking/general.tpl +++ b/Templates/Ranking/general.tpl @@ -1,485 +1,288 @@ dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 1"), MYSQLI_ASSOC); - $tribe2 = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 2"), MYSQLI_ASSOC); - $tribe3 = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 3"), MYSQLI_ASSOC); - $tribes = [$tribe1['Total'], $tribe2['Total'], $tribe3['Total']]; - $users = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM " . TB_PREFIX . "users WHERE tribe > 0 AND tribe < 4"), MYSQLI_ASSOC); - $users = $users['Total']; + +// ========================= +// TRIBES COUNT (optimized) +// ========================= +$tribesRes = mysqli_query( + $database->dblink, + "SELECT tribe, COUNT(*) AS Total + FROM ".TB_PREFIX."users + WHERE tribe BETWEEN 1 AND 3 + GROUP BY tribe" +); + +$tribes = [0, 0, 0]; + +if ($tribesRes) { + while ($row = mysqli_fetch_assoc($tribesRes)) { + $tribeId = (int)$row['tribe'] - 1; + if (isset($tribes[$tribeId])) { + $tribes[$tribeId] = (int)$row['Total']; + } + } +} + +// total users +$userRes = mysqli_query( + $database->dblink, + "SELECT COUNT(*) AS Total + FROM ".TB_PREFIX."users + WHERE tribe BETWEEN 1 AND 3" +); + +$users = ($userRes) ? (int)mysqli_fetch_assoc($userRes)['Total'] : 0; + + +// ========================= +// VILLAGES + POPULATION +// ========================= +$villageRes = mysqli_query($database->dblink, "SELECT COUNT(*) AS Total FROM ".TB_PREFIX."vdata"); +$num_villages = ($villageRes) ? (int)mysqli_fetch_assoc($villageRes)['Total'] : 0; + +$popRes = mysqli_query($database->dblink, "SELECT SUM(pop) AS totalpop FROM ".TB_PREFIX."vdata"); +$total_pop = ($popRes) ? (int)mysqli_fetch_assoc($popRes)['totalpop'] : 0; + + +// ========================= +// ONLINE / ACTIVE USERS +// ========================= +$activeRes = mysqli_query( + $database->dblink, + "SELECT COUNT(*) AS Total + FROM ".TB_PREFIX."users + WHERE timestamp > ".(time() - 86400)." + AND tribe BETWEEN 1 AND 3" +); +$active = ($activeRes) ? (int)mysqli_fetch_assoc($activeRes)['Total'] : 0; + +$onlineRes = mysqli_query( + $database->dblink, + "SELECT COUNT(*) AS Total + FROM ".TB_PREFIX."users + WHERE timestamp > ".(time() - 600)." + AND tribe BETWEEN 1 AND 3" +); +$online = ($onlineRes) ? (int)mysqli_fetch_assoc($onlineRes)['Total'] : 0; + + +// ========================= +// GOLD TOTAL +// ========================= +$goldRes = mysqli_query($database->dblink, "SELECT SUM(gold) AS totalgold FROM ".TB_PREFIX."users"); +$total_gold = ($goldRes) ? (int)mysqli_fetch_assoc($goldRes)['totalgold'] : 0; ?> + + - - - - - - - - - - - - - - + + + + + + + + + +
World Stats
Total VillagesTotal Population
+
World Stats
Total VillagesTotal Population
+ +
+ + + + + + + + + + + +
Players
Registered players
Active players
Players online
+
+ + + + + + + + dblink,"SELECT * FROM ".TB_PREFIX."vdata"); -$num_rows2 = mysqli_num_rows($result2); -echo $num_rows2; -?> - +$roman = $tribes[0]; +$teuton = $tribes[1]; +$gaul = $tribes[2]; + +$romanPct = ($users > 0) ? round(100 * $roman / $users, 2) : 0; +$teutonPct = ($users > 0) ? round(100 * $teuton / $users, 2) : 0; +$gaulPct = ($users > 0) ? round(100 - $romanPct - $teutonPct, 2) : 0; +?> + + + + + + +
Tribes
TribeRegisteredPercent
-dblink,"SELECT SUM(pop) AS sumofpop FROM ".TB_PREFIX."vdata"); -$getpop = mysqli_fetch_assoc($pop); -echo $getpop['sumofpop']; -?>
Romans
Teutons
Gauls
+
+ + + + + + + + + + +
+Total +Gold +
Gold

- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Players
Registered players
Active playersdblink,"SELECT * FROM ".TB_PREFIX."users WHERE timestamp > ".(time() - (3600*24))." AND tribe!=0 AND tribe!=4 AND tribe!=5")); - echo $active; ?>
Players onlinedblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE timestamp > ".(time() - (60*10))." AND tribe!=0 AND tribe!=4 AND tribe!=5"); - if (!empty($online)) { - echo mysqli_fetch_assoc($online)['Total']; - } else { - echo 0; - } - ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Tribes
TribeRegisteredPercent
Romans 0) ? ($percents[0] = round(100 * ($tribes[0] / $users), 2))."%" : '---'; ?>
Teutons 0) ? ($percents[1] = round(100 * ($tribes[1] / $users), 2))."%" : "---"; ?>
Gauls 0) ? (100-$percents[0]-$percents[1])."%" : '---'; ?>
- - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Total Gold Gold
Total
Gold Gold -dblink, "SELECT SUM(gold) AS sumofgold FROM ".TB_PREFIX."users"); -$getgold = mysqli_fetch_assoc($gold); -echo $getgold['sumofgold'] ?? 0; + + + + + + + + + + + + + +dblink, "SELECT + SUM(u1) AS u1, SUM(u2) AS u2, SUM(u3) AS u3, SUM(u4) AS u4, SUM(u5) AS u5, + SUM(u6) AS u6, SUM(u7) AS u7, SUM(u8) AS u8, SUM(u9) AS u9, SUM(u10) AS u10, + SUM(u11) AS u11, SUM(u12) AS u12, SUM(u13) AS u13, SUM(u14) AS u14, SUM(u15) AS u15, + SUM(u16) AS u16, SUM(u17) AS u17, SUM(u18) AS u18, SUM(u19) AS u19, SUM(u20) AS u20, + SUM(u21) AS u21, SUM(u22) AS u22, SUM(u23) AS u23, SUM(u24) AS u24, SUM(u25) AS u25, + SUM(u26) AS u26, SUM(u27) AS u27, SUM(u28) AS u28, SUM(u29) AS u29, SUM(u30) AS u30 + FROM ".TB_PREFIX."units"); + +if ($result) { + $units = mysqli_fetch_assoc($result); +} + +// helper safe output +function u($units, $key) { + return isset($units[$key]) ? (int)$units[$key] : 0; +} ?> - - - -
Troops
TotalTotalTotal
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Troops
TotalTotalTotal
- dblink,"SELECT SUM(u1) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u11) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u21) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u2) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u12) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u22) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u3) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u13) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u23) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u4) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u14) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u24) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u5) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u15) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u25) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u6) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u16) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u26) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u7) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u17) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u27) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u8) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u18) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u28) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u9) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u19) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u29) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- dblink,"SELECT SUM(u10) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u20) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?> - dblink,"SELECT SUM(u30) AS sumofrats FROM ".TB_PREFIX."units"); - $getorat = mysqli_fetch_assoc($orat); - echo $getorat['sumofrats']; - ?>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Miscellaneous
AttacksCasualtiesDate
getAttackByDate(time()); ?>getAttackCasualties(time()); ?>
getAttackByDate(time()-(86400*1)); ?>getAttackCasualties(time()-(86400*1)); ?>
getAttackByDate(time()-(86400*2)); ?>getAttackCasualties(time()-(86400*2)); ?>
getAttackByDate(time()-(86400*3)); ?>getAttackCasualties(time()-(86400*3)); ?>
getAttackByDate(time()-(86400*4)); ?>getAttackCasualties(time()-(86400*4)); ?>
getAttackByDate(time()-(86400*5)); ?>getAttackCasualties(time()-(86400*5)); ?>
getAttackByDate(time()-(86400*6)); ?>getAttackCasualties(time()-(86400*6)); ?>
- - + + + + +
+
+ + + + + + + + + + + + + + + + +
Miscellaneous
AttacksCasualtiesDate
getAttackByDate(time()-(86400*$d)) ?>getAttackCasualties(time()-(86400*$d)) ?>
+ diff --git a/Templates/Ranking/heroes.tpl b/Templates/Ranking/heroes.tpl index b7bc978c..9339ab7e 100644 --- a/Templates/Ranking/heroes.tpl +++ b/Templates/Ranking/heroes.tpl @@ -1,71 +1,125 @@ | -| Copyright: TravianZ Project All rights reserved | -\** --------------------------------------------------- **/ - if(!is_numeric($_SESSION['search'])) { - ?> -

The hero "" does not exist.

- +
+ +

+ The hero "" does not exist. +

+
+
+ -
- - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; +
- The most experienced heroes
HeroPlayerLevelExperience
+ + + + + + + + + + + + + + + getRank() : array(); + + // ================= PAGINATION (UNCHANGED LOGIC) ================= + if(isset($_GET['rank'])){ + $multiplier = 1; + + if(is_numeric($_GET['rank'])) { + + if($_GET['rank'] > count($rankArray)) { + $_GET['rank'] = count($rankArray) - 1; } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") { - if($i == $search) echo " - - - - - - "; - } - } - } - else echo ""; + while($_GET['rank'] > (20 * $multiplier)) { + $multiplier++; + } -?> - + $start = 20 * $multiplier - 19; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; + } + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; + } + + // ================= RENDER ================= + if(count($rankArray) > 1) { + + for($i = $start; $i < $start + 20; $i++) { + + if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") { + + // highlight searched + if($i == $search) { + echo ''; + + // hero column + $unit = (int)$rankArray[$i]['unit']; + $heroName = htmlspecialchars($rankArray[$i]['name'], ENT_QUOTES, 'UTF-8'); + + echo ''; + + // player + $uid = (int)$rankArray[$i]['uid']; + $owner = htmlspecialchars($rankArray[$i]['owner'], ENT_QUOTES, 'UTF-8'); + + echo ''; + + // level + xp + echo ''; + echo ''; + + echo ''; + } + } + + } else { + echo ''; + } + ?> +
The most experienced heroes
HeroPlayerLevelExperience
"; - else echo "
"; - echo $i . ". - \"\" " . $rankArray[$i]['name'] . "
" . $rankArray[$i]['owner'] . "
" . $rankArray[$i]['level'] . "" . $rankArray[$i]['experience'] . "
No heros found
'; + } else { + echo '
'; + } + + // index + echo $i . '.'; + echo ' '; + echo $heroName; + echo '
'.$owner.'
'.(int)$rankArray[$i]['level'].''.(int)$rankArray[$i]['experience'].'
No heros found
+ \ No newline at end of file diff --git a/Templates/Ranking/index.php b/Templates/Ranking/index.php index a81240cd..9fcb4aed 100644 --- a/Templates/Ranking/index.php +++ b/Templates/Ranking/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Ranking/overview.tpl b/Templates/Ranking/overview.tpl index 3689c977..ccaa5d71 100644 --- a/Templates/Ranking/overview.tpl +++ b/Templates/Ranking/overview.tpl @@ -1,64 +1,167 @@ -

The user "" does not exist.

+
+ +

+ The user "" does not exist. +

+
+
+ - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - } - } - } - else echo ""; - ?> - -
- The largest players
-
PlayerAlliancePopulationVillages
"; - else echo "
"; - - echo $i."."; - if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){ - echo"".$rankArray[$i]['username'].""; - } else { - echo"".$rankArray[$i]['username'].""; - } - echo""; - if($rankArray[$i]['aname'] != "") { - echo "".$rankArray[$i]['aname'].""; - } - else echo "-"; - echo "".$rankArray[$i]['totalpop']."".$rankArray[$i]['totalvillage']."
No users found
+ + + + The largest players + + + +
+ + + + + + + + + Player + Alliance + Population + Villages + + + + getRank(); + +// ------------------------- PAGINATION SAFE ------------------------- +if (isset($_GET['rank']) && is_numeric($_GET['rank'])) { + + $rank = (int)$_GET['rank']; + $count = count($rankArray); + + if ($rank > $count) { + $rank = max(1, $count - 1); + } + + $multiplier = 1; + while ($rank > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + +} else { + $start = ($_SESSION['start'] ?? 0) + 1; +} + +// ------------------------- RENDER ------------------------- +if (count($rankArray) > 1) { + + for ($i = $start; $i < $start + 20; $i++) { + + if (!isset($rankArray[$i]['username'])) { + continue; + } + + $row = $rankArray[$i]; + + $isHighlight = ($i == $search); + + echo $isHighlight + ? "" + : ""; + + echo $i . "."; + + // ---------------- PLAYER ---------------- + echo ""; + + $uid = (int)($row['userid'] ?? 0); + $username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8'); + + if (!empty($row['access']) && $row['access'] > 2) { + echo "{$username}"; + } else { + echo "{$username}"; + } + + echo ""; + + // ---------------- ALLIANCE ---------------- + echo ""; + + if (!empty($row['aname']) && !empty($row['alliance'])) { + $aid = (int)$row['alliance']; + $aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8'); + echo "{$aname}"; + } else { + echo "-"; + } + + echo ""; + + // ---------------- POP ---------------- + echo "" . (int)($row['totalpop'] ?? 0) . ""; + + // ---------------- VILLAGES ---------------- + echo "" . (int)($row['totalvillage'] ?? 0) . ""; + + echo ""; + } + +} else { + echo "No users found"; +} ?> + + + + \ No newline at end of file diff --git a/Templates/Ranking/player_1.tpl b/Templates/Ranking/player_1.tpl index 9ea63d52..0b42c71c 100644 --- a/Templates/Ranking/player_1.tpl +++ b/Templates/Ranking/player_1.tpl @@ -1,65 +1,135 @@ -

The user "" does not exist.

+
+ +

+ The user "" does not exist. +

+
+
getRank(); +$totalRanks = is_array($rankArray) ? count($rankArray) : 0; + +/** Pagination fix */ +if (isset($_GET['rank']) && is_numeric($_GET['rank'])) { + $rankGet = (int)$_GET['rank']; + + if ($rankGet > $totalRanks) { + $rankGet = max(1, $totalRanks - 1); + } + + $multiplier = 1; + while ($rankGet > (20 * $multiplier)) { + $multiplier++; + } + + $start = (20 * $multiplier) - 19; +} else { + $start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1; } ?> + - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); - - if(count($database->getUserByTribe(1)) > 0) { - for($i = $start; $i< $start + 20; $i++) { - if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - } - } - } - else echo ""; - ?> - -
- The largest Romans
-
PlayerAlliancePopulationVillages
"; - else echo "
"; - - echo $i."."; - if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){ - echo"".$rankArray[$i]['username'].""; - } else { - echo"".$rankArray[$i]['username'].""; - } - echo""; - if($rankArray[$i]['alliance'] > 0) { - echo "".$rankArray[$i]['aname'].""; - } - else echo "-"; - - echo "".$rankArray[$i]['totalpop']."".$rankArray[$i]['totalvillage']."
No users found
+ + + + The largest Romans + +
+ + + + + PlayerAlliancePopulationVillages + + + + \ No newline at end of file +if ($totalRanks > 0) { + + $end = $start + 20; + + for ($i = $start; $i < $end; $i++) { + + if (!isset($rankArray[$i]) || $rankArray[$i] === "pad") { + continue; + } + + $row = $rankArray[$i]; + + $uid = (int)$row['userid']; + $rank = (int)$i; + + $username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8'); + $aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8'); + + $highlight = ($i == $search) ? " class=\"hl\"" : ""; + + echo ""; + + echo "".$rank."."; + + // Player (XSS safe) + echo ""; + if (!empty($row['access']) && (int)$row['access'] > 2) { + echo "{$username}"; + } else { + echo "{$username}"; + } + echo ""; + + // Alliance + echo ""; + if (!empty($row['alliance']) && (int)$row['alliance'] > 0) { + echo "{$aname}"; + } else { + echo "-"; + } + echo ""; + + echo "".(int)$row['totalpop'].""; + echo "".(int)$row['totalvillage'].""; + + echo ""; + } + +} else { + echo "No users found"; +} +?> + + + + \ No newline at end of file diff --git a/Templates/Ranking/player_2.tpl b/Templates/Ranking/player_2.tpl index cb0d84da..b45f8132 100644 --- a/Templates/Ranking/player_2.tpl +++ b/Templates/Ranking/player_2.tpl @@ -1,65 +1,135 @@ -

The user "" does not exist.

+
+ +

+ The user "" does not exist. +

+
+
getRank(); +$totalRanks = is_array($rankArray) ? count($rankArray) : 0; + +/** Pagination */ +if (isset($_GET['rank']) && is_numeric($_GET['rank'])) { + $rankGet = (int)$_GET['rank']; + + if ($rankGet > $totalRanks) { + $rankGet = max(1, $totalRanks - 1); + } + + $multiplier = 1; + while ($rankGet > (20 * $multiplier)) { + $multiplier++; + } + + $start = (20 * $multiplier) - 19; +} else { + $start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1; } ?> + - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); - - if(count($database->getUserByTribe(2)) > 0) { - for($i = $start; $i< $start + 20; $i++) { - if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - } - } - } - else echo ""; - ?> - -
- The largest Teutons
-
PlayerAlliancePopulationVillages
"; - else echo "
"; - - echo $i."."; - if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){ - echo"".$rankArray[$i]['username'].""; - } else { - echo"".$rankArray[$i]['username'].""; - } - echo""; - if($rankArray[$i]['alliance'] > 0) { - echo "".$rankArray[$i]['aname'].""; - } - else echo "-"; - - echo "".$rankArray[$i]['totalpop']."".$rankArray[$i]['totalvillage']."
No users found
+ + + + The largest Teutons + +
+ + + + + PlayerAlliancePopulationVillages + + + + \ No newline at end of file +if ($totalRanks > 0) { + + $end = $start + 20; + + for ($i = $start; $i < $end; $i++) { + + if (!isset($rankArray[$i]) || $rankArray[$i] === "pad") { + continue; + } + + $row = $rankArray[$i]; + + $uid = (int)$row['userid']; + $rank = (int)$i; + + $username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8'); + $aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8'); + + $highlight = ($i == $search) ? " class=\"hl\"" : ""; + + echo ""; + + echo "{$rank}."; + + // Player + echo ""; + if (!empty($row['access']) && (int)$row['access'] > 2) { + echo "{$username}"; + } else { + echo "{$username}"; + } + echo ""; + + // Alliance + echo ""; + if (!empty($row['alliance']) && (int)$row['alliance'] > 0) { + echo "{$aname}"; + } else { + echo "-"; + } + echo ""; + + echo "".(int)$row['totalpop'].""; + echo "".(int)$row['totalvillage'].""; + + echo ""; + } + +} else { + echo "No users found"; +} +?> + + + + \ No newline at end of file diff --git a/Templates/Ranking/player_3.tpl b/Templates/Ranking/player_3.tpl index 4b8f1360..c3ce638f 100644 --- a/Templates/Ranking/player_3.tpl +++ b/Templates/Ranking/player_3.tpl @@ -1,65 +1,134 @@ -

The user "" does not exist.

+
+ +

+ The user "" does not exist. +

+
+
getRank(); +$totalRanks = is_array($rankArray) ? count($rankArray) : 0; + +/** Pagination logic (kept identical behavior) */ +if (isset($_GET['rank']) && is_numeric($_GET['rank'])) { + $rankGet = (int)$_GET['rank']; + + if ($rankGet > $totalRanks) { + $rankGet = max(1, $totalRanks - 1); + } + + $multiplier = 1; + while ($rankGet > (20 * $multiplier)) { + $multiplier++; + } + + $start = (20 * $multiplier) - 19; +} else { + $start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1; } ?> + - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); - - if(count($database->getUserByTribe(3)) > 0) { - for($i = $start; $i< $start + 20; $i++) { - if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - } - } - } - else echo ""; - ?> - -
- The largest Gauls
-
PlayerAlliancePopulationVillages
"; - else echo "
"; - - echo $i."."; - if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){ - echo"".$rankArray[$i]['username'].""; - } else { - echo"".$rankArray[$i]['username'].""; - } - echo""; - if($rankArray[$i]['alliance'] > 0) { - echo "".$rankArray[$i]['aname'].""; - } - else echo "-"; - - echo "".$rankArray[$i]['totalpop']."".$rankArray[$i]['totalvillage']."
No users found
+ + + + The largest Gauls + +
+ + + + + PlayerAlliancePopulationVillages + + + + \ No newline at end of file +if ($totalRanks > 0) { + + $end = $start + 20; + + for ($i = $start; $i < $end; $i++) { + + if (!isset($rankArray[$i]) || $rankArray[$i] === "pad") { + continue; + } + + $row = $rankArray[$i]; + + $uid = (int)$row['userid']; + $rank = (int)$i; + + $username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8'); + $aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8'); + + $highlight = ($i == $search) ? " class=\"hl\"" : ""; + + echo ""; + + echo "{$rank}."; + + // Player + echo ""; + if (!empty($row['access']) && (int)$row['access'] > 2) { + echo "{$username}"; + } else { + echo "{$username}"; + } + echo ""; + + // Alliance + echo ""; + if (!empty($row['alliance']) && (int)$row['alliance'] > 0) { + echo "{$aname}"; + } else { + echo "-"; + } + echo ""; + + echo "".(int)$row['totalpop'].""; + echo "".(int)$row['totalvillage'].""; + + echo ""; + } + +} else { + echo "No users found"; +} +?> + + + + \ No newline at end of file diff --git a/Templates/Ranking/player_attack.tpl b/Templates/Ranking/player_attack.tpl index a5e1bfd8..fedb067c 100644 --- a/Templates/Ranking/player_attack.tpl +++ b/Templates/Ranking/player_attack.tpl @@ -1,60 +1,135 @@ - -

The user "" does not exist.

+
+ +

+ The user "" does not exist. +

+
+
+ - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; + + + + + + + + + + + + + + + getRank() : array(); + + if(isset($_GET['rank'])){ + $multiplier = 1; + + if(is_numeric($_GET['rank'])) { + + if($_GET['rank'] > count($rankArray)) { + $_GET['rank'] = count($rankArray) - 1; } - else $start = ($_SESSION['start'] + 1); + + while($_GET['rank'] > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; + } + + if(count($rankArray) > 1) { + + for($i = $start; $i < $start + 20; $i++) { + + if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { + + if($i == $search) { + echo ''; + + echo ''; + + echo ''; + echo ''; + echo ''; + + echo ''; } } - else echo ""; - ?> - + + } else { + echo ''; + } + ?> +
- The most successful attackers -
PlayerPopulationVillagesPoints
+ The most successful attackers + +
PlayerPopulationVillagesPoints
"; - else echo "
"; - - echo $i."."; - if($rankArray[$i]['access'] > 2){ - echo"".$rankArray[$i]['username'].""; - } else { - echo"".$rankArray[$i]['username'].""; - } - echo"".$rankArray[$i]['totalpop'].""; - echo "".$rankArray[$i]['totalvillages']."".$rankArray[$i]['apall']."
'; + } else { + echo '
'; } + + echo $i . '.'; + + // Player link + underline dacă acces > 2 + $uid = (int)$rankArray[$i]['id']; + $username = htmlspecialchars($rankArray[$i]['username'], ENT_QUOTES, 'UTF-8'); + + if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2) { + echo ''.$username.''; + } else { + echo ''.$username.''; + } + + echo '' . (int)$rankArray[$i]['totalpop'] . '' . (int)$rankArray[$i]['totalvillages'] . '' . (int)$rankArray[$i]['apall'] . '
No users found
No users found
- +?> \ No newline at end of file diff --git a/Templates/Ranking/player_defend.tpl b/Templates/Ranking/player_defend.tpl index a4a3aaf7..e7cd0006 100644 --- a/Templates/Ranking/player_defend.tpl +++ b/Templates/Ranking/player_defend.tpl @@ -1,60 +1,137 @@ - -

The user "" does not exist.

+
+ +

+ The user "" does not exist. +

+
+
+ - - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - while($_GET['rank'] > (20 * $multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; + + + + + + + + + + + + + + + getRank() : array(); + + if(isset($_GET['rank'])){ + $multiplier = 1; + + if(is_numeric($_GET['rank'])) { + + if($_GET['rank'] > count($rankArray)) { + $_GET['rank'] = count($rankArray) - 1; } - else $start = ($_SESSION['start'] + 1); + + while($_GET['rank'] > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; + + } else { + $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1; + } + + if(count($rankArray) > 1) { + + for($i = $start; $i < $start + 20; $i++) { + + if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { + + if($i == $search) { + echo ''; + + echo ''; + + echo ''; + echo ''; + + // Defensive points + echo ''; + + echo ''; } } - else echo ""; - ?> - + + } else { + echo ''; + } + ?> +
- The most successful defenders -
PlayerPopulationVillagesPoints
+ The most successful defenders + +
PlayerPopulationVillagesPoints
"; - else echo "
"; - - echo $i."."; - if($rankArray[$i]['access'] > 2){ - echo"".$rankArray[$i]['username'].""; - } else { - echo"".$rankArray[$i]['username'].""; - } - echo"".$rankArray[$i]['totalpop'].""; - echo "".$rankArray[$i]['totalvillages']."".$rankArray[$i]['dpall']."
'; + } else { + echo '
'; } + + echo $i . '.'; + + // Player link + underline dacă acces > 2 + $uid = (int)$rankArray[$i]['id']; + $username = htmlspecialchars($rankArray[$i]['username'], ENT_QUOTES, 'UTF-8'); + + if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2) { + echo ''.$username.''; + } else { + echo ''.$username.''; + } + + echo '' . (int)$rankArray[$i]['totalpop'] . '' . (int)$rankArray[$i]['totalvillages'] . '' . (int)$rankArray[$i]['dpall'] . '
No users found
No users found
+ +?> \ No newline at end of file diff --git a/Templates/Ranking/player_top10.tpl b/Templates/Ranking/player_top10.tpl index c892da92..df5e19c4 100644 --- a/Templates/Ranking/player_top10.tpl +++ b/Templates/Ranking/player_top10.tpl @@ -1,4 +1,19 @@ - - Top 10 players + Top 10 players diff --git a/Templates/Ranking/ranksearch.tpl b/Templates/Ranking/ranksearch.tpl index f8870b92..41a94592 100644 --- a/Templates/Ranking/ranksearch.tpl +++ b/Templates/Ranking/ranksearch.tpl @@ -1,4 +1,19 @@ diff --git a/Templates/Ranking/villages.tpl b/Templates/Ranking/villages.tpl index 3a915b01..9bc91e00 100644 --- a/Templates/Ranking/villages.tpl +++ b/Templates/Ranking/villages.tpl @@ -1,54 +1,127 @@ -

The village "" does not exist.

+
+ +

+ The village "" does not exist. +

+
+
+
- - - - - - - getRank(); - if(isset($_GET['rank'])){ - $multiplier = 1; - if(is_numeric($_GET['rank'])) { - if($_GET['rank'] > count($rankArray)) { - $_GET['rank'] = count($rankArray) - 1; - } - - while($_GET['rank'] > (20*$multiplier)) $multiplier++; - - $start = 20 * $multiplier - 19; - } - else $start = ($_SESSION['start'] + 1); - } - else $start = ($_SESSION['start'] + 1); - - if(count($rankArray) > 1) { - for($i = $start; $i < $start + 20; $i++) { - if(isset($rankArray[$i]['wref']) && $rankArray[$i] != "pad") { - if($i == $search) echo ""; - echo ""; - echo ""; - } - } - } - else echo ""; - ?> - -
- The largest villages -
VillagePlayerInhabitantsCoordinates
"; - else echo "
"; - - echo $i.".getMapCheck($rankArray[$i]['wref'])."\">".$rankArray[$i]['name']."".$rankArray[$i]['user']."".$rankArray[$i]['pop']."
(".$rankArray[$i]['x']."
|
".$rankArray[$i]['y'].")
No villages found
+ + + The largest villages + + + + Village + Player + Inhabitants + Coordinates + + + + getRank(); + +if (isset($_GET['rank'])) { + $multiplier = 1; + + if (is_numeric($_GET['rank'])) { + $rank = (int)$_GET['rank']; + + if ($rank > count($rankArray)) { + $rank = max(1, count($rankArray) - 1); + } + + while ($rank > (20 * $multiplier)) { + $multiplier++; + } + + $start = 20 * $multiplier - 19; + } else { + $start = ($_SESSION['start'] + 1); + } +} else { + $start = ($_SESSION['start'] + 1); +} + +// render rows +if (count($rankArray) > 1) { + + for ($i = $start; $i < $start + 20; $i++) { + + if (!isset($rankArray[$i]['wref'])) { + continue; + } + + $row = $rankArray[$i]; + + $isHighlight = ($i == $search); + + echo $isHighlight + ? "" + : ""; + + echo $i . "."; + + // village name + echo " + " + . htmlspecialchars($row['name'], ENT_QUOTES, 'UTF-8') . + ""; + + // player + echo " + " + . htmlspecialchars($row['user'], ENT_QUOTES, 'UTF-8') . + ""; + + // population + echo "" . (int)$row['pop'] . ""; + + // coordinates + echo " +
(" . (int)$row['x'] . "
+
|
+
" . (int)$row['y'] . ")
+ "; + + echo ""; + } + +} else { + echo "No villages found"; +} ?> + + + + \ No newline at end of file diff --git a/Templates/Ranking/ww.tpl b/Templates/Ranking/ww.tpl index ccd68f5e..f1f53b04 100644 --- a/Templates/Ranking/ww.tpl +++ b/Templates/Ranking/ww.tpl @@ -1,61 +1,134 @@ -dblink,"select " . TB_PREFIX . "users.id, " . TB_PREFIX . "users.username," . TB_PREFIX . "users.alliance, " . TB_PREFIX . "fdata.wwname, " . TB_PREFIX . "fdata.f99, " . TB_PREFIX . "vdata.name, " . TB_PREFIX . "fdata.vref - FROM " . TB_PREFIX . "users - INNER JOIN " . TB_PREFIX . "vdata ON " . TB_PREFIX . "users.id = " . TB_PREFIX . "vdata.owner - INNER JOIN " . TB_PREFIX . "fdata ON " . TB_PREFIX . "fdata.vref = " . TB_PREFIX . "vdata.wref - WHERE " . TB_PREFIX . "fdata.f99t = 40 ORDER BY " . TB_PREFIX . "fdata.f99 Desc, id Desc LIMIT 20"); -?> - - - - - - - - - - - - - - - - getAlliance($row['alliance']); - $query = @mysqli_query($database->dblink,'SELECT * FROM `' . TB_PREFIX . 'ww_attacks` WHERE `vid` = ' . $row['vref'] . ' ORDER BY `attack_time` ASC LIMIT 1'); - $row2 = @mysqli_fetch_assoc($query); - ?> - - - - - - - - - - - - - +dblink, $sql); +?> +
Wonder of the world
.getMapCheck($row['vref']) . "\">"; ?> 
+ - - - \ No newline at end of file + + + + + + + + + + + + + + 0) { + + while ($row = mysqli_fetch_assoc($result)) { + + $count++; + + $check = $generator->getMapCheck($row['wref']); +?> + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Templates/Simulator/index.php b/Templates/Simulator/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/Simulator/index.php +++ b/Templates/Simulator/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/Tutorial/index.php b/Templates/Tutorial/index.php index a81240cd..9fcb4aed 100644 --- a/Templates/Tutorial/index.php +++ b/Templates/Tutorial/index.php @@ -5,15 +5,33 @@ ## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/a2b/index.php b/Templates/a2b/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/a2b/index.php +++ b/Templates/a2b/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/activate/index.php b/Templates/activate/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/activate/index.php +++ b/Templates/activate/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/dorf3/index.php b/Templates/dorf3/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/dorf3/index.php +++ b/Templates/dorf3/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/goldClub/index.php b/Templates/goldClub/index.php index 98297c7a..9fcb4aed 100644 --- a/Templates/goldClub/index.php +++ b/Templates/goldClub/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/Templates/index.php b/Templates/index.php index 726b2151..9fcb4aed 100644 --- a/Templates/index.php +++ b/Templates/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## -## ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/gpack/index.php b/gpack/index.php index 98297c7a..9fcb4aed 100644 --- a/gpack/index.php +++ b/gpack/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/gpack/travian_default/index.php b/gpack/travian_default/index.php index 98297c7a..9fcb4aed 100644 --- a/gpack/travian_default/index.php +++ b/gpack/travian_default/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/index.php b/img/index.php index 98297c7a..9fcb4aed 100644 --- a/img/index.php +++ b/img/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/a/index.php b/img/un/a/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/a/index.php +++ b/img/un/a/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/g/index.php b/img/un/g/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/g/index.php +++ b/img/un/g/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/h/index.php b/img/un/h/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/h/index.php +++ b/img/un/h/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/index.php b/img/un/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/index.php +++ b/img/un/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/l/index.php b/img/un/l/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/l/index.php +++ b/img/un/l/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/res/index.php b/img/un/res/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/res/index.php +++ b/img/un/res/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/s/index.php b/img/un/s/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/s/index.php +++ b/img/un/s/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/img/un/u/index.php b/img/un/u/index.php index 98297c7a..9fcb4aed 100644 --- a/img/un/u/index.php +++ b/img/un/u/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/index.php b/notification/gpack/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/index.php +++ b/notification/gpack/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/index.php b/notification/gpack/notification_v1_zzjhons/img/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/layout/index.php b/notification/gpack/notification_v1_zzjhons/img/layout/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/layout/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/layout/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/bg/index.php b/notification/gpack/notification_v1_zzjhons/img/round/bg/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/bg/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/bg/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/boxes/gray/index.php b/notification/gpack/notification_v1_zzjhons/img/round/boxes/gray/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/boxes/gray/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/boxes/gray/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/boxes/green/index.php b/notification/gpack/notification_v1_zzjhons/img/round/boxes/green/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/boxes/green/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/boxes/green/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/boxes/index.php b/notification/gpack/notification_v1_zzjhons/img/round/boxes/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/boxes/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/boxes/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/boxes/lightGreen/index.php b/notification/gpack/notification_v1_zzjhons/img/round/boxes/lightGreen/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/boxes/lightGreen/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/boxes/lightGreen/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/boxes/orange/index.php b/notification/gpack/notification_v1_zzjhons/img/round/boxes/orange/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/boxes/orange/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/boxes/orange/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/boxes/red/index.php b/notification/gpack/notification_v1_zzjhons/img/round/boxes/red/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/boxes/red/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/boxes/red/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/disabled/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/disabled/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/disabled/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/gray-small/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/gray-small/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/gray-small/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/gray/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/gray/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/gray/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/green-small/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/green-small/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/green-small/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/green/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/green/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/green/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/button/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/button/orange/index.php b/notification/gpack/notification_v1_zzjhons/img/round/button/orange/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/notification/gpack/notification_v1_zzjhons/img/round/button/orange/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/dialog/index.php b/notification/gpack/notification_v1_zzjhons/img/round/dialog/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/dialog/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/dialog/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/index.php b/notification/gpack/notification_v1_zzjhons/img/round/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/round/tips/index.php b/notification/gpack/notification_v1_zzjhons/img/round/tips/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/round/tips/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/round/tips/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/img/screens/index.php b/notification/gpack/notification_v1_zzjhons/img/screens/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/img/screens/index.php +++ b/notification/gpack/notification_v1_zzjhons/img/screens/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/index.php b/notification/gpack/notification_v1_zzjhons/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/index.php +++ b/notification/gpack/notification_v1_zzjhons/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/lang/en/b/index.php b/notification/gpack/notification_v1_zzjhons/lang/en/b/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/lang/en/b/index.php +++ b/notification/gpack/notification_v1_zzjhons/lang/en/b/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/lang/en/f/index.php b/notification/gpack/notification_v1_zzjhons/lang/en/f/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/lang/en/f/index.php +++ b/notification/gpack/notification_v1_zzjhons/lang/en/f/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/lang/en/index.php b/notification/gpack/notification_v1_zzjhons/lang/en/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/lang/en/index.php +++ b/notification/gpack/notification_v1_zzjhons/lang/en/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/lang/en/p/index.php b/notification/gpack/notification_v1_zzjhons/lang/en/p/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/lang/en/p/index.php +++ b/notification/gpack/notification_v1_zzjhons/lang/en/p/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/gpack/notification_v1_zzjhons/lang/index.php b/notification/gpack/notification_v1_zzjhons/lang/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/gpack/notification_v1_zzjhons/lang/index.php +++ b/notification/gpack/notification_v1_zzjhons/lang/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/img/index.php b/notification/img/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/img/index.php +++ b/notification/img/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/notification/lang/index.php b/notification/lang/index.php index 98297c7a..9fcb4aed 100644 --- a/notification/lang/index.php +++ b/notification/lang/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/src/Database/index.php b/src/Database/index.php index 98297c7a..9fcb4aed 100644 --- a/src/Database/index.php +++ b/src/Database/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/src/Entity/index.php b/src/Entity/index.php index 98297c7a..9fcb4aed 100644 --- a/src/Entity/index.php +++ b/src/Entity/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/src/Game/index.php b/src/Game/index.php new file mode 100644 index 00000000..9fcb4aed --- /dev/null +++ b/src/Game/index.php @@ -0,0 +1,37 @@ + + +
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
+
\ No newline at end of file diff --git a/src/Utils/index.php b/src/Utils/index.php index 98297c7a..9fcb4aed 100644 --- a/src/Utils/index.php +++ b/src/Utils/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/src/index.php b/src/index.php index 98297c7a..9fcb4aed 100644 --- a/src/index.php +++ b/src/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/tools/index.php b/tools/index.php index 98297c7a..9fcb4aed 100644 --- a/tools/index.php +++ b/tools/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/var/db/index.php b/var/db/index.php index 98297c7a..9fcb4aed 100644 --- a/var/db/index.php +++ b/var/db/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/var/index.php b/var/index.php index 98297c7a..9fcb4aed 100644 --- a/var/index.php +++ b/var/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file diff --git a/var/log/index.php b/var/log/index.php index 98297c7a..9fcb4aed 100644 --- a/var/log/index.php +++ b/var/log/index.php @@ -2,18 +2,36 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Filename 404.tpl ## +## Filename index.php ## ## Developed by: aggenkeech ## -## License: TravianX Project ## -## Copyright: TravianX (c) 2010-2012. All rights reserved. ## -## ## +## License: TravianZ Project ## +## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ################################################################################# + +// prevent direct misuse in weird contexts (optional but safe) +if (!defined('IN_GAME')) { + // keep it harmless, just allow display +} + +$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\'); ?> +
-
-

404 - File not found

- Not Found
-

We looked 404 times already but can't find anything, Not even an X marking the spot.

-

This system is not complete yet. So the page probably does not exist.


-
+
+ +

404 - File not found

+ + Not Found
+ +

We looked 404 times already but can't find anything, Not even an X marking the spot.

+ +

This system is not complete yet. So the page probably does not exist.

+ +
+ +
\ No newline at end of file
Wonder of the world
. + + + + + + + + + + + +