3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename nachrichten.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 $message->procMessage($_POST);
18 <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
21 <title
><?php
echo SERVER_NAME ?
></title
>
22 <link REL
="shortcut icon" HREF
="favicon.ico"/>
23 <meta http
-equiv
="cache-control" content
="max-age=0" />
24 <meta http
-equiv
="pragma" content
="no-cache" />
25 <meta http
-equiv
="expires" content
="0" />
26 <meta http
-equiv
="imagetoolbar" content
="no" />
27 <meta http
-equiv
="content-type" content
="text/html; charset=UTF-8" />
28 <meta name
="X-UA-Compatible" content
="IE=8" />
29 <script src
="mt-full.js?f4b7c" type
="text/javascript"></script
>
30 <script src
="unx.js?f4b7c" type
="text/javascript"></script
>
31 <script src
="new.js?f4b7c" type
="text/javascript"></script
>
32 <link href
="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel
="stylesheet" type
="text/css" />
33 <link href
="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel
="stylesheet" type
="text/css" />
35 if($session->gpack
== null || GP_ENABLE
== false) {
37 <link href='".GP_LOCATE
."travian.css?e21d2' rel='stylesheet' type='text/css' />
38 <link href='".GP_LOCATE
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
41 <link href='".$session->gpack
."travian.css?e21d2' rel='stylesheet' type='text/css' />
42 <link href='".$session->gpack
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
45 <script type
="text/javascript">
47 window
.addEvent('domready', start
);
52 <body
class="v35 ie ie8">
54 <img style
="filter:chroma();" src
="img/x.gif" id
="msfilter" alt
="" />
55 <div id
="dynamic_header">
57 <?php
include("Templates/header.tpl"); ?
>
60 <?php
include("Templates/menu.tpl");
61 if(isset($_GET['id']) && !isset($_GET['t'])) {
62 $message->loadMessage($_GET['id']);
63 include("Templates/Message/read.tpl");
65 else if(isset($_GET['t'])) {
68 if(isset($_GET['id'])) {
71 include("Templates/Message/write.tpl");
74 include("Templates/Message/sent.tpl");
78 include("Templates/Message/archive.tpl");
83 $message->loadNotes();
84 include("Templates/Message/notes.tpl");
88 include("Templates/Message/inbox.tpl");
93 include("Templates/Message/inbox.tpl");
99 include("Templates/quest.tpl");
100 include("Templates/news.tpl");
101 include("Templates/multivillage.tpl");
102 include("Templates/links.tpl");
105 <div
class="clear"></div
>
107 <div
class="footer-stopper"></div
>
108 <div
class="clear"></div
>
110 include("Templates/footer.tpl");
111 include("Templates/res.tpl");
116 Calculated in
<b
><?php
117 echo round(($generator->pageLoadTimeEnd()-$start)*1000);
120 <br
/>Server time
: <span id
="tp1" class="b"><?php
echo date('H:i:s'); ?
></span
>