mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-09-23 02:17:05 +08:00
Fix Statistiken & Credits
Fix Statistiken & Credits
This commit is contained in:
@@ -8,19 +8,39 @@
|
|||||||
## Filename player_top10.tpl ##
|
## Filename player_top10.tpl ##
|
||||||
## Refactored by Shadow ##
|
## Refactored by Shadow ##
|
||||||
## License: TravianZ Project ##
|
## License: TravianZ Project ##
|
||||||
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
|
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## URLs: http://travianz.org ##
|
||||||
## Source code: http://github.com/Shadowss/TravianZ/ ##
|
## Source code: http://github.com/Shadowss/TravianZ/ ##
|
||||||
## ##
|
## ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
$place = $place1 = $place2 = $place3 = "?";
|
$place = $place1 = $place2 = $place3 = "?";
|
||||||
|
|
||||||
|
|
||||||
for($i=1;$i<=0;$i++) {
|
for($i=1;$i<=0;$i++) {
|
||||||
echo "Row ".$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");
|
$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");
|
$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 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<!-- ADDED: row with Week / Medal reset -->
|
||||||
|
<table cellpadding="1" cellspacing="1" style="width:100%; margin:2px 0;">
|
||||||
|
<tr>
|
||||||
|
<td style="text-align:center; padding:3px;">
|
||||||
|
<b>Week: <?php echo $week; ?></b> <b>Medal reset in:</b> <span id="medalTimer"><?php echo $days; ?>d <?php echo $timeLeft; ?></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<script>
|
||||||
|
var medalSeconds = <?php echo $left; ?>;
|
||||||
|
setInterval(function(){
|
||||||
|
if(medalSeconds <= 0) return;
|
||||||
|
medalSeconds--;
|
||||||
|
var d = Math.floor(medalSeconds/86400);
|
||||||
|
var h = String(Math.floor((medalSeconds%86400)/3600)).padStart(2,'0');
|
||||||
|
var m = String(Math.floor((medalSeconds%3600)/60)).padStart(2,'0');
|
||||||
|
var s = String(medalSeconds%60).padStart(2,'0');
|
||||||
|
document.getElementById('medalTimer').innerHTML = d+'d '+h+':'+m+':'+s;
|
||||||
|
},1000);
|
||||||
|
</script>
|
||||||
|
|
||||||
<table cellpadding="1" cellspacing="1" id="top10_offs" class="top10 row_table_data">
|
<table cellpadding="1" cellspacing="1" id="top10_offs" class="top10 row_table_data">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -77,7 +119,6 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
for($i=1;$i<=0;$i++) {
|
for($i=1;$i<=0;$i++) {
|
||||||
echo "Row ".$i;
|
echo "Row ".$i;
|
||||||
@@ -235,9 +276,7 @@
|
|||||||
echo "<td class=\"val lc\">".$row['RR']."</td>";
|
echo "<td class=\"val lc\">".$row['RR']."</td>";
|
||||||
echo "</tr>";
|
echo "</tr>";
|
||||||
}
|
}
|
||||||
|
|
||||||
// mysqli_close($con);
|
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<div>
|
<div>
|
||||||
@@ -3,21 +3,23 @@ include_once ("GameEngine/Generator.php");
|
|||||||
$start_timer = $generator->pageLoadTimeStart();
|
$start_timer = $generator->pageLoadTimeStart();
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## -= YOU MUST 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+15
-8
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : allianz.php ##
|
||||||
## Filename allianz.php ##
|
## Type : In Game Alliance Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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
|
//fix by ronix
|
||||||
|
|||||||
+15
-8
@@ -3,14 +3,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : anmelden.php ##
|
||||||
## Filename anmelden.php ##
|
## Type : In Game Registration Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+15
-9
@@ -3,15 +3,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : autoloader.php ##
|
||||||
## Filename autoloader.php ##
|
## Type : In Game Autoloader GameEngine ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Refactored by: Shadow ##
|
## Developed by : Dzoki ##
|
||||||
## License: TravianZ Project ##
|
## Refactored by : Shadow ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Redesign by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## 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) {
|
function autoloadClass($class) {
|
||||||
|
|||||||
+15
-8
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : banned.php ##
|
||||||
## Filename banned.php ##
|
## Type : In Game Banned Page ##
|
||||||
## Developed by: yi12345 ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : yi12345 ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+15
-8
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : berucgte.php ##
|
||||||
## Filename berichte.php ##
|
## Type : In Game Messages Page ##
|
||||||
## Developed by: yi12345 ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : yi12345 ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
@@ -3,14 +3,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : build.php ##
|
||||||
## Filename build.php ##
|
## Type : In Game Build Page ##
|
||||||
## Developed by: yi12345 ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : yi12345 ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+16
-15
@@ -1,23 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* crop_builder.php
|
|
||||||
* Admin UI to build/rebuild the precomputed croppers table (9c/15c + best oasis bonus).
|
|
||||||
* The UI is rendered inside the page’s main content area with normal “player” styling.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : build_croppers.php ##
|
||||||
## Filename build_croppers.php ##
|
## Type : In Game AutoBuild Croppers (c9/c15) ##
|
||||||
## Developed by: TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+15
-8
@@ -3,14 +3,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : celebration.php ##
|
||||||
## Filename celebration.php ##
|
## Type : In Game Celebration Page for Town Hall ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+20
-4
@@ -1,8 +1,24 @@
|
|||||||
<?php
|
<?php
|
||||||
// crop_finder.php — fast crop finder using precomputed <TB_PREFIX>croppers
|
|
||||||
// Fixes PHP 8:
|
#################################################################################
|
||||||
// - Defines $MIN_X/$MAX_X/$MIN_Y/$MAX_Y from WORLD_MAX or DB
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
// - Initializes $R, $tries to avoid undefined in debug panel
|
## --------------------------------------------------------------------------- ##
|
||||||
|
## 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");
|
include_once("GameEngine/Generator.php");
|
||||||
$start_timer = $generator->pageLoadTimeStart();
|
$start_timer = $generator->pageLoadTimeStart();
|
||||||
|
|||||||
@@ -5,15 +5,23 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : dorf1.php ##
|
||||||
## Filename dorf1.php ##
|
## Type : In Game Resource View Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|
||||||
include_once("GameEngine/Village.php");
|
include_once("GameEngine/Village.php");
|
||||||
|
|||||||
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : dorf2.php ##
|
||||||
## Filename dorf2.php ##
|
## Type : In Game Village View Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : dorf3.php ##
|
||||||
## Filename dorf3.php ##
|
## Type : In Game General View Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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. ##
|
||||||
|
## --------------------------------------------------------------------------- ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,22 +2,23 @@
|
|||||||
use App\Utils\AccessLogger;
|
use App\Utils\AccessLogger;
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## -= YOU MUST 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')) {
|
if(!file_exists('var/installed') && @opendir('install')) {
|
||||||
|
|||||||
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : karte.php ##
|
||||||
## Filename karte.php ##
|
## Type : In Game Map View Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+17
-8
@@ -1,16 +1,25 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : karte2.php ##
|
||||||
## Filename karte2.php ##
|
## Type : In Game Map View Large Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|
||||||
include_once("GameEngine/Village.php");
|
include_once("GameEngine/Village.php");
|
||||||
|
|||||||
@@ -3,14 +3,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : login.php ##
|
||||||
## Filename login.php ##
|
## Type : In Game Login Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+15
-9
@@ -5,17 +5,23 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : logout.php ##
|
||||||
## Filename logout.php ##
|
## Type : In Game Logout Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|
||||||
include("GameEngine/Account.php");
|
include("GameEngine/Account.php");
|
||||||
|
|||||||
+16
-12
@@ -3,19 +3,23 @@ include_once("GameEngine/Generator.php");
|
|||||||
$start_timer = $generator->pageLoadTimeStart();
|
$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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+15
-8
@@ -4,14 +4,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : manual.php ##
|
||||||
## Filename manual.php ##
|
## Type : In Game Manual Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travianz.org ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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");
|
include_once("GameEngine/config.php");
|
||||||
|
|||||||
+15
-8
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : nachrichten.php ##
|
||||||
## Filename nachrichten.php ##
|
## Type : In Game Reports Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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. ##
|
||||||
|
## --------------------------------------------------------------------------- ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+16
-8
@@ -3,15 +3,23 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : password.php ##
|
||||||
## Filename password.php ##
|
## Type : In Game Password Page ##
|
||||||
## Developed by: Dixie ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|
||||||
if(!file_exists('var/installed') && @opendir('install')) {
|
if(!file_exists('var/installed') && @opendir('install')) {
|
||||||
|
|||||||
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : plus.php ##
|
||||||
## Filename plus.php ##
|
## Type : In Game Plus Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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. ##
|
||||||
|
## --------------------------------------------------------------------------- ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : rules.php ##
|
||||||
## Filename rules.php ##
|
## Type : In Game Rules Page ##
|
||||||
## Developed by: FurkicanLove ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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. ##
|
||||||
|
## --------------------------------------------------------------------------- ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+15
-8
@@ -5,14 +5,21 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : spieler.php ##
|
||||||
## Filename spieler.php ##
|
## Type : In Game Profile Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+48
-33
@@ -3,14 +3,21 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : statistiken.php ##
|
||||||
## Filename statistiken.php ##
|
## Type : In Game Statistics Frontend ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki (Original) ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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'])) {
|
|||||||
<title><?php
|
<title><?php
|
||||||
echo SERVER_NAME . ' » » » ' . STATISTICS . ' (';
|
echo SERVER_NAME . ' » » » ' . STATISTICS . ' (';
|
||||||
|
|
||||||
if (!empty($_GET['id'])) {
|
if (!empty($_GET['id'])) {
|
||||||
switch ($_GET['id']) {
|
switch ($_GET['id']) {
|
||||||
case '4':
|
case '4':
|
||||||
echo ALLIANCES;
|
echo ALLIANCES;
|
||||||
break;
|
break;
|
||||||
|
case '2':
|
||||||
case '2':
|
echo VILLAGES;
|
||||||
echo VILLAGES;
|
break;
|
||||||
break;
|
case '8':
|
||||||
|
echo HEROES;
|
||||||
case '8':
|
break;
|
||||||
echo HEROES;
|
case '0':
|
||||||
break;
|
echo GENERAL;
|
||||||
|
break;
|
||||||
case '0':
|
case '99':
|
||||||
echo GENERAL;
|
echo 'WW';
|
||||||
break;
|
break;
|
||||||
|
case '7':
|
||||||
case '99':
|
echo 'TOP 10';
|
||||||
echo 'WW';
|
break;
|
||||||
break;
|
case '31':
|
||||||
}
|
echo 'Atacatori';
|
||||||
} else {
|
break;
|
||||||
echo PLAYERS;
|
case '32':
|
||||||
}
|
echo 'Apărători';
|
||||||
|
break;
|
||||||
|
case '1':
|
||||||
|
echo PLAYERS;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
echo PLAYERS;
|
||||||
|
}
|
||||||
|
|
||||||
echo ')';
|
echo ')';
|
||||||
?></title>
|
?></title>
|
||||||
|
|||||||
+16
-8
@@ -5,15 +5,23 @@ $start_timer = $generator->pageLoadTimeStart();
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : support.php ##
|
||||||
## Filename support.php ##
|
## Type : In Game Support Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|
||||||
include_once("GameEngine/Village.php");
|
include_once("GameEngine/Village.php");
|
||||||
|
|||||||
@@ -1,13 +1,23 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Filename : terms.php ##
|
## Filename : terms.php ##
|
||||||
## Type : Info Page ##
|
## Type : In Game Terms Page ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
|
## Developed by : Dzoki ##
|
||||||
## Refactored by : Shadow ##
|
## Refactored by : Shadow ##
|
||||||
|
## Redesign by : Shadow ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
|
## Contact : cata7007@gmail.com ##
|
||||||
## Project : TravianZ ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+16
-8
@@ -1,15 +1,23 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : tutorial.php ##
|
||||||
## Filename tutorial.php ##
|
## Type : In Game Tutorial Page ##
|
||||||
## Developed by: Dzoki ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## License: TravianZ Project ##
|
## Developed by : Dzoki ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## Refactored by : Shadow ##
|
||||||
## URLs: http://travian.shadowss.ro ##
|
## Redesign by : Shadow ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## 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;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
+17
-15
@@ -3,21 +3,23 @@ include_once("GameEngine/Generator.php");
|
|||||||
$start_timer = $generator->pageLoadTimeStart();
|
$start_timer = $generator->pageLoadTimeStart();
|
||||||
|
|
||||||
#################################################################################
|
#################################################################################
|
||||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||||
## --------------------------------------------------------------------------- ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Project: TravianZ ##
|
## Filename : winner.php ##
|
||||||
## Version: 18.02.2014 ##
|
## Type : In Game Alliance Page ##
|
||||||
## Description: When the player builds Wonder of the World ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## to level 100 the winner details are shown. ##
|
## Developed by : aggenkeech - and a little help from Eyas95 ##
|
||||||
## tells the players the game is over ##
|
## Refactored by : Shadow ##
|
||||||
## Authors: aggenkeech - and a little help from Eyas95 ##
|
## Redesign by : Shadow ##
|
||||||
## Page: winner.php ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## Fixed by: Shadow ##
|
## Contact : cata7007@gmail.com ##
|
||||||
## License: TravianZ Project ##
|
## Project : TravianZ ##
|
||||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
## URLs: : https://travianz.org ##
|
||||||
## URLs: http://travianz.org ##
|
## GitHub : https://github.com/Shadowss/TravianZ ##
|
||||||
## Source code: https://github.com/Shadowss/TravianZ/ ##
|
## --------------------------------------------------------------------------- ##
|
||||||
## ##
|
## License : TravianZ Project ##
|
||||||
|
## Copyright : TravianZ (c) 2010-2026. All rights reserved. ##
|
||||||
|
## --------------------------------------------------------------------------- ##
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
|
||||||
use App\Utils\AccessLogger;
|
use App\Utils\AccessLogger;
|
||||||
|
|||||||
Reference in New Issue
Block a user