<?php
if ($_SESSION['nombre'] == "" || $_SESSION['apellido'] == "" || $_SESSION['id_usuario'] == "" || $_SESSION['usuario'] == ""){
setcookie("sysgood", "", time());
loginForm("Has cerrado tu sesión.", false);
}
$nombre = $_SESSION['nombre'];
$apellido = $_SESSION['apellido'];
?>
<html>
<head>
<title>Simple-doc 2007</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="estilo/estilo.css" type="text/css">
<link rel="stylesheet" href="estilo/tablas.css" type="text/css">
<?php
no_en_cache();
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Firefox') == true){
echo "<link type='text/css' rel='stylesheet' href='estilo/interfaz.css'>";
echo "<!--aqui-->";
}else{
echo "";
}
?>
<br>
<link rel="stylesheet" href="calendario/javascript/calendar.css" type="text/css">
<script type="text/javaScript" language="JavaScript1.2" src="menu.js"></script>
<script type="text/javaScript" src="js/reloj.js"></script>
<script type="text/javaScript" src="calendario/javascript/general.js"></script>
<script type="text/JavaScript" src="calendario/javascript/overlib_mini.js"></script>
<script type="text/JavaScript" src="calendario/javascript/calendar.js"></script>
<script type="text/JavaScript" src="calendario/javascript/calendar-es.js"></script>
<script type="text/JavaScript" src="calendario/javascript/calendar-setup.js"></script>
<script type="text/javaScript" src="jsm/sdvar/vsmx.js"></script>
<script type="text/javaScript" src="jsm/src/form.js"></script>
<meta http-equiv="Expires" content="Mon, 26 Jul 1997 05:00:00 GMT">
<meta http-equiv="Last-Modified" content="Sun, 25 Jul 2004 16:12:09 GMT">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta http-equiv="Pragma" content="nocache">
</head>
<body onLoad="curTime()">
<div class="pod p2 nw">
<div class="ne">
<div class="se">
<div class="sw">
<div class="n">
<div class="s">
<div class="w">
<div class="pod-body e">
<table>
<tr>
<td class="Main"><img src="imagenes/sd.png" width="160" height="60" border="0"></td>
<td style="padding-right: 20px; padding-bottom: 10px;" class="body" align="right" bgcolor="#ffffff" valign="bottom" width="100%"> Bienvenido:
<b><?php echo " $nombre $apellido "; ?>
</b> | <a href="auth.php?logout=1" title="cerrar sesión">Cerrar sesión</a> </td>
</tr>
</table>
<table bgcolor="white" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="right" width="100%">
</table>
<table id="MenuTable" border="0" cellpadding="0" cellspacing="0" width="100%">
<td colspan="3" bgcolor="#f7f7f7" height="5" width="100%" align="right" class="body" style="padding-right: 20px; padding-bottom: 3px;"><?php echo fechactual()?><span ID=clock></span></td>
</tr>
<tr>
<td colspan="3" bgcolor="#cc1b12" height="2" width="100%" align="right" class="body" style="padding-right: 20px; padding-bottom: 3px;"></td>
</tr>
</table>
<script type="text/javascript" language="JavaScript1.2">
<!--
beginSTM("uueoehr","static","0","0","none","false","true","310","0","0","0","","imagenes/espacio.gif");
beginSTMB("auto","0","0","horizontally","imagenes/espacio.gif","0","0","3","0","transparent","","tiled","#000000","0","none","0","Normal","50","0","0","0","0","0","0","0","#000000","false","#000000","#000000","#000000","none");
appendSTMI("Funciones ","");
beginSTMB("auto","0","0","vertically","arrow_r.gif","0","0","2","3","#ffffff","","tiled","#aca899","1","solid","0","Fade","23","6","0","0","0","0","0","3","#999999","false","#aca899","#aca899","#aca899","complex");
appendSTMI("Inicio ","index.php");
appendSTMI("Mensajes","mensajes.php");
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Seguimiento","seguimento.php?qr=OT");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Soporte digital","digital_doc.php?folder=recibidos&donde=&que=&busqueda=Buscar&qr=BQR");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Soporte digital","digital_doc2.php?folder=recibidos&donde=&que=&busqueda=Buscar&qr=BQR");
<?php
}
?>
//****************************************************************************************************/
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Circulares y memorandos","digital_c.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Circulares y memorandos","digital_c2.php");
<?php
}
?>
//****************************************************************************************************/
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Seguimiento","seguimento2.php?qr=OT");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 3){
?>
appendSTMI("Seguimiento","seguimento3.php?qr=OT");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 4){
?>
appendSTMI("Seguimiento","seguimento4.php?qr=OT");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Oficios","oficios.php?qr=OR");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Oficios","oficios2.php?qr=OR");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Reasignar tareas","reasignar.php?qr=OA");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Reasignar tareas","reasignar2.php?qr=BQ");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Recepción de oficios","of_rec.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Recepción de oficios","of_rec2.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 3){
?>
appendSTMI("Recepción de oficios","of_rec3.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 4){
?>
appendSTMI("Recepción de oficios","of_rec4.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Envio de oficios","of_env.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 2){
?>
appendSTMI("Envio de oficios","of_env2.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 3){
?>
appendSTMI("Envio de oficios","of_env3.php");
<?php
}
?>
<?php
if($_SESSION['nivel'] == 1){
?>
appendSTMI("Usuarios","usuarios.php");
appendSTMI("Areas","areas.php");
<?php
}
?>
appendSTMI("Estadisticas","estadisticas.php");
endSTMB();
endSTMB();
endSTM();
//-->
</script>