just a quick uncomment cause some just run and wonder why it dose nothing
[travianx.git] / index.php
blob10c94d5d4f7919b0025ba8390dd65401985797ee
1 <?php
3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename index.php ##
7 ## Developed by: Advocaite ##
8 ## License: TravianX Project ##
9 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
10 ## ##
11 #################################################################################
13 error_reporting(E_ALL);
14 if (!file_exists('GameEngine/config.php')) {
15 header("Location: install/");
17 include("GameEngine/config.php");
18 include("GameEngine/Database.php");
19 include("GameEngine/Lang/".LANG.".php");
21 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
22 <html xmlns="http://www.w3.org/1999/xhtml"><head>
23 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
24 <title>
25 <?php echo SERVER_NAME; ?> - Browser Game - Powered by TravianX </title>
26 <link rel="stylesheet" type="text/css" href="index.php_files/compact.css"><meta name="content-language" content="au">
27 <meta http-equiv="imagetoolbar" content="no">
29 </script><script type="text/javascript" src="uncrypt.js"></script>
30 <style type="text/css" charset="utf-8">/* See license.txt for terms of usage */
31 /** reset styling **/
32 .firebugResetStyles {
33 z-index: 2147483646 !important;
34 top: 0 !important;
35 left: 0 !important;
36 display: block !important;
37 border: 0 none !important;
38 margin: 0 !important;
39 padding: 0 !important;
40 outline: 0 !important;
41 min-width: 0 !important;
42 max-width: none !important;
43 min-height: 0 !important;
44 max-height: none !important;
45 position: fixed !important;
46 -moz-transform: rotate(0deg) !important;
47 -moz-transform-origin: 50% 50% !important;
48 -moz-border-radius: 0 !important;
49 -moz-box-shadow: none !important;
50 background: transparent none !important;
51 pointer-events: none !important;
54 .firebugBlockBackgroundColor {
55 background-color: transparent !important;
58 .firebugResetStyles:before, .firebugResetStyles:after {
59 content: "" !important;
61 /**actual styling to be modified by firebug theme**/
62 .firebugCanvas {
63 display: none !important;
66 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
67 .firebugLayoutBox {
68 width: auto !important;
69 position: static !important;
72 .firebugLayoutBoxOffset {
73 opacity: 0.8 !important;
74 position: fixed !important;
77 .firebugLayoutLine {
78 opacity: 0.4 !important;
79 background-color: #000000 !important;
82 .firebugLayoutLineLeft, .firebugLayoutLineRight {
83 width: 1px !important;
84 height: 100% !important;
87 .firebugLayoutLineTop, .firebugLayoutLineBottom {
88 width: 100% !important;
89 height: 1px !important;
92 .firebugLayoutLineTop {
93 margin-top: -1px !important;
94 border-top: 1px solid #999999 !important;
97 .firebugLayoutLineRight {
98 border-right: 1px solid #999999 !important;
101 .firebugLayoutLineBottom {
102 border-bottom: 1px solid #999999 !important;
105 .firebugLayoutLineLeft {
106 margin-left: -1px !important;
107 border-left: 1px solid #999999 !important;
110 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
111 .firebugLayoutBoxParent {
112 border-top: 0 none !important;
113 border-right: 1px dashed #E00 !important;
114 border-bottom: 1px dashed #E00 !important;
115 border-left: 0 none !important;
116 position: fixed !important;
117 width: auto !important;
120 .firebugRuler{
121 position: absolute !important;
124 .firebugRulerH {
125 top: -15px !important;
126 left: 0 !important;
127 width: 100% !important;
128 height: 14px !important;
129 background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%13%88%00%00%00%0E%08%02%00%00%00L%25a%0A%00%00%00%04gAMA%00%00%D6%D8%D4OX2%00%00%00%19tEXtSoftware%00Adobe%20ImageReadyq%C9e%3C%00%00%04%F8IDATx%DA%EC%DD%D1n%E2%3A%00E%D1%80%F8%FF%EF%E2%AF2%95%D0D4%0E%C1%14%B0%8Fa-%E9%3E%CC%9C%87n%B9%81%A6W0%1C%A6i%9A%E7y%0As8%1CT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*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3%F2%B1%1B%8DWU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*UiU%C7%BBe%E7%F3%B9%CB%AAJ%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5*%AAj%FD%C6%D4%5Eo%90%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5%86%AF%1B%9F%98%DA%EBm%BBV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%AD%D6%E4%F58%01%00%00%00%00%00%00%00%00%00%00%00%00%00%40%85%7F%02%0C%008%C2%D0H%16j%8FX%00%00%00%00IEND%AEB%60%82") repeat-x !important;
130 border-top: 1px solid #BBBBBB !important;
131 border-right: 1px dashed #BBBBBB !important;
132 border-bottom: 1px solid #000000 !important;
135 .firebugRulerV {
136 top: 0 !important;
137 left: -15px !important;
138 width: 14px !important;
139 height: 100% !important;
140 background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0E%00%00%13%88%08%02%00%00%00%0E%F5%CB%10%00%00%00%04gAMA%00%00%D6%D8%D4OX2%00%00%00%19tEXtSoftware%00Adobe%20ImageReadyq%C9e%3C%00%00%06~IDATx%DA%EC%DD%D1v%A20%14%40Qt%F1%FF%FF%E4%97%D9%07%3BT%19%92%DC%40(%90%EEy%9A5%CB%B6%E8%F6%9Ac%A4%CC0%84%FF%DC%9E%CF%E7%E3%F1%88%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52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4%AE%A4%F5%25%C0%00%DE%BF%5C'%0F%DA%B8q%00%00%00%00IEND%AEB%60%82") repeat-y !important;
141 border-left: 1px solid #BBBBBB !important;
142 border-right: 1px solid #000000 !important;
143 border-bottom: 1px dashed #BBBBBB !important;
146 .overflowRulerX > .firebugRulerV {
147 left: 0 !important;
150 .overflowRulerY > .firebugRulerH {
151 top: 0 !important;
154 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
155 .fbProxyElement {
156 position: fixed !important;
157 pointer-events: auto !important;
158 }</style></head>
159 <body class="gecko LTR">
160 <div id="backgroundLeft"></div>
161 <div id="backgroundRight"></div>
162 <div id="background">
163 <div id="navigation-wrapper">
164 <div id="navigation-container">
165 <div id="country_select">
166 <div id="flags"></div>
167 <script type="text/javascript">
168 window.addEvent('domready', function()
170 new Travian.Main.Flags(
172 container: 'flags',
173 currentTld: 'au',
174 adCode: '',
175 regions:
177 'europe': 'Europe',
178 'america': 'America',
179 'asia': 'Asia',
180 'middleEast': 'Middle East',
181 'africa': 'Africa',
182 'oceania': 'Oceania'
184 flags:
186 'europe':
188 'ba': 'http://www.ragezone.ba/',
189 'bg': 'http://www.ragezone.bg/',
190 'com': 'http://www.ragezone.com/',
191 'cz': 'http://www.ragezone.cz/',
192 'de': 'http://www.ragezone.de/',
193 'dk': 'http://www.ragezone.dk/',
194 'fi': 'http://www.ragezone.fi/',
195 'fr': 'http://www.ragezone.fr/',
196 'gr': 'http://www.ragezone.gr/',
197 'hr': 'http://www.ragezone.com.hr/',
198 'hu': 'http://www.ragezone.hu/',
199 'il': 'http://www.ragezone.co.il/',
200 'it': 'http://www.ragezone.it/',
201 'lt': 'http://www.ragezone.lt/',
202 'net': 'http://www.ragezone.net/',
203 'nl': 'http://www.ragezone.nl/',
204 'no': 'http://www.ragezone.no/',
205 'pl': 'http://www.ragezone.pl/',
206 'pt': 'http://www.ragezone.pt/',
207 'ro': 'http://www.ragezone.ro/',
208 'rs': 'http://www.ragezone.rs/',
209 'ru': 'http://www.ragezone.ru/',
210 'se': 'http://www.ragezone.se/',
211 'si': 'http://www.ragezone.si/',
212 'sk': 'http://www.ragezone.sk/',
213 'tr': 'http://www.ragezone.com.tr/',
214 'ua': 'http://www.ragezone.com.ua/',
215 'uk': 'http://www.ragezone.co.uk/',
216 'ee': 'http://www.ragezone.co.ee/',
217 'lv': 'http://www.ragezone.lv/'
219 'america':
221 'ar': 'http://www.ragezone.com.ar/',
222 'br': 'http://www.ragezone.com.br/',
223 'cl': 'http://www.ragezone.cl/',
224 'mx': 'http://www.ragezone.com.mx/',
225 'us': 'http://www.ragezone.us/'
227 'asia':
229 'cn': 'http://www.ragezone.cc/',
230 'com': 'http://www.ragezone.com/',
231 'hk': 'http://www.ragezone.hk/',
232 'in': 'http://www.ragezone.in/',
233 'id': 'http://www.ragezone.co.id/',
234 'jp': 'http://www.ragezone.jp/',
235 'my': 'http://www.ragezone.com.my/',
236 'ph': 'http://www.ragezone.ph/',
237 'kr': 'http://www.ragezone.co.kr/',
238 'asia': 'http://www.ragezone.asia/',
239 'vn': 'http://www.ragezone.com.vn/',
240 'pk': 'http://www.ragezone.pk/'
242 'middleEast':
244 'ae': 'http://www.ragezone.ae/',
245 'ir': 'http://www.ragezone.ir/',
246 'eg': 'http://www.ragezone.com.eg/',
247 'sy': 'http://sy.ragezone.com/',
248 'sa': 'http://www.ragezone.com.sa/',
249 'ma': 'http://www.ragezone.ma/'
251 'africa':
253 'za': 'http://www.ragezone.co.za/',
254 'ma': 'http://www.ragezone.ma/',
255 'eg': 'http://www.ragezone.com.eg/'
257 'oceania':
259 'au': 'http://www.ragezone.com.au/',
260 'nz': 'http://www.ragezone.co.nz/'
265 </script>
266 </div> <div id="top-nav">
267 <div id="top-nav-menu">
268 <div id="logo">
269 <a href="http://www.ragezone.com/f583/"><img src="index.php_files/x.gif" class="logo" alt=""></a>
270 </div>
271 <ul id="top-navigation">
272 <li>
273 <a href="#tutorial" class="popcon">Game Tour</a>
274 </li>
275 <li>
276 <a target="blank" href="http:/www.ragezone.com/f583/" id="forum">RageZone</a>
277 </li>
278 <li>
279 <a href="#moregames" class="popcon">More Links</a>
280 </li>
281 <li>
282 <a id="register" class="popcon" href="#serverRegister">Register</a> </li>
283 </ul>
284 </div>
285 <div id="top-nav-login">
286 <div id="login">
287 <div class="btn-green">
288 <div class="btn-green-l"></div>
289 <div class="btn-green-c">
290 <a class="npage popcon" href="#serverLogin">Login</a> </div>
291 <div class="btn-green-r"></div>
292 <div class="clear"></div>
293 </div>
294 </div>
295 </div>
296 </div> </div>
297 </div>
299 <div id="content-container">
300 <div id="content-menu">
301 <div id="statistics">
302 <div id="stat-top"></div>
303 <div id="stat_bottom"></div>
305 <h3 class="stat bold grey"><?php echo PLAYER_STATISTICS; ?> </h3>
306 <div>
307 <div class="stat type"><?php echo TOTAL_PLAYERS; ?>:</div><div class="stat value"><?php
308 $users = mysql_num_rows(mysql_query("SELECT SQL_CACHE * FROM ".TB_PREFIX."users"));
309 echo $users;
310 ?></div>
311 <div class="clear"></div>
312 <div class="stat type"><?php echo ACTIVE_PLAYERS; ?>:</div><div class="stat value"><?php
313 $weekago = time() - 604800;
314 $usersthisweek = mysql_result(mysql_query("SELECT COUNT(*) FROM ".TB_PREFIX."users WHERE lastupdate>$weekago"),0);
315 echo $usersthisweek;
316 ?></div>
317 <div class="clear"></div>
318 <div class="stat type"><?php echo ONLINE_PLAYERS; ?>:</div><div class="stat value"><?php
319 $result = mysql_query("SELECT * FROM ".TB_PREFIX."active");
320 $num_rows = mysql_num_rows($result);
321 echo $num_rows;
322 ?></div>
323 <div class="clear"></div>
324 </div>
325 </div>
327 <div id="news">
328 <div id="news-head"></div>
329 <div id="news-content">
330 <h3 class="news bold"><?php echo NEWS; ?> </h3>
331 <!-- NEWSBOX1 - START -->
332 <div class="news-items">
333 <?php if(HOME1 == true){
334 include("Templates/News/home/home1.tpl");
337 </div>
338 <!-- NEWSBOX1 - END -->
341 <?php if(HOME2 & HOME1 == true){
342 echo '<div class="news-divider"></div>';
344 else if(HOME1 & HOME3 == true){
345 echo '<div class="news-divider"></div>';
347 else echo '';
351 <!-- NEWSBOX2 - START -->
352 <div class="news-items">
353 <?php if(HOME2 == true){
354 include("Templates/News/home/home2.tpl");
357 </div>
358 <!-- NEWSBOX2 - END -->
361 <?php if(HOME3 & HOME2 == true){
362 echo '<div class="news-divider"></div>';
364 else echo '';
367 <!-- NEWSBOX3 - START -->
368 <div class="news-items">
369 <?php if(HOME3 == true){
370 include("Templates/News/home/home3.tpl");
373 </div>
374 <!-- NEWSBOX3 - END -->
375 </div>
376 <div id="news-bottom"> </div>
377 </div>
382 </div>
383 <div id="content-main">
384 <div id="wit">
385 <div id="wit-top"></div>
386 <div id="wit-content" class="with-button">
387 <div id="hero"></div>
388 <h1 class="wit bold">TRAVIAN_X - the multiplayer strategy game</h1>
389 <div class="wit-info">
390 TRAVIAN_X is soon to be one of the most popular Open Sourced browser game Sources in the world. As a
391 player in TRAVIAN_X, you will build your own empire, recruit a mighty
392 army, and fight with your allies for game world hegemony.
393 <div class="playnow playnow-button">
394 <div class="playnow-start">
395 <h1 class="play white bold"><a id="register" class="popcon play" href="index.php#serverRegister" title="Register here for free!">Register here for free!</a></h1>
396 </div>
397 <div class="playnow-end"></div>
398 <div class="clear"></div>
399 </div>
400 </div>
402 <div id="stage_space"></div>
403 <div id="stage">
404 <div id="frame">
406 <div class="stage-content stage-content0 shown" style="background-image: url(index.php_files/gpack/main_defailt/img/stage/new_world-ltr.jpg); visibility: visible; opacity: 1;">
407 <div style="position:absolute; left:15px; top:170px;"><img alt="" class="bbArrow" src="index.php_files/x.gif"> <span style="color:black;"><span style="font-weight:bold;">Play TRAVIAN_X 4.8.5 now</span></span></div>
408 <div style="position:absolute; left:15px; top:12px;"><h3>Latest game world</h3><br>
409 <span style="font-weight:bold;">Register on the latest<br>
410 game world and enjoy<br>
411 the advantages of being<br>
412 one of the first players.</span></div>
413 <div class="stage-arrow stage-arrow-0"></div>
414 </div>
415 <div class="stage-content stage-content1 " style="background-image: url(index.php_files/gpack/main_defailt/img/stage/feature-ltr.jpg); visibility: visible; opacity: 1;">
416 <div style="position:absolute; left:15px; top:170px;"><img alt="" class="bbArrow" src="index.php_files/x.gif"> <span style="color:black;"><span style="font-weight:bold;">Find out more about the new TRAVIAN_X</span></span></div>
417 <div style="position:absolute; left:15px; top:12px;"><h3>Rage Zones TRAVIAN_X</h3><br>
418 <span style="font-weight:bold;">Now with a revolutionised<br>
419 server system, completely new<br>
420 graphics <br>This clone is The Shiz!</span></div>
421 <div class="stage-arrow stage-arrow-1"></div>
422 </div>
423 <div class="stage-content stage-content2" style="background-image: url(index.php_files/gpack/main_defailt/img/stage/community-ltr.jpg)">
424 <div style="position:absolute; left:15px; top:170px;"><img alt="" class="bbArrow" src="index.php_files/x.gif"> <span style="color:black;"><span style="font-weight:bold;">Become part of our community now!</span></span></div>
425 <div style="position:absolute; left:15px; top:12px;"><h3>Community</h3><br>
426 <span style="font-weight:bold;">Become a part of one of<br>
427 the biggest gaming<br>
428 communities in the<br>
429 world.</span></div>
430 <div class="stage-arrow stage-arrow-2"></div>
431 </div>
433 <div id="stage-nav">
434 <ul id="buttons">
435 <li class="b0 act0" style="background-image: url(index.php_files/gpack/main_defailt/img/stage/new_world_small-ltr.png)">&nbsp;</li>
436 <li class="b1" style="background-image: url(index.php_files/gpack/main_defailt/img/stage/feature_small-ltr.png)">&nbsp;</li>
437 <li class="b2" style="background-image: url(index.php_files/gpack/main_defailt/img/stage/community_small-ltr.png)">&nbsp;</li>
438 </ul>
439 </div>
440 </div>
442 <div style="visibility: hidden; opacity: 0;" id="stage-bg"></div>
443 <div id="stage-fg">
444 <div class="stage-links">
445 <a style="visibility: visible; opacity: 1;" class="stage-link stage-link1 shown" href="/index.php#serverRegister"></a> <a style="visibility: visible; opacity: 1;" class="stage-link stage-link2 " href="http://www.travian.com.au/serverRegister.php"></a> <a class="stage-link stage-link3" href="http://forum.ragezone.com/f583/"></a> </div>
446 <div id="stage-nav-click">
447 <ul id="buttons-click">
448 <li style="visibility: visible; opacity: 1;" class="b0 act0">&nbsp;</li>
449 <li style="visibility: visible; opacity: 1;" class="b1 ">&nbsp;</li>
450 <li class="b2">&nbsp;</li>
451 </ul>
452 </div>
453 </div>
454 </div>
456 </div>
457 <div id="wit-bottom"></div>
458 </div>
460 <div id="moreabttravian">
461 <div id="find-out-more">
462 <div id="strip-head"><div>Learn more<br>
463 about TRAVIAN_X Open Source!</div></div>
464 <div id="strip">
465 <ul id="strips">
466 <li class="stip0">&nbsp;</li>
467 <li class="stip1">&nbsp;</li>
468 <li class="stip2">&nbsp;</li>
469 <li class="stip3">&nbsp;</li>
470 <li class="stip4">&nbsp;</li>
471 <li class="stip5">&nbsp;</li>
472 </ul>
473 </div>
475 <div id="strip-details">
476 <div class="details">
477 <div class="details-top"></div>
478 <div class="details-l-top"></div><div class="details-r-top"></div>
479 <div class="details-body">
480 <div class="details-body-l" id="strip-c1"></div>
481 <div class="details-body-r">Upgrade your fields and
482 mines to increase your resource production. You will need resources to
483 construct buildings and train soldiers. <br><br>
484 <div class="btn-green">
485 <div class="btn-green-l"></div>
486 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial">Game Tour</a></div>
487 <div class="btn-green-r"></div>
488 </div>
489 </div>
490 </div>
491 <div class="details-l-bottom"></div><div class="details-r-bottom"></div>
492 <div class="details-bottom"></div>
493 </div>
494 <div class="details">
495 <div class="details-top"></div>
496 <div class="details-l-top"></div><div class="details-r-top"></div>
497 <div class="details-body">
498 <div class="details-body-l" id="strip-c2"></div>
499 <div class="details-body-r">Construct and expand the
500 buildings in your village. Buildings improve your overall
501 infrastructure, increase your resource production and allow you to
502 research, train and upgrade your troops. <br><br>
503 <div class="btn-green">
504 <div class="btn-green-l"></div>
505 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial">Game Tour</a></div>
506 <div class="btn-green-r"></div>
507 </div>
508 </div>
509 </div>
510 <div class="details-l-bottom"></div><div class="details-r-bottom"></div>
511 <div class="details-bottom"></div>
512 </div>
513 <div class="details">
514 <div class="details-top"></div>
515 <div class="details-l-top"></div><div class="details-r-top"></div>
516 <div class="details-body">
517 <div class="details-body-l" id="strip-c3"></div>
518 <div class="details-body-r">View and interact with
519 your surroundings. You can make new friends or new enemies, make use of
520 the nearby oases and observe as your empire grows and becomes stronger.
521 <br><br>
522 <div class="btn-green">
523 <div class="btn-green-l"></div>
524 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial">Game Tour</a></div>
525 <div class="btn-green-r"></div>
526 </div>
527 </div>
528 </div>
529 <div class="details-l-bottom"></div><div class="details-r-bottom"></div>
530 <div class="details-bottom"></div>
531 </div>
532 <div class="details">
533 <div class="details-top"></div>
534 <div class="details-l-top"></div><div class="details-r-top"></div>
535 <div class="details-body">
536 <div class="details-body-l" id="strip-c4"></div>
537 <div class="details-body-r">Follow your improvement
538 and success and compare yourself to other players. Look at the Top 10
539 rankings and fight to win a weekly medal. <br><br>
540 <div class="btn-green">
541 <div class="btn-green-l"></div>
542 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial">Game Tour</a></div>
543 <div class="btn-green-r"></div>
544 </div>
545 </div>
546 </div>
547 <div class="details-l-bottom"></div><div class="details-r-bottom"></div>
548 <div class="details-bottom"></div>
549 </div>
550 <div class="details">
551 <div class="details-top"></div>
552 <div class="details-l-top"></div><div class="details-r-top"></div>
553 <div class="details-body">
554 <div class="details-body-l" id="strip-c5"></div>
555 <div class="details-body-r">Receive detailed reports
556 about your adventures, trades and battles. Don't forget to check the
557 brand new reports about the happenings taking place in your
558 surroundings. <br><br>
559 <div class="btn-green">
560 <div class="btn-green-l"></div>
561 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial">Game Tour</a></div>
562 <div class="btn-green-r"></div>
563 </div>
564 </div>
565 </div>
566 <div class="details-l-bottom"></div><div class="details-r-bottom"></div>
567 <div class="details-bottom"></div>
568 </div>
569 <div class="details">
570 <div class="details-top"></div>
571 <div class="details-l-top"></div><div class="details-r-top"></div>
572 <div class="details-body">
573 <div class="details-body-l" id="strip-c6"></div>
574 <div class="details-body-r">Exchange information and
575 conduct diplomacy with other players. Always remember that
576 communication is the key to winning new friends and solving old
577 conflicts. <br><br>
578 <div class="btn-green">
579 <div class="btn-green-l"></div>
580 <div class="btn-green-c"><a class="npage popcon" href="/index.php#tutorial">Game Tour</a></div>
581 <div class="btn-green-r"></div>
582 </div>
583 </div>
584 </div>
585 <div class="details-l-bottom"></div><div class="details-r-bottom"></div>
586 <div class="details-bottom"></div>
587 </div>
588 </div>
589 </div>
590 </div>
593 <div id="ssc-bg">
594 <div id="ss-head">
595 <div id="ss-head-left"></div>
596 <div id="ss-head-right"></div>
597 <h3 class="ss bold white">Screenshots</h3></div>
599 <div id="ss-container">
600 <div id="g-widget">
601 <a class="browse next disabled"></a>
602 <div id="gallery">
603 <div style="width: 1568px;" id="g-items">
604 <img src="index.php_files/x.gif" class="screen1" alt="">
605 <img src="index.php_files/x.gif" class="screen2" alt="">
606 <img src="index.php_files/x.gif" class="screen3" alt="">
607 <img src="index.php_files/x.gif" class="screen4" alt="">
608 <img src="index.php_files/x.gif" class="screen5" alt="">
609 <img src="index.php_files/x.gif" class="screen6" alt="">
610 <img src="index.php_files/x.gif" class="screen7" alt="">
611 <img src="index.php_files/x.gif" class="screen8" alt="">
612 </div>
613 </div>
614 <a class="browse prev"></a>
615 </div>
616 </div>
617 </div>
618 <script type="text/javascript">
619 window.addEvent('domready', function()
621 //stage
622 var stagewidget = new stageWidget({
623 stagebg:$('stage-bg'),
624 stageduration: {
625 0:5000,
626 1:5000,
627 2:5000 },
628 stagecon:$$(".stage-content"),
629 stagenav:$$("#buttons-click li"),
630 stagelink:$$(".stage-link"),
633 //tooltip
634 var tooltipwidget = new tooltipWidget({
635 tips: $$("#strips li"),
636 details:$$(".details")
638 //slider
639 var sliderwidget = new sliderWidget({
640 container: $$('#g-widget'),
641 pimgwidth:520,
642 head:$('prev_head'),
643 desc:$('prev_desc'),
644 prev_bg:$('overlaybg'),
645 prev_container:$('preview_container'),
646 prev_stage_container:$$('#preview_stage'),
647 prev_items:$('preview_items'),
648 close:$('close')
651 //slideshow [footer]
652 $('screenshotp').addEvents(
654 'click': function(e) {
655 e.stop();
656 this.fireEvent('show');
658 'show':function(e){
659 new sliderWidget({
660 container: $$('#g-widget'),
661 preview: false,
662 inpreview:true,
663 pimgwidth:520,
664 head:$('prev_head'),
665 desc:$('prev_desc'),
666 prev_bg:$('overlaybg'),
667 prev_container:$('preview_container'),
668 prev_stage_container:$$('#preview_stage'),
669 prev_items:$('preview_items'),
670 close:$('close'),
671 directcall:true
677 //popup anchor
678 var url = new URI();
679 var anchor = url.get('fragment');
680 if (anchor && anchor == 'screenshots')
682 $('screenshotp').fireEvent('show');
685 </script> </div>
686 <div class="clear"></div>
687 </div>
689 <div id="footer-container">
690 <div id="footer">
691 <a class="flink popcon" href="#help">Support</a>&nbsp;|&nbsp;
692 <a target="blank" class="flink" href="http://forum.ragezone.com/f583/">RageZone</a>&nbsp;|&nbsp;
693 <a class="flink popcon" href="#moregames">Links</a>&nbsp;|&nbsp;
694 <a target="blank" class="flink" href="#screenshots" id="screenshotp">Screenshots</a>&nbsp;|&nbsp;
696 <br>
697 © 20011 <a target="blank" class="flink" href="http://forum.ragezone.com/f583/">TravianX 4.8.5</a>
698 100% Open Source Travian Clone. </div>
699 </div>
701 <div id="preview_container">
702 <div id="p-top"></div>
703 <div id="p-bg"></div>
704 <div id="p-bottom"></div>
705 <a class="close"></a>
706 <div id="p-content">
707 <div id="prev_head">
708 <h3>Screenshots</h3>
709 </div>
710 <div id="preview_stage">
711 <a class="browse next"></a>
712 <div id="preview_img">
713 <div id="preview_items"></div>
714 </div>
715 <a class="browse prev"></a>
716 <div class="clear"></div>
717 </div>
718 <div id="prev_desc"></div>
719 </div>
720 </div>
722 <div class="serverLogin" style="display: none; visibility: visible; left: 246px; top: 100px;" id="popup">
723 <div id="popup-top"><a class="pclose"></a></div>
724 <div id="popup-content"><h3 class="pop popgreen bold">Please choose a server.</h3>
726 <div id="t3Divider"></div>
728 <div id="t3Area">
729 <div id="t3AreaTop" class="openedClosedSwitch switchOpened">
730 <a class="link" title="" href="#" onclick="
731 $('t3AreaContent').toggleClass('hide');
732 $('t3AreaBottom').toggleClass('hide');
733 $('t3AreaTop').toggleClass('switchClosed');
734 $('t3AreaTop').toggleClass('switchOpened');
735 "><span class="switch" src="img/x.gif">Travian Classic</span></a>
736 </div>
737 <div id="t3AreaContent">
740 <div class="clear"></div>
741 </div>
742 <div id="t3AreaBottom"></div>
743 </div>
744 <div class="clear"></div></div>
745 <div id="popup-bottom"></div>
746 </div>
747 <div style="visibility: visible; opacity: 0.7; display: none; height: 1140px;" id="overlaybg"></div>
748 <script type="text/javascript">
749 var screenshots = [
750 {'img':'screenBig screenBig1','hl':'Village centre', 'desc':'Your village could be like this one day, becoming the starting point for your vast empire.'},
751 {'img':'screenBig screenBig2','hl':'Village overview', 'desc':'Lumber, clay, iron and crop are the vital resources which will fuel the economy of your village and feed your people; they will provide you with the materials necessary for construction and war. With these valuable resources, you can train a powerful conquering army.'},
752 {'img':'screenBig screenBig3','hl':'The hero', 'desc':'You can send your hero to adventures, where he will have to face great danger and pass difficult challenges. If your hero is successful, he stands a chance of bringing something valuable home.'},
753 {'img':'screenBig screenBig4','hl':'Building information', 'desc':'For it to become powerful and productive, your village will need a great number of buildings. At the beginning, choose well what you want to construct first, as resources are scarce.'},
754 {'img':'screenBig screenBig5','hl':'Surrounding territories', 'desc':'Explore your surrounding territories in order to get to know your neighbors; you can opt for a path of peace, creating alliances and confederacies, or you can wage war and conquer the surrounding lands. There may be rich oases in your vicinity; conquer them to gain various valuable bonuses, but always be aware of the dangerous wild animals that inhabit them.'},
755 {'img':'screenBig screenBig6','hl':'Battle report', 'desc':'It is wise to train your army early on, so you can defend yourself and attack others. This way, you can raid more resources and build up your empire more quickly.'},
756 {'img':'screenBig screenBig7','hl':'Medals system', 'desc':'At the end of every week, the very best 10 players and alliances will be elected, topping in different categories; as a reward for their prowess they will receive medals, celebrating their achievements.'},
757 {'img':'screenBig screenBig8','hl':'Task system', 'desc':'To assist you when you first start managing your empire, we have sent the Taskmaster; he will guide you with tips and advice in order to help you build up your village. Just click on the image of the Taskmaster to your left to activate him.'}
759 </script>
761 </div>
764 </body></html>