Ejemplo n.º 1
0
<?php

include_once "../../login/check.php";
if (!empty($_POST)) {
    $CodCurso = $_POST['CodCurso'];
    include_once "../../class/alumno.php";
    include_once "../../class/curso.php";
    $alumno = new alumno();
    $curso = new curso();
    $cur = array_shift($curso->mostrarCurso($CodCurso));
    $alumnosNuevos = $alumno->verInscritosNuevosCurso($CodCurso);
    if (count($alumnosNuevos) > 0) {
        ?>
        <a href="#" id="exportarexcel" class="btn btn-success btn-mini"><?php 
        echo $idioma['ExportarExcel'];
        ?>
</a>
        <table class="table table-bordered table-hover table-striped">
        <thead>
        	<tr><th><?php 
        echo $idioma['Curso'];
        ?>
:</th><th colspan="3"><?php 
        echo $cur['Nombre'];
        ?>
</th></tr>
      		<tr><th>N</th><th><?php 
        echo $idioma['Nombres'];
        ?>
</th><th><?php 
        echo $idioma['Rude'];