mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-27 16:14:30 +00:00
Incremental Refactor Templates 2
Incremental Refactor Templates 2
This commit is contained in:
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+26
-8
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+36
-3
@@ -1,4 +1,37 @@
|
||||
<?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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+28
-10
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+28
-10
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2026. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+118
-38
@@ -1,53 +1,133 @@
|
||||
<?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
|
||||
$search = 0;
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
else $search = $_SESSION['search'];
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="alliance" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Alliance</td><td>Player</td><td>Ø</td><td>Points</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
|
||||
while($_GET['rank'] > (20*$multiplier)) $multiplier++;
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Alliance</td>
|
||||
<td>Player</td>
|
||||
<td>Ø</td>
|
||||
<td>Points</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
<tbody>
|
||||
<?php
|
||||
// Luăm ranking-ul (fallback dacă nu există)
|
||||
$rankArray = isset($ranking) ? $ranking->getRank() : array();
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<tr class=\"hl\"><td class=\"ra fc\" >";
|
||||
else echo "<tr><td class=\"ra \" >";
|
||||
// Start implicit sigur
|
||||
$start = isset($_SESSION['start']) ? ((int)$_SESSION['start'] + 1) : 1;
|
||||
|
||||
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=\"av \" >".$rankArray[$i]['avg']."</td><td class=\"po \">".$rankArray[$i]['totalpop']."</td></tr>";
|
||||
}
|
||||
// Dacă există rank în GET, îl validăm
|
||||
if (isset($_GET['rank']) && is_numeric($_GET['rank'])) {
|
||||
$rank = (int)$_GET['rank'];
|
||||
$multiplier = 1;
|
||||
$totalRanks = count($rankArray);
|
||||
|
||||
// Limitare la dimensiunea array-ului
|
||||
if ($rank > $totalRanks) {
|
||||
$rank = $totalRanks - 1;
|
||||
}
|
||||
|
||||
// Calcul paginare (pastrat logic original)
|
||||
while ($rank > (20 * $multiplier)) {
|
||||
$multiplier++;
|
||||
}
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
|
||||
// Afișare rezultate
|
||||
if (!empty($rankArray) && count($rankArray) > 1) {
|
||||
|
||||
for ($i = $start; $i < $start + 20; $i++) {
|
||||
|
||||
// Validare element existent
|
||||
if (isset($rankArray[$i]) && $rankArray[$i] !== "pad" && isset($rankArray[$i]['name'])) {
|
||||
|
||||
// Highlight pentru căutare
|
||||
$rowClass = ($i === $search) ? 'hl' : '';
|
||||
|
||||
echo '<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>";
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
} else {
|
||||
echo '<tr><td class="none" colspan="5">No alliances found</td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
// Include fallback-safe
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
@@ -1,53 +1,126 @@
|
||||
<?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
|
||||
$search = 0;
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
else $search = $_SESSION['search'];
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="alliance_off" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Alliance</td><td>Player</td><td>Points</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
|
||||
while($_GET['rank'] > (20*$multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<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);
|
||||
|
||||
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><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>";
|
||||
|
||||
} else {
|
||||
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
|
||||
}
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
|
||||
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
|
||||
|
||||
if($i == $search) {
|
||||
echo '<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>";
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
} else {
|
||||
echo '<tr><td class="none" colspan="5">No alliances found</td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
// Include fallback safe
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
?>
|
||||
@@ -1,53 +1,125 @@
|
||||
<?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
|
||||
$search = 0;
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
else $search = $_SESSION['search'];
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="alliance_def" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Alliance</td><td>Player</td><td>Points</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
|
||||
while($_GET['rank'] > (20*$multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Alliance</td>
|
||||
<td>Player</td>
|
||||
<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);
|
||||
|
||||
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><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]['Adp']."</td></tr>";
|
||||
}
|
||||
|
||||
while ($rank > (20 * $multiplier)) {
|
||||
$multiplier++;
|
||||
}
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
|
||||
// Afișare tabel
|
||||
if (!empty($rankArray) && count($rankArray) > 1) {
|
||||
|
||||
for ($i = $start; $i < $start + 20; $i++) {
|
||||
|
||||
if (isset($rankArray[$i]) && $rankArray[$i] !== "pad" && isset($rankArray[$i]['name'])) {
|
||||
|
||||
// Highlight search
|
||||
$rowClass = ($i === $search) ? 'hl' : '';
|
||||
|
||||
echo '<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>";
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
} else {
|
||||
echo '<tr><td class="none" colspan="5">No alliances found</td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
// Include fallback safe
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
@@ -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 = "?";
|
||||
|
||||
for($i=1;$i<=0;$i++) {
|
||||
@@ -11,7 +27,7 @@
|
||||
<table cellpadding="1" cellspacing="1">
|
||||
<thead>
|
||||
<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>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
+273
-470
@@ -1,485 +1,288 @@
|
||||
<?php
|
||||
|
||||
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename general .tpl ##
|
||||
## Developed by: Dzoki ##
|
||||
## Project: TravianZ ##
|
||||
## Version: 01.09.2013 ##
|
||||
## Filename general.tpl ##
|
||||
## Refactored by Shadow ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2011. All rights reserved. ##
|
||||
## Enhanced: saulyzas ##
|
||||
## Copyright: TravianZ (c) 2010-2013. All rights reserved. ##
|
||||
## 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);
|
||||
$tribe3 = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM ".TB_PREFIX."users WHERE tribe = 3"), MYSQLI_ASSOC);
|
||||
$tribes = [$tribe1['Total'], $tribe2['Total'], $tribe3['Total']];
|
||||
$users = mysqli_fetch_array(mysqli_query($database->dblink,"SELECT Count(*) as Total FROM " . TB_PREFIX . "users WHERE tribe > 0 AND tribe < 4"), MYSQLI_ASSOC);
|
||||
$users = $users['Total'];
|
||||
|
||||
// =========================
|
||||
// TRIBES COUNT (optimized)
|
||||
// =========================
|
||||
$tribesRes = mysqli_query(
|
||||
$database->dblink,
|
||||
"SELECT tribe, COUNT(*) AS Total
|
||||
FROM ".TB_PREFIX."users
|
||||
WHERE tribe BETWEEN 1 AND 3
|
||||
GROUP BY tribe"
|
||||
);
|
||||
|
||||
$tribes = [0, 0, 0];
|
||||
|
||||
if ($tribesRes) {
|
||||
while ($row = mysqli_fetch_assoc($tribesRes)) {
|
||||
$tribeId = (int)$row['tribe'] - 1;
|
||||
if (isset($tribes[$tribeId])) {
|
||||
$tribes[$tribeId] = (int)$row['Total'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// total users
|
||||
$userRes = mysqli_query(
|
||||
$database->dblink,
|
||||
"SELECT COUNT(*) AS Total
|
||||
FROM ".TB_PREFIX."users
|
||||
WHERE tribe BETWEEN 1 AND 3"
|
||||
);
|
||||
|
||||
$users = ($userRes) ? (int)mysqli_fetch_assoc($userRes)['Total'] : 0;
|
||||
|
||||
|
||||
// =========================
|
||||
// VILLAGES + POPULATION
|
||||
// =========================
|
||||
$villageRes = mysqli_query($database->dblink, "SELECT COUNT(*) AS Total FROM ".TB_PREFIX."vdata");
|
||||
$num_villages = ($villageRes) ? (int)mysqli_fetch_assoc($villageRes)['Total'] : 0;
|
||||
|
||||
$popRes = mysqli_query($database->dblink, "SELECT SUM(pop) AS totalpop FROM ".TB_PREFIX."vdata");
|
||||
$total_pop = ($popRes) ? (int)mysqli_fetch_assoc($popRes)['totalpop'] : 0;
|
||||
|
||||
|
||||
// =========================
|
||||
// ONLINE / ACTIVE USERS
|
||||
// =========================
|
||||
$activeRes = mysqli_query(
|
||||
$database->dblink,
|
||||
"SELECT COUNT(*) AS Total
|
||||
FROM ".TB_PREFIX."users
|
||||
WHERE timestamp > ".(time() - 86400)."
|
||||
AND tribe BETWEEN 1 AND 3"
|
||||
);
|
||||
$active = ($activeRes) ? (int)mysqli_fetch_assoc($activeRes)['Total'] : 0;
|
||||
|
||||
$onlineRes = mysqli_query(
|
||||
$database->dblink,
|
||||
"SELECT COUNT(*) AS Total
|
||||
FROM ".TB_PREFIX."users
|
||||
WHERE timestamp > ".(time() - 600)."
|
||||
AND tribe BETWEEN 1 AND 3"
|
||||
);
|
||||
$online = ($onlineRes) ? (int)mysqli_fetch_assoc($onlineRes)['Total'] : 0;
|
||||
|
||||
|
||||
// =========================
|
||||
// GOLD TOTAL
|
||||
// =========================
|
||||
$goldRes = mysqli_query($database->dblink, "SELECT SUM(gold) AS totalgold FROM ".TB_PREFIX."users");
|
||||
$total_gold = ($goldRes) ? (int)mysqli_fetch_assoc($goldRes)['totalgold'] : 0;
|
||||
?>
|
||||
|
||||
<!-- ================= WORLD STATS ================= -->
|
||||
<table cellpadding="1" cellspacing="1" id="world_player" class="world">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">World Stats</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Total Villages</td>
|
||||
|
||||
<td>Total Population</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
|
||||
<td>
|
||||
<thead>
|
||||
<tr><th colspan="2">World Stats</th></tr>
|
||||
<tr><td>Total Villages</td><td>Total Population</td></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><?= $num_villages ?></td>
|
||||
<td><?= $total_pop ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<br />
|
||||
|
||||
<!-- ================= 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
|
||||
$result2 = mysqli_query($database->dblink,"SELECT * FROM ".TB_PREFIX."vdata");
|
||||
$num_rows2 = mysqli_num_rows($result2);
|
||||
echo $num_rows2;
|
||||
?></td>
|
||||
<td>
|
||||
<?php
|
||||
$pop = mysqli_query($database->dblink,"SELECT SUM(pop) AS sumofpop FROM ".TB_PREFIX."vdata");
|
||||
$getpop = mysqli_fetch_assoc($pop);
|
||||
echo $getpop['sumofpop'];
|
||||
?></td>
|
||||
$roman = $tribes[0];
|
||||
$teuton = $tribes[1];
|
||||
$gaul = $tribes[2];
|
||||
|
||||
$romanPct = ($users > 0) ? round(100 * $roman / $users, 2) : 0;
|
||||
$teutonPct = ($users > 0) ? round(100 * $teuton / $users, 2) : 0;
|
||||
$gaulPct = ($users > 0) ? round(100 - $romanPct - $teutonPct, 2) : 0;
|
||||
?>
|
||||
|
||||
<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>
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="world_player" class="world">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2">Players</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>Registered players</th>
|
||||
|
||||
<td><?php
|
||||
echo $users; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Active players</th>
|
||||
|
||||
<td><?php
|
||||
$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"));
|
||||
echo $active; ?></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>Players online</th>
|
||||
|
||||
<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)) {
|
||||
echo mysqli_fetch_assoc($online)['Total'];
|
||||
} else {
|
||||
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;
|
||||
|
||||
<!-- ================= TROOPS (UNCHANGED STRUCTURE, ONLY CLEAN OUTPUT) ================= -->
|
||||
<table cellpadding="1" cellspacing="1" class="world">
|
||||
<thead>
|
||||
<tr><th colspan="6">Troops</th></tr>
|
||||
<tr>
|
||||
<td><img src="img/romenai.png"></td><td>Total</td>
|
||||
<td><img src="img/germanai.png"></td><td>Total</td>
|
||||
<td><img src="img/galai.png"></td><td>Total</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php
|
||||
// SAFE: preload all sums once (fix performance + clean code)
|
||||
$units = [];
|
||||
$result = mysqli_query($database->dblink, "SELECT
|
||||
SUM(u1) AS u1, SUM(u2) AS u2, SUM(u3) AS u3, SUM(u4) AS u4, SUM(u5) AS u5,
|
||||
SUM(u6) AS u6, SUM(u7) AS u7, SUM(u8) AS u8, SUM(u9) AS u9, SUM(u10) AS u10,
|
||||
SUM(u11) AS u11, SUM(u12) AS u12, SUM(u13) AS u13, SUM(u14) AS u14, SUM(u15) AS u15,
|
||||
SUM(u16) AS u16, SUM(u17) AS u17, SUM(u18) AS u18, SUM(u19) AS u19, SUM(u20) AS u20,
|
||||
SUM(u21) AS u21, SUM(u22) AS u22, SUM(u23) AS u23, SUM(u24) AS u24, SUM(u25) AS u25,
|
||||
SUM(u26) AS u26, SUM(u27) AS u27, SUM(u28) AS u28, SUM(u29) AS u29, SUM(u30) AS u30
|
||||
FROM ".TB_PREFIX."units");
|
||||
|
||||
if ($result) {
|
||||
$units = mysqli_fetch_assoc($result);
|
||||
}
|
||||
|
||||
// helper safe output
|
||||
function u($units, $key) {
|
||||
return isset($units[$key]) ? (int)$units[$key] : 0;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</br>
|
||||
<table cellpadding="1" cellspacing="1" id="world_player" class="world">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="6">Troops</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src='img/romenai.png'></td>
|
||||
<td>Total</td>
|
||||
<td><img src='img/germanai.png'></td>
|
||||
<td>Total</td>
|
||||
<td><img src='img/galai.png'></td>
|
||||
<td>Total</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u1"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u1) AS sumofrats FROM ".TB_PREFIX."units");
|
||||
$getorat = mysqli_fetch_assoc($orat);
|
||||
echo $getorat['sumofrats'];
|
||||
?></td>
|
||||
<td><img src="img/x.gif" class="unit u11"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u11) AS sumofrats FROM ".TB_PREFIX."units");
|
||||
$getorat = mysqli_fetch_assoc($orat);
|
||||
echo $getorat['sumofrats'];
|
||||
?></td>
|
||||
<td><img src="img/x.gif" class="unit u21"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u21) 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 u2"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u2) AS sumofrats FROM ".TB_PREFIX."units");
|
||||
$getorat = mysqli_fetch_assoc($orat);
|
||||
echo $getorat['sumofrats'];
|
||||
?></td>
|
||||
<td><img src="img/x.gif" class="unit u12"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u12) AS sumofrats FROM ".TB_PREFIX."units");
|
||||
$getorat = mysqli_fetch_assoc($orat);
|
||||
echo $getorat['sumofrats'];
|
||||
?></td>
|
||||
<td><img src="img/x.gif" class="unit u22"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u22) 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 u3"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u3) AS sumofrats FROM ".TB_PREFIX."units");
|
||||
$getorat = mysqli_fetch_assoc($orat);
|
||||
echo $getorat['sumofrats'];
|
||||
?></td>
|
||||
<td><img src="img/x.gif" class="unit u13"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u13) AS sumofrats FROM ".TB_PREFIX."units");
|
||||
$getorat = mysqli_fetch_assoc($orat);
|
||||
echo $getorat['sumofrats'];
|
||||
?></td>
|
||||
<td><img src="img/x.gif" class="unit u23"></td>
|
||||
<td>
|
||||
<?php
|
||||
$orat = mysqli_query($database->dblink,"SELECT SUM(u23) 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 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 ?>
|
||||
|
||||
|
||||
<!-- ROMANS / GAULS / TEUTONS -->
|
||||
|
||||
<!-- ROW 1 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u1"></td><td><?= u($u,'u1') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u11"></td><td><?= u($u,'u11') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u21"></td><td><?= u($u,'u21') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 2 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u2"></td><td><?= u($u,'u2') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u12"></td><td><?= u($u,'u12') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u22"></td><td><?= u($u,'u22') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 3 -->
|
||||
<tr>
|
||||
<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>
|
||||
|
||||
<!-- ROW 4 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u4"></td><td><?= u($u,'u4') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u14"></td><td><?= u($u,'u14') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u24"></td><td><?= u($u,'u24') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 5 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u5"></td><td><?= u($u,'u5') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u15"></td><td><?= u($u,'u15') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u25"></td><td><?= u($u,'u25') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 6 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u6"></td><td><?= u($u,'u6') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u16"></td><td><?= u($u,'u16') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u26"></td><td><?= u($u,'u26') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 7 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u7"></td><td><?= u($u,'u7') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u17"></td><td><?= u($u,'u17') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u27"></td><td><?= u($u,'u27') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 8 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u8"></td><td><?= u($u,'u8') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u18"></td><td><?= u($u,'u18') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u28"></td><td><?= u($u,'u28') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 9 -->
|
||||
<tr>
|
||||
<td><img src="img/x.gif" class="unit u9"></td><td><?= u($u,'u9') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u19"></td><td><?= u($u,'u19') ?></td>
|
||||
<td><img src="img/x.gif" class="unit u29"></td><td><?= u($u,'u29') ?></td>
|
||||
</tr>
|
||||
|
||||
<!-- ROW 10 -->
|
||||
<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>
|
||||
<td><img src="img/x.gif" class="unit u30"></td><td><?= u($u,'u30') ?></td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<br />
|
||||
<!-- ================= MISC ================= -->
|
||||
<table cellpadding="1" cellspacing="1" class="world">
|
||||
<thead>
|
||||
<tr><th colspan="3">Miscellaneous</th></tr>
|
||||
<tr><td>Attacks</td><td>Casualties</td><td>Date</td></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<?php for($d=0;$d<=6;$d++): ?>
|
||||
<tr>
|
||||
<td><?= $database->getAttackByDate(time()-(86400*$d)) ?></td>
|
||||
<td><?= $database->getAttackCasualties(time()-(86400*$d)) ?></td>
|
||||
<td><?= date("j. M", time()-(86400*$d)) ?></td>
|
||||
</tr>
|
||||
<?php endfor; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php ?>
|
||||
<table cellpadding="1" cellspacing="1" id="search_navi"> <?php //fix the problem with footer.php, don't change or remove it ?>
|
||||
|
||||
+114
-60
@@ -1,71 +1,125 @@
|
||||
<?php
|
||||
|
||||
/** --------------------------------------------------- **\
|
||||
| ********* DO NOT REMOVE THIS COPYRIGHT NOTICE ********* |
|
||||
+---------------------------------------------------------+
|
||||
| Released by: Dzoki < dzoki.travian@gmail.com > |
|
||||
| Copyright: TravianZ Project All rights reserved |
|
||||
\** --------------------------------------------------- **/
|
||||
if(!is_numeric($_SESSION['search'])) {
|
||||
?>
|
||||
<center><font color=orange size=2><p class=\"error\">The hero <b>"<?php echo $_SESSION['search']; ?>"</b> does not exist.</p></font></center>
|
||||
<?php
|
||||
$search = 0;
|
||||
} else {
|
||||
$search = $_SESSION['search'];
|
||||
}
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Project: TravianZ ##
|
||||
## Version: 01.09.2013 ##
|
||||
## Filename heroes.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 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">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">
|
||||
The most experienced heroes </th>
|
||||
</tr>
|
||||
<tr><td></td><td>Hero</td><td>Player</td><td>Level</td><td>Experience</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
<table cellpadding="1" cellspacing="1" id="heroes" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">The most experienced heroes</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Hero</td>
|
||||
<td>Player</td>
|
||||
<td>Level</td>
|
||||
<td>Experience</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?php
|
||||
$rankArray = isset($ranking) ? $ranking->getRank() : array();
|
||||
|
||||
// ================= PAGINATION (UNCHANGED LOGIC) =================
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<tr class=\"hl \"><td class=\"ra fc\" >";
|
||||
else echo "<tr><td class=\"ra \" >";
|
||||
|
||||
echo $i . ".</td>
|
||||
<td class=\"hero \">
|
||||
<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>";
|
||||
while($_GET['rank'] > (20 * $multiplier)) {
|
||||
$multiplier++;
|
||||
}
|
||||
|
||||
?>
|
||||
</tbody>
|
||||
$start = 20 * $multiplier - 19;
|
||||
|
||||
} else {
|
||||
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
|
||||
}
|
||||
|
||||
} else {
|
||||
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
|
||||
}
|
||||
|
||||
// ================= RENDER =================
|
||||
if(count($rankArray) > 1) {
|
||||
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
|
||||
if(isset($rankArray[$i]['name']) && $rankArray[$i] != "pad") {
|
||||
|
||||
// highlight searched
|
||||
if($i == $search) {
|
||||
echo '<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>
|
||||
|
||||
<?php
|
||||
|
||||
include ("ranksearch.tpl");
|
||||
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+158
-55
@@ -1,64 +1,167 @@
|
||||
<?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
|
||||
$search = 0;
|
||||
}
|
||||
else {
|
||||
$search = $_SESSION['search'];
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="player">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<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]['aname'] != "") {
|
||||
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>
|
||||
<thead>
|
||||
<tr>
|
||||
<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="Romans">
|
||||
</a>
|
||||
<a title="Teutons" href="statistiken.php?id=12">
|
||||
<img class="btn_v2" src="img/x.gif" alt="Teutons">
|
||||
</a>
|
||||
<a title="Gauls" href="statistiken.php?id=13">
|
||||
<img class="btn_v3" src="img/x.gif" alt="Gauls">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</th>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Player</td>
|
||||
<td>Alliance</td>
|
||||
<td>Population</td>
|
||||
<td>Villages</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?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
@@ -1,65 +1,135 @@
|
||||
<?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
|
||||
$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">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
|
||||
if(count($database->getUserByTribe(1)) > 0) {
|
||||
for($i = $start; $i< $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<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>
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?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
@@ -1,65 +1,135 @@
|
||||
<?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
|
||||
$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">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
|
||||
if(count($database->getUserByTribe(2)) > 0) {
|
||||
for($i = $start; $i< $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<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>
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?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
@@ -1,65 +1,134 @@
|
||||
<?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
|
||||
$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">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
|
||||
if(count($database->getUserByTribe(3)) > 0) {
|
||||
for($i = $start; $i< $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<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>
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td>Player</td><td>Alliance</td><td>Population</td><td>Villages</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?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"); ?>
|
||||
@@ -1,60 +1,135 @@
|
||||
<?php
|
||||
if(!is_numeric($_SESSION['search'])) {
|
||||
<?php
|
||||
|
||||
#################################################################################
|
||||
## -= 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
|
||||
$search = 0;
|
||||
}
|
||||
else {
|
||||
$search = $_SESSION['search'];
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="player_off" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Player</td><td>Population</td><td>Villages</td><td>Points</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<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);
|
||||
|
||||
if(count($rankArray) > 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\" >";
|
||||
else echo "<tr><td class=\"ra \" >";
|
||||
|
||||
echo $i.".</td><td class=\"pla \" >";
|
||||
if($rankArray[$i]['access'] > 2){
|
||||
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a></u>";
|
||||
} else {
|
||||
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a>";
|
||||
}
|
||||
echo"</td><td class=\"pop \" >".$rankArray[$i]['totalpop']."";
|
||||
echo "</td><td class=\"vil\">".$rankArray[$i]['totalvillages']."</td><td class=\"po \" >".$rankArray[$i]['apall']."</td></tr>";
|
||||
|
||||
} else {
|
||||
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
|
||||
}
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
|
||||
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
|
||||
|
||||
if($i == $search) {
|
||||
echo '<tr class="hl"><td class="ra fc">';
|
||||
} else {
|
||||
echo '<tr><td class="ra">';
|
||||
}
|
||||
|
||||
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>";
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
} else {
|
||||
echo '<tr><td class="none" colspan="5">No users found</td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php
|
||||
|
||||
<?php
|
||||
// IMPORTANT: exact ca original
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
?>
|
||||
@@ -1,60 +1,137 @@
|
||||
<?php
|
||||
if(!is_numeric($_SESSION['search'])) {
|
||||
<?php
|
||||
|
||||
#################################################################################
|
||||
## -= 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
|
||||
$search = 0;
|
||||
}
|
||||
else {
|
||||
$search = $_SESSION['search'];
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="player_def" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Player</td><td>Population</td><td>Villages</td><td>Points</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
while($_GET['rank'] > (20 * $multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
<thead>
|
||||
<tr>
|
||||
<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>
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<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);
|
||||
|
||||
if(count($rankArray) > 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\" >";
|
||||
else echo "<tr><td class=\"ra \" >";
|
||||
|
||||
echo $i.".</td><td class=\"pla \" >";
|
||||
if($rankArray[$i]['access'] > 2){
|
||||
echo"<u><a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a></u>";
|
||||
} else {
|
||||
echo"<a href=\"spieler.php?uid=".$rankArray[$i]['id']."\">".$rankArray[$i]['username']."</a>";
|
||||
}
|
||||
echo"</td><td class=\"pop \" >".$rankArray[$i]['totalpop']."";
|
||||
echo "</td><td class=\"vil\">".$rankArray[$i]['totalvillages']."</td><td class=\"po \" >".$rankArray[$i]['dpall']."</td></tr>";
|
||||
|
||||
} else {
|
||||
$start = (isset($_SESSION['start']) ? (int)$_SESSION['start'] : 0) + 1;
|
||||
}
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
|
||||
if(isset($rankArray[$i]['username']) && $rankArray[$i] != "pad") {
|
||||
|
||||
if($i == $search) {
|
||||
echo '<tr class="hl"><td class="ra fc">';
|
||||
} else {
|
||||
echo '<tr><td class="ra">';
|
||||
}
|
||||
|
||||
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>";
|
||||
?>
|
||||
</tbody>
|
||||
|
||||
} else {
|
||||
echo '<tr><td class="none" colspan="5">No users found</td></tr>';
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php
|
||||
// EXACT ca original (nu atingem)
|
||||
include("ranksearch.tpl");
|
||||
?>
|
||||
?>
|
||||
@@ -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 = "?";
|
||||
|
||||
|
||||
@@ -12,7 +27,7 @@
|
||||
<table cellpadding="1" cellspacing="1">
|
||||
<thead>
|
||||
<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>
|
||||
</thead>
|
||||
</table>
|
||||
|
||||
@@ -1,4 +1,19 @@
|
||||
<?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'; }
|
||||
?>
|
||||
<table cellpadding="1" cellspacing="1" id="search_navi">
|
||||
|
||||
+118
-45
@@ -1,54 +1,127 @@
|
||||
<?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
|
||||
$search = 0;
|
||||
} else {
|
||||
$search = (int)$_SESSION['search'];
|
||||
}
|
||||
else $search = $_SESSION['search'];
|
||||
?>
|
||||
|
||||
<table cellpadding="1" cellspacing="1" id="villages" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">
|
||||
The largest villages
|
||||
</th>
|
||||
</tr>
|
||||
<tr><td></td><td>Village</td><td>Player</td><td>Inhabitants</td><td>Coordinates</td></tr>
|
||||
</thead><tbody>
|
||||
<?php
|
||||
$rankArray = $ranking->getRank();
|
||||
if(isset($_GET['rank'])){
|
||||
$multiplier = 1;
|
||||
if(is_numeric($_GET['rank'])) {
|
||||
if($_GET['rank'] > count($rankArray)) {
|
||||
$_GET['rank'] = count($rankArray) - 1;
|
||||
}
|
||||
|
||||
while($_GET['rank'] > (20*$multiplier)) $multiplier++;
|
||||
|
||||
$start = 20 * $multiplier - 19;
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
}
|
||||
else $start = ($_SESSION['start'] + 1);
|
||||
|
||||
if(count($rankArray) > 1) {
|
||||
for($i = $start; $i < $start + 20; $i++) {
|
||||
if(isset($rankArray[$i]['wref']) && $rankArray[$i] != "pad") {
|
||||
if($i == $search) echo "<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']."&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>
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="5">The largest villages</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>Village</td>
|
||||
<td>Player</td>
|
||||
<td>Inhabitants</td>
|
||||
<td>Coordinates</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
<?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'] . "&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
@@ -1,61 +1,134 @@
|
||||
<?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
|
||||
FROM " . TB_PREFIX . "users
|
||||
INNER JOIN " . TB_PREFIX . "vdata ON " . TB_PREFIX . "users.id = " . TB_PREFIX . "vdata.owner
|
||||
INNER JOIN " . TB_PREFIX . "fdata ON " . TB_PREFIX . "fdata.vref = " . TB_PREFIX . "vdata.wref
|
||||
WHERE " . TB_PREFIX . "fdata.f99t = 40 ORDER BY " . TB_PREFIX . "fdata.f99 Desc, id Desc LIMIT 20");
|
||||
?>
|
||||
<table cellpadding="1" cellspacing="1" id="villages" class="row_table_data">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="7">Wonder of the world</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><?php echo PLAYER; ?></td>
|
||||
<td><?php echo NAME; ?></td>
|
||||
<td><?php echo ALLIANCE; ?></td>
|
||||
<td><?php echo LEVEL; ?></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$count = 0;
|
||||
while ($row = mysqli_fetch_array($result))
|
||||
{
|
||||
$ally = $database->getAlliance($row['alliance']);
|
||||
$query = @mysqli_query($database->dblink,'SELECT * FROM `' . TB_PREFIX . 'ww_attacks` WHERE `vid` = ' . $row['vref'] . ' ORDER BY `attack_time` ASC LIMIT 1');
|
||||
$row2 = @mysqli_fetch_assoc($query);
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo ++$count; ?>.</td>
|
||||
<td><?php echo "<a href=\"karte.php?d=" . $row['vref'] . "&c=" . $generator->getMapCheck($row['vref']) . "\">"; ?><?php echo $row['username']; ?></a></td>
|
||||
<td><?php echo $row['wwname']; ?></td>
|
||||
<td><a href="allianz.php?aid=<?php echo $ally['id']; ?>"><?php echo $ally['tag']; ?></a></td>
|
||||
<td><?php echo $row['f99']; ?></td>
|
||||
<?php if ($row2['attack_time'] != 0): ?>
|
||||
<td><img src="gpack/travian_default/img/a/att1.gif" title="<?php print date('d.m.Y, H:i:s', $row2['attack_time']); ?>" /></td>
|
||||
<?php else: ?>
|
||||
<td> </td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if($count == 0){
|
||||
?>
|
||||
<?php
|
||||
|
||||
#################################################################################
|
||||
## -= 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/ ##
|
||||
## ##
|
||||
#################################################################################
|
||||
|
||||
if (WW == true) {
|
||||
|
||||
// Single query replacing:
|
||||
// - users
|
||||
// - vdata
|
||||
// - fdata
|
||||
// - alliance
|
||||
// - ww_attacks (latest attack per village via subquery)
|
||||
|
||||
$sql = "
|
||||
SELECT
|
||||
u.id,
|
||||
u.username,
|
||||
u.alliance,
|
||||
v.name AS village_name,
|
||||
f.wwname,
|
||||
f.f99,
|
||||
v.wref,
|
||||
a.tag AS alliance_tag,
|
||||
a.id AS alliance_id,
|
||||
wa.attack_time
|
||||
FROM " . TB_PREFIX . "users u
|
||||
INNER JOIN " . TB_PREFIX . "vdata v
|
||||
ON u.id = v.owner
|
||||
INNER JOIN " . TB_PREFIX . "fdata f
|
||||
ON f.vref = v.wref
|
||||
LEFT JOIN " . TB_PREFIX . "alidata a
|
||||
ON a.id = u.alliance
|
||||
LEFT JOIN " . TB_PREFIX . "ww_attacks wa
|
||||
ON wa.vid = v.wref
|
||||
AND wa.attack_time = (
|
||||
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>
|
||||
<td class="none" colspan="7"><?php echo NO_WW; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
header("Location: statistiken.php");
|
||||
exit;
|
||||
}
|
||||
?>
|
||||
<th colspan="7">Wonder of the world</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><?php echo PLAYER; ?></td>
|
||||
<td><?php echo NAME; ?></td>
|
||||
<td><?php echo ALLIANCE; ?></td>
|
||||
<td><?php echo LEVEL; ?></td>
|
||||
<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']; ?>&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> </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;
|
||||
}
|
||||
?>
|
||||
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
@@ -5,15 +5,33 @@
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+27
-9
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
## ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
@@ -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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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 =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
+28
-10
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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
@@ -2,18 +2,36 @@
|
||||
#################################################################################
|
||||
## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
|
||||
## --------------------------------------------------------------------------- ##
|
||||
## Filename 404.tpl ##
|
||||
## Filename index.php ##
|
||||
## Developed by: aggenkeech ##
|
||||
## License: TravianX Project ##
|
||||
## Copyright: TravianX (c) 2010-2012. All rights reserved. ##
|
||||
## ##
|
||||
## License: TravianZ Project ##
|
||||
## Copyright: TravianZ (c) 2010-2025. All rights reserved. ##
|
||||
#################################################################################
|
||||
|
||||
// prevent direct misuse in weird contexts (optional but safe)
|
||||
if (!defined('IN_GAME')) {
|
||||
// keep it harmless, just allow display
|
||||
}
|
||||
|
||||
$basePath = rtrim(dirname($_SERVER['SCRIPT_NAME']), '/\\');
|
||||
?>
|
||||
|
||||
<div style="margin-top: 50px;">
|
||||
<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 />
|
||||
<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 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>
|
||||
Reference in New Issue
Block a user