Viewing file: radio2.php (5.31 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Planeación en Línea</title>
</head>
<body topmargin="0">
<table border="0" width="600" cellspacing="0" cellpadding="0">
<tr>
<td width="66%"><font color="#FFFFFF">aaaa</font></td>
<td width="34%" valign="middle"></td>
</tr>
<tr>
<td width="66%"><p align="center"><img src="radio.gif" width="470" height="198"
alt="radio.gif (25549 bytes)" align="left"></td>
<td width="34%" valign="top"><p align="center"><a href="../plaenli.htm"><img
src="../../ince/back.gif" width="73" height="16" alt="Regresar..." align="right"
border="0"></a></td>
</tr>
<tr>
<td width="100%" colspan="2"><font color="#0000A0" FACE="Arial"><strong><img src="lin.gif"
width="150" height="9" alt="lin.gif (1709 bytes)"></strong></font><table border="0"
width="100%" cellspacing="5" cellpadding="0" height="89">
<tr>
<td width="4%" align="center" valign="top" bgcolor="#D0E4FD" height="21"></td>
<td width="50%" valign="top" height="21"><strong><font face="Arial">Bandeja de entrada de
Ideas y Logros</font></strong></td>
<td width="46%" align="center" valign="top" bgcolor="#F7ECFF" height="21">
<?php
$hora = getdate();
$yr = $hora["year"];
$mo = $hora["mon"];
$dy = $hora["mday"];
$hoy = $dy . "/" . $mo . "/" . $yr;
?>
<font
face="Verdana" color="#FF80C0"><small><?php echo $hoy; ?></small></font></td>
</tr>
<tr>
<td width="4%" align="center" valign="top" height="56"></td>
<td width="96%" valign="middle" colspan="2" height="56"><small><font size="2" face="Verdana">Use
los dos buzones, para leer los mensajes llegados desde la página, para tal efecto siga
cada uno de los vinculos asociados. Además estos buzones, le permiten eliminar cada uno
de los mensajes que usted quiera.</font></small><p><img src="../buz.gif" width="28"
height="15" alt="buz.gif (95 bytes)"> <strong><small><font face="Verdana">Buzón de
Logros:</font></small></strong></p>
<?php
$db = mysql_connect("localhost", "root");
mysql_select_db("pread",$db);
$consul = "SELECT *
FROM radio"
. " order by fecha DESC";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$typ = $myrow["typ"];
if ($typ == 2) {
$cons = $myrow["cons"];
$fecha = $myrow["fecha"];
$quien = $myrow["quien"];
$que = $myrow["que"];
$cuco = $myrow["cuco"];
$arqu = $myrow["arqu"];
?>
<table border="0" cellpadding="6" width="100%">
<tr>
<td width="21%" valign="top"><a href="erase.php?id=<?php echo $cons; ?>"><img src="../felcg.gif" width="15"
height="15" alt="Borrar..." border="0"></a> <small><font size="2" face="Verdana"><strong><?php echo $fecha; ?></strong></font></small></td>
<td width="25%" valign="top" bgcolor="#FEF8D3"><img
src="../let.gif" width="15" height="12" alt="Enviar un correo a..." border="0"><small><font size="2"
face="Verdana"> <b></b><?php echo $quien; ?></b> </font></small></td>
<td width="54%" valign="top" bgcolor="#E2F7FE"><a href="radio3.php?id=<?php echo $cons; ?>"><small><font size="2"
face="Verdana"><?php echo $que; ?></font></small></a></td>
</tr>
</table>
<?php
}
}
?>
<p><img src="../buz.gif" width="28" height="15" alt="buz.gif (95 bytes)"><strong><small><font
face="Verdana"> Buzón de Ideas:</font></small></strong></p>
<?php
$consul = "SELECT *
FROM radio"
. " order by fecha DESC";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$typ = $myrow["typ"];
if ($typ == 1) {
$cons = $myrow["cons"];
$fecha = $myrow["fecha"];
$quien = $myrow["quien"];
$que = $myrow["que"];
$cuco = $myrow["cuco"];
$arqu = $myrow["arqu"];
?>
<table border="0" cellpadding="6" width="100%">
<tr>
<td width="21%" valign="top"><a href="erase.php?id=<?php echo $cons; ?>"><img src="../felcg.gif" width="15"
height="15" alt="Borrar..." border="0"></a><small><font size="2" face="Verdana"> <strong><?php echo $fecha; ?></strong></font></small></td>
<td width="25%" valign="top" bgcolor="#FEF8D3"><img
src="../let.gif" width="15" height="12" alt="Enviar un correo a..." border="0"><small><font size="2"
face="Verdana"> <?php echo $quien; ?> </font></small></td>
<td width="54%" valign="top" bgcolor="#EFFFDF"><a href="radio4.php?id=<?php echo $cons; ?>"><small><font size="2"
face="Verdana"><?php echo $que; ?></font></small></a></td>
</tr>
</table>
<?php
}}
?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" colspan="2"><font FACE="Arial" color="#408080">------------------------------------------------------------------------------------------------------------------</font><br>
<small><font size="1" face="Arial">Subdirección de Planeación y Desarrollo
</font><font color="#0080FF" size="1"
face="Arial"><small><em>Subdirector. Germán Camargo
Ponce de León</em></small></font></small></td>
</tr>
</table>
<p> </p>
</body>
</html>
|