Location: PHPKode > projects > Alliances Manager > vistas/instalador.php
<?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/>.
*/
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Alliance DB - <?=self::$texto->get('HEAD15')?></title>
<link href="libs/estilos.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="instalar">
  <form action="?ctrl=App&mod=Instalar" method="post">
  <input type="hidden" name="instalar" value="instalar" />
  <table width="500" height="200" border="0" align="center" cellpadding="2" cellspacing="1" class="tabla">
    <tr class="E1">
      <td colspan="2"><?=self::$texto->get('conf.db')?></td>
    </tr>
    <tr>
      <td width="229"><?=self::$texto->get('servidor')?></td>
      <td><input name="BD_host" type="text" class="caja" tabindex="1" value="localhost" size="30" maxlength="20" /></td>
    </tr>
    <tr>
      <td><?=self::$texto->get('usuario')?></td>
      <td><input name="BD_user" type="text" class="caja" tabindex="2" size="30" maxlength="20" /></td>
    </tr>
    <tr>
      <td><?=self::$texto->get('contrasenia')?></td>
      <td><input name="BD_pass" type="password" class="caja" tabindex="3" size="30" maxlength="20" /></td>
    </tr>
    <tr>
      <td><?=self::$texto->get('nombre.bd')?></td>
      <td><input name="BD_name" type="text" class="caja" tabindex="4" size="30" maxlength="20" /></td>
    </tr>
    <tr>
      <td><?=self::$texto->get('prefix')?></td>
      <td><input name="BD_pref" type="text" class="caja" tabindex="5" value="alliance_" size="30" maxlength="20" /></td>
    </tr>
  </table>
  <table width="500" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#FFFF00" class="tabla">
    <tr class="E1">
      <td colspan="2"><?=self::$texto->get('conf.app')?></td>
      </tr>
    <tr>
      <td width="229"><?=self::$texto->get('tipo.pert.grupo')?></td>
      <td><select name="AP_grupo" tabindex="6" class="seleccion">
        <option value="1"><?=self::$texto->get('aldea.capital')?></option>
		<option value="2"><?=self::$texto->get('aldea.principal')?></option>
        </select></td>
    </tr>
  </table>
  <table width="500" border="0" align="center" cellpadding="2" cellspacing="1" bordercolor="#0033FF" class="tabla">
    <tr class="E1">
      <td colspan="2"><?=self::$texto->get('data.admin')?></td>
      </tr>
    <tr>
      <td width="229"><?=self::$texto->get('nombre')?></td>
      <td><input name="admin_name" type="text" class="caja" tabindex="8" size="30" maxlength="15" /></td>
    </tr>
    <tr>
      <td><?=self::$texto->get('contrasenia')?></td>
      <td><input name="admin_pass" type="password" class="caja" tabindex="9" size="30" maxlength="20" /></td>
    </tr>
    <tr>
      <td>Raza</td>
      <td><select name="admin_raza" tabindex="10">
        <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>
  </table>
  <table width="90" height="27" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td align="center"><input type="submit" class="boton" value="<?=self::$texto->get('instalar')?>" /></td>
    </tr>
  </table>
  </form>
</div>
</body>
</html>
Return current item: Alliances Manager