File: /home/asjudine/www/callcenter/menu_cerrar_tickets.php
<?php
$ced = $_GET["ced"];
$nom = $_GET["nom"];
$car = $_GET["nom"];
//Esto se debe cambiar a menus por archivos
require_once("../Conectarse.php");
$result = mysql_query('SELECT codigo, sucursal, cargo, cargo_callcenter FROM Usuarios WHERE cedula = "'.$ced.'"');
list($codigo_usuario, $sucursal_usuario, $cargo_usuario, $cargo_callcenter_usuario) = mysql_fetch_row($result);
?>
<!DOCTYPE HTML>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>MENU CERRAR TICKETS</title>
<meta http-equiv="X-UA-Compatible" content="IE=8; IE=9; IE=edge" />
<style type="text/css">
*{margin: 0;padding: 0;}
body{background-image:url(../ELEMENTS/fondo.jpg);font-family:Geneva, Arial, Helvetica, sans-serif;}
header {background-color: #B7271F; text-align: center;}
.cerrarsesion{width: auto;height: 20px;background-color: #DBD8C9;color: #000;font-size: 13px;position:absolute;top: 15px;right:10px;z-index:0;padding: 10px;border-radius: 10px;cursor: pointer;}
.titulo{width: 100%;text-align: center;background-color: #dbd8c9;color: #b20606;padding: 6px 0;font-size: 18px;}
table{margin: 0 auto;border: 8px solid #bebebe; text-align: center;}
.divirmenu{text-align: center;}
.irmenu{width: 200px;background-color: #1c4fa0;color: #fff; padding: 4px;border-radius: 6px;margin-top: 5px;margin-bottom: 5px;}
.irmenu:hover{background-color: #67a0d9; color: #000;}
.fecha{background-color: #d6e08b; padding: 2px;color: #000;font-size: 15px; text-align: center;}
td{padding: 0px; border: 0px solid #a0a0a0;}
.td{background-color: #e5e5e5; padding: 1px 30px;color: #00135F;font-size: 14px;font-weight: 600; text-align: center;}
.boton1{width:30%;background-color: #ffffff;color: #000;padding: 2px;border:2px solid #580000;border-radius:10px;}
.boton1:hover{background-color: #6f0000;color: #fff;cursor: pointer;}
input[type=text]{border-radius: 5px; padding: 3px;background-color: #fffde8;}
.botoni{width: 100%; margin: 0 auto; font-size: 13px; font-weight: 500; padding: 4px; background-color: #769AEF; cursor: pointer; text-align: left; padding-left: 20px;}
.boton{width: 100%; margin: 0 auto; font-size: 13px; font-weight: 500; padding: 4px; background-color: #fffbe8; cursor: pointer; text-align: left; padding-left: 20px;}
.boton:hover{background-color: #4d598b;color: #fff;}
.titulos{color: red; font-size: 12px; font-weight: 300; }
</style>
</head>
<body>
<header>
<img src="../ELEMENTS/bannerInterasjudinet.png" alt="" width=" 700" height="70">
</header>
<h3 class="titulo">MENU CERRAR TICKETS</h3>
<?php echo "<div class='cerrarsesion' onclick='location.href=\"../cerrar_session.php\"'>CERRAR SESION</div>";?>
<form action="" method="post" name="formulario" >
<fieldset>
<p align="center">
<?php
$nom = $_GET["nom"];
$ced = $_GET["ced"];
echo"<div class='divirmenu'>
<input type='button' name='menu' id='menu' class='irmenu' onClick='window.location.href=\"menu_callcenter.php?ced=$ced&nom=$nom\"' value='MENU CALL CENTER'></div>";
?>
</p>
<table border="3" align="center" cellpadding="2" cellspacing="3" >
<tr>
<td>
<fieldset>
<table width="341" border="2" cellpadding="2" cellspacing="3">
<legend>Cerrar Tickets</legend>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "CERRAR TICKETS"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_zona_bogota_cerrar_ticket.php?ced=$ced&nom=$nom&prevMes=2\"' value='Listado Bogotá'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_zona_bogota_sin_gestion.php?ced=$ced&nom=$nom\"' value='Listado Funcionarios sin accion Bogota'>";?>
</td>
</tr>
<?php } ?>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $codigo_usuario == 696 || $codigo_usuario == 884 || $codigo_usuario == 126 ||$cargo_callcenter_usuario == "SUPERVISOR DE ZONAS" ){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_zonas_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Listado Sucursales'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_zonas_sin_gestion.php?ced=$ced&nom=$nom\"' value='Listado Funcionarios sin accion Sucursales'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_por_sucursal_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Listado sin accion Sucursales'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"modificar_ticket_duplicado.php?ced=$ced&nom=$nom\"' value='Modificar Ticket Duplicado'>";?>
</td>
</tr>
<?php } ?>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "SUPERVISOR CALLCENTER"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_director_callcenter_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Listado Administrativo'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_director_callcenter_sin_gestion.php?ced=$ced&nom=$nom\"' value='Listado Administrativo Tickets sin accion'>";?>
</td>
</tr>
<?php } ?>
<!--
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_comercial_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Listado Comercial'>";?>
</td>
</tr>
-->
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_cerrar_tickets.php?ced=$ced&nom=$nom&cargo=$cargo_callcenter_usuario\"' value='Listado General'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../listado_tickets_cerrados_abogados.php?ced=$ced&nom=$nom&cargo=$car\"' value='Listado Tickets Cerrados Abogados'>";?>
</td>
</tr>
</table>
</fieldset>
<fieldset>
<table width="341" border="2" cellpadding="2" cellspacing="3">
<legend>Casos Inconclusos</legend>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "CERRAR TICKETS"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_inconcluso_zona_bogota_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Casos Inconclusos Bogotá'>";?>
</td>
</tr>
<?php } ?>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $codigo_usuario == 126 || $cargo_callcenter_usuario == "SUPERVISOR DE ZONAS"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_inconcluso_zonas_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Casos Inconclusos Sucursales'>";?>
</td>
</tr>
<?php } ?>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "SUPERVISOR CALLCENTER"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_inconcluso_director_callcenter_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Casos Inconclusos Administrativos'>";?>
</td>
</tr>
<?php } ?>
<!--
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_inconcluso_comercial_cerrar_ticket.php?ced=$ced&nom=$nom\"' value='Casos Inconclusos Comercial'>";?>
</td>
</tr>
-->
</table>
</fieldset>
<fieldset>
<table width="341" border="2" cellpadding="2" cellspacing="3">
<legend>Aclaraciones</legend>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "CERRAR TICKETS"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../requerimientos_calificacion_control_callcenter_cerrar_tickets.php?ced=$ced&nom=$nom\"' value='Ingresar Calificación Funcionarios Call Center'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../reque_pendientes_callcenter_cerrar_tickets.php?ced=$ced&nom=$nom\"' value='Requerimientos pendientes por respuesta'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"modificar_ticket_duplicado.php?ced=$ced&nom=$nom\"' value='Modificar Ticket Duplicado'>";?>
</td>
</tr>
<?php } ?>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $codigo_usuario == 126 || $cargo_callcenter_usuario == "SUPERVISOR DE ZONAS"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../requerimientos_calificacion_control_callcenter_cerrar_tickets.php?ced=$ced&nom=$nom\"' value='Ingresar Calificación Funcionarios Call Center'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../reque_pendientes_callcenter_cerrar_tickets.php?ced=$ced&nom=$nom\"' value='Requerimientos pendientes por respuesta'>";?>
</td>
</tr>
<?php } ?>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "SUPERVISOR CALLCENTER"){ ?>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../requerimientos_calificacion_control_callcenter_cerrar_tickets.php?ced=$ced&nom=$nom\"' value='Ingresar Calificación Funcionarios Call Center'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"../reque_pendientes_callcenter_cerrar_tickets.php?ced=$ced&nom=$nom\"' value='Requerimientos pendientes por respuesta'>";?>
</td>
</tr>
<?php } ?>
</table>
</fieldset>
<?php if($codigo_usuario == 1 || $codigo_usuario == 980 || $cargo_callcenter_usuario == "SUPERVISOR CALLCENTER"){ ?>
<fieldset>
<table width="341" border="2" cellpadding="2" cellspacing="3">
<legend>Grabaciones Cerrar Ticket</legend>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_legalizacion_grabaciones_callcenter_cerrar_tickets_juridico.php?ced=$ced&nom=$nom\"' value='Cerrar Ticket Grabaciones (JURIDICO)'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_legalizacion_grabaciones_callcenter_cerrar_tickets_credito.php?ced=$ced&nom=$nom\"' value='Cerrar Ticket Grabaciones (CREDITO)'>";?>
</td>
</tr>
<tr>
<td>
<?php echo "<input type='button' class='boton' onclick='location.href=\"listado_legalizacion_grabaciones_callcenter_cerrar_tickets_juridico_credito.php?ced=$ced&nom=$nom\"' value='Cerrar Ticket Grabaciones (CREDITO-JURIDICO)'>";?>
</td>
</tr>
</table>
</fieldset>
<fieldset>
<table width="341" border="2" cellpadding="2" cellspacing="3">
<legend>Ticket Duplicado</legend>
</table>
</fieldset>
<?php } ?>