File: /home/asjudine/www/agregar_actuacion_contratos.php
<html>
<head>
<title>Recepción Cargos Disciplinarios</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
background-image: url(ELEMENTOS/gri06.jpg );
}
.Estilo2 {font-weight: bold}
.Estilo8 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
.Estilo10 {color: #0000FF}
.Estilo11 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #0000FF; }
.Estilo17 {color: #990000; font-family: Arial, Helvetica, sans-serif; }
.Estilo23 {color: #FFFFFF;
font-weight: bold;
}
.Estilo22 { color: #990000;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
}
-->
</style>
</head>
<body>
<form name="formulario" method="post">
<center> <img src="ELEMENTOS\CABEZOTE SERVIASJUDINET.jpg" WIDTH=60% > </center>
<tr>
<td><fieldset><table width="568" border="5" align="center" cellpadding="2" cellspacing="2" bgcolor="#000000" >
<tr bgcolor="#2E7068">
<td colspan="2" bgcolor="#FFFFCC" class="titulos" style="color:#FFFFFF"><div align="center" class="Estilo11"> AGREGAR ACTUACIONES SOLICITUD ANULACION CONTRATOS </div></td>
</tr>
<tr bgcolor="#EFEFEF">
<td height="22" colspan="2" bgcolor="#FFFFFF" class="fecha"><div align="center">
<script languaje="JavaScript">Mostrar_Fecha()</script>
</div></td>
</tr>
<tr bgcolor="#FFCC99">
<td align="center" bgcolor="#EFEFEF" >
<p><span class="fecha">Cédula o Codigo:</span></p>
</td>
<td bgcolor="#EFEFEF">
<input name="cedula2" type="text" class="campo1" id="cedula2" value="" size="20" maxlength="20">
</td>
</tr>
<tr bgcolor="#FFCC99">
<td bgcolor="#EFEFEF"><div align="center"><span class="Estilo51">
<input name="consultar" id="consultar" type="submit" class="Estilo22" value="Consultar">
</span></div>
<td bgcolor="#EFEFEF"><div align="center" class="Estilo51">
<input name="button3" type="button" class="Estilo22" onClick="window.location.href='menu_anulacion_contratos.php'" value="Regresar">
</div></td>
</tr>
</table>
<br>
<TABLE width="920" border="5" align="center" cellpadding="0" cellspacing="0">
<TR>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">Envío No.</span></div></TD>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">CEDULA</span></TD>
<TD bgcolor="#FFFFCC" class="Estilo10"><div align='center'><span class="Estilo8">APELLIDOS - NOMBRES</span></TD>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">TELEFONO FIJO</span></TD>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">CELULAR</span></TD>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">CIUDAD</span></TD>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">DIRECCION</span></TD>
<TD bgcolor="#FFFFCC"><div align='center'><span class="Estilo11">FECHA</span></TD>
</TR>
<?php
require_once("mainfile.php");
include ("config.php");
global $dbi;
require_once("Conectarse.php");
if(isset($_POST["consultar"]))
{
$con = mysql_query('SELECT id,cedula,nombre_completo,residente_en,ciudad_reside,telefono_fijo,celular,fecha_actual FROM anulacion_contratos WHERE cedula="'.$_POST["cedula2"].'"');
if (!$con) {
die('Invalid query: ' . mysql_error());
}
if($con)
{
while(list($id, $ced, $nc,$re,$cr,$tf, $cel,$fecha) = mysql_fetch_row($con))
{
printf("<tr>
<td bgcolor='#C5D6FC'><div align='center' class='lista'><input type='button' value=$id name='cedu' class=est_cont1 onClick =window.location.href='ingresar_actuaciones_contrato.php?id=$id'></a></span></div></td>
<td bgcolor='#C5D6FC'><div align='center' class='Estilo8'>".$ced."</span></div></td>
<td bgcolor='#C5D6FC'><div align='' class='Estilo8'>".$nc."</span></div></td> <td bgcolor='#C5D6FC'><div align='' class='Estilo8'>".$tf."</span></div></td> <td bgcolor='#C5D6FC'><div align='' class='Estilo8'>".$cel."</span></div></td> <td bgcolor='#C5D6FC'><div align='' class='Estilo8'>".$cr."</span></div></td>
<td bgcolor='#C5D6FC'><div align='' class='Estilo8'>".$re."</span></div></td> <td bgcolor='#C5D6FC'><div align='' class='Estilo8'>".$fecha."</span></div></td></tr>");
}
}
}
?>
</table>
</form>
</body>
</html>