3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename berichte.php ##
7 ## Developed by: Dzoki ##
8 ## License: TravianX Project ##
9 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
11 #################################################################################
13 include("GameEngine/Village.php");
14 $start = $generator->pageLoadTimeStart();
15 $message->noticeType($_GET);
16 $message->procNotice($_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 <script src
="mt-full.js?0faaa" type
="text/javascript"></script
>
29 <script src
="unx.js?0faaa" type
="text/javascript"></script
>
30 <script src
="new.js?0faaa" type
="text/javascript"></script
>
31 <link href
="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel
="stylesheet" type
="text/css" />
32 <link href
="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel
="stylesheet" type
="text/css" />
34 if($session->gpack
== null || GP_ENABLE
== false) {
36 <link href='".GP_LOCATE
."travian.css?e21d2' rel='stylesheet' type='text/css' />
37 <link href='".GP_LOCATE
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
40 <link href='".$session->gpack
."travian.css?e21d2' rel='stylesheet' type='text/css' />
41 <link href='".$session->gpack
."lang/en/lang.css?e21d2' rel='stylesheet' type='text/css' />";
44 <script type
="text/javascript">
46 window
.addEvent('domready', start
);
51 <body
class="v35 ie ie8">
53 <img style
="filter:chroma();" src
="img/x.gif" id
="msfilter" alt
="" />
54 <div id
="dynamic_header">
56 <?php
include("Templates/header.tpl"); ?
>
58 <?php
include("Templates/menu.tpl"); ?
>
59 <div id
="content" class="reports">
62 <a href
="berichte.php" <?php
if (!isset($_GET['t'])) { echo "class=\"selected \""; } ?
>>All
</a
>
63 |
<a href
="berichte.php?t=2" <?php
if (isset($_GET['t']) && $_GET['t'] == 2) { echo "class=\"selected \""; } ?
>>Trade
</a
>
64 |
<a href
="berichte.php?t=1" <?php
if (isset($_GET['t']) && $_GET['t'] == 1) { echo "class=\"selected \""; } ?
>>Reinforcement
</a
>
65 |
<a href
="berichte.php?t=3" <?php
if (isset($_GET['t']) && $_GET['t'] == 3) { echo "class=\"selected \""; } ?
>>Attacks
</a
>
66 |
<a href
="berichte.php?t=4" <?php
if (isset($_GET['t']) && $_GET['t'] == 4) { echo "class=\"selected \""; } ?
>>Miscellaneous
</a
>
67 <?php
if($session->plus
) {
68 echo "| <a href=\"berichte.php?t=5\"";
69 if (isset($_GET['t']) && $_GET['t'] == 5) { echo "class=\"selected \""; }
75 if(isset($_GET['id'])) {
76 $type = ($message->readingNotice
['ntype'] == 5)?
$message->readingNotice
['archive'] : $message->readingNotice
['ntype'];
77 include("Templates/Notice/".$type.".tpl");
80 include("Templates/Notice/all.tpl");
87 include("Templates/quest.tpl");
88 include("Templates/news.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
>
99 include("Templates/footer.tpl");
100 include("Templates/res.tpl");
105 Calculated in
<b
><?php
106 echo round(($generator->pageLoadTimeEnd()-$start)*1000);
109 <br
/>Server time
: <span id
="tp1" class="b"><?php
echo date('H:i:s'); ?
></span
>