<?php require_once $_SERVER["DOCUMENT_ROOT"] . "/includes/autoload.php"; ?> <link href="styles.css" rel="stylesheet" type="text/css" media="screen" /> <?php $imagenes_galeria = new Imagenes_galeria(); if ($imagenes_galeria->agregar_imagenes($_REQUEST["id_galeria"], $_REQUEST["id_evento"])) { ?> <p> </p> <p> </p> <table width="100%" border="0" cellpadding="0" cellspacing="5"> <tr> <td width="20%" align="center"><img src="../images/check.png" height="48" width="48" /></td> <td><h2> <?php if ($imagenes_galeria->get_respuesta() > 1) { echo "Se han subido los archivos correctamente"; } else { echo "Se ha subido el archivo correctamente"; } ?> </h2></td> </tr> </table> <?php } else { ?> <table width="100%" border="0" cellpadding="0" cellspacing="5"> <tr> <td width="20%" align="center"><img src="../images/error.png" height="48" width="48" /></td>