<?php include_once './controller/gestorBBDD.php'; $idLengua = 1; $idLiteratura = 2; $idMatematicas = 3; $idIngles = 4; $temasLengua = getTemasByCat($idLengua); $temasLiteratura = getTemasByCat($idLiteratura); $lenguaExamenes = getExamenes($idLengua); $matesExamenes = getExamenes($idMatematicas); $inglesExamenes = getExamenes($idIngles); ?> <div id='cssmenu'> <ul> <li class='active' ><a href='index.php' id="home"><span>Home</span></a></li> <li class='has-sub'><a href='./lenguaylit.php' ><span>Lengua y Literatura</span></a> <ul> <li class='has-sub'><a href='./temas.php?id=1' ><span>Lengua</span></a> <ul> <?php while ($temaLengua = mysqli_fetch_array($temasLengua)) { $nombre = $temaLengua['nombre']; $id = $temaLengua['id']; ?> <li><a href='contenido_lengua.php?idcat=<?php echo $idLengua; ?> &tema_nombre=<?php
<?php include_once '../controller/gestorBBDD.php'; if (isset($_GET['id'])) { $id = $_GET['id']; $val = $_GET['val']; $getTemas = getTemasByCat($id); while ($getTema = mysqli_fetch_array($getTemas)) { $nombreTema = $getTema['nombre']; $idTema = $getTema['id']; if ($val == "nombre") { ?> <option value="<?php echo $nombreTema; ?> "><?php echo $nombreTema; ?> </option> <?php } if ($val == "id") { ?> <option id="<?php echo $nombreTema; ?> " value="<?php echo $idTema; ?> "><?php echo $idTema;
<?php session_start(); include_once 'php/sesion.php'; include_once './controller/gestorBBDD.php'; $idcat = $_GET['id']; $temas = getTemasByCat($idcat); ?> <!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <link rel="stylesheet" type="text/css" href="css/cats/lengua.css"> <meta charset="ISO-8859-1"> <title>PAGS</title> <script src="./js/jquery-2.1.1.js"></script> <script src="./js/script.js"></script> <?php include_once 'php/loginScript.php'; ?> </head> <body> <?php include_once 'php/header.php'; ?> <div id="contenedor">