Viewing file: buzon.php (3.6 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>PREAD, 2003</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<div align="center">
<p><font size="2" face="Verdana"><img
src="../login.gif" width="100" height="111"></font> </p>
<p><font size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong>Informe
de inscripciones...</strong></font></p>
<table width="100%" border="0" cellpadding="6">
<tr bgcolor="#FFCC66">
<td width="15%">
<div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Fecha</font></strong></div></td>
<td width="15%" height="15">
<div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Nombre</font></strong></div></td>
<td width="15%">
<div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Empresa</font></strong></div></td>
<td width="10%">
<div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Teléfono</font></strong></div></td>
<td width="15%">
<div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Mail</font></strong></div></td>
<td width="15%">
<div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Observaciones</font></strong></div></td>
<td width="15%">
<div align="center"></div></td>
</tr>
</table>
<?php
$db = mysql_connect("localhost", "root");
mysql_select_db("pread",$db);
$consul = "SELECT *
FROM inscri"
. " order by fecha";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$nombre = $myrow["nombre"];
$empresa = $myrow["empresa"];
$telefono = $myrow["telefono"];
$mail = $myrow["mail"];
$observacion = $myrow["observa"];
$fecha = $myrow["fecha"];
?>
<form name="form1" method="post" action="del.php">
<table width="100%" border="0" cellpadding="1">
<tr>
<td width="15%"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $fecha; ?></font></div></td>
<td width="15%" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $nombre; ?></font></td>
<td width="15%" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $empresa; ?></font></td>
<td width="10%" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $telefono; ?></font></td>
<td width="15%" align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="mailto:
<?php
echo $mail;
echo "\">";
echo $mail;
?>
</a></font></td>
<td width="15%"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $observacion; ?></font></div></td>
<td width="15%"> <input name="nombre" type="hidden" id="nombre" value="<?php echo $nombre; ?>"> <input name="empresa" type="hidden" id="empresa" value="<?php echo $empresa; ?>">
<input type="submit" name="Submit" value="Eliminar..."> </td>
</tr>
</table>
</form><br>
<?php
}
?>
<p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">____________________________________________________________<br>
<font color="#999999" size="1">Pread, Programa de Excelencia Ambiental, 2003,
3era. Convocatoria Bogotá, DAMA</font></font></p>
</div>
</body>
</html>
|