diff --git a/Templates/Ranking/player_top10.tpl b/Templates/Ranking/player_top10.tpl index 0bc092d8..88503dac 100644 --- a/Templates/Ranking/player_top10.tpl +++ b/Templates/Ranking/player_top10.tpl @@ -8,19 +8,39 @@ ## Filename player_top10.tpl ## ## Refactored by Shadow ## ## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2013. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## +## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## +## URLs: http://travianz.org ## ## Source code: http://github.com/Shadowss/TravianZ/ ## ## ## ################################################################################# $place = $place1 = $place2 = $place3 = "?"; - for($i=1;$i<=0;$i++) { echo "Row ".$i; } + // --- ADDED: Week and Medal Reset calculation (identical to Automation.php) --- + $week = 1; + $nextReset = time() + MEDALINTERVAL; + $q = mysqli_query($database->dblink, "SELECT lastgavemedal FROM ".TB_PREFIX."config LIMIT 1"); + if($q && $rc = mysqli_fetch_assoc($q)){ + $last = (int)$rc['lastgavemedal']; + if($last > 0){ + $nextReset = $last; + while($nextReset <= time()){ $nextReset += MEDALINTERVAL; } + } else { + $setDays = round(MEDALINTERVAL/86400); + $nextReset = $setDays < 7 ? strtotime(($setDays + 1).' day midnight') : strtotime('next monday'); + } + } + $wq = mysqli_query($database->dblink, "SELECT week FROM ".TB_PREFIX."medal ORDER BY week DESC LIMIT 1"); + if($wq && mysqli_num_rows($wq)){ $week = mysqli_fetch_assoc($wq)['week'] + 1; } + $left = max(0, $nextReset - time()); + $days = floor($left / 86400); + $timeLeft = gmdate("H:i:s", $left % 86400); + // --- END MEDAL TIMER --- + $result = mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."users WHERE access<".(INCLUDE_ADMIN?"10":"8")." AND id > 5 AND tribe<=3 AND tribe > 0 ORDER BY ap DESC, id DESC Limit 10"); $result2 = mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."users WHERE id = '".$session->uid."' ORDER BY ap DESC, id DESC Limit 1"); ?> @@ -31,6 +51,28 @@ + + + + + + +
+ Week:    Medal reset in: d +
+ + @@ -77,7 +119,6 @@
- ".$row['RR'].""; echo ""; } - -// mysqli_close($con); ?> -
+
\ No newline at end of file diff --git a/a2b.php b/a2b.php index 3299bece..bdecf474 100644 --- a/a2b.php +++ b/a2b.php @@ -3,21 +3,23 @@ include_once ("GameEngine/Generator.php"); $start_timer = $generator->pageLoadTimeStart(); ################################################################################# -## ## -## -= YOU MUST NOT REMOVE OR CHANGE THIS NOTICE =- ## -## ## +## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## --------------------------------------------------------------------------- ## +## Filename : a2b.php ## +## Type : In Game Send Attack ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki & Advocaite & Donnchadh ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## ## --------------------------------------------------------------------------- ## -## ## -## Project: TravianZ ## -## Version: 29.04.2026 ## -## Filename: a2b.php ## -## Developed by: Dzoki & Advocaite & Donnchadh ## -## Reworked by: Shadow ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: https://travianz.org ## -## https://github.com/Shadowss/TravianZ ## -## ## ################################################################################# use App\Utils\AccessLogger; diff --git a/allianz.php b/allianz.php index 3fea1af6..ee9d4da1 100644 --- a/allianz.php +++ b/allianz.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename allianz.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : allianz.php ## +## Type : In Game Alliance Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# //fix by ronix diff --git a/anmelden.php b/anmelden.php index 1a118d75..de106dfe 100644 --- a/anmelden.php +++ b/anmelden.php @@ -3,14 +3,21 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename anmelden.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : anmelden.php ## +## Type : In Game Registration Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/autoloader.php b/autoloader.php index 06ba6f45..8d029b05 100644 --- a/autoloader.php +++ b/autoloader.php @@ -3,15 +3,21 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename autoloader.php ## -## Developed by: Dzoki ## -## Refactored by: Shadow ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : autoloader.php ## +## Type : In Game Autoloader GameEngine ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# function autoloadClass($class) { diff --git a/banned.php b/banned.php index e32545ae..5f4f6b6e 100644 --- a/banned.php +++ b/banned.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename banned.php ## -## Developed by: yi12345 ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : banned.php ## +## Type : In Game Banned Page ## +## --------------------------------------------------------------------------- ## +## Developed by : yi12345 ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/berichte.php b/berichte.php index 70af20aa..9e5e6d4d 100644 --- a/berichte.php +++ b/berichte.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename berichte.php ## -## Developed by: yi12345 ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : berucgte.php ## +## Type : In Game Messages Page ## +## --------------------------------------------------------------------------- ## +## Developed by : yi12345 ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/build.php b/build.php index c9b69e7a..4b63ea9e 100644 --- a/build.php +++ b/build.php @@ -3,14 +3,21 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename build.php ## -## Developed by: yi12345 ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : build.php ## +## Type : In Game Build Page ## +## --------------------------------------------------------------------------- ## +## Developed by : yi12345 ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/build_croppers.php b/build_croppers.php index d1a4232c..710ee528 100644 --- a/build_croppers.php +++ b/build_croppers.php @@ -1,23 +1,24 @@ croppers -// Fixes PHP 8: -// - Defines $MIN_X/$MAX_X/$MIN_Y/$MAX_Y from WORLD_MAX or DB -// - Initializes $R, $tries to avoid undefined in debug panel + +################################################################################# +## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## --------------------------------------------------------------------------- ## +## Filename : crop_finder.php ## +## Type : In Game Crop Finder Page (GoldClub) ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## +################################################################################# include_once("GameEngine/Generator.php"); $start_timer = $generator->pageLoadTimeStart(); diff --git a/dorf1.php b/dorf1.php index d5bdb478..9e67d16c 100644 --- a/dorf1.php +++ b/dorf1.php @@ -5,15 +5,23 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename dorf1.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : dorf1.php ## +## Type : In Game Resource View Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# + use App\Utils\AccessLogger; include_once("GameEngine/Village.php"); diff --git a/dorf2.php b/dorf2.php index ead0ead3..37c87d13 100644 --- a/dorf2.php +++ b/dorf2.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename dorf2.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : dorf2.php ## +## Type : In Game Village View Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/dorf3.php b/dorf3.php index 141af799..79005fc0 100644 --- a/dorf3.php +++ b/dorf3.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename dorf3.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : dorf3.php ## +## Type : In Game General View Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# diff --git a/index.php b/index.php index 61d026d5..5db20296 100644 --- a/index.php +++ b/index.php @@ -2,22 +2,23 @@ use App\Utils\AccessLogger; ################################################################################# -## ## -## -= YOU MUST NOT REMOVE OR CHANGE THIS NOTICE =- ## -## ## +## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## --------------------------------------------------------------------------- ## +## Filename : index.php ## +## Type : In Game Index Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## ## --------------------------------------------------------------------------- ## -## ## -## Project: TravianZ ## -## Version: 29.04.2026 ## -## Filename: index.php ## -## Developed by: Dzoki & Advocaite & Donnchadh ## -## Reworked by: ZZJHONS ## -## Refactored by: Shadow ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travianz.org ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## ################################################################################# if(!file_exists('var/installed') && @opendir('install')) { diff --git a/karte.php b/karte.php index d33fc7b0..c3f03465 100644 --- a/karte.php +++ b/karte.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename karte.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : karte.php ## +## Type : In Game Map View Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/karte2.php b/karte2.php index 0122ca41..6800fce2 100644 --- a/karte2.php +++ b/karte2.php @@ -1,16 +1,25 @@ pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename logout.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : logout.php ## +## Type : In Game Logout Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# - use App\Utils\AccessLogger; include("GameEngine/Account.php"); diff --git a/maintenance.php b/maintenance.php index a272b830..8a849d84 100644 --- a/maintenance.php +++ b/maintenance.php @@ -3,19 +3,23 @@ include_once("GameEngine/Generator.php"); $start_timer = $generator->pageLoadTimeStart(); ################################################################################# -## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## --------------------------------------------------------------------------- ## +## Filename : maintenance.php ## +## Type : In Game Maintenance Page ## +## --------------------------------------------------------------------------- ## +## Developed by : iopietro ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Version: 01.06.2018 ## -## Description: When an Admin/MH starts a maintenance ## -## this page will be showed ## -## Authors: iopietro ## -## Page: maintenance.php ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2018. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ/ ## -## ## ################################################################################# use App\Utils\AccessLogger; diff --git a/manual.php b/manual.php index 1ba2d2c3..ff63e37b 100644 --- a/manual.php +++ b/manual.php @@ -4,14 +4,21 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename manual.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travianz.org ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : manual.php ## +## Type : In Game Manual Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# include_once("GameEngine/config.php"); diff --git a/nachrichten.php b/nachrichten.php index 7c581a92..7131b764 100644 --- a/nachrichten.php +++ b/nachrichten.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename nachrichten.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : nachrichten.php ## +## Type : In Game Reports Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# diff --git a/password.php b/password.php index be33c276..f959b005 100644 --- a/password.php +++ b/password.php @@ -3,15 +3,23 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename password.php ## -## Developed by: Dixie ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : password.php ## +## Type : In Game Password Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# + use App\Utils\AccessLogger; if(!file_exists('var/installed') && @opendir('install')) { diff --git a/plus.php b/plus.php index b2d97a2f..0f776564 100644 --- a/plus.php +++ b/plus.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename plus.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : plus.php ## +## Type : In Game Plus Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# diff --git a/rules.php b/rules.php index 1fe80e99..f0cc59b4 100644 --- a/rules.php +++ b/rules.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename rules.php ## -## Developed by: FurkicanLove ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : rules.php ## +## Type : In Game Rules Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# diff --git a/spieler.php b/spieler.php index fdc73042..79adf648 100644 --- a/spieler.php +++ b/spieler.php @@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename spieler.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : spieler.php ## +## Type : In Game Profile Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger; diff --git a/statistiken.php b/statistiken.php index 4581dba0..a3e0754a 100644 --- a/statistiken.php +++ b/statistiken.php @@ -3,14 +3,21 @@ ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename statistiken.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : statistiken.php ## +## Type : In Game Statistics Frontend ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki (Original) ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# @@ -37,31 +44,39 @@ if(isset($_GET['newdid'])) { <?php echo SERVER_NAME . ' » » » ' . STATISTICS . ' ('; - if (!empty($_GET['id'])) { - switch ($_GET['id']) { - case '4': - echo ALLIANCES; - break; - - case '2': - echo VILLAGES; - break; - - case '8': - echo HEROES; - break; - - case '0': - echo GENERAL; - break; - - case '99': - echo 'WW'; - break; - } - } else { - echo PLAYERS; - } +if (!empty($_GET['id'])) { + switch ($_GET['id']) { + case '4': + echo ALLIANCES; + break; + case '2': + echo VILLAGES; + break; + case '8': + echo HEROES; + break; + case '0': + echo GENERAL; + break; + case '99': + echo 'WW'; + break; + case '7': + echo 'TOP 10'; + break; + case '31': + echo 'Atacatori'; + break; + case '32': + echo 'Apărători'; + break; + case '1': + echo PLAYERS; + break; + } +} else { + echo PLAYERS; +} echo ')'; ?> diff --git a/support.php b/support.php index c9790da5..c87254f1 100644 --- a/support.php +++ b/support.php @@ -5,15 +5,23 @@ $start_timer = $generator->pageLoadTimeStart(); ################################################################################# ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Filename support.php ## -## Developed by: Dzoki ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travian.shadowss.ro ## -## Source code: https://github.com/Shadowss/TravianZ ## -## ## +## Filename : support.php ## +## Type : In Game Support Page ## +## --------------------------------------------------------------------------- ## +## Developed by : Dzoki ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# + use App\Utils\AccessLogger; include_once("GameEngine/Village.php"); diff --git a/terms.php b/terms.php index 007e080e..321c4b9c 100644 --- a/terms.php +++ b/terms.php @@ -1,13 +1,23 @@ pageLoadTimeStart(); ################################################################################# -## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## -## --------------------------------------------------------------------------- ## -## Project: TravianZ ## -## Version: 18.02.2014 ## -## Description: When the player builds Wonder of the World ## -## to level 100 the winner details are shown. ## -## tells the players the game is over ## -## Authors: aggenkeech - and a little help from Eyas95 ## -## Page: winner.php ## -## Fixed by: Shadow ## -## License: TravianZ Project ## -## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## -## URLs: http://travianz.org ## -## Source code: https://github.com/Shadowss/TravianZ/ ## -## ## +## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## +## --------------------------------------------------------------------------- ## +## Filename : winner.php ## +## Type : In Game Alliance Page ## +## --------------------------------------------------------------------------- ## +## Developed by : aggenkeech - and a little help from Eyas95 ## +## Refactored by : Shadow ## +## Redesign by : Shadow ## +## --------------------------------------------------------------------------- ## +## Contact : cata7007@gmail.com ## +## Project : TravianZ ## +## URLs: : https://travianz.org ## +## GitHub : https://github.com/Shadowss/TravianZ ## +## --------------------------------------------------------------------------- ## +## License : TravianZ Project ## +## Copyright : TravianZ (c) 2010-2026. All rights reserved. ## +## --------------------------------------------------------------------------- ## ################################################################################# use App\Utils\AccessLogger;