Viewing file: sia1.php (5.4 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Sistema de Información Ambiental</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"><font face="Verdana, Arial, Helvetica, sans-serif"><img src="sia/1.gif" width="128" height="85"></font></td>
<td align="left"><font face="Verdana, Arial, Helvetica, sans-serif"><img src="sia/2.gif" width="622" height="85"></font></td>
</tr>
<tr>
<td width="128" valign="top" background="sia/4.gif">
<p><font face="Verdana, Arial, Helvetica, sans-serif"><a href="reqsia.php?patron=6.01"><img src="sia/3.gif" width="128" height="103" border="0"></a>
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td colspan="2" valign="top" bgcolor="#FFFFFF">
<?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="#CCCCCC">
<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";
$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"><img src="flesi.gif" width="25" height="16">
<?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"];
$apa = substr_count($ldescripcion,'bisisisis');
if ($apa == 0) {
$ldescripcion = str_replace("\n", "<br>", $ldescripcion);
$ldescripcion = str_replace(">>", "<img src=\"cfle1.gif\"> ", $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"];
if ($ldescripcion != "") {
$esp = "<br>";
}else{
$esp = "";
}
?>
<tr>
<td valign="top"> <p align="left"><img src="cfle.gif"><font face="Verdana, Arial, Helvetica, sans-serif"><font size="2"><strong>
<a href="<?php echo $llink; ?>"><?php echo $lnombre; ?></a></strong></font><?php echo $esp; ?>
<font color="#666666" size="2"><?php echo $ldescripcion; ?></font></font></p></td>
<td width="60"><font face="Verdana, Arial, Helvetica, sans-serif">
<?php
if ($lgraphic == 1) {
$sof = $lfotolink;
$sw = 60;
$sh = 60;
}else{
$sof = "none.gif";
$sw = 1;
$sh = 1;
}
?>
<img src="<?php echo $sof; ?>" width="<?php echo $sw; ?>" height="<?php echo $sh; ?>" border="0"></font></td>
</tr>
<tr bgcolor="#FFFFFF">
<td colspan="2" 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"><font face="Verdana, Arial, Helvetica, sans-serif"><img src="sia/4.gif" width="128" height="142"></font></td>
</tr>
<tr>
<td width="128"><font face="Verdana, Arial, Helvetica, sans-serif">>>
</font></td>
<td> </td>
</tr>
</table>
</body>
</html>
|