Viewing file: resta2.php (5.49 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Restauración Ecológica en el D.C.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body link="#339933" vlink="#339900" alink="#339900" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="128"><img src="resta/1.gif" width="141" height="98"></td>
<td align="left"><img src="resta/2.gif" width="612" height="98"></td>
</tr>
<tr>
<td width="128" valign="top" background="resta/f.gif">
<p><font face="Verdana, Arial, Helvetica, sans-serif">
<table width="120" border="0" cellspacing="0" cellpadding="4">
<tr>
<td colspan="2" valign="top">
<?php
include('reqcollap.php');
?>
</td>
</tr>
</table>
</font></p> </td>
<td rowspan="2" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="8">
<tr>
<td width="600"><table width="550" border="1" cellpadding="6" cellspacing="0" bordercolor="#D6F5CD">
<tr>
<?php
include('conect/conect.php');
$consul = "SELECT *
FROM links where temas_id like '%$titix-%' or temas_id like '%$titix'"
. " order by priority DESC,id,nombre";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
//echo $num_filas;
$consula = "SELECT *
FROM cate where tema_id like '$titix'";
$resulta = mysql_query($consula,$db);
$num_filasa = mysql_num_rows($resulta);
$myrowa = mysql_fetch_array($resulta);
$fidel = $myrowa["tema_desc"];
?>
<td> <p><strong><font size="4" face="Verdana, Arial, Helvetica, sans-serif"><?php echo $fidel; ?></font></strong></p>
<table width="550" border="0" cellspacing="0" cellpadding="4">
<?php
while ($myrow = mysql_fetch_array($result))
{
$lid = $myrow["id"];
$lnombre = $myrow["nombre"];
$ldescripcion = $myrow["descripcion"];
$ldescripcion = str_replace("\n", "<br>", $ldescripcion);
$ltipo_info = $myrow["tipo_info"];
$llink = $myrow["link"];
$lentidad_id = $myrow["entidad_id"];
$lgraphic = $myrow["graphic"];
$lfotolink = $myrow["foto_link"];
$lsuj_a_fecha = $myrow["suj_a_fecha"];
$lfecha = $myrow["fecha"];
$lalcance = $myrow["alcance"];
$ldis = $myrow["dis"];
$lmes = $myrow["mes"];
$ltemas_id = $myrow["temas_id"];
$bodytag = str_replace("reqpml3", "reqresta3", $llink);
?>
<tr>
<td valign="top"><p align="justify"><img src="cfle.gif"><font face="Verdana, Arial, Helvetica, sans-serif"><font size="2"><strong>
<a href="<?php echo $bodytag; ?>"><?php echo $lnombre; ?></a></strong></font></font></p>
<p align="justify"><font face="Verdana, Arial, Helvetica, sans-serif">
<font face="Verdana, Arial, Helvetica, sans-serif">
<?php
if ($lgraphic == 1) {
$sof = $lfotolink;
$br = 1;
}else{
$sof = "none.gif";
$br = 0;
}
?>
<img src="<?php echo $sof; ?>" hspace="10" border="<?php echo $sof; ?>" align="left"></font>
<font color="#666666" size="2"><?php echo $ldescripcion; ?></font></font><br>
<font size="1" face="Verdana, Arial, Helvetica, sans-serif"><font color="#339900"><a href="#">
</a></font><font size="1" face="Verdana, Arial, Helvetica, sans-serif">
<?php
if ($llink != "#") { ?>
<img src="fleg.gif" width="9" height="12"></font> <font color="#339900"><a href="<?php echo $bodytag; ?>">Ver
el documento o ir al vinculo...</a></font>
<?php } ?>
</font></p></td>
</tr>
<tr bgcolor="#FFFFFF">
<td valign="top"><img src="linpun.gif" width="540" height="1"></td>
</tr>
<?php } ?>
</table>
<p><img src="cfle.gif"> <font size="1" face="Verdana, Arial, Helvetica, sans-serif"><strong><?php echo $num_filas; ?></strong>
Documentos o vinculos encontrados...</font><br>
<img src="contenfoother1.gif" width="550" height="16"><br>
<a href="mailto:sistemas@dama.gov.co"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Sistemas@dama.gov.co</font></a></p></td>
</tr>
</table></td>
<td> </td>
</tr>
<tr>
<td width="600"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Todos
los Derechos Reservados para el DAMA, Departamento Técnico
Administrativo del Medio Ambiente<br>
Sistema de Información Ambiental SIA-DAMA, 1998-2004, Bogotá,
Colombia. </font></td>
<td> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="128" valign="top" background="resta/f.gif"> </td>
</tr>
<tr>
<td width="128"><font face="Verdana, Arial, Helvetica, sans-serif">>>
</font></td>
<td> </td>
</tr>
</table>
</body>
</html>
|