<?php

//CONEXION A LA BASE DE DATOS
include ("conexion.php");

//CAPTURA DE DATOS DEL URL

$idPresentacion=$_GET['idPresentacion'];

//Eliminar registro
$cons2="DELETE FROM presentaciones Where idPresentacion ='$idPresentacion'";
$res2=mysql_query($cons2,$conex) or die ("No se pudo eliminar la presentacion especificada");
mysql_close($conex);

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>UCA :.</title>
<link href="ucaestilos.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-color: #CCCCCC;
}
-->
</style></head>

<body>
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td><img src="img/top02.jpg" width="800" height="100" /></td>
  </tr>
  <tr>
    <td><p>&nbsp;</p>
        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td><div align="center"><img src="img/confproc.jpg"  /></div></td>
          </tr>
        </table>
      <br />
        <table width="200" border="0" align="center" cellspacing="10">
          <tr>
            <td width="97"><form id="form1" name="form1" method="post" action="main.php?a=92">
                <div align="center">
                  <p>
                    <input name="Submit" type="submit" class="boton2" value="Volver a presentaciones" />
                  </p>
                </div>
            </form></td>
            <td width="93"><form id="form1" name="form1" method="post" action="main.php">
                <div align="center">
                  <p>
                    <input name="Submit2" type="submit" class="boton2" value="Volver a inicio" />
                  </p>
                </div>
            </form></td>
          </tr>
        </table>
      <p>&nbsp;</p>
      <table width="100%" border="0">
          <tr>
            <td height="22" bgcolor="#4E5B7B"><div align="center"><span class="style8">Universidad Cuauht&eacute;moc Plantel Aguascalientes </span></div></td>
          </tr>
      </table></td>
  </tr>
</table>
</body>
</html>
