File: /home/asjudine/www/anulacion_contratos_estado_cero.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">
<table width="920" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><img src="ELEMENTOS/cabezote_servi.jpg" width="925" height="102"></td>
</tr>
</table>
<br>
<center class="Estilo1">
<TD bgcolor="#FFFFCC" class="Estilo10"><div align='center'><span><b>SOLICITUDES ESTADO CERO</b></span></TD>
</center>
</br>
<tr bgcolor="#FFCC99">
<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>
<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");
$con = mysql_query('SELECT id,cedula,nombre_completo,residente_en,ciudad_reside,telefono_fijo,celular,fecha_actual FROM anulacion_contratos WHERE estado="0" order by id asc');
if (!$con) {
die('Invalid query: ' . mysql_error());
}
if($con)
{
while(list($id, $ced, $nc,$re,$cr,$tf, $cel,$fecha) = mysql_fetch_row($con))
{
$tres=substr($fecha, 0, 4);
$dos=substr($fecha, 5, 2);
$uno=substr($fecha, 8, 2);
$fecha = ($uno."-".$dos."-".$tres);
printf("<tr>
<TD bgcolor='#C5D6FC'><div align='center' class='lista'><input type='button' value=$id name='cedu' class=est_cont1 onClick =window.location.href='anulacion_listado_cero.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>