Viewing file: buzonince.php (3.62 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Buzon de Incendios Forestales</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body link="#0000FF" vlink="#0000FF" alink="#0000FF">
<table width="100%" border="1" cellpadding="2" cellspacing="0" bordercolor="#CCCCCC">
<tr bgcolor="#E7F5FE">
<td colspan="8"> <div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Registro
de interesados en los cursos de incendios forestales</strong></font></div></td>
</tr>
<tr bgcolor="#CCCCCC">
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Nombre</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Edad</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">CC
o ID</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Teléfono</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Mail:</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Perfil</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Día</font></strong></div></td>
<td> <div align="center"><strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Borrar</font></strong></div></td>
</tr>
<?php
$pa = isset($acc);
if ($pa == true and $acc == 1) {
require('conexion3.php');
$query ="DELETE FROM ince_inscri WHERE id=$idb";
$result = mysql_query($query,$db);
}
require('conexion3.php');
$consul = "SELECT *
FROM ince_inscri"
. " order by id DESC";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$nombre = $myrow["nombre"];
$edad = $myrow["edad"];
$cc = $myrow["cc"];
$tel = $myrow["tel"];
$mail = $myrow["mail"];
$estu = $myrow["estu"];
$profe = $myrow["profe"];
$ocup = $myrow["ocup"];
$dia = $myrow["dia"];
$id = $myrow["id"];
?>
<tr>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $nombre; ?></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $edad; ?></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $cc; ?></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $tel; ?></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="mailto:<?php echo $mail; ?>"><?php echo $mail; ?></a></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $estu; echo ", "; echo $profe; echo ", "; echo $ocup;?></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $dia; ?></font></td>
<td><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="reqince5.php?idb=<?php echo $id; ?>&acc=1">Borrar</a></font></td>
</tr>
<?php } ?>
</table>
<p align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Todos
los derechos reservados para el DAMA<br>
Subdirección de Ecosistemas Estratégicos<br>
Grupos Incendios Forestales<br>
<strong>2003 - 2004</strong></font></p>
</body>
</html>
|