<?php
session_start();

include_once("../scripts/session.php");   //Validar Session
$sesion=new Sesion("","","");/*Se crea un objeto nuevo con el privilegio necesario para la pag. actual*/

if(!$sesion->isValida("1")){ /*Sesion invalida*/
	 header("Location: ../index.php?err=NoSesion");
    }/*no hay sesion*/

    else{
       $dato=explode("|",$_SESSION['usuario']);
       $sesion->setDatos($dato[0],$dato[1],$dato[2]);
       $sesion->setSesion();
    }
   //fin validar session
   
$id_dist = $sesion->id;

//echo $id_dist;


?>

<html>
<head>
  <title></title>
</head>
<body bgcolor="#e8d78d" alink="#594106" link="#594106" vlink="#594106">
<font size="2">
<hr color="#666666">

<b><center><img src="sist_inv.gif" border="0" width="150" height="37" alt="">

</center></b>

<?php
	if($id_dist==7){
	
	
	?>
<br />

<hr color="#666666">

<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Productos</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="listaprod.php" target="P">Lista de Productos</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="promociones.php" target="P">Promociones</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="existencias.php" target="P">Existencias</a>
<br />



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="reporteinv.php" target="P">Reporte Inventarios</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="hacerinventario.php" target="P">Inventario Fisico</a><br>
<br >
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="inventario_diario.php" target="P">Control Inventario Diario</a><br>
<br >

<img src="../files/usuarios.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Pedidos</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pendiente_entrega.php" target="P">Pedidos Stock</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cdentrega.php" target="P">Por CD entrega</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pedido_pendiente.php" target="P">Pedidos en espera</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pendiente_entrega.php" target="P">Pendientes de entrega</a><br>
<br >





<?php }else{
	?>



<hr color="#666666">
<font color="#000000">
 <img src="../files/usuarios.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Usuarios</b></font>
<br />
<!--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="regnvousr.php" target="P"> Nuevo Inversionista</a><br>

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="updateusr.php" target="P"> Cambiar Datos</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cambpsw.php" target="P"> Cambiar Contrase�a</a>-->
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="buscausr.php" target="P"> Buscar Usuario</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="buscausr2.php" target="P"> Modificar usuarios</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="5gen.php" target="P"> 5 Gen Arriba</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="Admin_config.php" target="P">Configuraci&oacute;n</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pasa_stockAdmin.php" target="P">Movimientos y Cambios ID</a><br>
<br ><!-- 
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="../reg.php" target="P"> Registro Nuevo</a>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cambioDDI.php" target="P"> Cambiar mis Datos</a>
-->

<br />

<hr color="#666666">

<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Productos</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="listaprod.php" target="P">Lista de Productos</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="promociones.php" target="P">Promociones</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="existencias.php" target="P">Existencias</a>
<br />

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="inventario_diario.php" target="P">Control Inventario Diario</a><br>
<br >

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="hacerinventario.php" target="P">Inventario Fisico</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="reporteinv.php" target="P">Reporte Inventarios</a><br>
<br >
<hr color="#666666">
<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Pedidos</b></font>
<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="atint.php" target="P"> Informaci&oacute;n Integral</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="transxcd.php" target="P"> Transacciones por CD</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="buscar_pedidos.php" target="P"> Buscar Pedido</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cambiafecha.php" target="P"> Cambio de fecha</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cancelanota.php" target="P"> Eliminar Pedido</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="crear_promo.php" target="P"> Crear Promocion</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="crearinsc.php" target="P"> Crear Inscripcion</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="nota_salida1.php" target="P"> Nota de salida</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pendiente_entrega.php" target="P">Pedidos Stock</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cdentrega.php" target="P">Por CD entrega</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pedido_pendiente.php" target="P">Pedidos en espera</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pendiente_entrega.php" target="P">Pendientes de entrega</a><br>

<br />

<hr color="#666666">
<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Pagos</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="vercuentas.php" target="P"> Cuentas Deposito</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cambiopago.php" target="P"> Cambio pago</a><br>


<br />

<hr color="#666666">
<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Centros de Distribucion</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="verciudades.php" target="P"> Ver Ciudades</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="agregaciudad.php" target="P"> Agregar Ciudad</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="vercentros.php" target="P"> Ver Centros</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="agregacentro.php" target="P"> Agregar Centro</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cambiacentros.php" target="P"> Cambiar Contrase&ntilde;as</a><br>

<br />
<hr color="#666666">
<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Vouchers</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="infovou.php" target="P"> Ver Vouchers</a><br>


<br />
<hr color="#666666">
<img src="../files/pedidos.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Regal&iacute;as</b></font>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pagarregaliasx.php" target="P"> Pagar Regal&iacute;as</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="pagarregaliasx2.php" target="P"> Enviar a transito</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enviarruta.php" target="P"> Enviar a ruta</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="enruta.php" target="P"> Regalias en ruta</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="entransito.php" target="P"> Regal&iacute;as en tr&aacute;nsito</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="retenidas.php" target="P"> Regal&iacute;as Retenidas</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="regalias_pagadasx.php" target="P"> Regal&iacute;as Pagadas</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="cuentamal.php" target="P"> Cuenta Mal</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="reporte_regalias.php" target="P"> Generar Regal&iacute;as</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="reporte_regaliasnvo.php" target="P"> Generar Regal&iacute;as nvo</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="regalias_centro.php" target="P"> Cambiar Centro de Pago</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="regalias_elimina.php" target="P"> Eliminar Regal&iacute;as</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="unir_voucher.php" target="P"> Unir Vouchers</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="agrupar_regs.php" target="P"> Agrupar Regalias</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="calculaimpuestos.php" target="P"> Calcular Impuestos</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="reporegs.php" target="P"> Reporte Regalias</a><br>
<br />
<hr color="#666666">
<img src="../files/usuarios.gif" border="0" width="20" height="20" alt=""><font color="#000000"><b> Reportes</b></font>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="reportecaja.php" target="P">Reporte de caja</a>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="comprastotales.php" target="P">Ventas Totales Sistema</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="depositos_bancos.php" target="P">Depositos en banco</a>
<br />
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="facturacion.php" target="P">Facturacion Mensual</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="asignaciones.php" target="P">Asignaciones</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="totalescd.php" target="P">Totales por CD</a>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="otrasal.php" target="P">OtrasSalidas</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="porpagar.php" target="P">Notas Por Pagar</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="notasal.php" target="P">Notas Salida</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="inscritos.php" target="P">Inscritos</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="wa.php" target="P">WHatsapp No USar</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="notasporrasignar.php" target="P">Notas por asignar</a><br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="listallamadas.php" target="P">Listas Llamadas</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="nocalif.php" target="P">No Calificados</a><br>
<!--<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="comprasdia_cd.php" target="P">Ventas x Dia CD</a>

<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="ventasproducto.php" target="P">Ventas Productos</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="productoxfecha.php" target="P">Producto Por Fecha</a>
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="producto evento.php" target="P">Producto Evento</a>-->
<br />
<hr color="#666666">

<br /><br />
</font>

</body>
</html>

<?php
	}
	?>

