Location: PHPKode > projects > Alliances Manager > vistas/nuevos.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/>.
*/

cabecera("",self::$texto->get('HEAD16')); ?>
</head>
<body>
<div id="top"><?php include("libs/top.php") ?></div>
<div id="contenido">
<div id="left"><?php $top = "admin"; include("libs/menu.php") ?></div>
<div id="cuerpo">
	  <div style="position:relative;width: 350px; left:150px; top:2px;">
<form method="post" action="index.php?ctrl=Admin&mod=modificar" >
<input name="confirm" type="hidden" value="si" />
<input name="form" type="hidden" value="nuevos" />
  <table class="tabla2" cellpadding="2" cellspacing="1">
    <tr>
	  <td class="E1" colspan="4">Nuevos miembros</td>
	</tr>
	<tr>
	  <td class="E2" width="30">No.</td>
	  <td class="E2" width="150">Nombre</td>
	  <td class="E2" width="120">Fecha de registro</td>
	  <td class="E2" width="30"></td>
	</tr>
<?php
$i = 1;
while ( $nuevo = mysql_fetch_assoc($usuarios) )
{
 	echo "<tr>";
	  	echo "<td>".$i."</td>";
		echo "<td>".$nuevo['nombre']."</td>";
  		echo "<td>".$nuevo['registro']."</td>";
		echo "<td><input type=\"checkbox\" name=\"check[]\" value=\"".$nuevo['nombre']."\" /></td>";
  	echo "</tr>";
	++$i;
}
?>
	<tr class="E2">
	   <td colspan="4"><select name="accion">
	   				<option value="borrar"><?=self::$texto->get('borrar')?></option>
					<option value="activar"><?=self::$texto->get('activar')?></option>
				  </select>&nbsp;&nbsp;&nbsp;<input type="submit" value="<?=self::$texto->get('ejecutar')?>" class="boton" /></td>
	</tr>
  </table>
  </form>
	</div>
  </div>
</div>
</body>
</html>
Return current item: Alliances Manager