File: /home/asjudine/public_html/eliminar_anulacion_contratos.php
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento sin título</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.Estilo13 {font-size: 12px; font-weight: bold; }
.Estilo18 {font-family: "Arial Narrow"; font-weight: bold; font-size: 14; }
.Estilo19 {font-family: "Arial Narrow"; font-weight: bold; }
.Estilo2 { font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
.Estilo20 {color: #990000}
.Estilo21 {font-family: "Arial Narrow"; font-weight: bold; font-size: 14; color: #990000; }
.Estilo22 {font-family: "Arial Narrow"; font-weight: bold; color: #000099; }
.Estilo26 {font-size: 14; color: #990000; font-family: "Arial Narrow";}
.Estilo27 {font-size: 12px}
.Estilo29 {font-family: Arial, Helvetica, sans-serif}
.Estilo38 {font-weight: bold}
.Estilo39 {font-family: Arial, Helvetica, sans-serif; color: #000000;}
.Estilo40 {color: #000000}
.Estilo41 {
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
color: #000000;
font-weight: bold;
}
.Estilo43 {color: #000099}
.Estilo44 {font-family: "Arial Narrow"}
.Estilo45 {font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #000099; font-weight: bold; }
.Estilo46 {font-size: 12px; font-family: Arial, Helvetica, sans-serif; color: #0000CC; font-weight: bold; }
-->
</style>
</head>
<body>
<?php
require_once("mainfile.php");
include ("config.php");
global $dbi;
require_once("Conectarse.php");
$con = mysql_query('DELETE FROM anulacion_contratos WHERE id = "' . $_GET["id"] . '" ');
if (!$con) {
die('Invalid query: ' . mysql_error());
}
echo "<script>alert('Registro Eliminado');</script>";
echo "<SCRIPT LANGUAGE='javascript'>window.location.href='asignacion_anulacion_contratos.php?ced2=$ced2&numcon=$numero'</SCRIPT>";
?>