fix tutorial , now view correctly

This commit is contained in:
Shadowss
2013-09-18 15:09:23 +03:00
parent 1cec3c9e4c
commit b9fdc1dc07
+114 -60
View File
@@ -1,32 +1,26 @@
<?php <?php
################################################################################# #################################################################################
## ## ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
## -= YOU MUST NOT REMOVE OR CHANGE THIS NOTICE =- ##
## ##
## --------------------------------------------------------------------------- ## ## --------------------------------------------------------------------------- ##
## ## ## Filename anleitung.php ##
## Project: ZravianX ## ## Developed by: Dzoki ##
## Version: 2011.11.06 ## ## License: TravianX Project ##
## Filename: tutorial.php ## ## Fixed bt: Shadow ##
## Developed by: ZZJHONS ## ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
## License: Creative Commons BY-NC-SA 3.0 ##
## Copyright: ZravianX (c) 2011 - All rights reserved ##
## URLs: http://zravianx.zzjhons.com ##
## Source code: http://www.github.com/ZZJHONS/ZravianX ##
## ## ## ##
################################################################################# #################################################################################
include("GameEngine/config.php"); include("GameEngine/config.php");
include("GameEngine/Database.php"); include("GameEngine/Database.php");
include("GameEngine/Lang/".LANG.".php"); include("GameEngine/Lang/".LANG.".php");
?> ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title><?php echo SERVER_NAME; echo "&nbsp;-&nbsp;"; echo TUTORIAL; ?></title> <title><?php echo SERVER_NAME; ?></title>
<link rel="stylesheet" type="text/css" href="gpack/travian/main.css"/> <link rel="stylesheet" type="text/css" href="img/tutorial/main.css"/>
<link rel="stylesheet" type="text/css" href="gpack/travian/flaggs.css"/> <link rel="stylesheet" type="text/css" href="img/tutorial/flaggs.css"/>
<meta name="content-language" content="<?php echo LANG; ?>"/> <meta name="content-language" content="en"/>
<meta http-equiv="imagetoolbar" content="no"/> <meta http-equiv="imagetoolbar" content="no"/>
<script src="mt-core.js" type="text/javascript"></script> <script src="mt-core.js" type="text/javascript"></script>
<script src="new.js" type="text/javascript"></script> <script src="new.js" type="text/javascript"></script>
@@ -34,35 +28,60 @@
</style> </style>
</head> </head>
<body class="contentPage"> <body class="webkit contentPage">
<div class="wrapper"> <div class="wrapper">
<div id="country_select"> <div id="country_select">
<div id="flags"></div>
<script src="flaggen.js?a" type="text/javascript"></script> </div>
<script type="text/javascript"> <div id="header">
var region_list = new Array('Europe','America','Asia','Middle East','Africa','Oceania'); <h1>Welcome to <?php echo SERVER_NAME; ?></h1>
show_flags('', '', region_list); </div>
</script>
</div> <div id="navigation">
<div id="header">
<h1><?php echo $lang['index'][0][2]; ?></h1> <a href="index.php" class="home"><img src="img/x.gif" alt="Travian"/></a>
</div>
<div id="navigation"> <table class="menu">
<a href="index.php" class="home"><img src="img/x.gif" alt="<?php echo SERVER_NAME; ?>"/></a>
<table class="menu"> <tr>
<tr>
<td><a href="tutorial.php"><span><?php echo TUTORIAL; ?></span></a></td> <td><a href="tutorial.php"><span>Tutorial</span></a></td>
<td><a href="anleitung.php"><span><?php echo $lang['index'][0][2]; ?></span></a></td>
<td><a href="http://forum.travian.com/" target="_blank"><span><?php echo FORUM; ?></span></a></td> <td><a href="anleitung.php"><span>Manual</span></a></td>
<td><a href="index.php?signup" class="mark"><span><?php echo $lang['register']; ?></span></a></td>
<td><a href="index.php?login"><span><?php echo LOGIN; ?></span></a></td> <td><a href="http://forum.travian.com/" target="_blank"><span>Forum</span></a></td>
</tr>
</table>
</div>
<div id="content">
<div class="grit">
<div class="grit"> <td><a href="index.php?signup"><span>Register</span></a></td>
<h1><?php echo TUTORIAL; ?></h1>
<td><a href="index.php?login"><span>Login</span></a></td>
</tr>
</table>
</div>
<div id="content">
<div class="grit">
<h1>Tutorial</h1>
<?php <?php
if(!isset($_GET['s'])) { if(!isset($_GET['s'])) {
$_GET['s'] = ""; } $_GET['s'] = ""; }
@@ -79,16 +98,51 @@
if ($_GET['s'] == "5") { if ($_GET['s'] == "5") {
include("Templates/Tutorial/5.tpl"); } include("Templates/Tutorial/5.tpl"); }
?> ?>
<div class="footer"></div>
</div>
<div id="iframe_layer" class="overlay">
<div class="mask closer"></div> </ul>
<div class="overlay_content">
<a href="index.php" class="closer"><img class="dynamic_img" alt="Close" src="img/un/x.gif" /></a> <div class="footer"></div>
<h2><?php echo MANUAL; ?></h2>
<div id="frame_box"></div> </div>
<div class="footer"></div>
</div> </div>
</div>
<div id="iframe_layer" class="overlay">
<div class="mask closer"></div>
<div class="overlay_content">
<a href="index.php" class="closer"><img class="dynamic_img" alt="Close" src="img/un/x.gif" /></a>
<h2>Anleitung</h2>
<div id="frame_box" >
</div>
<div class="footer"></div>
</div>
</div>
</body> </body>
</html> </html>