Viewing file: listado_experiencias.php (10.04 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//prevents caching
header("Expires: Sat, 01 Jan 2000 00:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
header("Cache-Control: post-check=0, pre-check=0",false);
session_cache_limiter();
session_start();
require('config.php');
require('functions.php');
//this is group name or username of the group or person that you wish to allow access to
// - please be advise that the Administrators Groups has access to all pages.
if (allow_access(organizaciones) != "yes")
{
include ('no_access.php');
exit;
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML>
<HEAD>
<TITLE>Secretaría Distrital de Ambiente</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1458662-7";
urchinTracker();
</script>
<style type="text/css">
body{ margin:0px; background-color:#EFEEEA;}
a{ text-decoration:none}
a:hover{ text-decoration:underline}
fieldset { -moz-border-radius: 8px; border-radius: px; }
.fuente{ font-family:verdana, Helvetica, sans-serif; font-size:11px; color:#666666; font-weight:normal; padding:4px}
.blanco {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bolder;
color: #FFFFFF;
background-color: #999999;
}
a{ color:#006699;}
a.fuentewhite{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFFF; text-decoration:none; padding-left:5px; padding-right:5px;
}
a.fuentewhite:hover{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 11px;
color: #FFFFcc; text-decoration:underline; padding-left:5px
}
#caja {font-family: verdana, arial; font-size:11px; border:1px solid #999999}
.amarillo{background-image:url(images/yell.jpg); background-repeat:repeat-x}
.style1 {color: #FFFFFF}
.negra1{font-family: verdana, arial; font-size:11px}
fieldset{border: 1px solid #ccc;}
-->
</style>
<link rel="stylesheet" type="text/css" href="http://www.secretariadeambiente.gov.co/sda/libreria/css/tabcontent.css" />
</HEAD>
<BODY>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="928"><tr><td style="background-image:url(http://www.secretariadeambiente.gov.co/sda/libreria/jpg/new/fondoleft.jpg); background-repeat:repeat-y" width="14"></td>
<td><TABLE width="900" border=0 align="center" cellPadding=0 cellSpacing=0>
<TBODY>
<TR>
<TD bgColor=#7DB5C6 style="background-image:url(/sda/libreria/jpg/top08.jpg); background-repeat:no-repeat;" width="900" height="90" valign="bottom"><div align="right"><A href="/" class="fuentewhite">Inicio</A>
| <A href="http://www.secretariadeambiente.gov.co/sda/libreria/php/decide.php?patron=00.01" class="fuentewhite">Mapa
del Sitio</A> | <A href="http://192.168.10.3/php/reqintranet.php" class="fuentewhite">Intranet
SDA</A></div></TD>
</TR>
<TR>
<TD align=left vAlign=top bgColor=#000000><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="73%" bgColor=#669966 background="http://www.secretariadeambiente.gov.co/sda/libreria/jpg/new/bg2.gif"><img src="http://www.secretariadeambiente.gov.co/sda/libreria/gif/bar2.gif" width="518" height="30" border="0" usemap="#Map"></TD>
<form name="form1" method="post" action="http://www.secretariadeambiente.gov.co/sda/libreria/php/frame_buscar.php">
<TD width="27%" bgColor=#669966 background="http://www.secretariadeambiente.gov.co/sda/libreria/jpg/new/bg2.gif">
<input name="buscar" type="text" size="20" id="caja">
<input type="submit" name="Submit" value="Buscar" style="font-size:10px">
<input name="accion" type="hidden" id="accion" value="1"></TD>
</form>
</TR>
<TR>
<TD colspan="2" bgColor=#FFFFFF><table width="900" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="195" valign="top" bgcolor="#F7F7F7">
<?php include("../sda/libreria/php/leftmenu2.php");?>
</td>
<td width="705" valign="top"><table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="fuente" style="padding:3px;">
<tr>
<td height="45" align="left" valign="top">
<?php
$ide = $_GET['id'];
if (!isset($_GET['id'])){
echo ("<script language=javascript>alert('No existen experiencias registradas para su organización');window.location='registro_experiencias.php';</script>");
}
require_once('conn/conexion.php');
if($_GET['id']==0){
$sql ="SELECT * FROM experiencias";
$result = @mysql_query($sql,$link) or die(mysql_error());
}
else{
$sql ="SELECT * FROM experiencias WHERE id_organizacion = $ide";
$result = @mysql_query($sql,$link) or die(mysql_error());
}
//$sql ="SELECT * FROM experiencias WHERE id_organizacion = $ide";
//$result = @mysql_query($sql,$link) or die(mysql_error());
?>
<fieldset>
<legend><font color="#990000"><strong><font size="2" face="Geneva, Arial">Oficina
de participación</font></strong></font></legend>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td width="39%"><font size="2" face="Arial, Verdana"><strong><img src="images/ico2.jpg" width="30" height="54" hspace="6" align="left"><font color="#990000">Bienvenido
</font></strong><font color="#990000"><?php echo $_SESSION[user_name]; ?>
</font><br>
Grupo Organizaciones<br>
Último acceso : <?php echo $_SESSION[last_login]; ?>
</font></td>
<td width="61%" align="right"><font size="2" face="Arial, Verdana"><a href="registro_experiencias.php">Registro
de experiencias</a> | <a href="logout.php">
Cerrar sesión</a> </font></td>
</tr>
</table>
<br>
<br>
<font color="#006699" size="4"><strong>Listado
de experiencias </strong></font><br>
<div style="padding:4px;"><br>
<br>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Nombre
de la experiencia</strong></font></td>
<td><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Fecha
de la experiencia</strong></font></td>
<td><font color="#990000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Detalle</strong></font></td>
</tr>
<?
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "<tr><td>{$row['nombre_ex']}</td><td>" .
"{$row['fecha']}</td><td><a href=\"detalle_experiencia.php?id={$row['id']}\">Detalle</a></td></tr>";
//"Message : {$row['tipo']} <br><br>";
}
?>
</table>
</div>
</fieldset></td>
</tr>
</table></td>
</tr>
<tr>
<td height="80" colspan="2" align="center" valign="middle" class="amarillo"><font size="1"><font face="Verdana, Arial"><strong>Secretaría
Distrital de Ambiente</strong></font></span><font face="Verdana, Arial"><br>
Cra. 6 No. 14 - 98 Pisos 2, 5, 6, 7 y 12 Torre A y
piso 3 y 4 Torre B, Edificio Condominio Parque Santander
- Conmutador: 4441030 <br>
Bogotá - Colombia<br>
<a href="mailto:webmaster@secretariadeambiente.gov.co">webmaster@secretariadeambiente.gov.co</a></font></font></td>
</tr>
</table></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE></td><td style="background-image:url(http://www.secretariadeambiente.gov.co/sda/libreria/jpg/new/rightShadow.jpg); background-repeat:repeat-y" width="14"></td></tr></table>
<map name="Map">
<area shape="rect" coords="6,8,77,19" href="http://www.secretariadeambiente.gov.co/sda/libreria/php/decide.php?patron=01." alt="Secretaría de Ambiente">
<area shape="rect" coords="266,6,408,20" href="http://www.secretariadeambiente.gov.co/sda/libreria/php/decide.php?patron=02." alt="Servicios al Ciudadano">
<area shape="rect" coords="98,6,240,21" href="http://www.secretariadeambiente.gov.co/sda/libreria/php/decide.php?patron=03.">
<area shape="rect" coords="433,7,514,20" href="http://www.secretariadeambiente.gov.co/sda/libreria/php/decide.php?patron=05." alt="En línea">
</map></BODY></HTML>
|