<aside class="main-sidebar">

	 <section class="sidebar">


		 <div class="user-panel">
			<!--=====================================
	LOGOTIPO
	======================================-->
	<a href="inicio" class="logo">

		<!-- logo mini -->

		<span class="logo-mini">

			<center><img src="vistas/img/plantilla/logo.png" class="img-responsive" style="padding:10px"></center>

		</span>

		<!-- logo normal -->

		<span class="logo-lg">

		<center>
			<img src="vistas/img/plantilla/logo.png" class="img-responsive" style="padding: 0 10px; padding-top: 10px;">
			<!--<h2>SEMAPAT</h2>-->
		</center>


		</span>

	</a>



	     </div>

		<ul class="sidebar-menu">



		<?php

		if($_SESSION["perfil"] == "Administrador" || $_SESSION["perfil"] == "Secretaria"|| $_SESSION["perfil"] == "Cobrador"){
		  //echo '<li class="active">
			echo '<li>

				<a href="inicio">
		            <i class="fa fa-home"></i> <span>Inicio</span>
		            <span class="pull-right-container">
		            </span>
		         </a>

			</li>';

		}

		if($_SESSION["perfil"] == "Administrador" | $_SESSION["perfil"] == "Cobrador"){

			echo '<li class="treeview">

				<a href="#">

					<i class="fa fa-book"></i>

					<span>Contratos</span>

					<span class="pull-right-container">

						<i class="fa fa-angle-left pull-right"></i>

					</span>

				</a>

				<ul class="treeview-menu">

					<li>

						<a href="contratos">

							<i class="fa fa-circle-o"></i>
							<span>Administrar Contratos</span>

						</a>

					</li>

					<li>

						<a href="crear-contratos">

							<i class="fa fa-circle-o"></i>
							<span>Crear Contratos</span>

						</a>

					</li>';



				echo '</ul>

			</li>';

		}



		if($_SESSION["perfil"] == "Administrador" | $_SESSION["perfil"] == "Cobrador"){

			echo '<li class="treeview">

				<a href="#">

					<i class="ion ion-social-usd"></i>

					<span>Cobros</span>

					<span class="pull-right-container">

						<i class="fa fa-angle-left pull-right"></i>

					</span>

				</a>

				<ul class="treeview-menu">

					<li>

						<a href="cobros">

							<i class="fa fa-circle-o"></i>
							<span>Administrar Cobros</span>

						</a>

					</li>

					<li>

						<a href="crear-cobros">

							<i class="fa fa-circle-o"></i>
							<span>Nuevo Cobro</span>

						</a>

					</li>';



				echo '</ul>

			</li>';

		}




			

			if($_SESSION["perfil"] == "Administrador" || $_SESSION["perfil"] == "Cobrador"){

			 echo '<li class="treeview">

				  <a href="#">

					  <i class="fa fa-users"></i>
					  <span>Administración de Alumnos</span>

					  <span class="pull-right-container">

						  <i class="fa fa-angle-left pull-right"></i>

					  </span>

				  </a>


				  <ul class="treeview-menu">

					  <li>

						  <a href="personas">

							  <i class="fa fa-circle-o"></i>
							  <span>Explorar Alumnos</span>

						  </a>

					  </li>';



				  echo '</ul>



			  </li>';
		}


		//administración de caja
		if($_SESSION["perfil"] == "Administrador" | $_SESSION["perfil"] == "Cobrador"){
			//echo '<li class="active">
			  echo '<li class="treeview">
				  <a href="#">
					  <i class="fa fa-money"></i>
					  	<span>Administración Caja</span>
					  	<span class="pull-right-container">
						  <i class="fa fa-angle-left pull-right"></i>
					  	</span>
				  </a>

				  <ul class="treeview-menu">
					  <li>
						  <a href="consulta-caja">
							  <i class="fa fa-circle-o"></i>
							  <span>Listar Caja</span>
						  </a>
					  </li>
					  <li>
						  <a href="movimiento-caja">
							  <i class="fa fa-circle-o"></i>
							  <span>Movimiento Caja</span>
						  </a>
					  </li>
					  <li>
						  <a href="historia-caja">
							  <i class="fa fa-circle-o"></i>
							  <span>Arqueo de Caja</span>
						  </a>
					  </li>';
				  echo '</ul>
			  </li>';

		  }


			


		  	//administración de caja
		if($_SESSION["perfil"] == "Administrador"){
			//echo '<li class="active">
			  echo '<li class="treeview">

				  <a href="#">

					  <i class="fa fa-cog"></i>
					  <span>Configuración</span>

					  <span class="pull-right-container">

						  <i class="fa fa-angle-left pull-right"></i>

					  </span>

				  </a>


				  <ul class="treeview-menu">

					  <li>

						  <a href="zonas">

							  <i class="fa fa-circle-o"></i>
							  <span>Diplomados</span>

						  </a>

					  </li>
					  <li>

							<a href="servicios">

								<i class="fa fa-circle-o"></i>
								<span>Tipos de Servicios</span>

							</a>

						</li>';



				  echo '</ul>



			  </li>';

		  }
if($_SESSION["perfil"] == "Administrador" || $_SESSION["perfil"] == "Registrador"|| $_SESSION["perfil"] == "Cobrador"){

				echo '<li class="treeview">

					<a href="#">

						<i class="fa fa-pie-chart"></i>

						<span>Consultas y Reportes</span>

						<span class="pull-right-container">

							<i class="fa fa-angle-left pull-right"></i>

						</span>

					</a>

					<ul class="treeview-menu">

						<li>

							<a href="consulta-servicios">

								<i class="fa fa-circle-o"></i>
								<span>Consulta de Servicios</span>

							</a>

						</li>
                        <li>

							<a href="recuperacion">

								<i class="fa fa-circle-o"></i>
								<span>recuperacion general</span>

							</a>

						</li>
						<li>

							<a href="detallado">

								<i class="fa fa-circle-o"></i>
								<span>detalle general</span>

							</a>

						</li>
						<li>

							<a href="detalle-conta">

								<i class="fa fa-circle-o"></i>
								<span>general para reporte</span>

							</a>

						</li>
						<li>

							<a href="exportar-reportes">

								<i class="fa fa-circle-o"></i>
								<span>Exportar reportes</span>

							</a>

						</li>';



					echo '</ul>

				</li>';

			}
			if($_SESSION["perfil"] == "Administrador"){

			//echo '<li class="active">
			  echo '<li class="treeview">

				  <a href="#">

					  <i class="fa fa-exclamation-triangle"></i>
					  <span>Seguridad</span>

					  <span class="pull-right-container">

						  <i class="fa fa-angle-left pull-right"></i>

					  </span>

				  </a>


				  <ul class="treeview-menu">

					  <li>

						  <a href="usuarios">

							  <i class="fa fa-circle-o"></i>
							  <span>Explorar Usuarios</span>

						  </a>

					  </li>
					  <li>';



				  echo '</ul>



			  </li>';
			}
			
			if($_SESSION["perfil"] == "Secretaria"){

			//echo '<li class="active">
			  echo '<li class="treeview">

				  <a href="#">

					  <i class="fa fa-exclamation-triangle"></i>
					  <span>AREA DE VENTAS</span>

					  <span class="pull-right-container">

						  <i class="fa fa-angle-left pull-right"></i>

					  </span>

				  </a>


				  <ul class="treeview-menu">

					  <li>

						  <a href="alumno">

							  <i class="fa fa-circle-o"></i>
							  <span>dar de alta alumno</span>

						  </a>

					  </li>
					  <li>

						  <a href="contratov">

							  <i class="fa fa-circle-o"></i>
							  <span>dar de alta contrato</span>

						  </a>

					  </li>
					  <li>';



				  echo '</ul>



			  </li>';
			}

			if($_SESSION["perfil"] == "Administrador"){

			echo '<li>

				<a href="acerca">

					<i class="fa fa-info-circle"></i>
					<span>Acerca De...</span>
					<small class="label pull-right bg-red">MT-Code<i class="fa fa-code"></i></></small>

				</a>

			</li>';

		}
		
		


		?>
		<li style="opacity: 0; height: 100px;">hola este es un ejemplo</li>


		</ul>

	 </section>

</aside>
