<?php header('Content-type: application/vnd.ms-word'); header("Content-Disposition: attachment; filename=" . $_POST['nombreEvento'] . '.doc'); header("Pragma: no-cache"); header("Expires: 0"); require_once './accionesEventos.php'; $asistentes = traer_asistentes($_POST['idevento']); $noAsistentes = traer_no_asistentes($_POST['idevento']); ?> <h1><?php echo $_POST['nombreEvento']; ?> </h1> <br> <br> <h4><?php echo $_POST['descripcionEvento']; ?> </h4> <br> <br> <br> <br> <br> <h2>Asistentes</h2> <table style="border: #000"> <thead> <tr> <th>Nombre</th>
<body> <?php session_start(); if (isset($_SESSION['userid'])) { if (!isset($_SESSION['idevento']) || isset($_POST['idevento'])) { $_SESSION['idevento'] = $_POST['idevento']; } ?> <div id="wrapper"> <?php include_once 'menu.php'; include_once './accionesEventos.php'; include_once './accionesFiles.php'; $evento = traer_evento($_SESSION['idevento']); $asistentes = traer_asistentes($_SESSION['idevento']); $noAsistentes = traer_no_asistentes($_SESSION['idevento']); $ficheros = traer_ficheos_eventos($_SESSION['idevento']); $dueño = es_dueño($_SESSION['userid'], $_SESSION['idevento']); ?> <div id = "page-wrapper"> <div class = "container-fluid"> <div class = "row"> <div class = "col-lg-12"> <h1 class = "page-header"><?php echo $evento['name']; ?> </h1> </div> </div> <div class = "row"> <div class = "col-lg-12">