Viewing file: admin.php (17.59 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?PHP
include('config.php');
if (!$login->logged())
{
header("location: index.php");
die();
}
?>
<html><head>
<title>Modulo Administración</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link href="index_files/style.css" rel="stylesheet" type="text/css">
<script LANGUAGE="JavaScript">
function getOpSys(){
var sOpSys = "<b></b>" + navigator.appVersion.toLowerCase().split(";", 3)[2];
return sOpSys;
}
</script>
</head><body class="twoColFixRtHdr">
<div id="container">
<div id="header"> <img src="index_files/header.png" width="780" height="228" border="0" usemap="#Map">
<map name="Map"><area shape="poly" coords="678,165" href="#"><area shape="poly" coords="429,87" href="#"></map></div>
<div id="sidebar1">
<table width="250" border="0" cellpadding="0" cellspacing="0">
<tbody><tr class="dblue">
<th colspan="2">» Información Usuario</th>
</tr>
<tr class="one">
<td class="feature1">Dominio</td>
<td class="feature2"><a href="http://www.secretariadeambiente.gov.co/" class="mydomain" target="_blank">secretariadeambiente.gov.co</a></td>
</tr>
<tr class="two">
<td class="feature1">Usuario</td>
<td class="feature2"><?php echo $username; ?></td>
</tr>
<tr class="one">
<td class="feature1">Password</td>
<td class="feature2"><font face="Courier New">******</font></td>
</tr>
<tr class="two">
<td class="feature1">Dependencia</td>
<td class="feature2"><a href="http://members.000webhost.com/panel/disk_space_usage.php?accountID=455690&login_hash=5HkWYozMxOAFxwBL" class="mydomain">Dirección Legal Ambiental </a></td>
</tr>
<tr class="one">
<td class="feature1">S. Operativo </td>
<td class="feature2"><b> <script language="JavaScript">
document.writeln(getOpSys());
</script>
</b></td>
</tr>
<tr class="two">
<td class="feature1">Dirección IP </td>
<td class="feature2"><?php echo "$REMOTE_ADDR"; ?></td>
</tr>
<tr class="one">
<td class="feature1">Navegador</td>
<td class="feature2"><b> <?php
function FUNC_brouserUsr(){ //echo FUNC_brouserUsr();
if((ereg("Nav", $_SERVER["HTTP_USER_AGENT"])) || (ereg("Gold",
$_SERVER["HTTP_USER_AGENT"])) || (ereg("X11",
$_SERVER["HTTP_USER_AGENT"])) || (ereg("Mozilla",
$_SERVER["HTTP_USER_AGENT"])) || (ereg("Netscape",
$_SERVER["HTTP_USER_AGENT"])) AND (!ereg("MSIE",
$_SERVER["HTTP_USER_AGENT"]) AND (!ereg("Konqueror",
$_SERVER["HTTP_USER_AGENT"])))) $browser = "Mozilla Firerox";
elseif(ereg("MSIE", $_SERVER["HTTP_USER_AGENT"])) $browser = "Internet Explorer";
elseif(ereg("Lynx", $_SERVER["HTTP_USER_AGENT"])) $browser = "Lynx";
elseif(ereg("Opera", $_SERVER["HTTP_USER_AGENT"])) $browser = "Opera";
elseif(ereg("Netscape", $_SERVER["HTTP_USER_AGENT"])) $browser = "Netscape";
elseif(ereg("Konqueror", $_SERVER["HTTP_USER_AGENT"])) $browser = "Konqueror";
elseif((eregi("bot", $_SERVER["HTTP_USER_AGENT"])) ||
(ereg("Google", $_SERVER["HTTP_USER_AGENT"])) || (ereg("Slurp",
$_SERVER["HTTP_USER_AGENT"])) || (ereg("Scooter",
$_SERVER["HTTP_USER_AGENT"])) || (eregi("Spider",
$_SERVER["HTTP_USER_AGENT"])) || (eregi("Infoseek",
$_SERVER["HTTP_USER_AGENT"]))) $browser = "Bot";
else $browser = "Other";
return $browser;
}
echo FUNC_brouserUsr();
?></b></td>
</tr>
<tr class="two">
<td class="feature1">Permisos</td>
<td class="feature2">Todos</td>
</tr>
<tr class="two">
<td class="feature1">Creado</td>
<td class="feature2">2010-03-27 14:25</td>
</tr>
<tr class="one">
<td class="feature1">Estado</td>
<td class="feature2">
Activo </td>
</tr>
</tbody></table>
<p></p>
<p align="center"> <img src="../images/can.png" width="100" height="100" border="0" usemap="#Map2">
<map name="Map2"><area shape="circle" coords="49,50,49" href="logout.php"></map> </p>
</div>
<div id="mainContent">
<?php
if ($session->userlevel == 1 || $session->userlevel == 9)
{
echo "
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Documentos Importantes</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='documentos/ingresar.php' class='mydomain'><img src='index_files/1_1.gif' width='32' border='0' height='32'><br>
[Ingresar Datos] </a></td>
<td class='center'><a href='documentos/modificar.php' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
[Modificar Datos] </a></td>
<td class='center'><a href='documentos/eliminar.php' class='mydomain'><img src='index_files/7_5.gif' width='32' border='0' height='32'><br>
[Eliminar Datos] </a></td>
<td class='center'><a href='documentos/mostrar.php' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
[Mostrar Datos] </a></td>
<td class='right'><a href='documentos/exportar.php' class='mydomain' target='_blank'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
[Exportar Datos]
</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Normativa</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='normativa/ingresar.php' class='mydomain'><img src='index_files/1_1.gif' width='32' border='0' height='32'><br>
[Ingresar Datos] </a></td>
<td class='center'><a href='normativa/modificar.php' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
[Modificar Datos] </a></td>
<td class='center'><a href='normativa/eliminar.php' class='mydomain'><img src='index_files/7_5.gif' width='32' border='0' height='32'><br>
[Eliminar Datos] </a></td>
<td class='center'><a href='normativa/mostrar.php' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
[Mostrar Datos] </a></td>
<td class='right'><a href='normativa/exportar.php' class='mydomain' target='_blank'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
[Exportar Datos]
</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Actos administrativos</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='actos/ingresar.php' class='mydomain'><img src='index_files/3_5.gif' width='32' border='0' height='32'><br>
</a><a href='actos/ingresar.php' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='actos/modificar.php' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='actos/modificar.php' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_5.gif' alt='' width='32' height='32' border='0'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='actos/mostrar.php' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='actos/mostrar.php' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='#' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='actos/exportar.php' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table>
<br> "; }
if ($session->userlevel == 2 || $session->userlevel == 9)
{
echo "<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Notificaciones x aviso</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='notificaciones/ingresar.php' class='mydomain'><img src='index_files/3_5.gif' width='32' border='0' height='32'><br>
</a><a href='actos/ingresar.php' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='notificaciones/modificar.php' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='actos/modificar.php' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_5.gif' alt='' width='32' height='32' border='0'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='notificaciones/mostrar.php' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='actos/mostrar.php' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='notificaciones/exportar.php' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='actos/exportar.php' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table> <br> "; }
if ($session->userlevel == 1 || $session->userlevel == 9)
{
echo "
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Usuarios Registrados Boletín </strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='#' class='mydomain'><img src='index_files/2_3.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_5.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='#' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Conceptos Jurídicos</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='conceptos/ingresar.php' class='mydomain'><img src='index_files/8_1.gif' width='32' border='0' height='32'><br>
</a><a href='conceptos/ingresar.php' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='conceptos/modificar.php' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='conceptos/modificar.php' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_5.gif' alt='Cerrar' width='32' height='32' border='0'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='conceptos/mostrar.php' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='conceptos/mostrar.php' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='conceptos/exportar.php' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='conceptos/exportar.php' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Boletín</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='#' class='mydomain'><img src='index_files/7_3.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='#' target='_blank' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' target='_blank' class='mydomain'><img src='index_files/7_5.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='#' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Usuarios administradores Boletín</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='usuarios/userinfo.php?user=$session->username' class='mydomain'><img src='index_files/5_1.gif' width='32' border='0' height='32'><br>
</a><a href='usuarios/userinfo.php?user=$session->username' class='mydomain'>[Mi cuenta]</a><a href='http://members.000webhost.com/panel/website_builder.php?accountID=455690&login_hash=5HkWYozMxOAFxwBL&nopoint=' class='mydomain'></a></td>
<td class='center'><a href='usuarios/useredit.php' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='usuarios/useredit.php' class='mydomain'>[Modificar Cuenta]</a></td>
<td class='center'><a href='usuarios/admin/admin.php' class='mydomain'><img src='index_files/5_1.gif' width='32' height='32' border='0'><br>
</a><a href='' class='mydomain'>";?><?php
if($session->isAdmin()){
echo '[<a href=\'admin/admin.php\'>Administración</a>]';}
else
echo '[Administración]';
?>
<?php echo "
</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='#' target='_blank' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Jurisprudencia</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='#' class='mydomain'><img src='index_files/3_3.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_5.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='#' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table>
<br>
<table id='sharedtable' cellpadding='0' cellspacing='0'>
<tbody><tr class='dblue'>
<th colspan='5'><strong>» Doctrina</strong></th>
</tr>
<tr class='one'>
<td class='left'><a href='#' class='mydomain'><img src='index_files/3_2.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Ingresar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_1.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Modificar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/7_5.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Eliminar Datos]</a></td>
<td class='center'><a href='#' class='mydomain'><img src='index_files/2_2.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain'>[Mostrar Datos]</a></td>
<td class='right'><a href='#' class='mydomain'><img src='index_files/2_4.gif' width='32' border='0' height='32'><br>
</a><a href='#' class='mydomain' target='_blank'>[Exportar Datos]</a></td>
</tr>
</tbody></table> "; }?>
<p></p>
<div id="header2"></div>
<div id="footer"><img src="index_files/l6.jpg" width="780" height="11"></div>
</div>
</div></body></html>
|