<?php
session_start();
     if( (isset($_SESSION['IdAdmin'])) &&($_SESSION['IdAdmin']>0))
   {  
?>
<!DOCTYPE html>
<html>
<head>
<title>Bolsa Laboral - Administrador</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="icon" href="assets/images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="bower_components/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/pages/waves/css/waves.min.css" media="all">
<link rel="stylesheet" href="assets/icon/feather/css/feather.css">
<link rel="stylesheet" href="assets/css/style.css">
<?php
include("script_funciones.php");
include('db___cn.php');
$mysqli=conex_db_mysql();

$administrador="SELECT IdAdministrador,Apellidos,Nombres,UrlFoto
              FROM tb_administrador 
              WHERE IdAdministrador='".$_SESSION['IdAdmin']."'";
$rs=$mysqli->query($administrador);
$fila_administrador=mysqli_fetch_array($rs);

mysqli_close($mysqli);
?>
</head>
<body>

<div class="loader-bg">
     <div class="loader-bar"></div>
</div>

<div id="pcoded" class="pcoded">
     <div class="pcoded-overlay-box"></div>
<div class="pcoded-container navbar-wrapper">
	
	<nav class="navbar header-navbar pcoded-header">
		<div class="navbar-wrapper">
			<div class="navbar-logo">
				<?php logo(); ?>	
			</div>
			<div class="navbar-container container-fluid">
			   <?php menuSuperior($fila_administrador['Nombres'],$fila_administrador['UrlFoto']); ?>
			</div>
		</div>
	</nav>

<div class="pcoded-main-container"><!-- inicio pcoded-main-container -->
  <div class="pcoded-wrapper"><!-- inicio pcoded-wrapper -->

	<nav class="pcoded-navbar">
	  <div class="nav-list">
	     <div class="pcoded-inner-navbar main-menu">
	        <div class="pcoded-navigation-label">Panel Navegaci&#243;n</div>
	          <?php  MenuPrincipal(); ?>
	     </div>
	  </div>
	</nav>

<div class="pcoded-content"><!-- inicio pcoded-content -->

	<div class="page-header card"> <!-- inicio page-header card - encabezado -->
		<div class="row align-items-end">
				<div class="col-lg-8">
					<div class="page-header-title">
					      <i class="feather icon-home bg-c-blue"></i>
							<div class="d-inline">
								
							</div>
					</div>
				</div>
				<div class="col-lg-4">
					<div class="page-header-breadcrumb">
							<ul class=" breadcrumb breadcrumb-title">
								<li class="breadcrumb-item">
								<a href="principal.php"><i class="feather icon-home"></i></a>
								</li>
								<li class="breadcrumb-item">
								
								</li>
							</ul>
					</div>
				</div>
		</div>
	</div><!-- fin page-header card - encabezado -->

	<div class="pcoded-inner-content"><!-- inicio pcoded-inner-content - contenido dinamico -->
		<div class="main-body">
			<div class="page-wrapper">
				<div class="page-body">
<div class="row">
	<div class="col-xl-12">
			<img src="assets/images/banner.png" class="img-fluid" alt="...">
    </div>

</div> <!-- fin pcoded-content -->

<!--
					<div class="row">
					  <div class="col-xl-6 col-md-6">
							<div class="card new-cust-card">
								<div class="card-header bg-primary">
								<h5>Programas de Estudio : <label class="label label-info">Abreaviaturas</label></h5>
								<div class="card-header-right">
								<ul class="list-unstyled card-option">
								<li class="first-opt"><i class="feather icon-chevron-left open-card-option"></i></li>
								<li><i class="feather icon-maximize full-card"></i></li>
								<li><i class="feather icon-minus minimize-card"></i></li>
								<li><i class="feather icon-refresh-cw reload-card"></i></li>
								<li><i class="feather icon-trash close-card"></i></li>
								<li><i class="feather icon-chevron-left open-card-option"></i></li>
								</ul>
								</div>
								</div>
							
                        </div>
                     </div>
							<div class="col-sm-6">
								<div class="card">
										<div class="card-header bg-primary">
										  <h5>TRABAJANDO EN LINEA</h5>
										    
										</div>
									    <div class="card-block">
											
										     	<p><i class="icofont icofont-dotted-right icofont-lg text-danger"></i>Nuestros canales digitales est&#225;n disponibles para mantenerse al d&#237;a con el desarrollo acad&#233;mico y administrativo de nuestra Instituci&#243;n.</p>
												<p><i class="icofont icofont-hand-drag1 icofont-lg"></i>Portal web oficial : <a href="www.victoralvarezhuapaya.edu.pe" target="_blank">www.victoralvarezhuapaya.edu.pe</a> </p> 
												<p><i class="icofont icofont-social-facebook icofont-lg text-facebook"></i>Facebook oficial : <a href="https://www.facebook.com/InstitutoHuapaya" target="_blank">https://www.facebook.com/InstitutoHuapaya</a></p> 
												<p><i class="icofont icofont-social-whatsapp icofont-lg text-success"></i> Oficina de Unidad Acad&#233;mica : 920860554</p>
												<p><i class="icofont icofont-social-whatsapp icofont-lg text-success"></i> Oficina de Secretaria Acad&#233;mica / Mesa de partes : 958145255</p> 

												<p><i class="icofont icofont-dotted-right icofont-lg text-danger"></i>El compromiso del instituto es innovar en sus servicios acad&#233;micos y administrativos y velar por la salud de sus docentes y estudiantes.
											   </p>
								        </div>
								</div>
							</div>
					</div>-->
					

				</div>
			</div>
		</div>
	</div><!-- fin pcoded-inner-content - contenido dinamico -->



</div><!-- fin pcoded-wrapper -->

</div> <!-- fin pcoded-main-container -->

</div>
</div>

<script src="bower_components/jquery/js/jquery.min.js"></script>
<script src="bower_components/jquery-ui/js/jquery-ui.min.js"></script>
<script src="bower_components/popper/js/popper.min.js"></script>
<script src="bower_components/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/pages/waves/js/waves.min.js"></script>
<script  src="bower_components/jquery-slimscroll/js/jquery.slimscroll.js"></script>
<script src="assets/js/pcoded.min.js"></script>
<script src="assets/js/vertical/vertical-layout.min.js"></script>
<script src="assets/js/script.min.js"></script>

</body>
</html>
<?php
}
else
{ 

echo "Error Ud. Debe Iniciar Sesion.................";

}
?>
