3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename dorf2.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">
28 <title
><?php
echo SERVER_NAME ?
></title
>
29 <link REL
="shortcut icon" HREF
="favicon.ico"/>
30 <meta http
-equiv
="cache-control" content
="max-age=0" />
31 <meta http
-equiv
="pragma" content
="no-cache" />
32 <meta http
-equiv
="expires" content
="0" />
33 <meta http
-equiv
="imagetoolbar" content
="no" />
34 <meta http
-equiv
="content-type" content
="text/html; charset=UTF-8" />
35 <script src
="mt-full.js?0faaa" type
="text/javascript"></script
>
36 <script src
="unx.js?0faaa" type
="text/javascript"></script
>
37 <script src
="new.js?0faaa" 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 <div id
="content" class="village2">
67 <h1
><?php
echo $village->vname
; ?
><br
/></h1
>
69 <?php
include("Templates/dorf2.tpl");
70 if($building->NewBuilding
) {
71 include("Templates/Building.tpl");
77 include("Templates/quest.tpl");
78 include("Templates/news.tpl");
79 include("Templates/multivillage.tpl");
80 include("Templates/links.tpl");
83 <div
class="clear"></div
>
85 <div
class="footer-stopper"></div
>
86 <div
class="clear"></div
>
88 include("Templates/footer.tpl");
89 include("Templates/res.tpl");
94 Calculated in
<b
><?php
95 echo round(($generator->pageLoadTimeEnd()-$start)*1000);
98 <br
/>Server time
: <span id
="tp1" class="b"><?php
echo date('H:i:s'); ?
></span
>