just a quick uncomment cause some just run and wonder why it dose nothing
[travianx.git] / manual.php
blob807847eebc153520d4ebdd8b2783f764d63769b6
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <?php
4 #################################################################################
5 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
6 ## --------------------------------------------------------------------------- ##
7 ## Filename manual.php ##
8 ## Developed by: Dzoki ##
9 ## License: TravianX Project ##
10 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
11 ## ##
12 #################################################################################
14 include("GameEngine/config.php");
17 <html>
18 <head>
19 <title><?php echo SERVER_NAME; ?></title>
20 <link REL="shortcut icon" HREF="favicon.ico"/>
21 <meta name="content-language" content="en" />
22 <meta http-equiv="cache-control" content="max-age=0" />
23 <meta http-equiv="imagetoolbar" content="no" />
24 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
25 <script src="mt-core.js?0faaa" type="text/javascript"></script>
26 <script src="mt-more.js?0faaa" type="text/javascript"></script>
27 <script src="unx.js?0faaa" type="text/javascript"></script>
28 <script src="new.js?0faaa" type="text/javascript"></script>
29 <link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css" />
30 <link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel="stylesheet" type="text/css" />
31 <link href="<?php echo GP_LOCATE; ?>travian.css?f4b7c" rel="stylesheet" type="text/css" />
32 <link href="<?php echo GP_LOCATE; ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
33 </head>
34 <body class="manual">
35 <?php
37 if (!ctype_digit($_GET['s'])) {
38 $_GET['s'] = "0";
40 if (!ctype_digit($_GET['typ'])) {
41 $_GET['typ'] = null;
43 if(!isset($_GET['typ']) && !isset($_GET['s'])) {
44 include("Templates/Manual/00.tpl");
46 else if (!isset($_GET['typ']) && $_GET['s'] == 1) {
47 include("Templates/Manual/00.tpl");
49 else if (!isset($_GET['typ']) && $_GET['s'] == 2) {
50 include("Templates/Manual/direct.tpl");
52 else if (isset($_GET['typ']) && $_GET['typ'] == 5 && $_GET['s'] == 3) {
53 include("Templates/Manual/medal.tpl");
55 else {
56 if(isset($_GET['gid'])) {
57 include("Templates/Manual/".$_GET['typ'].($_GET['gid']).".tpl");
59 else {
60 if($_GET['typ'] == 4 && $_GET['s'] == 0) {
61 $_GET['s'] = 1;
63 include("Templates/Manual/".$_GET['typ'].$_GET['s'].".tpl");
67 </body>
69 </html>