<?php
// Desactivar toda notificación de error
error_reporting(0);
?>

<!DOCTYPE HTML>
<!--
	Desarrollado por: Eduardo Alfonso Torres Luna
-->
<html>
	<head>
		<title>SISTEMA DE CONTROL COMERCIAL</title>
		<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico"/>
		<meta charset="iso-8859-1" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
		<link rel="stylesheet" href="assets/css/main.css" />
		<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
	</head>
	<body onLoad="deshabilitaRetroceso();">
	
		<div id="aula_virtual" style=" height:0px; ">  
		  
		</div>		
			
		<div id="page-wrapper">
			
			
			<div id="header-wrapper" style="margin-top:20px;">
				<div class="container">
					<div class="row">
						<div class="12u">

							<?php
							include("cabecera.php");
							
							?>
							
						</div>
					</div>
				</div>
			</div>
						
			
			
			
			
			<div id="main">
				<div class="container">
					<div class="row main-row" style="width:640px;">
					
					
					<?php
					if($_SESSION['s_compras']==1){
					?>

					  <div class="4u 12u(mobile)">

							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center">
								<a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_compras.submit(); return false;"><img src="images/compras.png" width="130" height="100">							    
								</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_compras.submit(); return false;">COMPRAS </a></div>
							</div>								
							</section>
					  </div>
					<?php
					}
					?>



					<?php
					if($_SESSION['s_ventas']==1){
					?>
					  <div class="4u 12u(mobile)" style="  <?php  if($_SESSION['s_tipo_usuario']!=3 and $_SESSION['s_tipo_usuario']!=2){  ?> display:none; <?php } ?> ">

							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center">
								<a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_cotizaciones_pedidos.submit(); return false;" ><img src="images/cotizaciones.png" width="98" height="102">							</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_cotizaciones_pedidos.submit(); return false;">COTIZACIONES DE VENTAS</a></div>
							</div>								
							</section>
					  </div>


					  <div class="4u 12u(mobile)">

							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center">
								<a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_pedidos.submit(); return false;" ><img src="images/ventas.png" width="98" height="102">							</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_pedidos.submit(); return false;">VENTAS</a></div>
							</div>								
							</section>
					  </div>
					<?php
					}
					?>



					<?php
					if($_SESSION['s_almacen']==1){
					?>						
					  <div class="4u 12u(mobile)">

							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center">
								<a href="#"  onClick="javascript:frame_menus_formularios.document.fmenu_almacen_ingreso.submit(); return false;"><img src="images/almacen.png" width="98" height="103">							</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_almacen_ingreso.submit(); return false;">INGRESOS  ALMACEN </a></div>
							</div>								
							</section>
					  </div>
					<?php
					}
					?>



					<?php
					if($_SESSION['s_almacen_salidas']==1){
					?>						
					  <div class="4u 12u(mobile)">

							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center">
								<a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_almacen_salida.submit(); return false;" ><img src="images/almacen.png" width="98" height="103">							</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_almacen_salida.submit(); return false;">SALIDAS  ALMACEN </a></div>
							</div>								
							</section>
					  </div>
					<?php
					}
					?>
					
					
					<?php
					if($_SESSION['s_caja']==1){
					?>					
					  <div class="4u 12u(mobile)">
							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center" style=" height:100px;">
								<a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_caja.submit(); return false;"><img src="images/caja.png" width="129" height="98">							</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#" onClick="javascript:frame_menus_formularios.document.fmenu_caja.submit(); return false;">OPERACIONES DE CAJA </a></div>
							</div>								
							</section>
					  </div>
					<?php
					}
					?>


						
					  <?php
						/*

					  <div class="4u 12u(mobile)">
							<a href="#">
							<section>
						    </section>
							</a>
							<section><div align="center" >
								<a href="#"><img src="images/configuraciones.png" width="105" height="103">							</a></div>
							<div style="padding-bottom:20px;">	
								<div align="center" style="font-size:15px;"><a href="#">CONFIGURACIONES </a></div>
							</div>								
							</section>
					  </div>
						*/
					  ?>
					
					<a name="enfoque1"></a></div>
				</div>
			</div>
			
			<?
			include("pie.php");
			
			?>	
			
			
		</div>

		<!-- Scripts -->
			<script src="assets/js/jquery.min.js"></script>
			<script src="assets/js/skel.min.js"></script>
			<script src="assets/js/skel-viewport.min.js"></script>
			<script src="assets/js/util.js"></script>
			<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
			<script src="assets/js/main.js"></script>
			
			

	</body>
</html>