Ejemplo n.º 1
0
<?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 
Ejemplo n.º 2
0
<?php

session_start();
include_once 'php/sesion.php';
include_once './controller/gestorBBDD.php';
$idcat = $_GET['idcat'];
$examenes = getExamenes($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/examenes.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">