Change some 404 error

Change some 404 error
This commit is contained in:
Catalin Novgorodschi
2026-05-08 08:21:38 +03:00
parent a91f2a8c96
commit 8cf5c93995
+28 -10
View File
@@ -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>