<?php
session_start();
if(!isset($_SESSION['Login'])){
	session_start();
	session_destroy();
	header('location: ../Salir.php');
}

?>

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Panel |Cefpphidalgo </title>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="../Diseno/Rutinas_C.js"></script>
<link href="../Diseno/Menu_C.css" rel="stylesheet" type="text/css">
</head>

<body>
<ul id="navigation">
<li class="Salida"><a href="../Salir.php" title="Salida"></a></li>
<li class="Contrase"><a onClick="Cambio_Contra()" title="Contraseña"></a></li>
<li class="Config"><a onClick="Config()" title="Configuración"></a></li>
</ul>

<nav class="slidemenu">
  
  <!-- Item 1 -->
   <input type="radio" name="slideItem" id="slide-item-1" class="slide-toggle" onClick="Portada()"checked/>
  <label for="slide-item-1"><p class="icon">α</p><span>Inicio</span></label>
  
  <!-- Item 2 -->
  <input type="radio" name="slideItem" id="slide-item-2" onClick="Reg_Fol()" class="slide-toggle"/>
  <label for="slide-item-2"><p class="icon">ƒ</p>
  <span>Captura</span></label>
  
   <!-- Item 3 -->
  <input type="radio" name="slideItem" id="slide-item-3" onClick="Rep_Fol()" class="slide-toggle"/>
  <label for="slide-item-3"><p class="icon">R</p>
  <span>Reporte</span></label>
   
   <!-- Item 4 -->
  <input type="radio" name="slideItem" id="slide-item-4" onClick="Help_Foli()" class="slide-toggle"/>
  <label for="slide-item-4"><p class="icon">@</p>
  <span>Ayuda</span></label>
  
  <div class="clear"></div>
  
  <!-- Bar -->
  <div class="slider">
    <div class="bar"></div>
  </div>
  </nav>
<div id="Panel">
	
</div>
<!-- Pruebas nuevas de modal -->
<div id="SubPantalla" class="Pantalla">
      <div>
        <a href="#close" title="Close" class="close" onclick="CloseModal();">X</a>
      	<div id="Sub_Panel"><br>
      	<p>Archivo de Guia :.</p>
      	<hr>
      	
       </div>
  </div>
    </div>
<!-- Pruebas nuevas de modal -->

<script>
$('#Panel').load('Portada.php');	
$('#navigation a').stop().animate({'marginLeft':'-85px'},1000);
$('#navigation > li').hover(
		function () {
			$('a',$(this)).stop().animate({'marginLeft':'-2px'},200);
		},
		function () {
			$('a',$(this)).stop().animate({'marginLeft':'-85px'},200);
		}
	);
</script>
</body>
</html>