<?php
/*
* Alliances Manager (Gestionador de Alianzas) - Travian
* Copyright (C) 2008-12 Viva Mayer, Francisco MesÃas <hide@address.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
cabecera ("",self::$texto->get('HEAD20')); ?>
</head>
<body>
<div id="top"><?php include ("libs/top.php"); ?> </div>
<div id="contenido">
<div id="left"> <?php $top = "log"; include ("libs/menu.php"); ?></div>
<div id="cuerpo">
<form name="registro" method="post" action="?ctrl=Usuario&mod=registro">
<input name="accion" type="hidden" value="registro">
<table width="400" align="center" cellpadding="2" cellspacing="1" class="tabla" style=" margin-top: 30px">
<tr>
<td colspan="2" class="E1"><?=self::$texto->get('form.reg')?></td>
</tr>
<tr>
<td width="157"><?=self::$texto->get('user.name')?></td>
<td><input name="user" type="text" class="caja1" tabindex="1" size="30" maxlength="20"/></td>
</tr>
<tr>
<td><?=self::$texto->get('contrasenia')?></td>
<td><input name="pass" type="password" class="caja" tabindex="2" size="30" maxlength="20"/></td>
</tr>
<tr>
<td><?=self::$texto->get('civilizacion')?></td>
<td><select name="raza" tabindex="3">
<option value="1"><?=self::$texto->get('R1U')?></option>
<option value="2"><?=self::$texto->get('R2U')?></option>
<option value="3"><?=self::$texto->get('R3U')?></option>
</select></td>
</tr>
<tr><td colspan="2">
<input type="submit" class="boton" value="<?=self::$texto->get('registrarme')?>" >
</td></tr>
</table>
</form>
<?php if (isset($error) and $error != ".")
{
if (!$error) echo self::$texto->get('registro_exitoso');
else echo $error;
}
?>
</div>
</div>
</body>
</html>