Incremental Refactor Templates 2

Incremental Refactor Templates 2
This commit is contained in:
Catalin Novgorodschi
2026-05-07 08:24:40 +03:00
parent a02be51969
commit 8901c36c06
95 changed files with 4095 additions and 1749 deletions
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+36 -3
View File
@@ -1,4 +1,37 @@
<?php <?php
header('location: /'); #################################################################################
exit; ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
?> ## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+37
View File
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+37
View File
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+118 -38
View File
@@ -1,53 +1,133 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename alliance.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
// Inițializare sigură pentru search
$search = 0;
// Verificăm dacă există valoare în sesiune
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The alliance <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The alliance <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; } else {
$search = (int)$_SESSION['search'];
} }
else $search = $_SESSION['search'];
?> ?>
<table cellpadding="1" cellspacing="1" id="alliance" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="alliance" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The largest alliances <div id="submenu"><a title="Top 10" href="statistiken.php?id=43"><img class="btn_top10" src="img/x.gif" alt="Top 10"></a><a title="defender" href="statistiken.php?id=42"><img class="btn_def" src="img/x.gif" alt="defender"></a><a title="attacker" href="statistiken.php?id=41"><img class="btn_off" src="img/x.gif" alt="attacker"></a></div> The largest alliances
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=43">
<tr><td></td><td>Alliance</td><td>Player</td><td>&Oslash;</td><td>Points</td></tr> <img class="btn_top10" src="img/x.gif" alt="Top 10">
</thead><tbody> </a>
<?php <a title="defender" href="statistiken.php?id=42">
$rankArray = $ranking->getRank(); <img class="btn_def" src="img/x.gif" alt="defender">
if(isset($_GET['rank'])){ </a>
$multiplier = 1; <a title="attacker" href="statistiken.php?id=41">
if(is_numeric($_GET['rank'])) { <img class="btn_off" src="img/x.gif" alt="attacker">
if($_GET['rank'] > count($rankArray)) { </a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
</tr>
while($_GET['rank'] > (20*$multiplier)) $multiplier++; <tr>
<td></td>
<td>Alliance</td>
<td>Player</td>
<td>&Oslash;</td>
<td>Points</td>
</tr>
</thead>
$start = 20 * $multiplier - 19; <tbody>
} <?php
else $start = ($_SESSION['start'] + 1); // Luăm ranking-ul (fallback dacă nu există)
} $rankArray = isset($ranking) ? $ranking->getRank() : array();
else $start = ($_SESSION['start'] + 1);
if(count($rankArray) > 1) { // Start implicit sigur
for($i = $start; $i < $start + 20; $i++) { $start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1;
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >";
else echo "<tr><td class=\"ra \" >";
echo $i.".</td><td class=\"al \" ><a href=\"allianz.php?aid=".$rankArray[$i]['id']."\">".$rankArray[$i]['tag']."</a></td><td class=\"pla \" >"; // Dacă există rank în GET, îl validăm
echo $rankArray[$i]['players']."</td><td class=\"av \" >".$rankArray[$i]['avg']."</td><td class=\"po \">".$rankArray[$i]['totalpop']."</td></tr>"; if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
} $rank = (int)$_GET['rank'];
$multiplier = 1;
$totalRanks = count($rankArray);
// Limitare la dimensiunea array-ului
if ($rank > $totalRanks) {
$rank = $totalRanks - 1;
}
// Calcul paginare (pastrat logic original)
while ($rank > (20 * $multiplier)) {
$multiplier++;
}
$start = 20 * $multiplier - 19;
}
// Afișare rezultate
if (!empty($rankArray) && count($rankArray) > 1) {
for ($i = $start; $i < $start + 20; $i++) {
// Validare element existent
if (isset($rankArray[$i]) && $rankArray[$i] !== "pad" && isset($rankArray[$i]['name'])) {
// Highlight pentru căutare
$rowClass = ($i === $search) ? 'hl' : '';
echo '<tr class="' . $rowClass . '">';
echo '<td class="ra fc">' . $i . '.</td>';
// Alliance link (XSS safe)
echo '<td class="al">';
echo '<a href="allianz.php?aid=' . (int)$rankArray[$i]['id'] . '">';
echo htmlspecialchars($rankArray[$i]['tag'], ENT_QUOTES, 'UTF-8');
echo '</a></td>';
// Players
echo '<td class="pla">' . (int)$rankArray[$i]['players'] . '</td>';
// Average
echo '<td class="av">' . (int)$rankArray[$i]['avg'] . '</td>';
// Total population
echo '<td class="po">' . (int)$rankArray[$i]['totalpop'] . '</td>';
echo '</tr>';
} }
} }
else echo "<td class=\"none\" colspan=\"5\">No alliances found</td>";
?> } else {
</tbody> echo '<tr><td class="none" colspan="5">No alliances found</td></tr>';
}
?>
</tbody>
</table> </table>
<?php <?php
// Include fallback-safe
include("ranksearch.tpl"); include("ranksearch.tpl");
?> ?>
+111 -38
View File
@@ -1,53 +1,126 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename alliance_attack.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
// Validare search
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The alliance <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The alliance <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} else {
$search = (int)$_SESSION['search'];
} }
else $search = $_SESSION['search'];
?> ?>
<table cellpadding="1" cellspacing="1" id="alliance_off" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="alliance_off" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The best alliances (off) <div id="submenu"><a title="Top 10" href="statistiken.php?id=43"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=42"><img class="btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=41"><img class="active btn_off" src="img/x.gif" alt="attacker" /></a></div> The best alliances (off)
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=43">
<tr><td></td><td>Alliance</td><td>Player</td><td>Points</td></tr> <img class="btn_top10" src="img/x.gif" alt="Top 10" />
</thead><tbody> </a>
<?php <a title="defender" href="statistiken.php?id=42">
$rankArray = $ranking->getRank(); <img class="btn_def" src="img/x.gif" alt="defender" />
if(isset($_GET['rank'])){ </a>
$multiplier = 1; <a title="attacker" href="statistiken.php?id=41">
if(is_numeric($_GET['rank'])) { <img class="active btn_off" src="img/x.gif" alt="attacker" />
if($_GET['rank'] > count($rankArray)) { </a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
</tr>
while($_GET['rank'] > (20*$multiplier)) $multiplier++; <tr>
<td></td>
$start = 20 * $multiplier - 19; <td>Alliance</td>
<td>Player</td>
<td>Points</td>
</tr>
</thead>
<tbody>
<?php
// EXACT ca original (doar fallback dacă lipsește obiectul)
$rankArray = isset($ranking) ? $ranking->getRank() : array();
if(isset($_GET['rank'])){
$multiplier = 1;
if(is_numeric($_GET['rank'])) {
if($_GET['rank'] > count($rankArray)) {
$_GET['rank'] = count($rankArray) - 1;
} }
else $start = ($_SESSION['start'] + 1);
while($_GET['rank'] > (20 * $multiplier)) {
$multiplier++;
}
$start = 20 * $multiplier - 19;
} else {
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
} }
else $start = ($_SESSION['start'] + 1);
} else {
if(count($rankArray) > 1) { $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
for($i = $start; $i < $start + 20; $i++) { }
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >"; if(count($rankArray) > 1) {
else echo "<tr><td class=\"ra \" >";
for($i = $start; $i < $start + 20; $i++) {
echo $i.".</td><td class=\"al \" ><a href=\"allianz.php?aid=".$rankArray[$i]['id']."\">".$rankArray[$i]['tag']."</a></td><td class=\"pla \" >";
echo $rankArray[$i]['players']."</td><td class=\"po \">".$rankArray[$i]['Aap']."</td></tr>"; if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
if($i == $search) {
echo '<tr class="hl"><td class="ra fc">';
} else {
echo '<tr><td class="ra">';
} }
echo $i . '.</td>';
echo '<td class="al">';
echo '<a href="allianz.php?aid=' . (int)$rankArray[$i]['id'] . '">';
echo htmlspecialchars($rankArray[$i]['tag'], ENT_QUOTES, 'UTF-8');
echo '</a></td>';
echo '<td class="pla">' . (int)$rankArray[$i]['players'] . '</td>';
// Offensive points (Aap)
echo '<td class="po">' . (int)$rankArray[$i]['Aap'] . '</td>';
echo '</tr>';
} }
} }
else echo "<td class=\"none\" colspan=\"5\">No alliances found</td>";
?> } else {
</tbody> echo '<tr><td class="none" colspan="5">No alliances found</td></tr>';
}
?>
</tbody>
</table> </table>
<?php <?php
// Include fallback safe
include("ranksearch.tpl"); include("ranksearch.tpl");
?> ?>
+114 -42
View File
@@ -1,53 +1,125 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename alliance_defend.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
// Inițializare sigură
$search = 0;
// Validare search din sesiune
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The alliance <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The alliance <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; } else {
$search = (int)$_SESSION['search'];
} }
else $search = $_SESSION['search'];
?> ?>
<table cellpadding="1" cellspacing="1" id="alliance_def" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="alliance_def" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The best alliances (def) <div id="submenu"><a title="Top 10" href="statistiken.php?id=43"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=42"><img class="active btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=41"><img class="btn_off" src="img/x.gif" alt="attacker" /></a></div> The best alliances (def)
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=43">
<tr><td></td><td>Alliance</td><td>Player</td><td>Points</td></tr> <img class="btn_top10" src="img/x.gif" alt="Top 10" />
</thead><tbody> </a>
<?php <a title="defender" href="statistiken.php?id=42">
$rankArray = $ranking->getRank(); <img class="active btn_def" src="img/x.gif" alt="defender" />
if(isset($_GET['rank'])){ </a>
$multiplier = 1; <a title="attacker" href="statistiken.php?id=41">
if(is_numeric($_GET['rank'])) { <img class="btn_off" src="img/x.gif" alt="attacker" />
if($_GET['rank'] > count($rankArray)) { </a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
</tr>
while($_GET['rank'] > (20*$multiplier)) $multiplier++; <tr>
<td></td>
$start = 20 * $multiplier - 19; <td>Alliance</td>
} <td>Player</td>
else $start = ($_SESSION['start'] + 1); <td>Points</td>
</tr>
</thead>
<tbody>
<?php
// Luăm ranking (fallback safe)
$rankArray = isset($ranking) ? $ranking->getRank() : array();
// Start implicit
$start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1;
// Validare rank GET
if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
$rank = (int)$_GET['rank'];
$multiplier = 1;
$totalRanks = count($rankArray);
if ($rank > $totalRanks) {
$rank = $totalRanks - 1;
} }
else $start = ($_SESSION['start'] + 1);
while ($rank > (20 * $multiplier)) {
if(count($rankArray) > 1) { $multiplier++;
for($i = $start; $i < $start + 20; $i++) { }
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >"; $start = 20 * $multiplier - 19;
else echo "<tr><td class=\"ra \" >"; }
echo $i.".</td><td class=\"al \" ><a href=\"allianz.php?aid=".$rankArray[$i]['id']."\">".$rankArray[$i]['tag']."</a></td><td class=\"pla \" >"; // Afișare tabel
echo $rankArray[$i]['players']."</td><td class=\"po \">".$rankArray[$i]['Adp']."</td></tr>"; if (!empty($rankArray) && count($rankArray) > 1) {
}
for ($i = $start; $i < $start + 20; $i++) {
if (isset($rankArray[$i]) && $rankArray[$i] !== "pad" && isset($rankArray[$i]['name'])) {
// Highlight search
$rowClass = ($i === $search) ? 'hl' : '';
echo '<tr class="' . $rowClass . '">';
echo '<td class="ra fc">' . $i . '.</td>';
// Alliance
echo '<td class="al">';
echo '<a href="allianz.php?aid=' . (int)$rankArray[$i]['id'] . '">';
echo htmlspecialchars($rankArray[$i]['tag'], ENT_QUOTES, 'UTF-8');
echo '</a></td>';
// Players
echo '<td class="pla">' . (int)$rankArray[$i]['players'] . '</td>';
// Defensive points (Adp)
echo '<td class="po">' . (int)$rankArray[$i]['Adp'] . '</td>';
echo '</tr>';
} }
} }
else echo "<td class=\"none\" colspan=\"5\">No alliances found</td>";
?> } else {
</tbody> echo '<tr><td class="none" colspan="5">No alliances found</td></tr>';
}
?>
</tbody>
</table> </table>
<?php <?php
include("ranksearch.tpl"); // Include fallback safe
?> include("ranksearch.tpl");
?>
+18 -2
View File
@@ -1,4 +1,20 @@
<?php <?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename ally_top10.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## 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++) {
@@ -11,7 +27,7 @@
<table cellpadding="1" cellspacing="1"> <table cellpadding="1" cellspacing="1">
<thead> <thead>
<tr> <tr>
<th>Top 10 Alliances<div id="submenu"><a title="Top 10" href="statistiken.php?id=43"><img class="active btn_top10" src="img/x.gif" alt="Top 10"></a><a title="defender" href="statistiken.php?id=42"><img class="btn_def" src="img/x.gif" alt="defender"></a><a title="attacker" href="statistiken.php?id=41"><img class="btn_off" src="img/x.gif" alt="attacker"></a></div><div id="submenu2"><a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a><a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a><a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a></div></th> <th>Top 10 Alliances<div id="submenu"><a title="Top 10" href="statistiken.php?id=43"><img class="active btn_top10" src="img/x.gif" alt="Top 10"></a><a title="defender" href="statistiken.php?id=42"><img class="btn_def" src="img/x.gif" alt="defender"></a><a title="attacker" href="statistiken.php?id=41"><img class="btn_off" src="img/x.gif" alt="attacker"></a></div><div id="submenu2"></div></th>
</tr> </tr>
</thead> </thead>
</table> </table>
+273 -470
View File
@@ -1,485 +1,288 @@
<?php <?php
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename general .tpl ## ## Project: TravianZ ##
## Developed by: Dzoki ## ## Version: 01.09.2013 ##
## Filename general.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2011. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## Enhanced: saulyzas ## ## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
################################################################################# #################################################################################
$tribe1 = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 1"), MYSQLI_ASSOC); // =========================
$tribe2 = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 2"), MYSQLI_ASSOC); // TRIBES COUNT (optimized)
$tribe3 = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 3"), MYSQLI_ASSOC); // =========================
$tribes = [$tribe1['Total'], $tribe2['Total'], $tribe3['Total']]; $tribesRes = mysqli_query(
$users = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM " . TB_PREFIX . "users WHERE tribe > 0 AND tribe < 4"), MYSQLI_ASSOC); $database->dblink,
$users = $users['Total']; "SELECT tribe, COUNT(*) AS Total
FROM ".TB_PREFIX."users
WHERE tribe BETWEEN 1 AND 3
GROUP BY tribe"
);
$tribes = [0, 0, 0];
if ($tribesRes) {
while ($row = mysqli_fetch_assoc($tribesRes)) {
$tribeId = (int)$row['tribe'] - 1;
if (isset($tribes[$tribeId])) {
$tribes[$tribeId] = (int)$row['Total'];
}
}
}
// total users
$userRes = mysqli_query(
$database->dblink,
"SELECT COUNT(*) AS Total
FROM ".TB_PREFIX."users
WHERE tribe BETWEEN 1 AND 3"
);
$users = ($userRes) ? (int)mysqli_fetch_assoc($userRes)['Total'] : 0;
// =========================
// VILLAGES + POPULATION
// =========================
$villageRes = mysqli_query($database->dblink, "SELECT COUNT(*) AS Total FROM ".TB_PREFIX."vdata");
$num_villages = ($villageRes) ? (int)mysqli_fetch_assoc($villageRes)['Total'] : 0;
$popRes = mysqli_query($database->dblink, "SELECT SUM(pop) AS totalpop FROM ".TB_PREFIX."vdata");
$total_pop = ($popRes) ? (int)mysqli_fetch_assoc($popRes)['totalpop'] : 0;
// =========================
// ONLINE / ACTIVE USERS
// =========================
$activeRes = mysqli_query(
$database->dblink,
"SELECT COUNT(*) AS Total
FROM ".TB_PREFIX."users
WHERE timestamp > ".(time() - 86400)."
AND tribe BETWEEN 1 AND 3"
);
$active = ($activeRes) ? (int)mysqli_fetch_assoc($activeRes)['Total'] : 0;
$onlineRes = mysqli_query(
$database->dblink,
"SELECT COUNT(*) AS Total
FROM ".TB_PREFIX."users
WHERE timestamp > ".(time() - 600)."
AND tribe BETWEEN 1 AND 3"
);
$online = ($onlineRes) ? (int)mysqli_fetch_assoc($onlineRes)['Total'] : 0;
// =========================
// GOLD TOTAL
// =========================
$goldRes = mysqli_query($database->dblink, "SELECT SUM(gold) AS totalgold FROM ".TB_PREFIX."users");
$total_gold = ($goldRes) ? (int)mysqli_fetch_assoc($goldRes)['totalgold'] : 0;
?> ?>
<!-- ================= WORLD STATS ================= -->
<table cellpadding="1" cellspacing="1" id="world_player" class="world"> <table cellpadding="1" cellspacing="1" id="world_player" class="world">
<thead> <thead>
<tr> <tr><th colspan="2">World Stats</th></tr>
<th colspan="2">World Stats</th> <tr><td>Total Villages</td><td>Total Population</td></tr>
</tr> </thead>
<tr> <tbody>
<td>Total Villages</td> <tr>
<td><?= $num_villages ?></td>
<td>Total Population</td> <td><?= $total_pop ?></td>
</tr> </tr>
</thead> </tbody>
<tbody> </table>
<tr>
<br />
<td>
<!-- ================= PLAYERS ================= -->
<table cellpadding="1" cellspacing="1" class="world">
<thead>
<tr><th colspan="2">Players</th></tr>
</thead>
<tbody>
<tr><th>Registered players</th><td><?= $users ?></td></tr>
<tr><th>Active players</th><td><?= $active ?></td></tr>
<tr><th>Players online</th><td><?= $online ?></td></tr>
</tbody>
</table>
<br />
<!-- ================= TRIBES ================= -->
<table cellpadding="1" cellspacing="1" class="world">
<thead>
<tr><th colspan="3">Tribes</th></tr>
<tr><td>Tribe</td><td>Registered</td><td>Percent</td></tr>
</thead>
<tbody>
<?php <?php
$result2 = mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."vdata"); $roman = $tribes[0];
$num_rows2 = mysqli_num_rows($result2); $teuton = $tribes[1];
echo $num_rows2; $gaul = $tribes[2];
?></td>
<td> $romanPct = ($users > 0) ? round(100 * $roman / $users, 2) : 0;
<?php $teutonPct = ($users > 0) ? round(100 * $teuton / $users, 2) : 0;
$pop = mysqli_query($database->dblink,"SELECT SUM(pop) AS sumofpop FROM ".TB_PREFIX."vdata"); $gaulPct = ($users > 0) ? round(100 - $romanPct - $teutonPct, 2) : 0;
$getpop = mysqli_fetch_assoc($pop); ?>
echo $getpop['sumofpop'];
?></td> <tr><td>Romans</td><td><?= $roman ?></td><td><?= $users ? $romanPct.'%' : '---' ?></td></tr>
<tr><td>Teutons</td><td><?= $teuton ?></td><td><?= $users ? $teutonPct.'%' : '---' ?></td></tr>
<tr><td>Gauls</td><td><?= $gaul ?></td><td><?= $users ? $gaulPct.'%' : '---' ?></td></tr>
</tbody>
</table>
<br />
<!-- ================= GOLD ================= -->
<table cellpadding="1" cellspacing="1" class="world">
<thead>
<tr>
<th colspan="2">
Total <?= SERVER_NAME ?> <img src="./<?= GP_LOCATE ?>img/a/gold.gif">
Gold
</th>
</tr>
</thead>
<tbody>
<tr>
<td>Gold</td>
<td><?= $total_gold ?></td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
<br /> <br />
<table cellpadding="1" cellspacing="1" id="world_player" class="world"> <!-- ================= TROOPS (UNCHANGED STRUCTURE, ONLY CLEAN OUTPUT) ================= -->
<thead> <table cellpadding="1" cellspacing="1" class="world">
<tr> <thead>
<th colspan="2">Players</th> <tr><th colspan="6">Troops</th></tr>
</tr> <tr>
</thead> <td><img src="img/romenai.png"></td><td>Total</td>
<td><img src="img/germanai.png"></td><td>Total</td>
<tbody> <td><img src="img/galai.png"></td><td>Total</td>
<tr> </tr>
<th>Registered players</th> </thead>
<tbody>
<td><?php
echo $users; ?></td> <?php
</tr> // SAFE: preload all sums once (fix performance + clean code)
$units = [];
<tr> $result = mysqli_query($database->dblink, "SELECT
<th>Active players</th> SUM(u1) AS u1, SUM(u2) AS u2, SUM(u3) AS u3, SUM(u4) AS u4, SUM(u5) AS u5,
SUM(u6) AS u6, SUM(u7) AS u7, SUM(u8) AS u8, SUM(u9) AS u9, SUM(u10) AS u10,
<td><?php SUM(u11) AS u11, SUM(u12) AS u12, SUM(u13) AS u13, SUM(u14) AS u14, SUM(u15) AS u15,
$active = mysqli_num_rows(mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."users WHERE timestamp > ".(time() - (3600*24))." AND tribe!=0 AND tribe!=4 AND tribe!=5")); SUM(u16) AS u16, SUM(u17) AS u17, SUM(u18) AS u18, SUM(u19) AS u19, SUM(u20) AS u20,
echo $active; ?></td> SUM(u21) AS u21, SUM(u22) AS u22, SUM(u23) AS u23, SUM(u24) AS u24, SUM(u25) AS u25,
</tr> SUM(u26) AS u26, SUM(u27) AS u27, SUM(u28) AS u28, SUM(u29) AS u29, SUM(u30) AS u30
FROM ".TB_PREFIX."units");
<tr>
<th>Players online</th> if ($result) {
$units = mysqli_fetch_assoc($result);
<td><?php }
$online = mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE timestamp > ".(time() - (60*10))." AND tribe!=0 AND tribe!=4 AND tribe!=5");
if (!empty($online)) { // helper safe output
echo mysqli_fetch_assoc($online)['Total']; function u($units, $key) {
} else { return isset($units[$key]) ? (int)$units[$key] : 0;
echo 0; }
}
?></td>
</tr>
</tbody>
</table>
<table cellpadding="1" cellspacing="1" id="world_tribes" class="world">
<thead>
<tr>
<th colspan="3">Tribes</th>
</tr>
<tr>
<td>Tribe</td>
<td>Registered</td>
<td>Percent</td>
</tr>
</thead>
<tbody>
<tr>
<td>Romans</td>
<td><?php echo $tribes[0]; ?></td>
<td><?php echo ($users > 0) ? ($percents[0] = round(100 * ($tribes[0] / $users), 2))."%" : '---'; ?></td>
</tr>
<tr>
<td>Teutons</td>
<td><?php echo $tribes[1]; ?></td>
<td><?php echo ($users > 0) ? ($percents[1] = round(100 * ($tribes[1] / $users), 2))."%" : "---"; ?></td>
</tr>
<tr>
<td>Gauls</td>
<td><?php echo $tribes[2]; ?></td>
<td><?php echo ($users > 0) ? (100-$percents[0]-$percents[1])."%" : '---'; ?></td>
</tr>
</tbody>
</table>
<table cellpadding="1" cellspacing="1" id="world_tribes" class="world">
<thead>
<tr>
<th colspan="3">Total <?php echo SERVER_NAME ?> <img src="./<?php echo GP_LOCATE; ?>img/a/gold.gif" alt="Gold" title="Gold"> Gold</th>
</tr>
<tr>
<td></td>
<td>Total</td>
</tr>
</thead>
<tbody>
<tr>
<td><img src="./<?php echo GP_LOCATE; ?>img/a/gold.gif" alt="Gold" title="Gold"> Gold</td>
<td>
<?php
$gold = mysqli_query($database->dblink, "SELECT SUM(gold) AS sumofgold FROM ".TB_PREFIX."users");
$getgold = mysqli_fetch_assoc($gold);
echo $getgold['sumofgold'] ?? 0;
?> ?>
</td>
</tr> <!-- ROMANS / GAULS / TEUTONS -->
</tbody>
</table> <!-- ROW 1 -->
</br> <tr>
<table cellpadding="1" cellspacing="1" id="world_player" class="world"> <td><img src="img/x.gif" class="unit u1"></td><td><?= u($u,'u1') ?></td>
<thead> <td><img src="img/x.gif" class="unit u11"></td><td><?= u($u,'u11') ?></td>
<tr> <td><img src="img/x.gif" class="unit u21"></td><td><?= u($u,'u21') ?></td>
<th colspan="6">Troops</th> </tr>
</tr>
<tr> <!-- ROW 2 -->
<td><img src='img/romenai.png'></td> <tr>
<td>Total</td> <td><img src="img/x.gif" class="unit u2"></td><td><?= u($u,'u2') ?></td>
<td><img src='img/germanai.png'></td> <td><img src="img/x.gif" class="unit u12"></td><td><?= u($u,'u12') ?></td>
<td>Total</td> <td><img src="img/x.gif" class="unit u22"></td><td><?= u($u,'u22') ?></td>
<td><img src='img/galai.png'></td> </tr>
<td>Total</td>
</tr> <!-- ROW 3 -->
</thead> <tr>
<tbody> <td><img src="img/x.gif" class="unit u3"></td><td><?= u($u,'u3') ?></td>
<td><img src="img/x.gif" class="unit u13"></td><td><?= u($u,'u13') ?></td>
<td><img src="img/x.gif" class="unit u23"></td><td><?= u($u,'u23') ?></td>
<tr> </tr>
<td><img src="img/x.gif" class="unit u1"></td>
<td> <!-- ROW 4 -->
<?php <tr>
$orat = mysqli_query($database->dblink,"SELECT SUM(u1) AS sumofrats FROM ".TB_PREFIX."units"); <td><img src="img/x.gif" class="unit u4"></td><td><?= u($u,'u4') ?></td>
$getorat = mysqli_fetch_assoc($orat); <td><img src="img/x.gif" class="unit u14"></td><td><?= u($u,'u14') ?></td>
echo $getorat['sumofrats']; <td><img src="img/x.gif" class="unit u24"></td><td><?= u($u,'u24') ?></td>
?></td> </tr>
<td><img src="img/x.gif" class="unit u11"></td>
<td> <!-- ROW 5 -->
<?php <tr>
$orat = mysqli_query($database->dblink,"SELECT SUM(u11) AS sumofrats FROM ".TB_PREFIX."units"); <td><img src="img/x.gif" class="unit u5"></td><td><?= u($u,'u5') ?></td>
$getorat = mysqli_fetch_assoc($orat); <td><img src="img/x.gif" class="unit u15"></td><td><?= u($u,'u15') ?></td>
echo $getorat['sumofrats']; <td><img src="img/x.gif" class="unit u25"></td><td><?= u($u,'u25') ?></td>
?></td> </tr>
<td><img src="img/x.gif" class="unit u21"></td>
<td> <!-- ROW 6 -->
<?php <tr>
$orat = mysqli_query($database->dblink,"SELECT SUM(u21) AS sumofrats FROM ".TB_PREFIX."units"); <td><img src="img/x.gif" class="unit u6"></td><td><?= u($u,'u6') ?></td>
$getorat = mysqli_fetch_assoc($orat); <td><img src="img/x.gif" class="unit u16"></td><td><?= u($u,'u16') ?></td>
echo $getorat['sumofrats']; <td><img src="img/x.gif" class="unit u26"></td><td><?= u($u,'u26') ?></td>
?></td> </tr>
</tr>
<!-- ROW 7 -->
<tr> <tr>
<td><img src="img/x.gif" class="unit u2"></td> <td><img src="img/x.gif" class="unit u7"></td><td><?= u($u,'u7') ?></td>
<td> <td><img src="img/x.gif" class="unit u17"></td><td><?= u($u,'u17') ?></td>
<?php <td><img src="img/x.gif" class="unit u27"></td><td><?= u($u,'u27') ?></td>
$orat = mysqli_query($database->dblink,"SELECT SUM(u2) AS sumofrats FROM ".TB_PREFIX."units"); </tr>
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats']; <!-- ROW 8 -->
?></td> <tr>
<td><img src="img/x.gif" class="unit u12"></td> <td><img src="img/x.gif" class="unit u8"></td><td><?= u($u,'u8') ?></td>
<td> <td><img src="img/x.gif" class="unit u18"></td><td><?= u($u,'u18') ?></td>
<?php <td><img src="img/x.gif" class="unit u28"></td><td><?= u($u,'u28') ?></td>
$orat = mysqli_query($database->dblink,"SELECT SUM(u12) AS sumofrats FROM ".TB_PREFIX."units"); </tr>
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats']; <!-- ROW 9 -->
?></td> <tr>
<td><img src="img/x.gif" class="unit u22"></td> <td><img src="img/x.gif" class="unit u9"></td><td><?= u($u,'u9') ?></td>
<td> <td><img src="img/x.gif" class="unit u19"></td><td><?= u($u,'u19') ?></td>
<?php <td><img src="img/x.gif" class="unit u29"></td><td><?= u($u,'u29') ?></td>
$orat = mysqli_query($database->dblink,"SELECT SUM(u22) AS sumofrats FROM ".TB_PREFIX."units"); </tr>
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats']; <!-- ROW 10 -->
?></td> <tr>
</tr> <td><img src="img/x.gif" class="unit u10"></td><td><?= u($u,'u10') ?></td>
<td><img src="img/x.gif" class="unit u20"></td><td><?= u($u,'u20') ?></td>
<tr> <td><img src="img/x.gif" class="unit u30"></td><td><?= u($u,'u30') ?></td>
<td><img src="img/x.gif" class="unit u3"></td> </tr>
<td>
<?php </tbody>
$orat = mysqli_query($database->dblink,"SELECT SUM(u3) AS sumofrats FROM ".TB_PREFIX."units"); </table>
$getorat = mysqli_fetch_assoc($orat); <br />
echo $getorat['sumofrats']; <!-- ================= MISC ================= -->
?></td> <table cellpadding="1" cellspacing="1" class="world">
<td><img src="img/x.gif" class="unit u13"></td> <thead>
<td> <tr><th colspan="3">Miscellaneous</th></tr>
<?php <tr><td>Attacks</td><td>Casualties</td><td>Date</td></tr>
$orat = mysqli_query($database->dblink,"SELECT SUM(u13) AS sumofrats FROM ".TB_PREFIX."units"); </thead>
$getorat = mysqli_fetch_assoc($orat); <tbody>
echo $getorat['sumofrats'];
?></td> <?php for($d=0;$d<=6;$d++): ?>
<td><img src="img/x.gif" class="unit u23"></td> <tr>
<td> <td><?= $database->getAttackByDate(time()-(86400*$d)) ?></td>
<?php <td><?= $database->getAttackCasualties(time()-(86400*$d)) ?></td>
$orat = mysqli_query($database->dblink,"SELECT SUM(u23) AS sumofrats FROM ".TB_PREFIX."units"); <td><?= date("j. M", time()-(86400*$d)) ?></td>
$getorat = mysqli_fetch_assoc($orat); </tr>
echo $getorat['sumofrats']; <?php endfor; ?>
?></td> </tbody>
</tr> </table>
<?php ?>
<tr>
<td><img src="img/x.gif" class="unit u4"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u4) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u14"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u14) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u24"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u24) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
<tr>
<td><img src="img/x.gif" class="unit u5"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u5) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u15"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u15) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u25"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u25) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
<tr>
<td><img src="img/x.gif" class="unit u6"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u6) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u16"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u16) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u26"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u26) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
<tr>
<td><img src="img/x.gif" class="unit u7"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u7) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u17"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u17) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u27"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u27) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
<tr>
<td><img src="img/x.gif" class="unit u8"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u8) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u18"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u18) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u28"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u28) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
<tr>
<td><img src="img/x.gif" class="unit u9"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u9) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u19"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u19) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u29"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u29) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
<tr>
<td><img src="img/x.gif" class="unit u10"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u10) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u20"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u20) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
<td><img src="img/x.gif" class="unit u30"></td>
<td>
<?php
$orat = mysqli_query($database->dblink,"SELECT SUM(u30) AS sumofrats FROM ".TB_PREFIX."units");
$getorat = mysqli_fetch_assoc($orat);
echo $getorat['sumofrats'];
?></td>
</tr>
</tbody>
</table>
<table cellpadding="1" cellspacing="1" id="world_tribes" class="world">
<thead>
<tr>
<th colspan="3">Miscellaneous</th>
</tr>
<tr>
<td>Attacks</td>
<td>Casualties</td>
<td>Date</td>
</tr>
</thead>
<tbody>
<tr>
<td><?php echo $database->getAttackByDate(time()); ?></td>
<td><?php echo $database->getAttackCasualties(time()); ?></td>
<td><?php echo date("j. M"); ?></td>
</tr>
<tr>
<td><?php echo $database->getAttackByDate(time()-(86400*1)); ?></td>
<td><?php echo $database->getAttackCasualties(time()-(86400*1)); ?></td>
<td><?php echo date("j. M",time()-(86400*1)); ?></td>
</tr>
<tr>
<td><?php echo $database->getAttackByDate(time()-(86400*2)); ?></td>
<td><?php echo $database->getAttackCasualties(time()-(86400*2)); ?></td>
<td><?php echo date("j. M",time()-(86400*2)); ?></td>
</tr>
<tr>
<td><?php echo $database->getAttackByDate(time()-(86400*3)); ?></td>
<td><?php echo $database->getAttackCasualties(time()-(86400*3)); ?></td>
<td><?php echo date("j. M",time()-(86400*3)); ?></td>
</tr>
<tr>
<td><?php echo $database->getAttackByDate(time()-(86400*4)); ?></td>
<td><?php echo $database->getAttackCasualties(time()-(86400*4)); ?></td>
<td><?php echo date("j. M",time()-(86400*4)); ?></td>
</tr>
<tr>
<td><?php echo $database->getAttackByDate(time()-(86400*5)); ?></td>
<td><?php echo $database->getAttackCasualties(time()-(86400*5)); ?></td>
<td><?php echo date("j. M",time()-(86400*5)); ?></td>
</tr>
<tr>
<td><?php echo $database->getAttackByDate(time()-(86400*6)); ?></td>
<td><?php echo $database->getAttackCasualties(time()-(86400*6)); ?></td>
<td><?php echo date("j. M",time()-(86400*6)); ?></td>
</tr>
</tbody>
</table>
<?php ?>
<table cellpadding="1" cellspacing="1" id="search_navi"> <?php //fix the problem with footer.php, don't change or remove it ?> <table cellpadding="1" cellspacing="1" id="search_navi"> <?php //fix the problem with footer.php, don't change or remove it ?>
+114 -60
View File
@@ -1,71 +1,125 @@
<?php <?php
/** --------------------------------------------------- **\ #################################################################################
| ********* DO NOT REMOVE THIS COPYRIGHT NOTICE ********* | ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
+---------------------------------------------------------+ ## --------------------------------------------------------------------------- ##
| Released by: Dzoki < dzoki.travian@gmail.com > | ## Project: TravianZ ##
| Copyright: TravianZ Project All rights reserved | ## Version: 01.09.2013 ##
\** --------------------------------------------------- **/ ## Filename heroes.tpl ##
if(!is_numeric($_SESSION['search'])) { ## Refactored by Shadow ##
?> ## License: TravianZ Project ##
<center><font color=orange size=2><p class=\"error\">The hero <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> ## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
<?php ## URLs: http://travian.shadowss.ro ##
$search = 0; ## Source code: http://github.com/Shadowss/TravianZ/ ##
} else { ## ##
$search = $_SESSION['search']; #################################################################################
}
// ================= SEARCH VALIDATION =================
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?>
<center>
<font color="orange" size="2">
<p class="error">
The hero <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php
$search = 0;
} else {
$search = (int)$_SESSION['search'];
}
?> ?>
<table cellpadding="1" cellspacing="1" id="heroes" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="heroes" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">The most experienced heroes</th>
The most experienced heroes </th> </tr>
</tr> <tr>
<tr><td></td><td>Hero</td><td>Player</td><td>Level</td><td>Experience</td></tr> <td></td>
</thead><tbody> <td>Hero</td>
<?php <td>Player</td>
$rankArray = $ranking->getRank(); <td>Level</td>
if(isset($_GET['rank'])){ <td>Experience</td>
$multiplier = 1; </tr>
if(is_numeric($_GET['rank'])) { </thead>
if($_GET['rank'] > count($rankArray)) {
$_GET['rank'] = count($rankArray) - 1; <tbody>
} <?php
$rankArray = isset($ranking) ? $ranking->getRank() : array();
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
// ================= PAGINATION (UNCHANGED LOGIC) =================
$start = 20 * $multiplier - 19; if(isset($_GET['rank'])){
$multiplier = 1;
if(is_numeric($_GET['rank'])) {
if($_GET['rank'] > count($rankArray)) {
$_GET['rank'] = count($rankArray) - 1;
} }
else $start = ($_SESSION['start'] + 1);
}
else $start = ($_SESSION['start'] + 1);
if(count($rankArray) > 1) {
for($i = $start; $i < $start + 20; $i++) {
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl \"><td class=\"ra fc\" >";
else echo "<tr><td class=\"ra \" >";
echo $i . ".</td> while($_GET['rank'] > (20 * $multiplier)) {
<td class=\"hero \"> $multiplier++;
<img class=\"unit u" . $rankArray[$i]['unit'] . "\" alt=\"\" title=\"\" src=\"img/x.gif\"> " . $rankArray[$i]['name'] . "</td> }
<td class=\"pla \"><center><a href=\"spieler.php?uid=" . $rankArray[$i]['uid'] . "\">" . $rankArray[$i]['owner'] . "</a></center></td>
<td class=\"lev \">" . $rankArray[$i]['level'] . "</td>
<td class=\"xp \">" . $rankArray[$i]['experience'] . "</td>
</tr>
";
}
}
}
else echo "<td class=\"none\" colspan=\"5\">No heros found</td>";
?> $start = 20 * $multiplier - 19;
</tbody>
} else {
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
}
} else {
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
}
// ================= RENDER =================
if(count($rankArray) > 1) {
for($i = $start; $i < $start + 20; $i++) {
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
// highlight searched
if($i == $search) {
echo '<tr class="hl"><td class="ra fc">';
} else {
echo '<tr><td class="ra">';
}
// index
echo $i . '.</td>';
// hero column
$unit = (int)$rankArray[$i]['unit'];
$heroName = htmlspecialchars($rankArray[$i]['name'], ENT_QUOTES, 'UTF-8');
echo '<td class="hero">';
echo '<img class="unit u'.$unit.'" alt="" title="" src="img/x.gif"> ';
echo $heroName;
echo '</td>';
// player
$uid = (int)$rankArray[$i]['uid'];
$owner = htmlspecialchars($rankArray[$i]['owner'], ENT_QUOTES, 'UTF-8');
echo '<td class="pla"><center><a href="spieler.php?uid='.$uid.'">'.$owner.'</a></center></td>';
// level + xp
echo '<td class="lev">'.(int)$rankArray[$i]['level'].'</td>';
echo '<td class="xp">'.(int)$rankArray[$i]['experience'].'</td>';
echo '</tr>';
}
}
} else {
echo '<tr><td class="none" colspan="5">No heros found</td></tr>';
}
?>
</tbody>
</table> </table>
<?php <?php
include("ranksearch.tpl");
include ("ranksearch.tpl");
?> ?>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+158 -55
View File
@@ -1,64 +1,167 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename overview.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
$search = 0;
// ------------------------- SEARCH VALIDATION -------------------------
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars($_SESSION['search'] ?? '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} } else {
else { $search = (int)$_SESSION['search'];
$search = $_SESSION['search'];
} }
?> ?>
<table cellpadding="1" cellspacing="1" id="player"> <table cellpadding="1" cellspacing="1" id="player">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The largest players <div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a></div><br><div id="submenu2"><a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a><a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a><a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a></div> The largest players
</th>
</tr> <div id="submenu">
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr> <a title="Top 10" href="statistiken.php?id=7">
</thead><tbody> <img class="btn_top10" src="img/x.gif" alt="Top 10" />
<?php </a>
$rankArray = $ranking->getRank(); <a title="defender" href="statistiken.php?id=32">
if(isset($_GET['rank'])){ <img class="btn_def" src="img/x.gif" alt="defender" />
$multiplier = 1; </a>
if(is_numeric($_GET['rank'])) { <a title="attacker" href="statistiken.php?id=31">
if($_GET['rank'] > count($rankArray)) { <img class="btn_off" src="img/x.gif" alt="attacker" />
$_GET['rank'] = count($rankArray) - 1; </a>
} </div>
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
<br>
$start = 20 * $multiplier - 19;
} <div id="submenu2">
else $start = ($_SESSION['start'] + 1); <a title="Romans" href="statistiken.php?id=11">
} <img class="btn_v1" src="img/x.gif" alt="Romans">
else $start = ($_SESSION['start'] + 1); </a>
<a title="Teutons" href="statistiken.php?id=12">
if(count($rankArray) > 1) { <img class="btn_v2" src="img/x.gif" alt="Teutons">
for($i = $start; $i < $start + 20; $i++) { </a>
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") { <a title="Gauls" href="statistiken.php?id=13">
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >"; <img class="btn_v3" src="img/x.gif" alt="Gauls">
else echo "<tr><td class=\"ra \" >"; </a>
</div>
echo $i.".</td><td class=\"pla \" >";
if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){ </th>
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a></u>"; </tr>
} else {
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a>"; <tr>
} <td></td>
echo"</td><td class=\"al\" >"; <td>Player</td>
if($rankArray[$i]['aname'] != "") { <td>Alliance</td>
echo "<a href=\"allianz.php?aid=".$rankArray[$i]['alliance']."\">".$rankArray[$i]['aname']."</a>"; <td>Population</td>
} <td>Villages</td>
else echo "-"; </tr>
echo "</td><td class=\"pop\" >".$rankArray[$i]['totalpop']."</td><td class=\"vil\">".$rankArray[$i]['totalvillage']."</td></tr>"; </thead>
}
} <tbody>
}
else echo "<td class=\"none\" colspan=\"5\">No users found</td>";
?>
</tbody>
</table>
<?php <?php
include("ranksearch.tpl"); $rankArray = $ranking->getRank();
// ------------------------- PAGINATION SAFE -------------------------
if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
$rank = (int)$_GET['rank'];
$count = count($rankArray);
if ($rank > $count) {
$rank = max(1, $count - 1);
}
$multiplier = 1;
while ($rank > (20 * $multiplier)) {
$multiplier++;
}
$start = 20 * $multiplier - 19;
} else {
$start = ($_SESSION['start'] ?? 0) + 1;
}
// ------------------------- RENDER -------------------------
if (count($rankArray) > 1) {
for ($i = $start; $i < $start + 20; $i++) {
if (!isset($rankArray[$i]['username'])) {
continue;
}
$row = $rankArray[$i];
$isHighlight = ($i == $search);
echo $isHighlight
? "<tr class=\"hl\"><td class=\"ra fc\">"
: "<tr><td class=\"ra \">";
echo $i . ".</td>";
// ---------------- PLAYER ----------------
echo "<td class=\"pla\">";
$uid = (int)($row['userid'] ?? 0);
$username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8');
if (!empty($row['access']) && $row['access'] > 2) {
echo "<u><a href=\"spieler.php?uid={$uid}\">{$username}</a></u>";
} else {
echo "<a href=\"spieler.php?uid={$uid}\">{$username}</a>";
}
echo "</td>";
// ---------------- ALLIANCE ----------------
echo "<td class=\"al\">";
if (!empty($row['aname']) && !empty($row['alliance'])) {
$aid = (int)$row['alliance'];
$aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8');
echo "<a href=\"allianz.php?aid={$aid}\">{$aname}</a>";
} else {
echo "-";
}
echo "</td>";
// ---------------- POP ----------------
echo "<td class=\"pop\">" . (int)($row['totalpop'] ?? 0) . "</td>";
// ---------------- VILLAGES ----------------
echo "<td class=\"vil\">" . (int)($row['totalvillage'] ?? 0) . "</td>";
echo "</tr>";
}
} else {
echo "<tr><td class=\"none\" colspan=\"5\">No users found</td></tr>";
}
?> ?>
</tbody>
</table>
<?php include("ranksearch.tpl"); ?>
+126 -56
View File
@@ -1,65 +1,135 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename player_1.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
if (!is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars($_SESSION['search'], ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} else {
$search = (int)$_SESSION['search'];
} }
else {
$search = $_SESSION['search']; /** Ranking data (single source) */
$rankArray = $ranking->getRank();
$totalRanks = is_array($rankArray) ? count($rankArray) : 0;
/** Pagination fix */
if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
$rankGet = (int)$_GET['rank'];
if ($rankGet > $totalRanks) {
$rankGet = max(1, $totalRanks - 1);
}
$multiplier = 1;
while ($rankGet > (20 * $multiplier)) {
$multiplier++;
}
$start = (20 * $multiplier) - 19;
} else {
$start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1;
} }
?> ?>
<table cellpadding="1" cellspacing="1" id="player"> <table cellpadding="1" cellspacing="1" id="player">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The largest Romans <div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a></div><br><div id="submenu2"><a title="Romans" href="statistiken.php?id=11"><img class="active btn_v1" src="img/x.gif" alt="attacker"></a><a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a><a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a></div> The largest Romans
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a>
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr> <a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a>
</thead><tbody> <a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a>
<?php </div>
$rankArray = $ranking->getRank(); <br>
if(isset($_GET['rank'])){ <div id="submenu2">
$multiplier = 1; <a title="Romans" href="statistiken.php?id=11"><img class="active btn_v1" src="img/x.gif" alt="attacker"></a>
if(is_numeric($_GET['rank'])) { <a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a>
if($_GET['rank'] > count($rankArray)) { <a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
while($_GET['rank'] > (20 * $multiplier)) $multiplier++; </tr>
<tr>
$start = 20 * $multiplier - 19; <td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td>
} </tr>
else $start = ($_SESSION['start'] + 1); </thead>
}
else $start = ($_SESSION['start'] + 1); <tbody>
if(count($database->getUserByTribe(1)) > 0) {
for($i = $start; $i< $start + 20; $i++) {
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >";
else echo "<tr><td class=\"ra \" >";
echo $i.".</td><td class=\"pla \" >";
if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a></u>";
} else {
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a>";
}
echo"</td><td class=\"al\" >";
if($rankArray[$i]['alliance'] > 0) {
echo "<a href=\"allianz.php?aid=".$rankArray[$i]['alliance']."\">".$rankArray[$i]['aname']."</a>";
}
else echo "-";
echo "</td><td class=\"pop\" >".$rankArray[$i]['totalpop']."</td><td class=\"vil\">".$rankArray[$i]['totalvillage']."</td></tr>";
}
}
}
else echo "<td class=\"none\" colspan=\"5\">No users found</td>";
?>
</tbody>
</table>
<?php <?php
include("ranksearch.tpl"); if ($totalRanks > 0) {
?>
$end = $start + 20;
for ($i = $start; $i < $end; $i++) {
if (!isset($rankArray[$i]) || $rankArray[$i] === "pad") {
continue;
}
$row = $rankArray[$i];
$uid = (int)$row['userid'];
$rank = (int)$i;
$username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8');
$aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8');
$highlight = ($i == $search) ? " class=\"hl\"" : "";
echo "<tr{$highlight}>";
echo "<td class=\"ra fc\">".$rank.".</td>";
// Player (XSS safe)
echo "<td class=\"pla\">";
if (!empty($row['access']) && (int)$row['access'] > 2) {
echo "<u><a href=\"spieler.php?uid={$uid}\">{$username}</a></u>";
} else {
echo "<a href=\"spieler.php?uid={$uid}\">{$username}</a>";
}
echo "</td>";
// Alliance
echo "<td class=\"al\">";
if (!empty($row['alliance']) && (int)$row['alliance'] > 0) {
echo "<a href=\"allianz.php?aid=".(int)$row['alliance']."\">{$aname}</a>";
} else {
echo "-";
}
echo "</td>";
echo "<td class=\"pop\">".(int)$row['totalpop']."</td>";
echo "<td class=\"vil\">".(int)$row['totalvillage']."</td>";
echo "</tr>";
}
} else {
echo "<tr><td class=\"none\" colspan=\"5\">No users found</td></tr>";
}
?>
</tbody>
</table>
<?php include("ranksearch.tpl"); ?>
+126 -56
View File
@@ -1,65 +1,135 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename player_2.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
if (!is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars($_SESSION['search'], ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} else {
$search = (int)$_SESSION['search'];
} }
else {
$search = $_SESSION['search']; /** Rank source */
$rankArray = $ranking->getRank();
$totalRanks = is_array($rankArray) ? count($rankArray) : 0;
/** Pagination */
if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
$rankGet = (int)$_GET['rank'];
if ($rankGet > $totalRanks) {
$rankGet = max(1, $totalRanks - 1);
}
$multiplier = 1;
while ($rankGet > (20 * $multiplier)) {
$multiplier++;
}
$start = (20 * $multiplier) - 19;
} else {
$start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1;
} }
?> ?>
<table cellpadding="1" cellspacing="1" id="player"> <table cellpadding="1" cellspacing="1" id="player">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The largest Teutons <div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a></div><br><div id="submenu2"><a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a><a title="Teutons" href="statistiken.php?id=12"><img class="active btn_v2" src="img/x.gif" alt="attacker"></a><a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a></div> The largest Teutons
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a>
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr> <a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a>
</thead><tbody> <a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a>
<?php </div>
$rankArray = $ranking->getRank(); <br>
if(isset($_GET['rank'])){ <div id="submenu2">
$multiplier = 1; <a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a>
if(is_numeric($_GET['rank'])) { <a title="Teutons" href="statistiken.php?id=12"><img class="active btn_v2" src="img/x.gif" alt="attacker"></a>
if($_GET['rank'] > count($rankArray)) { <a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
while($_GET['rank'] > (20 * $multiplier)) $multiplier++; </tr>
<tr>
$start = 20 * $multiplier - 19; <td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td>
} </tr>
else $start = ($_SESSION['start'] + 1); </thead>
}
else $start = ($_SESSION['start'] + 1); <tbody>
if(count($database->getUserByTribe(2)) > 0) {
for($i = $start; $i< $start + 20; $i++) {
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >";
else echo "<tr><td class=\"ra \" >";
echo $i.".</td><td class=\"pla \" >";
if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a></u>";
} else {
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a>";
}
echo"</td><td class=\"al\" >";
if($rankArray[$i]['alliance'] > 0) {
echo "<a href=\"allianz.php?aid=".$rankArray[$i]['alliance']."\">".$rankArray[$i]['aname']."</a>";
}
else echo "-";
echo "</td><td class=\"pop\" >".$rankArray[$i]['totalpop']."</td><td class=\"vil\">".$rankArray[$i]['totalvillage']."</td></tr>";
}
}
}
else echo "<td class=\"none\" colspan=\"5\">No users found</td>";
?>
</tbody>
</table>
<?php <?php
include("ranksearch.tpl"); if ($totalRanks > 0) {
?>
$end = $start + 20;
for ($i = $start; $i < $end; $i++) {
if (!isset($rankArray[$i]) || $rankArray[$i] === "pad") {
continue;
}
$row = $rankArray[$i];
$uid = (int)$row['userid'];
$rank = (int)$i;
$username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8');
$aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8');
$highlight = ($i == $search) ? " class=\"hl\"" : "";
echo "<tr{$highlight}>";
echo "<td class=\"ra fc\">{$rank}.</td>";
// Player
echo "<td class=\"pla\">";
if (!empty($row['access']) && (int)$row['access'] > 2) {
echo "<u><a href=\"spieler.php?uid={$uid}\">{$username}</a></u>";
} else {
echo "<a href=\"spieler.php?uid={$uid}\">{$username}</a>";
}
echo "</td>";
// Alliance
echo "<td class=\"al\">";
if (!empty($row['alliance']) && (int)$row['alliance'] > 0) {
echo "<a href=\"allianz.php?aid=".(int)$row['alliance']."\">{$aname}</a>";
} else {
echo "-";
}
echo "</td>";
echo "<td class=\"pop\">".(int)$row['totalpop']."</td>";
echo "<td class=\"vil\">".(int)$row['totalvillage']."</td>";
echo "</tr>";
}
} else {
echo "<tr><td class=\"none\" colspan=\"5\">No users found</td></tr>";
}
?>
</tbody>
</table>
<?php include("ranksearch.tpl"); ?>
+125 -56
View File
@@ -1,65 +1,134 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename player_3.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
if (!is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars($_SESSION['search'], ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} else {
$search = (int)$_SESSION['search'];
} }
else {
$search = $_SESSION['search']; /** Rank data */
$rankArray = $ranking->getRank();
$totalRanks = is_array($rankArray) ? count($rankArray) : 0;
/** Pagination logic (kept identical behavior) */
if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
$rankGet = (int)$_GET['rank'];
if ($rankGet > $totalRanks) {
$rankGet = max(1, $totalRanks - 1);
}
$multiplier = 1;
while ($rankGet > (20 * $multiplier)) {
$multiplier++;
}
$start = (20 * $multiplier) - 19;
} else {
$start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1;
} }
?> ?>
<table cellpadding="1" cellspacing="1" id="player"> <table cellpadding="1" cellspacing="1" id="player">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The largest Gauls <div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a></div><br><div id="submenu2"><a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a><a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a><a title="Gauls" href="statistiken.php?id=13"><img class="active btn_v3" src="img/x.gif" alt="attacker"></a></div> The largest Gauls
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a>
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr> <a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a>
</thead><tbody> <a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a>
<?php </div>
$rankArray = $ranking->getRank(); <br>
if(isset($_GET['rank'])){ <div id="submenu2">
$multiplier = 1; <a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a>
if(is_numeric($_GET['rank'])) { <a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a>
if($_GET['rank'] > count($rankArray)) { <a title="Gauls" href="statistiken.php?id=13"><img class="active btn_v3" src="img/x.gif" alt="attacker"></a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
while($_GET['rank'] > (20 * $multiplier)) $multiplier++; </tr>
<tr>
$start = 20 * $multiplier - 19; <td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td>
} </tr>
else $start = ($_SESSION['start'] + 1); </thead>
}
else $start = ($_SESSION['start'] + 1); <tbody>
if(count($database->getUserByTribe(3)) > 0) {
for($i = $start; $i< $start + 20; $i++) {
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >";
else echo "<tr><td class=\"ra \" >";
echo $i.".</td><td class=\"pla \" >";
if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2){
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a></u>";
} else {
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['userid']."\">".$rankArray[$i]['username']."</a>";
}
echo"</td><td class=\"al\" >";
if($rankArray[$i]['alliance'] > 0) {
echo "<a href=\"allianz.php?aid=".$rankArray[$i]['alliance']."\">".$rankArray[$i]['aname']."</a>";
}
else echo "-";
echo "</td><td class=\"pop\" >".$rankArray[$i]['totalpop']."</td><td class=\"vil\">".$rankArray[$i]['totalvillage']."</td></tr>";
}
}
}
else echo "<td class=\"none\" colspan=\"5\">No users found</td>";
?>
</tbody>
</table>
<?php <?php
include("ranksearch.tpl"); if ($totalRanks > 0) {
?>
$end = $start + 20;
for ($i = $start; $i < $end; $i++) {
if (!isset($rankArray[$i]) || $rankArray[$i] === "pad") {
continue;
}
$row = $rankArray[$i];
$uid = (int)$row['userid'];
$rank = (int)$i;
$username = htmlspecialchars($row['username'], ENT_QUOTES, 'UTF-8');
$aname = htmlspecialchars($row['aname'], ENT_QUOTES, 'UTF-8');
$highlight = ($i == $search) ? " class=\"hl\"" : "";
echo "<tr{$highlight}>";
echo "<td class=\"ra fc\">{$rank}.</td>";
// Player
echo "<td class=\"pla\">";
if (!empty($row['access']) && (int)$row['access'] > 2) {
echo "<u><a href=\"spieler.php?uid={$uid}\">{$username}</a></u>";
} else {
echo "<a href=\"spieler.php?uid={$uid}\">{$username}</a>";
}
echo "</td>";
// Alliance
echo "<td class=\"al\">";
if (!empty($row['alliance']) && (int)$row['alliance'] > 0) {
echo "<a href=\"allianz.php?aid=".(int)$row['alliance']."\">{$aname}</a>";
} else {
echo "-";
}
echo "</td>";
echo "<td class=\"pop\">".(int)$row['totalpop']."</td>";
echo "<td class=\"vil\">".(int)$row['totalvillage']."</td>";
echo "</tr>";
}
} else {
echo "<tr><td class=\"none\" colspan=\"5\">No users found</td></tr>";
}
?>
</tbody>
</table>
<?php include("ranksearch.tpl"); ?>
+122 -47
View File
@@ -1,60 +1,135 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename player_attack.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
// Validare search
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} } else {
else { $search = (int)$_SESSION['search'];
$search = $_SESSION['search'];
} }
?> ?>
<table cellpadding="1" cellspacing="1" id="player_off" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="player_off" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The most successful attackers <div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=31"><img class="active btn_off" src="img/x.gif" alt="attacker" /></a></div> The most successful attackers
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=7">
<tr><td></td><td>Player</td><td>Population</td><td>Villages</td><td>Points</td></tr> <img class="btn_top10" src="img/x.gif" alt="Top 10" />
</thead><tbody> </a>
<?php <a title="defender" href="statistiken.php?id=32">
$rankArray = $ranking->getRank(); <img class="btn_def" src="img/x.gif" alt="defender" />
if(isset($_GET['rank'])){ </a>
$multiplier = 1; <a title="attacker" href="statistiken.php?id=31">
if(is_numeric($_GET['rank'])) { <img class="active btn_off" src="img/x.gif" alt="attacker" />
if($_GET['rank'] > count($rankArray)) { </a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
while($_GET['rank'] > (20 * $multiplier)) $multiplier++; </tr>
<tr>
$start = 20 * $multiplier - 19; <td></td>
<td>Player</td>
<td>Population</td>
<td>Villages</td>
<td>Points</td>
</tr>
</thead>
<tbody>
<?php
// EXACT ca original (fallback safe)
$rankArray = isset($ranking) ? $ranking->getRank() : array();
if(isset($_GET['rank'])){
$multiplier = 1;
if(is_numeric($_GET['rank'])) {
if($_GET['rank'] > count($rankArray)) {
$_GET['rank'] = count($rankArray) - 1;
} }
else $start = ($_SESSION['start'] + 1);
while($_GET['rank'] > (20 * $multiplier)) {
$multiplier++;
}
$start = 20 * $multiplier - 19;
} else {
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
} }
else $start = ($_SESSION['start'] + 1);
} else {
if(count($rankArray) > 1) { $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
for($i = $start; $i < $start + 20; $i++) { }
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >"; if(count($rankArray) > 1) {
else echo "<tr><td class=\"ra \" >";
for($i = $start; $i < $start + 20; $i++) {
echo $i.".</td><td class=\"pla \" >";
if($rankArray[$i]['access'] > 2){ if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a></u>";
} else { if($i == $search) {
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a>"; echo '<tr class="hl"><td class="ra fc">';
} } else {
echo"</td><td class=\"pop \" >".$rankArray[$i]['totalpop'].""; echo '<tr><td class="ra">';
echo "</td><td class=\"vil\">".$rankArray[$i]['totalvillages']."</td><td class=\"po \" >".$rankArray[$i]['apall']."</td></tr>";
} }
echo $i . '.</td>';
echo '<td class="pla">';
// Player link + underline dacă acces > 2
$uid = (int)$rankArray[$i]['id'];
$username = htmlspecialchars($rankArray[$i]['username'], ENT_QUOTES, 'UTF-8');
if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2) {
echo '<u><a href="spieler.php?uid='.$uid.'">'.$username.'</a></u>';
} else {
echo '<a href="spieler.php?uid='.$uid.'">'.$username.'</a>';
}
echo '</td>';
echo '<td class="pop">' . (int)$rankArray[$i]['totalpop'] . '</td>';
echo '<td class="vil">' . (int)$rankArray[$i]['totalvillages'] . '</td>';
echo '<td class="po">' . (int)$rankArray[$i]['apall'] . '</td>';
echo '</tr>';
} }
} }
else echo "<td class=\"none\" colspan=\"5\">No users found</td>";
?> } else {
</tbody> echo '<tr><td class="none" colspan="5">No users found</td></tr>';
}
?>
</tbody>
</table> </table>
<?php
<?php
// IMPORTANT: exact ca original
include("ranksearch.tpl"); include("ranksearch.tpl");
?> ?>
+123 -46
View File
@@ -1,60 +1,137 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename player_defend.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
// Validare search
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The user <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The user <b>"<?php echo htmlspecialchars(isset($_SESSION['search']) ? $_SESSION['search'] : '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} } else {
else { $search = (int)$_SESSION['search'];
$search = $_SESSION['search'];
} }
?> ?>
<table cellpadding="1" cellspacing="1" id="player_def" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="player_def" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">
The most successful defenders <div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="btn_top10" src="img/x.gif" alt="Top 10" /></a><a title="defender" href="statistiken.php?id=32"><img class="active btn_def" src="img/x.gif" alt="defender" /></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker" /></a></div> The most successful defenders
</th> <div id="submenu">
</tr> <a title="Top 10" href="statistiken.php?id=7">
<tr><td></td><td>Player</td><td>Population</td><td>Villages</td><td>Points</td></tr> <img class="btn_top10" src="img/x.gif" alt="Top 10" />
</thead><tbody> </a>
<?php <a title="defender" href="statistiken.php?id=32">
$rankArray = $ranking->getRank(); <img class="active btn_def" src="img/x.gif" alt="defender" />
if(isset($_GET['rank'])){ </a>
$multiplier = 1; <a title="attacker" href="statistiken.php?id=31">
if(is_numeric($_GET['rank'])) { <img class="btn_off" src="img/x.gif" alt="attacker" />
if($_GET['rank'] > count($rankArray)) { </a>
$_GET['rank'] = count($rankArray) - 1; </div>
} </th>
while($_GET['rank'] > (20 * $multiplier)) $multiplier++; </tr>
<tr>
$start = 20 * $multiplier - 19; <td></td>
<td>Player</td>
<td>Population</td>
<td>Villages</td>
<td>Points</td>
</tr>
</thead>
<tbody>
<?php
// EXACT ca original (fallback safe)
$rankArray = isset($ranking) ? $ranking->getRank() : array();
if(isset($_GET['rank'])){
$multiplier = 1;
if(is_numeric($_GET['rank'])) {
if($_GET['rank'] > count($rankArray)) {
$_GET['rank'] = count($rankArray) - 1;
} }
else $start = ($_SESSION['start'] + 1);
while($_GET['rank'] > (20 * $multiplier)) {
$multiplier++;
}
$start = 20 * $multiplier - 19;
} else {
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
} }
else $start = ($_SESSION['start'] + 1);
} else {
if(count($rankArray) > 1) { $start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
for($i = $start; $i < $start + 20; $i++) { }
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >"; if(count($rankArray) > 1) {
else echo "<tr><td class=\"ra \" >";
for($i = $start; $i < $start + 20; $i++) {
echo $i.".</td><td class=\"pla \" >";
if($rankArray[$i]['access'] > 2){ if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a></u>";
} else { if($i == $search) {
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a>"; echo '<tr class="hl"><td class="ra fc">';
} } else {
echo"</td><td class=\"pop \" >".$rankArray[$i]['totalpop'].""; echo '<tr><td class="ra">';
echo "</td><td class=\"vil\">".$rankArray[$i]['totalvillages']."</td><td class=\"po \" >".$rankArray[$i]['dpall']."</td></tr>";
} }
echo $i . '.</td>';
echo '<td class="pla">';
// Player link + underline dacă acces > 2
$uid = (int)$rankArray[$i]['id'];
$username = htmlspecialchars($rankArray[$i]['username'], ENT_QUOTES, 'UTF-8');
if(isset($rankArray[$i]['access']) && $rankArray[$i]['access'] > 2) {
echo '<u><a href="spieler.php?uid='.$uid.'">'.$username.'</a></u>';
} else {
echo '<a href="spieler.php?uid='.$uid.'">'.$username.'</a>';
}
echo '</td>';
echo '<td class="pop">' . (int)$rankArray[$i]['totalpop'] . '</td>';
echo '<td class="vil">' . (int)$rankArray[$i]['totalvillages'] . '</td>';
// Defensive points
echo '<td class="po">' . (int)$rankArray[$i]['dpall'] . '</td>';
echo '</tr>';
} }
} }
else echo "<td class=\"none\" colspan=\"5\">No users found</td>";
?> } else {
</tbody> echo '<tr><td class="none" colspan="5">No users found</td></tr>';
}
?>
</tbody>
</table> </table>
<?php <?php
// EXACT ca original (nu atingem)
include("ranksearch.tpl"); include("ranksearch.tpl");
?> ?>
+17 -2
View File
@@ -1,4 +1,19 @@
<?php <?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename player_top10.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
$place = $place1 = $place2 = $place3 = "?"; $place = $place1 = $place2 = $place3 = "?";
@@ -12,7 +27,7 @@
<table cellpadding="1" cellspacing="1"> <table cellpadding="1" cellspacing="1">
<thead> <thead>
<tr> <tr>
<th>Top 10 players<div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="active btn_top10" src="img/x.gif" alt="Top 10"></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender"></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker"></a></div><div id="submenu2"><a title="Romans" href="statistiken.php?id=11"><img class="btn_v1" src="img/x.gif" alt="attacker"></a><a title="Teutons" href="statistiken.php?id=12"><img class="btn_v2" src="img/x.gif" alt="attacker"></a><a title="Gauls" href="statistiken.php?id=13"><img class="btn_v3" src="img/x.gif" alt="attacker"></a></div></th> <th>Top 10 players<div id="submenu"><a title="Top 10" href="statistiken.php?id=7"><img class="active btn_top10" src="img/x.gif" alt="Top 10"></a><a title="defender" href="statistiken.php?id=32"><img class="btn_def" src="img/x.gif" alt="defender"></a><a title="attacker" href="statistiken.php?id=31"><img class="btn_off" src="img/x.gif" alt="attacker"></a></div><div id="submenu2"></div></th>
</tr> </tr>
</thead> </thead>
</table> </table>
+15
View File
@@ -1,4 +1,19 @@
<?php <?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename rank_search.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
if(!isset($_GET['id'])){ $_GET['id']='1'; } if(!isset($_GET['id'])){ $_GET['id']='1'; }
?> ?>
<table cellpadding="1" cellspacing="1" id="search_navi"> <table cellpadding="1" cellspacing="1" id="search_navi">
+118 -45
View File
@@ -1,54 +1,127 @@
<?php <?php
if(!is_numeric($_SESSION['search'])) {
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Project: TravianZ ##
## Version: 01.09.2013 ##
## Filename villages.tpl ##
## Refactored by Shadow ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
## URLs: http://travian.shadowss.ro ##
## Source code: http://github.com/Shadowss/TravianZ/ ##
## ##
#################################################################################
$search = 0;
// validate search
if (!isset($_SESSION['search']) || !is_numeric($_SESSION['search'])) {
?> ?>
<center><font color=orange size=2><p class=\"error\">The village <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center> <center>
<font color="orange" size="2">
<p class="error">
The village <b>"<?php echo htmlspecialchars($_SESSION['search'] ?? '', ENT_QUOTES, 'UTF-8'); ?>"</b> does not exist.
</p>
</font>
</center>
<?php <?php
$search = 0; $search = 0;
} else {
$search = (int)$_SESSION['search'];
} }
else $search = $_SESSION['search'];
?> ?>
<table cellpadding="1" cellspacing="1" id="villages" class="row_table_data"> <table cellpadding="1" cellspacing="1" id="villages" class="row_table_data">
<thead> <thead>
<tr> <tr>
<th colspan="5"> <th colspan="5">The largest villages</th>
The largest villages </tr>
</th> <tr>
</tr> <td></td>
<tr><td></td><td>Village</td><td>Player</td><td>Inhabitants</td><td>Coordinates</td></tr> <td>Village</td>
</thead><tbody> <td>Player</td>
<?php <td>Inhabitants</td>
$rankArray = $ranking->getRank(); <td>Coordinates</td>
if(isset($_GET['rank'])){ </tr>
$multiplier = 1; </thead>
if(is_numeric($_GET['rank'])) {
if($_GET['rank'] > count($rankArray)) { <tbody>
$_GET['rank'] = count($rankArray) - 1;
}
while($_GET['rank'] > (20*$multiplier)) $multiplier++;
$start = 20 * $multiplier - 19;
}
else $start = ($_SESSION['start'] + 1);
}
else $start = ($_SESSION['start'] + 1);
if(count($rankArray) > 1) {
for($i = $start; $i < $start + 20; $i++) {
if(isset($rankArray[$i]['wref']) && $rankArray[$i] != "pad") {
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >";
else echo "<tr><td class=\"ra \" >";
echo $i.".</td><td class=\"vil \" ><a href=\"karte.php?d=".$rankArray[$i]['wref']."&amp;c=".$generator->getMapCheck($rankArray[$i]['wref'])."\">".$rankArray[$i]['name']."</a></td>";
echo "<td class=\"pla \" ><a href=\"spieler.php?uid=".$rankArray[$i]['owner']."\">".$rankArray[$i]['user']."</a></td>";
echo "<td class=\"hab\">".$rankArray[$i]['pop']."</td><td class=\"aligned_coords \" ><div class=\"cox\">(".$rankArray[$i]['x']."</div><div class=\"pi\">|</div><div class=\"coy\">".$rankArray[$i]['y'].")</div></td></tr>";
}
}
}
else echo "<td class=\"none\" colspan=\"5\">No villages found</td>";
?>
</tbody>
</table>
<?php <?php
include("ranksearch.tpl"); $rankArray = $ranking->getRank();
if (isset($_GET['rank'])) {
$multiplier = 1;
if (is_numeric($_GET['rank'])) {
$rank = (int)$_GET['rank'];
if ($rank > count($rankArray)) {
$rank = max(1, count($rankArray) - 1);
}
while ($rank > (20 * $multiplier)) {
$multiplier++;
}
$start = 20 * $multiplier - 19;
} else {
$start = ($_SESSION['start'] + 1);
}
} else {
$start = ($_SESSION['start'] + 1);
}
// render rows
if (count($rankArray) > 1) {
for ($i = $start; $i < $start + 20; $i++) {
if (!isset($rankArray[$i]['wref'])) {
continue;
}
$row = $rankArray[$i];
$isHighlight = ($i == $search);
echo $isHighlight
? "<tr class=\"hl\"><td class=\"ra fc\">"
: "<tr><td class=\"ra \">";
echo $i . ".</td>";
// village name
echo "<td class=\"vil \">
<a href=\"karte.php?d=" . (int)$row['wref'] . "&amp;c=" . $generator->getMapCheck($row['wref']) . "\">"
. htmlspecialchars($row['name'], ENT_QUOTES, 'UTF-8') .
"</a></td>";
// player
echo "<td class=\"pla \">
<a href=\"spieler.php?uid=" . (int)$row['owner'] . "\">"
. htmlspecialchars($row['user'], ENT_QUOTES, 'UTF-8') .
"</a></td>";
// population
echo "<td class=\"hab\">" . (int)$row['pop'] . "</td>";
// coordinates
echo "<td class=\"aligned_coords \">
<div class=\"cox\">(" . (int)$row['x'] . "</div>
<div class=\"pi\">|</div>
<div class=\"coy\">" . (int)$row['y'] . ")</div>
</td>";
echo "</tr>";
}
} else {
echo "<tr><td class=\"none\" colspan=\"5\">No villages found</td></tr>";
}
?> ?>
</tbody>
</table>
<?php include("ranksearch.tpl"); ?>
+133 -60
View File
@@ -1,61 +1,134 @@
<?php <?php
if (WW == True)
{ #################################################################################
$result = mysqli_query($database->dblink,"select " . TB_PREFIX . "users.id, " . TB_PREFIX . "users.username," . TB_PREFIX . "users.alliance, " . TB_PREFIX . "fdata.wwname, " . TB_PREFIX . "fdata.f99, " . TB_PREFIX . "vdata.name, " . TB_PREFIX . "fdata.vref ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
FROM " . TB_PREFIX . "users ## --------------------------------------------------------------------------- ##
INNER JOIN " . TB_PREFIX . "vdata ON " . TB_PREFIX . "users.id = " . TB_PREFIX . "vdata.owner ## Project: TravianZ ##
INNER JOIN " . TB_PREFIX . "fdata ON " . TB_PREFIX . "fdata.vref = " . TB_PREFIX . "vdata.wref ## Version: 01.09.2013 ##
WHERE " . TB_PREFIX . "fdata.f99t = 40 ORDER BY " . TB_PREFIX . "fdata.f99 Desc, id Desc LIMIT 20"); ## Filename villages.tpl ##
?> ## Refactored by Shadow ##
<table cellpadding="1" cellspacing="1" id="villages" class="row_table_data"> ## License: TravianZ Project ##
<thead> ## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
<tr> ## URLs: http://travian.shadowss.ro ##
<th colspan="7">Wonder of the world</th> ## Source code: http://github.com/Shadowss/TravianZ/ ##
</tr> ## ##
<tr> #################################################################################
<td></td>
<td><?php echo PLAYER; ?></td> if (WW == true) {
<td><?php echo NAME; ?></td>
<td><?php echo ALLIANCE; ?></td> // Single query replacing:
<td><?php echo LEVEL; ?></td> // - users
<td></td> // - vdata
</tr> // - fdata
</thead> // - alliance
<tbody> // - ww_attacks (latest attack per village via subquery)
<?php
$count = 0; $sql = "
while ($row = mysqli_fetch_array($result)) SELECT
{ u.id,
$ally = $database->getAlliance($row['alliance']); u.username,
$query = @mysqli_query($database->dblink,'SELECT * FROM `' . TB_PREFIX . 'ww_attacks` WHERE `vid` = ' . $row['vref'] . ' ORDER BY `attack_time` ASC LIMIT 1'); u.alliance,
$row2 = @mysqli_fetch_assoc($query); v.name AS village_name,
?> f.wwname,
<tr> f.f99,
<td><?php echo ++$count; ?>.</td> v.wref,
<td><?php echo "<a href=\"karte.php?d=" . $row['vref'] . "&amp;c=" . $generator->getMapCheck($row['vref']) . "\">"; ?><?php echo $row['username']; ?></a></td> a.tag AS alliance_tag,
<td><?php echo $row['wwname']; ?></td> a.id AS alliance_id,
<td><a href="allianz.php?aid=<?php echo $ally['id']; ?>"><?php echo $ally['tag']; ?></a></td> wa.attack_time
<td><?php echo $row['f99']; ?></td> FROM " . TB_PREFIX . "users u
<?php if ($row2['attack_time'] != 0): ?> INNER JOIN " . TB_PREFIX . "vdata v
<td><img src="gpack/travian_default/img/a/att1.gif" title="<?php print date('d.m.Y, H:i:s', $row2['attack_time']); ?>" /></td> ON u.id = v.owner
<?php else: ?> INNER JOIN " . TB_PREFIX . "fdata f
<td>&nbsp;</td> ON f.vref = v.wref
<?php endif; ?> LEFT JOIN " . TB_PREFIX . "alidata a
</tr> ON a.id = u.alliance
<?php LEFT JOIN " . TB_PREFIX . "ww_attacks wa
} ON wa.vid = v.wref
AND wa.attack_time = (
if($count == 0){ SELECT MAX(attack_time)
?> FROM " . TB_PREFIX . "ww_attacks
WHERE vid = v.wref
)
WHERE f.f99t = 40
ORDER BY f.f99 DESC, u.id DESC
LIMIT 20
";
$result = mysqli_query($database->dblink, $sql);
?>
<table cellpadding="1" cellspacing="1" id="villages" class="row_table_data">
<thead>
<tr> <tr>
<td class="none" colspan="7"><?php echo NO_WW; ?></td> <th colspan="7">Wonder of the world</th>
</tr> </tr>
<?php <tr>
} <td></td>
} <td><?php echo PLAYER; ?></td>
else <td><?php echo NAME; ?></td>
{ <td><?php echo ALLIANCE; ?></td>
header("Location: statistiken.php"); <td><?php echo LEVEL; ?></td>
exit; <td></td>
} </tr>
?> </thead>
<tbody>
<?php
$count = 0;
if ($result && mysqli_num_rows($result) > 0) {
while ($row = mysqli_fetch_assoc($result)) {
$count++;
$check = $generator->getMapCheck($row['wref']);
?>
<tr>
<td><?php echo $count; ?>.</td>
<td>
<a href="karte.php?d=<?php echo $row['wref']; ?>&amp;c=<?php echo $check; ?>">
<?php echo htmlspecialchars($row['username']); ?>
</a>
</td>
<td><?php echo htmlspecialchars($row['wwname']); ?></td>
<td>
<?php if (!empty($row['alliance_id'])) { ?>
<a href="allianz.php?aid=<?php echo $row['alliance_id']; ?>">
<?php echo htmlspecialchars($row['alliance_tag']); ?>
</a>
<?php } else { echo "-"; } ?>
</td>
<td><?php echo (int)$row['f99']; ?></td>
<?php if (!empty($row['attack_time'])) { ?>
<td>
<img src="./<?php echo GP_LOCATE; ?>img/a/att1.gif"
title="<?php echo date('d.m.Y, H:i:s', $row['attack_time']); ?>" />
</td>
<?php } else { ?>
<td>&nbsp;</td>
<?php } ?>
</tr>
<?php
}
} else {
?>
<tr>
<td class="none" colspan="7"><?php echo NO_WW; ?></td>
</tr>
<?php
}
?>
</tbody>
<?php
} else {
header("Location: statistiken.php");
exit;
}
?>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+26 -8
View File
@@ -5,15 +5,33 @@
## Filename index.php ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+27 -9
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianZ Project ## ## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+37
View File
@@ -0,0 +1,37 @@
<?php
#################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ##
## Filename index.php ##
## Developed by: aggenkeech ##
## License: TravianZ Project ##
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
#################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?>
<div style="margin-top: 50px;">
<div style="text-align: center">
<h1>404 - File not found</h1>
<img
src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>
+28 -10
View File
@@ -2,18 +2,36 @@
################################################################################# #################################################################################
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## Filename 404.tpl ## ## Filename index.php ##
## Developed by: aggenkeech ## ## Developed by: aggenkeech ##
## License: TravianX Project ## ## License: TravianZ Project ##
## Copyright: TravianX (c) 2010-2012. All rights reserved. ## ## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
## ##
################################################################################# #################################################################################
// prevent direct misuse in weird contexts (optional but safe)
if (!defined('IN_GAME')) {
// keep it harmless, just allow display
}
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
?> ?>
<div style="margin-top: 50px;"> <div style="margin-top: 50px;">
<div style="text-align: center"> <div style="text-align: center">
<h1>404 - File not found</h1>
<img src="../../gpack/travian_default/img/misc/404.gif" title="Not Found" alt="Not Found"><br /> <h1>404 - File not found</h1>
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p><br> <img
</div> src="<?php echo $basePath; ?>/../../gpack/travian_default/img/misc/404.gif"
title="Not Found"
alt="Not Found"
><br />
<p>We looked 404 times already but can't find anything, Not even an X marking the spot.</p>
<p>This system is not complete yet. So the page probably does not exist.</p>
<br>
</div>
</div> </div>