diff --git a/pags/AV_principal.php b/pags/AV_principal.php index 680a1fb..1626fdd 100644 --- a/pags/AV_principal.php +++ b/pags/AV_principal.php @@ -1,6 +1,17 @@ - +alert("Sesion invalida"); +self.location = "loginAdmin.php"; +'; +} +else +{ +include ("../includes/header_aula.php"); include("../includes/inheader.php"); - $id_alumno=1; + $id_alumno=$_SESSION['user']; $peticion="select id_seccion, nombres, apellidos,grado from alumno where id=".$id_alumno."" ; $resultado=mysqli_query($conexion,$peticion); $fila=mysqli_fetch_array($resultado); @@ -124,5 +135,5 @@ \ No newline at end of file diff --git a/pags/av_contenido.php b/pags/av_contenido.php index 96e103e..3d4d21e 100644 --- a/pags/av_contenido.php +++ b/pags/av_contenido.php @@ -1,4 +1,15 @@ - +alert("Sesion invalida"); +self.location = "loginAdmin.php"; +'; +} +else +{ +include ("../includes/header_aula.php"); include("../includes/inheader.php");?> @@ -9,7 +20,7 @@ \ No newline at end of file