just a quick uncomment cause some just run and wonder why it dose nothing
[travianx.git] / anmelden.php
blob6aea740f860cceb061adc3a44331566c13cb2238
1 <?php
3 #################################################################################
4 ## -= YOU MAY NOT REMOVE OR CHANGE THIS NOTICE =- ##
5 ## --------------------------------------------------------------------------- ##
6 ## Filename anmelden.php ##
7 ## Developed by: Dzoki ##
8 ## License: TravianX Project ##
9 ## Copyright: TravianX (c) 2010-2011. All rights reserved. ##
10 ## ##
11 #################################################################################
13 include('GameEngine/Account.php');
15 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
16 <html>
17 <head>
18 <title><?php echo SERVER_NAME; ?></title>
19 <link REL="shortcut icon" HREF="favicon.ico"/>
20 <meta name="content-language" content="en" />
21 <meta http-equiv="cache-control" content="max-age=0" />
22 <meta http-equiv="imagetoolbar" content="no" />
23 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
24 <script src="mt-core.js?0faaa" type="text/javascript"></script>
25 <script src="mt-more.js?0faaa" type="text/javascript"></script>
26 <script src="unx.js?0faaa" type="text/javascript"></script>
27 <script src="new.js?0faaa" type="text/javascript"></script>
28 <link href="<?php echo GP_LOCATE; ?>lang/en/compact.css?f4b7c" rel="stylesheet" type="text/css" />
29 <link href="<?php echo GP_LOCATE; ?>lang/en/lang.css?f4b7c" rel="stylesheet" type="text/css" />
30 <link href="<?php echo GP_LOCATE ?>travian.css?f4b7c" rel="stylesheet" type="text/css" />
31 <link href="<?php echo GP_LOCATE ?>lang/en/lang.css" rel="stylesheet" type="text/css" />
32 </head>
34 <body class="v35 ie ie7" onload="initCounter()">
36 <div class="wrapper">
37 <div id="dynamic_header">
38 </div>
39 <div id="header"></div>
40 <div id="mid">
41 <?php include("Templates/menu.tpl"); ?>
42 <div id="content" class="signup">
44 <h1><img src="img/x.gif" class="anmelden" alt="register for the game"></h1>
45 <h5><img src="img/x.gif" class="img_u05" alt="registration"/></h5>
47 <p><?php echo BEFORE_REGISTER; ?></p>
49 <form name="snd" method="post" action="anmelden.php">
50 <input type="hidden" name="ft" value="a1" />
52 <table cellpadding="1" cellspacing="1" id="sign_input">
53 <tbody>
54 <tr class="top">
55 <th><?php echo NICKNAME; ?></td>
56 <td><input class="text" type="text" name="name" value="<?php echo $form->getValue('name'); ?>" maxlength="15" />
57 <span class="error"><?php echo $form->getError('name'); ?></span>
58 </td>
59 </tr>
60 <tr>
61 <th><?php echo EMAIL; ?></th>
62 <td>
63 <input class="text" type="text" name="email" value="<?php echo $form->getValue('email'); ?>" maxlength="40" />
64 <span class="error"><?php echo $form->getError('email'); ?></span>
65 </td>
66 </tr>
67 <tr class="btm">
68 <th><?php echo PASSWORD; ?></th>
69 <td>
70 <input class="text" type="password" name="pw" value="<?php echo $form->getValue('pw'); ?>" maxlength="20" />
71 <span class="error"><?php echo $form->getError('pw'); ?></span>
72 </td>
73 </tr>
74 </tbody>
75 </table>
77 <table cellpadding="1" cellspacing="1" id="sign_select">
78 <tbody>
79 <tr class="top">
80 <th><img src="img/x.gif" class="img_u06" alt="choose tribe"></th>
81 <th colspan="2"><img src="img/x.gif" class="img_u07" alt="starting position"></th>
82 </tr>
83 <tr>
84 <td class="nat"><label><input class="radio" type="radio" name="vid" value="1" <?php echo $form->getRadio('vid',1); ?>>&nbsp;<?php echo ROMANS; ?></label></td>
85 &nbsp;<td class="pos1"><label><input class="radio" type="radio" name="kid" value="0" checked>&nbsp;<?php echo RANDOM; ?></label></td>
86 <td class="pos2">&nbsp;</td>
87 </tr>
88 <tr>
89 <td><label><input class="radio" type="radio" name="vid" value="2" <?php echo $form->getRadio('vid',2); ?>>&nbsp;<?php echo TEUTONS; ?></label></td>
90 <td><label><input class="radio" type="radio" name="kid" value="1" <?php echo $form->getRadio('kid',1); ?>>&nbsp;<?php echo NW; ?> <b>(-|+)</b>&nbsp;</label></td>
91 <td><label><input class="radio" type="radio" name="kid" value="2" <?php echo $form->getRadio('kid',2); ?>>&nbsp;<?php echo NE; ?> <b>(+|+)</b></label></td>
92 </tr>
93 <tr class="btm">
94 <td><label><input class="radio" type="radio" name="vid" value="3" <?php echo $form->getRadio('vid',3); ?>>&nbsp;<?php echo GAULS; ?></label></td>
95 <td><label><input class="radio" type="radio" name="kid" value="3" <?php echo $form->getRadio('kid',3); ?>>&nbsp;<?php echo SW; ?> <b>(-|-)</b></label></td>
96 <td><label><input class="radio" type="radio" name="kid" value="4" <?php echo $form->getRadio('kid',4); ?>>&nbsp;<?php echo SE; ?> <b>(+|-)</b></label></td>
97 </tr>
98 </tbody>
99 </table>
101 <ul class="important">
102 <?php
103 echo $form->getError('tribe');
104 echo $form->getError('agree');
106 </ul>
109 <input class="check" type="checkbox" name="agb" value="1" <?php echo $form->getRadio('agb',1); ?>/><?php echo ACCEPT_RULES; ?></p>
111 <p class="btn">
112 <input type="image" value="anmelden" name="s1" id="btn_signup" class="dynamic_img" src="img/x.gif" alt="register"/>
113 </p>
114 </form>
116 <p class="info"><?php echo ONE_PER_SERVER; ?></p>
117 </div>
118 <div id="side_info" class="outgame">
119 <?php
120 if(NEWSBOX1) { include("Templates/News/newsbox1.tpl"); }
121 if(NEWSBOX2) { include("Templates/News/newsbox2.tpl"); }
122 if(NEWSBOX3) { include("Templates/News/newsbox3.tpl"); }
124 </div>
126 <div class="clear"></div>
127 </div>
129 <div class="footer-stopper outgame"></div>
130 <div class="clear"></div>
132 <?php include("Templates/footer.tpl"); ?>
133 <div id="ce"></div>
134 </body>
135 </html>