3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename karte.php ##
7 ## Developed by: Dzoki ##
8 ## License: TravianX Project ##
9 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
11 #################################################################################
14 include("GameEngine/Village.php");
15 $start = $generator->pageLoadTimeStart();
16 if(isset($_GET['newdid'])) {
17 $_SESSION['wid'] = $_GET['newdid'];
18 header("Location: ".$_SERVER['PHP_SELF']);
21 $building->procBuild($_GET);
24 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
27 <title
><?php
echo SERVER_NAME ?
></title
>
28 <link REL
="shortcut icon" HREF
="favicon.ico"/>
29 <meta http
-equiv
="cache-control" content
="max-age=0" />
30 <meta http
-equiv
="pragma" content
="no-cache" />
31 <meta http
-equiv
="expires" content
="0" />
32 <meta http
-equiv
="imagetoolbar" content
="no" />
33 <meta http
-equiv
="content-type" content
="text/html; charset=UTF-8" />
35 <script src
="mt-full.js?0ac36" type
="text/javascript"></script
>
36 <script src
="unx.js?0ac36" type
="text/javascript"></script
>
37 <script src
="new.js?0ac36" type
="text/javascript"></script
>
38 <link href
="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel
="stylesheet" type
="text/css" />
39 <link href
="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel
="stylesheet" type
="text/css" />
41 if($session->gpack
== null || GP_ENABLE
== false) {
43 <link href='".GP_LOCATE
."travian.css?e21d2' rel='stylesheet' type='text/css' />
44 <link href='".GP_LOCATE
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
47 <link href='".$session->gpack
."travian.css?e21d2' rel='stylesheet' type='text/css' />
48 <link href='".$session->gpack
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
51 <script type
="text/javascript">
53 window
.addEvent('domready', start
);
58 <body
class="v35 ie ie8">
60 <img style
="filter:chroma();" src
="img/x.gif" id
="msfilter" alt
="" />
61 <div id
="dynamic_header">
63 <?php
include("Templates/header.tpl"); ?
>
65 <?php
include("Templates/menu.tpl");
66 if(isset($_GET['d']) && isset($_GET['c'])) {
67 if($generator->getMapCheck($_GET['d']) == $_GET['c']) {
68 include("Templates/Map/vilview.tpl");
71 header("Location: dorf1.php");
75 include("Templates/Map/mapview.tpl");
80 include("Templates/quest.tpl");
81 include("Templates/news.tpl");
82 include("Templates/multivillage.tpl");
83 include("Templates/links.tpl");
86 <div
class="clear"></div
>
88 <div
class="footer-stopper"></div
>
89 <div
class="clear"></div
>
92 include("Templates/footer.tpl");
93 include("Templates/res.tpl");
98 Calculated in
<b
><?php
99 echo round(($generator->pageLoadTimeEnd()-$start)*1000);
102 <br
/>Server time
: <span id
="tp1" class="b"><?php
echo date('H:i:s'); ?
></span
>