Viewing file: midama3copia.php (45.36 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// 1. Acceso por usuario
$usuario = isset($user);
if ($usuario == false) {
$user = "guest";
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>mi DAMA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #000000;
}
body {
background-color: #333333;
}
.Estilo5 {
color: #FFFFFF;
font-weight: bold;
}
a:link {
color: #333333;
text-decoration: none;
}
a:visited {
color: #333333;
text-decoration: none;
}
a:active {
color: #FF3300;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
.Highlight {background-color:#999999}
.Normal{background-color:#666666}
.Estilo48 {font-size: 18}
.Estilo49 {font-size: 12px}
.Estilo54 {font-family: Verdana, Arial, Helvetica, sans-serif}
.Estilo55 {font-size: 12}
.style1 {color: #999999}
.style2 {
color: #FFFFFF;
font-size: 20px;
}
input {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #666666;
background-color: #F3F3F3;
border: 1px solid #33CCFF;
}
-->
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.tabla1 {
border: 1px none #CCCCCC;
}
-->
</style>
</head>
<body onload="MM_preloadImages('../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/sinestesia/MiDAMA_RO_002.jpg','../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/sinestesia/BogBann_E05b.jpg','../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/sinestesia/Intra_dam01b.jpg','../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/madam/mima/atardecercosmico_02b.jpg','../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/madam/mima/atardecercosmico_03b.jpg','../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/madam/mima/atardecercosmico_04b.jpg','../../../Documents%20and%20Settings/nicrey/Desktop/Nicolas%20Rey%20G/Intranet/madam/mima/BogBann_D02.jpg','imadam/inicio7.jpg')">
<div align="center"> </div>
<p align="center"><a href="reqintranet.php" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image3','','imadam/inicio7.jpg',1)"><img src="imadam/inicio000.jpg" alt="el ambiente no es un contenedor es un proceso" name="Image3" width="760" height="100" border="0"></a>
<div align="center">
<table width="760" border="0" cellpadding="1" cellspacing="0">
<tr bgcolor="#666666">
<td width="65" bgcolor="#FFCC00"><div align="center" class="Estilo56"><a href="http://192.168.10.3/php/reqintranet.php?user=guest">INICIO</a></div></td>
<td width="75" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'">
<div align="center"><a href="reqnoticias2.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">NOTICIAS</font></span></a></div></td>
<td width="78" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqsistemasform2.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">SOPORTE</font></span></a></div></td>
<td width="102" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqlegis.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">LEGISLACIÓN</font></span></a></div></td>
<td width="90" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqdamaweb.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">DAMA SDA</font> </span></a></div></td>
<td width="81" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqlinks.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">LINKS</font>
</span></a></div></td>
<td width="81" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqrediseno.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">REDISEÑO</font></span></a></div></td>
<td width="72" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqparticipate.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">PARTICIPE</font></span></a></div></td>
<td width="78" bgcolor="#666666" class="Normal" onmouseover="this.className='Highlight'" onmouseout="this.className='Normal'"><div align="center"><a href="reqindice.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">INDICE</font></span></a></div></td>
</tr>
</table>
</div>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
<tbody>
<tr bgcolor="#FFFFFF">
<td bgcolor="#FFCC00"> </td>
</tr>
</tbody>
</table>
<table width="760" height="276" border="0" align="center" cellpadding="0" cellspacing="20" bgcolor="#FFCC00">
<tr>
<td width="511" valign="top" bordercolor="#FFCC00" bgcolor="#FFFFFF">
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="511">
<tbody>
<tr>
<td height="10" valign="bottom" width="511"> </td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="8" cellspacing="0" width="100%">
<tbody>
<?php
require('conexion3.php');
$hora = getdate();
$yr = $hora["year"];
$mo = $hora["mon"];
$dy = $hora["mday"];
$mo = $mo * 100;
$yr = $yr - 2000;
$yr = $yr * 10000;
$fc = $mo + $yr;
$fc1 = $fc + 100;
//$fc = $mo + $yr + $dy;
$consul = "SELECT *
FROM news where cat=9"
. " order by fecha DESC, id DESC limit 0,2";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$idacc1 = $myrow["id"];
$descriacc1 = $myrow["descri"];
$descriacc1 = str_replace("\n", "<br>", $descriacc1);
$catacc1 = $myrow["cat"];
$files = $myrow["fichero"];
$titularacc1 = $myrow["titular"];
$foro = $myrow["comments"];
$veri1 = substr_count($titularacc1, "(f)");
if ($veri1 == 1) {
// Función de Compresión de la Imagen
$opend = 'c:\maps\tumbs';
@$opend_result = mkdir ($opend , 0777);
$v1 = $files;
// Extrae el verdadero nombre del archivo
$pos = strrpos($v1, "/");
$rest = substr($v1, $pos+1);
$sz = 100;
$size = GetImageSize("c:/maps/tumbs/".$rest);
$an = $size[0];
$la = $size[1];
$ty = $size[2];
$an1 = round($an);
$la1 = round($la);
if ($an > $la) {
$la = $la * $sz;
$la = $la / $an;
$an = $sz;
}
if ($la > $an) {
$fc = $an / $sz;
$an = $sz;
$la = $la / $fc;
}
if ($la == $an) {
$an = $sz;
$la = $sz;
}
$pos = strpos($v1, "/");
$n_file = substr($v1, $pos);
$copyfile = "c:/maps/tumbs/images/".$rest;
$original_file ="c:/maps/tumbs/".$rest;
copy($original_file , $copyfile);
$dest = "c:\maps\\recipiente.jpg";
if ($ty == 1) {
$img_src=imagecreatefromgif("c:/maps/tumbs/".$rest);
}
if ($ty == 2) {
$img_src=imagecreatefromjpeg("c:/maps/tumbs/".$rest);
}
$img_dst=imagecreatetruecolor($an,$la);
imagecopyresampled($img_dst, $img_src, 0, 0, 0, 0, $an, $la, $an1, $la1);
$dest = "c:/maps/tumbs/images/".$rest.".jpg";
imagejpeg($img_dst, $dest, 100);
// Fin de la Función de Compresión de la Imagen
?>
<tr>
<td width="22%" valign="top" bgcolor="#FFFFFF"> <div align="center"><img src="images2/<?php echo $rest; ?>.jpg"></div></td>
<td width="78%" valign="top" bgcolor="#ffffff"> <p align="justify"><a href="requirenew3.php?id=<?php echo $idacc1; ?>&user=<?php echo $user; ?>"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><?php echo $titularacc1; ?></strong></font></a><strong>
</strong></p>
<p align="left"><?php echo $descriacc1; ?></p>
<?php if ($foro == 1) { ?>
<p align="left"><font color="#666666"><a href="requirenew3.php?id=<?php echo $idacc1; ?>&user=<?php echo $user; ?>#uno">Comentar
este tema...</a></font> <font face="Arial, Helvetica, sans-serif">I</font>
<font color="#666666"><a href="requirenew3.php?id=<?php echo $idacc1; ?>&user=<?php echo $user; ?>#dos">Comentarios
sobre este tema...</a></font></p>
<?php } ?>
</td>
</tr>
<?php }else{ ?>
<tr>
<td colspan="2" valign="top" bgcolor="#FFFFFF"> <div align="left"></div>
</td>
</tr>
<?php }} ?>
<tr>
<td colspan="2" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr align="left" bgcolor="#FFFF99">
<td width="99%" height="21" bgcolor="#FFFF99"><a name="inicio"></a>PLANES
DE ACCIÓN DAMA 2006 </td>
</tr>
<tr align="left" bgcolor="#FFFF99">
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><img src="/planesacc/planes.jpg" width="171" height="108"></div></td>
</tr>
</table></td>
</tr>
<tr align="left" bgcolor="#FFFF99">
<td bgcolor="#FFFFFF"><table width="90%" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td class="style3"><div align="center" class="style2"><a href="#1"><font size="-2">Oficina
Asesora de Planeación </font></a></div></td>
<td class="style3"><div align="center" class="style2"><a href="#2"><font size="-2">Oficina
Asesora de Control Interno </font></a></div></td>
<td class="style3"><div align="center" class="style2"><a href="#3"><font size="-2">Subdirección
Administrativa y Financiera </font></a></div></td>
<td class="style3"><div align="center" class="style2"><a href="#3"><font size="-2">Subdirección
Ecosistemas y Biodiversidad </font></a></div></td>
</tr>
<tr>
<td class="style3"><div align="center" class="style2"><a href="#5"><font size="-2">Subdirección
Ambiental Sectorial </font></a></div></td>
<td class="style3"><div align="center" class="style2"><a href="#6"><font size="-2">Subdirección
Control de Vivienda </font></a></div></td>
<td class="style3"><div align="center" class="style2"><a href="#7"><font size="-2">Subdirección
de Gestión Local </font></a></div></td>
<td class="style3"><div align="center" class="style2"><a href="#8"><font size="-2">Subdirección
Jurídica </font></a></div></td>
</tr>
</table>
<br>
<table width="95%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td align="left" valign="top"><span class="style3"></span></td>
<td width="25" align="left" valign="top"><span class="style3"></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><strong><a name="1" id="1"></a>Oficina
Asesora de Planeación </strong></span></td>
<td align="left" valign="top"><span class="style3"></span></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" /></span>
Plan de Acción Oficina Asesora de Planeación</td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/planeac/paoap.pdf">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Visión macrosectorial y regional y cooperación
técnica internacional </span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><a href="/planesacc/pdf/planeac/politicaambiental.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Gestión ambiental </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/planeac/gestambien.pdf">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Planeación misional y presupuestal </span></td>
<td align="left" valign="top"><span class="style3"><a href="/planesacc/pdf/planeac/planeacion.pdf">Parte
1</a> - <a href="/planesacc/pdf/planeac/planeacion1.pdf">Parte
2 </a></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Gestión de calidad </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><a href="/planesacc/pdf/planeac/sgestion.pdf">Parte
1</a> - <a href="/planesacc/pdf/planeac/sgestion11.pdf">Parte
2</a> </span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Gestión Informática</span></td>
<td align="left" valign="top"><span class="style3"><a href="/planesacc/pdf/planeac/informat1.pdf">Parte
1</a> - <a href="/planesacc/pdf/planeac/informat2.pdf">Parte
2</a></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Unidad coordinadora del crédito con el Banco
Mundial </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/planeac/psu2006.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top"> </td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td align="left" valign="top"><span class="style3"><strong><a name="2" id="2"></a>Oficina
Asesora de Control Interno </strong></span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><a href="/planesacc/pdf/controli/controlinterno.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top"> </td>
<td align="left" valign="top"> </td>
</tr>
<tr>
<td align="left" valign="top"><span class="style3"><strong><a name="5" id="5"></a>Subdirección
Ambiental Sectorial </strong></span></td>
<td align="left" valign="top"><span class="style3"></span></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Descontaminación de Aire </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ambiental/descontaire.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Hidrocarburos</span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/ambiental/hidrocarburos.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Agroalimentario</span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ambiental/agroalim.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Fauna </span></td>
<td align="left" valign="top"><span class="style3"><a href="/planesacc/pdf/ambiental/faunafort.pdf">Fortalecimiento</a>
- <a href="/planesacc/pdf/ambiental/faunagestion.pdf">Gestión
Técnica</a> - <a href="/planesacc/pdf/ambiental/faunaseguim.pdf">Seguimiento</a>
</span></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Fuentes Fijas </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ambiental/fuentesfijas.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Fuentes Móviles </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/ambiental/fuentesmoviles.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"> <span class="style3"><img src="pin.gif" width="8" height="8" /></span>
Grupo control de ruido </td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ambiental/PGA_Ruido.pdf">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo de Producción Más Limpia </span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><span class="style3"><a href="/planesacc/pdf/ambiental/pmlacercar.pdf">ACERCAR</a>
- <a href="/planesacc/pdf/ambiental/pmlpies.pdf">PIES</a>
- <a href="/planesacc/pdf/ambiental/pmlpread.pdf">PREAD</a>
</span></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo de Publicidad Exterior Visual </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ambiental/pev.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo de Química </span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><a href="/planesacc/pdf/ambiental/quimica.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Recurso Hídrico </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ambiental/rhidrico.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#FFFFFF"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Calidad de Aire </span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><a href="/planesacc/pdf/ambiental/calidaire.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Servicios</span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><a href="/planesacc/pdf/ambiental/servicios.pdf">Ver</a></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#FFFFFF"> </td>
<td align="left" valign="top" bgcolor="#FFFFFF"> </td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><strong><a name="3" id="3"></a>Subdirección
Administrativa y Financiera</strong> </span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><a href="/planesacc/pdf/admin/admin.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"></span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"> <p class="style3"> </p></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><strong><a name="4" id="4"></a>Subdirección
Ecosistemas y Biodiversidad </strong></span></td>
<td align="left" valign="top" bgcolor="#FFFFFF"><span class="style3"></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sistema de Áreas Protegidas </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ecosis/areasprotegidas.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Ecourbanismo </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/ecosis/ecourban.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Educación </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ecosis/educac.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Restauración </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/ecosis/restaura.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Ruralidad </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ecosis/rural.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Minero </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/ecosis/minero.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Grupo Recurso Hídrico </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/ecosis/hidrico.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"></span></td>
<td align="left" valign="top"><p class="style3"> </p></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"></span></td>
<td align="left" valign="top"><p class="style3"> </p></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><strong><a name="6" id="6"></a>Subdirección
Control de Vivienda </strong></span></td>
<td align="left" valign="top"><span class="style3"></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Control Concurrente </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/vivienda/controlconcurrente.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Control Previo </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/vivienda/controlprevio.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Control Posterior </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/vivienda/controlposterior.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Fortalecimiento </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/vivienda/fortalecimiento.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"></span></td>
<td align="left" valign="top"><p class="style3"> </p></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><strong><a name="7" id="7"></a>Subdirección
de Gestión Local </strong></span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/gestion/gestion.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"></span></td>
<td align="left" valign="top"><p class="style3"> </p></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><strong><a name="8" id="8"></a>Subdirección
Jurídica </strong></span></td>
<td align="left" valign="top"><span class="style3"></span></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Multas y Sanciones </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/juridica/multas.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Minería </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/juridica/expedientes.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Expedientes y Trámites Ambientales </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/juridica/expedientes.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Centros de Diagnóstico </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/juridica/cdr.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Aguas Subterráneas </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/juridica/aguas.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Oficina de Atención al Ciudadano </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/juridica/atenciud.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td width="60%" align="left" valign="top" bgcolor="#EEEEEE"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Infraestructura y Ruido </span></td>
<td align="left" valign="top" bgcolor="#EEEEEE"><a href="/planesacc/pdf/juridica/ruido.pdf" class="style3">Ver</a></td>
</tr>
<tr>
<td align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Fauna y flora</span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/juridica/planfaunayflora.pdf">Ver</a></td>
</tr>
<tr bgcolor="#EEEEEE">
<td width="60%" align="left" valign="top"><span class="style3"><img src="pin.gif" width="8" height="8" />
Sector Expedientes </span></td>
<td align="left" valign="top"><a href="/planesacc/pdf/juridica/tramites.pdf" class="style3">Ver</a></td>
</tr>
</table>
<p> </p></td>
</tr>
</table></td>
</tr>
</tbody>
</table>
</div></td>
<td width="180" valign="top" bordercolor="#FFCC00" bgcolor="#CCCC99">
<div align="center">
<form name="form1" method="post" action="requireval1.php">
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr bgcolor="#99CCCC">
<td> <div align="left"><font color="#000000"><span class="Estilo48">APLICACIONES</span></font><font color="#000000" size="1" face="Verdana, Arial, Helvetica, sans-serif"><span class="Estilo48">
<strong>
<?php if ($user != "guest") { echo $user; } ?>
</strong></span></font></div></td>
</tr>
<tr align="left">
<td>
<?php if ($user == "guest") { ?>
<div id="Layer2" style="position:absolute; width:170px; height:99px; z-index:2">
<form name="form1" method="post" action="requireval1.php">
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td><font color="#333333">Usuario:</font></td>
<td><input name="user" type="text" id="user" size="15"></td>
</tr>
<tr>
<td><font color="#333333">Clave:</font></td>
<td><input name="pass" type="password" id="pass2" size="10">
<input type="submit" name="Submit" value="Ir..."></td>
</tr>
</table>
</form>
</div>
<p> </p>
<p> </p>
<p></p><?php } ?>
<?php
// 1. Si el usuario no es validado no muestre la capa
$user = strtolower($user);
if ($user != "guest") {
?>
<div id="Layer1" style="position:absolute; width:170px; height:55px; z-index:1; overflow: auto; background-color: #CCCC99; layer-background-color: #CCCC99; border: 1px none #000000; visibility: visible;">
<strong>
<?php
require('conexion.php');
$consul = "SELECT *
FROM usrs where user='$user'"
. " order by aplyid";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$aaply = $myrow["aplyid"];
$consula = "SELECT *
FROM aplica where id='$aaply'";
$resulta = mysql_query($consula,$db);
$num_filasa = mysql_num_rows($resulta);
while ($myrowa = mysql_fetch_array($resulta))
{
$one = $myrowa["nombre"];
$dos = $myrowa["label"];
$tre = $myrowa["link"];
}
$xsi = $one . "/" . $dos;
$user = strtoupper($user);
?>
</strong>
<strong><font size="1" face="Verdana, Arial, Helvetica, sans-serif"><a href="<?php echo $tre; ?>?user=<?php echo $user; ?>"><font color="#666666">>
<?php echo $dos; ?></font></a></font><br>
<?php
}
?>
</strong></div>
<p> </p>
<p> </p>
<p></p>
<?php } ?>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td align="left" bgcolor="#FFFFCC">DIRECCIÓN INFORMA (<a href="../phpbb/index.php">Foro</a>) //2006 </td>
</tr>
<tr>
<td align="left" bgcolor="#CCCC99"><a href="reqinforma11.php?user=<?php echo $user; ?>"><strong>Edición
No. 11, <em>Abril 25-05</em></strong></a><br>
Aspectos en la rendición de cuentas.</td>
</tr>
<tr>
<td bgcolor="#FFFF99"> <div align="left"><a href="reqnove.php?user=<?php echo $user; ?>">NUEVO
EN DAMA.GOV.CO</a></div></td>
</tr>
<tr>
<?php
require('conexion3.php');
$consul = "SELECT *
FROM novedades order by id DESC limit 0,1";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$tid = $myrow["id"];
$tit = $myrow["titulo"];
$tex = $myrow["texto"];
$tli = $myrow["link"];
$fec = $myrow["fecha"];
?>
<td> <div align="left"><a href="<?php echo $tli; ?>"><font color="#333333"><?php echo $tit; ?></font></a></div></td>
<?php } ?>
</tr>
<tr>
<td bgcolor="#FFCC99"> <div align="left"><a href="reqintranetclasi.php?user=<?php echo $user; ?>"><font color="#000000">CARTELERA
Y CLASIFICADOS</font></a></div></td>
</tr>
<?php
require('conexion3.php');
$consul = "SELECT *
FROM clasificados order by fecha DESC limit 0,2";
$result = mysql_query($consul,$db);
$num_filas = mysql_num_rows($result);
while ($myrow = mysql_fetch_array($result))
{
$tid = $myrow["id"];
$tit = $myrow["titulo"];
$tex = $myrow["texto"];
$fec = $myrow["fecha"];
?>
<tr>
<td><table width="100%" border="0" cellpadding="4" cellspacing="0" class="tabla1">
<tr>
<td bgcolor="#ddCC99"> <div align="left"><font color="#934900"><strong><?php echo $tit; ?></strong></font>
<font color="#666666">(<?php echo $fec; ?>)</font> <br>
<font color="#333333"><?php echo $tex; ?></font></div></td>
</tr>
</table></td>
</tr>
<?php } ?>
<tr>
<td><div align="right"><a href="reqintranetclasi.php?user=<?php echo $user; ?>"><font color="#FFFFFF">Ver
más clasificados >></font></a></div></td>
</tr>
</table>
</div></td>
</tr>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
<tbody>
<tr bgcolor="#003399">
<td width="544" bgcolor="#FFCC00"><div class="Estilo14 style1" align="center">diseño:
alvaro moreno - desarrollo: nicolás rey - actualizado: abril 04 de 2006</div></td>
<td bgcolor="#fee415" width="216"><div align="center">
<p><img src="midama3_files/bogsin1yellow_sml.jpg" width="120" height="44"></p>
</div></td>
</tr>
</tbody>
</table>
<table align="center" border="0" cellpadding="0" cellspacing="0" width="760">
<tbody>
<tr bgcolor="#003399">
<td bgcolor="#ffcc00" width="545"><div align="center"></div></td>
<td bgcolor="#CC0000" width="215"> </td>
</tr>
</tbody>
</table>
<table width="760" border="0" align="center" cellpadding="1" cellspacing="0" bgcolor="#666666">
<tr bgcolor="#2656A2">
<td width="65" bgcolor="#FFCC00"><div align="center" class="Estilo56"><a href="#">INICIO</a></div></td>
<td width="75" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqnoticias2.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">NOTICIAS</font></span></a></div></td>
<td width="78" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqsistemasform2.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">SOPORTE</font></span></a></div></td>
<td width="102" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqlegis.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">LEGISLACIÓN</font></span></a></div></td>
<td width="90" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqdamaweb.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">DAMA SDA</font> </span></a></div></td>
<td width="81" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqlinks.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">LINKS</font>
</span></a></div></td>
<td width="81" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqrediseno.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">REDISEÑO</font></span></a></div></td>
<td width="72" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqparticipate.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">PARTICIPE</font></span></a></div></td>
<td width="78" bgcolor="#2656A2" class="Estilo56" onmouseover="this.className='Highlight'" onmouseout="this.className='Estilo56'"><div align="center"><a href="reqindice.php?user=<?php echo $user; ?>"><span class="Estilo56"><font color="#FFFFFF">INDICE</font></span></a></div></td>
</tr>
</table>
<p> </p>
</body></html>
|