3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename dorf3.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 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
25 <title
><?php
echo SERVER_NAME ?
></title
>
26 <link REL
="shortcut icon" HREF
="favicon.ico"/>
27 <meta http
-equiv
="cache-control" content
="max-age=0" />
28 <meta http
-equiv
="pragma" content
="no-cache" />
29 <meta http
-equiv
="expires" content
="0" />
30 <meta http
-equiv
="imagetoolbar" content
="no" />
31 <meta http
-equiv
="content-type" content
="text/html; charset=UTF-8" />
32 <script src
="mt-full.js?0faaa" type
="text/javascript"></script
>
33 <script src
="unx.js?0faaa" type
="text/javascript"></script
>
34 <script src
="new.js?0faaa" type
="text/javascript"></script
>
35 <link href
="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel
="stylesheet" type
="text/css" />
36 <link href
="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel
="stylesheet" type
="text/css" />
38 if($session->gpack
== null || GP_ENABLE
== false) {
40 <link href='".GP_LOCATE
."travian.css?e21d2' rel='stylesheet' type='text/css' />
41 <link href='".GP_LOCATE
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
44 <link href='".$session->gpack
."travian.css?e21d2' rel='stylesheet' type='text/css' />
45 <link href='".$session->gpack
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
48 <script type
="text/javascript">
50 window
.addEvent('domready', start
);
55 <body
class="v35 ie ie8">
57 <img style
="filter:chroma();" src
="img/x.gif" id
="msfilter" alt
="" />
58 <div id
="dynamic_header">
60 <?php
include("Templates/header.tpl"); ?
>
62 <?php
include("Templates/menu.tpl"); ?
>
63 <div id
="content" class="village3">
67 if(isset($_GET['s'])){
69 include("Templates/dorf3/2.tpl");
70 }elseif($_GET['s'] == 3){
71 include("Templates/dorf3/3.tpl");
72 }elseif($_GET['s'] == 4){
73 include("Templates/dorf3/4.tpl");
74 }elseif($_GET['s'] == 5){
75 include("Templates/dorf3/5.tpl");
78 include("Templates/dorf3/1.tpl");
81 include("Templates/dorf3/noplus.tpl");
88 include("Templates/quest.tpl");
89 include("Templates/multivillage.tpl");
90 include("Templates/links.tpl");
93 <div
class="clear"></div
>
95 <div
class="footer-stopper"></div
>
96 <div
class="clear"></div
>
98 include("Templates/footer.tpl");
99 include("Templates/res.tpl");
104 Calculated in
<b
><?php
105 echo round(($generator->pageLoadTimeEnd()-$start)*1000);
108 <br
/>Server time
: <span id
="tp1" class="b"><?php
echo date('H:i:s'); ?
></span
>