Viewing file: radio2.php (6.29 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$sed = isset($user);
if ($sed == false) {
exit;
}else{
require('conexion2.php');
$stmt = Ociparse($c1, " SELECT EU_USERNAME FROM envista.env_users where EU_USERNAME='$user'");
$result = OCIExecute($stmt);
if ($result == false) {
exit;
}else{
$cont = 0;
while (OCIFetchInto($stmt, $value1)) {
foreach ($value1 as $val1)
{
$cont++;
}}
if ($cont == 1) {
$deore = isset($controx);
if ($deore == true) {
require('conexion1.php');
$query ="UPDATE radio SET control=$controx,obse='$obse' WHERE cons='$cons'";
$result = mysql_query($query,$db);
}
?>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Planeación en Línea</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>
<body link="#0000FF" vlink="#0000FF" 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="http://www.dama.gov.co"><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"> </font>
<table
width="100%" height="89" border="1" cellpadding="0" cellspacing="5" bordercolor="#FFFFFF">
<tr>
<td width="4%" align="center" valign="top" bgcolor="#D0E4FD" height="21"></td>
<td width="50%" valign="top" height="21"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Bandeja de entrada de
Ideas y Logros</font></strong></td>
<td width="46%" height="21" align="center" valign="top" bordercolor="#FF66FF" bgcolor="#F7ECFF">
<?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
require('conexion1.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 == 2) {
$cons = $myrow["cons"];
$fecha = $myrow["fecha"];
$quien = $myrow["quien"];
$que = $myrow["que"];
$cuco = $myrow["cuco"];
$arqu = $myrow["arqu"];
$coni = $myrow["control"];
?>
<table border="0" cellpadding="6" width="100%">
<tr>
<td width="21%" valign="top"><a href="requirererase.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
if ($coni == 1) {
echo "(P)";
}
?>
<?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="requireradio3.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"];
$coni = $myrow["control"];
?>
<table border="0" cellpadding="6" width="100%">
<tr>
<td width="21%" valign="top"><a href="requirererase.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
if ($coni == 1) {
echo "(P)";
}
?>
<?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="requireradio4.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>
<?php
}}
$c2 = OciLogoff($c1);
}
?>
|