File: /home/asjudine/public_html/abogados/consulta_puntuacion_abogados.php
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8; IE=9; IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Consulta Atenciones Rechazadas</title>
<style>
*{margin: 0;padding: 0;}
body{background-image:url(../ELEMENTS/fondo.jpg);font-family:Geneva, Arial, Helvetica, sans-serif;}
header {background-color: #B7271F; text-align: center;}
.cerrarsesion{width: auto;height: 20px;background-color: #DBD8C9;color: #000;font-size: 13px;position:absolute;top: 15px;right:10px;z-index:0;padding: 10px;border-radius: 10px;cursor: pointer;}
.titulo{width: 100%;text-align: center;background-color: #dbd8c9;color: #b20606;padding: 6px 0;font-size: 18px;}
table{margin: 0 auto;border: 8px solid #bebebe;}
.divirmenu{text-align: center;}
.irmenu{width: 200px;background-color: #1c4fa0;color: #fff; padding: 4px;border-radius: 6px;margin-top: 5px;margin-bottom: 5px;}
.irmenu:hover{background-color: #67a0d9; color: #000;}
.fecha{background-color: #d6e08b; padding: 2px;color: #000;font-size: 15px; text-align: center;}
td{padding: 1px; border: 1px solid #a0a0a0;}
.td{background-color: #e5e5e5; padding: 1px 30px;color: #00135F;font-size: 14px;font-weight: 600; text-align: center;}
.boton1{width:200px;background-color: #ffffff;color: #000;padding: 2px;border:2px solid #580000;border-radius:10px;}
.boton1:hover{background-color: #6f0000;color: #fff;cursor: pointer;}
input[type=text]{border-radius: 5px; padding: 3px;background-color: #fffde8;}
.tdtitulo{background-color: #e3dec0; color: #b20606; padding: 2px; text-align: center; font-size: 12px; font-weight: 900}
.tdfull{background-color: #fff; color: #000; padding: 1px; text-align: center; font-size: 12px;}
.botonnew{width: 90px; background-color: #e3dec0;color: #b20606;padding: 1px;border-radius:5px;}
.botonnew:hover{width: 90px; background-color: #cbbd6a;color: #000;padding: 1px;border-radius:5px;}
</style>
</head>
<body>
<header>
<img src="../ELEMENTS/bannerInterasjudinet.png" alt="" width=" 700" height="70">
</header>
<h3 class="titulo">CONSULTAR ATENCIONES RECHAZADAS ABOGADOS</h3>
<script>
var from = 5;
var to = 11;
var delay = 55;
var glowColor = "red";
var glowColor2 = "orange";
var glowColor3 = "yellow";
var glowColor4 = "lime";
var glowColor5 = "blue";
var glowColor6 = "magenta";
//no more editing
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor2 + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp2()',delay);
return 0;
}
}
function textPulseUp2()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor3 + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp2()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown2()',delay);
return 0;
}
}
function textPulseDown2()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor4 + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown2()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp3()',delay);
return 0;
}
}
function textPulseUp3()
{
if (!document.all)
return
if (i < to)
{
theText.style.filter = "Glow(Color=" + glowColor5 + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp3()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown3()',delay);
return 0;
}
}
function textPulseDown3()
{
if (!document.all)
return
if (i > from)
{
theText.style.filter = "Glow(Color=" + glowColor6 + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown3()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
</script>
<script>
var from = 2;
var to = 12;
var delay = 55;
var glowColor = "#0000ff";
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
</script>
<script languaje="JavaScript">
mesarray=new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio","Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");
diaarray=new Array( "Domingo","Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado");
hoy = new Date();
dias = hoy.getDate();
dia = hoy.getDay();
mes = hoy.getMonth();
mes=mesarray[mes];
dia =diaarray[dia];
anno = hoy.getYear();
if (anno <200)
anno = anno+1900;
document.write('<TABLE WIDTH="70" height="70" BORDER="5" BGCOLOR="#FFFFFF"><TR><TD><CENTER>');
document.write('<FONT SIZE="2" COLOR="#000000"> <B>'+mes+'</B></FONT><br>');
document.write('<FONT SIZE="4" COLOR="#000000" FACE="Arial"><B>'+dias+'</B></FONT><br>');
document.write('<FONT SIZE="1" COLOR="#000000">'+dia+'</FONT><br>');
document.write('<FONT SIZE="1" COLOR="#000000">'+anno+'</FONT><br>');
document.write('</CENTER></TR></TD></TABLE>');
</script>
<script>
<!--
var from = 2;
var to = 12;
var delay = 55;
var glowColor = "#0000ff";
var i = to;
var j = 0;
textPulseDown();
function textPulseUp()
{
if (!document.all)
return
if (i < to)
{
TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i++;
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
if (i = to)
{
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
}
function textPulseDown()
{
if (!document.all)
return
if (i > from)
{
TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
i--;
theTimeout = setTimeout('textPulseDown()',delay);
return 0;
}
if (i = from)
{
theTimeout = setTimeout('textPulseUp()',delay);
return 0;
}
}
//--></CENTER>
</script>
<form action="" method="post" name="form1" class="provd" id="form1">
<table width="500" border="2" cellpadding="1" cellspacing="1">
<tr>
<td class="fecha" colspan="2">VALIDACION DATOS</td>
</tr>
<tr>
<td class="td">Cedula Abogado:</td>
<td class="td"><input name="cedula" type="text" id="cedula" value=""></td>
</tr>
<tr>
<td class="td">Fecha Desde: </td>
<td class="td"><input name="fecha1" type="text" id="fecha1" value="0000-00-00" ></td>
</tr>
<tr>
<td class="td">Fecha Hasta:</td>
<td class="td"><input name="fecha2" type="text" id="fecha2" value="0000-00-00"></td>
</tr>
</table>
<br>
<CENTER><font color="black">FORMATO FECHA</font> <font color="red">AAAA-MM-DD</font>
</CENTER></HEAD>
<br>
<CENTER>
<input name="consultar" type="submit" class="boton1"value="CONSULTAR">
<br>
<input name="button" type="button" class="irmenu" onClick="window.location.href='../menu_admin.php'" value="Menú">
</CENTER>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</script>
<BR>
</center>
<body>
<script>
<!--
function mOvr(src,clrOver) {
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}
function mOut(src,clrIn) {
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}
function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}
</script>
</html>
<?php
global $dbi;
$espacio = ' ';
$linea = '-';
require_once("../Conectarse.php");
if(isset($_POST["consultar"]))
{
$fecha1=$_POST["fecha1"];
$fecha2=$_POST["fecha2"];
// SEPARACION DE LA FECHA
$separar = explode('-',$fecha1);
// RESULTADO
$separar[0];
$separar[1];
$separar[2];
$separar2 = explode('-',$fecha2);
// RESULTADO
$separar2[0];
$separar2[1];
$separar2[2];
/////////////////////////////fechas//////////////
//enero//
$fechenero1=$separar[0].'-'.'01'.'-'.'01';
$fechenero2=$separar2[0].'-'.'01'.'-'.'31';
//febrero//
$fechfebrero1=$separar[0].'-'.'02'.'-'.'01';
$fechfebrero2=$separar2[0].'-'.'02'.'-'.'29';
//marzo//
$fechmarzo1=$separar[0].'-'.'03'.'-'.'01';
$fechmarzo2=$separar2[0].'-'.'03'.'-'.'31';
//abril//
$fechabril1=$separar[0].'-'.'04'.'-'.'01';
$fechabril2=$separar2[0].'-'.'04'.'-'.'30';
//mayo//
$fechmayo1=$separar[0].'-'.'05'.'-'.'01';
$fechmayo2=$separar2[0].'-'.'05'.'-'.'31';
//junio//
$fechjunio1=$separar[0].'-'.'06'.'-'.'01';
$fechjunio2=$separar2[0].'-'.'06'.'-'.'30';
//julio//
$fechjulio1=$separar[0].'-'.'07'.'-'.'01';
$fechjulio2=$separar2[0].'-'.'07'.'-'.'31';
//agosto//
$fechagosto1=$separar[0].'-'.'08'.'-'.'01';
$fechagosto2=$separar2[0].'-'.'08'.'-'.'31';
//septiembre//
$fechseptiembre1=$separar[0].'-'.'09'.'-'.'01';
$fechseptiembre2=$separar2[0].'-'.'09'.'-'.'30';
//octubre//
$fechoctubre1=$separar[0].'-'.'10'.'-'.'01';
$fechoctubre2=$separar2[0].'-'.'10'.'-'.'31';
//noviembre//
$fechnoviembre1=$separar[0].'-'.'11'.'-'.'01';
$fechnoviembre2=$separar2[0].'-'.'11'.'-'.'30';
//diciembre//
$fechdiciembre1=$separar[0].'-'.'12'.'-'.'01';
$fechdiciembre2=$separar2[0].'-'.'12'.'-'.'31';
$control = mysql_query('SELECT codigo,cedula FROM Usuarios WHERE Cedula = "'. $_POST["cedula"].'"');
if (!$control) {
die('Invalid query 2: ' . mysql_error());
}
if ((mysql_num_rows($control)!=0))
{
echo "<TABLE width='800' border='8' align='center' cellpadding='2' cellspacing='2' bgcolor='#0000FF'>
<TR>
<TD class='tdtitulo'>MESES REGISTRADOS</span></div></TD></TD>";
echo "</table>";
echo "<TABLE width='600' border='2' align='center' cellpadding='2' cellspacing='1'>
<TR>";
while(list($codigo,$cedula) = mysql_fetch_row($control))
{
/////// PARA VALIDAR MISMO MES////
if ($separar[1]==$separar2[1]){
if ($separar[1]=="1"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>");
}
if ($separar[1]=="2"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>");
}
if ($separar[1]=="3"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>");
}
if ($separar[1]=="4"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>");
}
if ($separar[1]=="5"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>");
}
if ($separar[1]=="6"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>");
}
if ($separar[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar[1]=="8")
{
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
/////// FINALIZA VALIDAR MISMO MES////
/////////// VALIDACION DE 2 MESES ///////////////
if ($separar[1]+1==$separar2[1]){
if ($separar2[1]=="2"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>");
}
if ($separar2[1]=="3"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>");
}
if ($separar2[1]=="4"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>");
}
if ($separar2[1]=="5"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>");
}
if ($separar2[1]=="6"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>");
}
if ($separar2[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 2 MESES////////
//////////////////////////////////////VALIDACION DE 3 MESES///////////////////////////////
if ($separar[1]+2==$separar2[1]){
if ($separar2[1]=="3"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>");
}
if ($separar2[1]=="4"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>");
}
if ($separar2[1]=="5"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>");
}
if ($separar2[1]=="6"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>");
}
if ($separar2[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 3 MESES////////
//////VALIDACION DE 4 MESES //////////
if ($separar[1]+3==$separar2[1]){
if ($separar2[1]=="4"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>");
}
if ($separar2[1]=="5"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>");
}
if ($separar2[1]=="6"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>");
}
if ($separar2[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 4 MESES///////
//////////////////////////////////////VALIDACION DE 5 MESES///////////////////////////////
if ($separar[1]+4==$separar2[1]){
if ($separar2[1]=="5"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>");
}
if ($separar2[1]=="6"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>");
}
if ($separar2[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 5 MESES///////
//////////////////////////////////////VALIDACION DE 6 MESES///////////////////////////////
if ($separar[1]+5==$separar2[1]){
if ($separar2[1]=="6"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>");
}
if ($separar2[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 6 MESES///////
//////////////////////////////////////VALIDACION DE 7 MESES///////////////////////////////
if ($separar[1]+6==$separar2[1]){
if ($separar2[1]=="7"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>");
}
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 7 MESES///////
//////////////////////////////////////VALIDACION DE 8 MESES///////////////////////////////
if ($separar[1]+7==$separar2[1]){
if ($separar2[1]=="8"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>");
}
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 8 MESES///////
//////////////////////////////////////VALIDACION DE 9 MESES///////////////////////////////
if ($separar[1]+8==$separar2[1]){
if ($separar2[1]=="9"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>");
}
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 9 MESES///////
//////////////////////////////////VALIDACION DE 10 MESES///////////////////////////////
if ($separar[1]+9==$separar2[1]){
if ($separar2[1]=="10"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>");
}
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 10 MESES///////
//////////////////////////////////////VALIDACION DE 11 MESES///////////////////////////////
if ($separar[1]+10==$separar2[1]){
if ($separar2[1]=="11"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>");
}
if ($separar2[1]=="12"){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
////////////FINALIZA VALIDACION DE 11 MESES///////
if ($separar[1]+11==$separar2[1]){
printf("<tr>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ENERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechenero1&fecha2=$fechenero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=FEBRERO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechfebrero1&fecha2=$fechfebrero2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MARZO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmarzo1&fecha2=$fechmarzo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=ABRIL name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechabril1&fecha2=$fechabril2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=MAYO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechmayo1&fecha2=$fechmayo2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JUNIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjunio1&fecha2=$fechjunio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=JULIO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechjulio1&fecha2=$fechjulio2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=AGOSTO name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechagosto1&fecha2=$fechagosto2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=SEPTIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechseptiembre1&fecha2=$fechseptiembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=OCTUBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechoctubre1&fecha2=$fechoctubre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=NOVIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechnoviembre1&fecha2=$fechnoviembre2'></a></span></div></TD>
<TD bgcolor='#ECE9D8'><div align='center' class='lista'><input type='button' value=DICIEMBRE name='cedu' class='botonnew' onClick =window.location.href='listado_atenciones_rechazadas_abogados.php?cedula=$cedula&fecha=$fechdiciembre1&fecha2=$fechdiciembre2'></a></span></div></TD>");
}
}
}
else {
echo "<script>alert('Numero De Cedula Incorrecto');</script>";
}
echo "</table>";
echo "</form>";
}
?>