File: /home/asjudine/public_html/creditos/searchbycedula.php
<?
include("head.php");
include("datacon.php");
?>
<style type="text/css">
<!--
.Estilo1 {
font-size: 14px;
font-weight: bold;
color: #000000;
}
.Estilo2 {
color: #0000CC;
font-size: 12px;
font-weight: bold;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.Estilo6 {font-size: 12;
font-weight: bold;
}
.Estilo5 {font-size: 10px; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; }
-->
</style>
<?
$querysearch = "select * from seguimiento_solicitudcredito where cedula='$cedula'";
$resultupdate = MYSQL_QUERY($querysearch);
$numbersearch = mysql_Numrows($resultupdate);
if ($numbersearch>0) {
$x=0;
?> <br>
<div align="center"><span class="Estilo2">Consulta de Solicitud de Crédito</span></div>
<table width="650" align="center" cellpadding="1" cellspacing="1">
<form name=formMaker method=post action="insertseguimiento_solicitudcredito.php">
<?
while ($x<$numbersearch)
{
if (($x%2)==0) { $bgcolor="#FFFFFF"; } else { $bgcolor="#C0C0C0"; }
?>
<? $cedula=mysql_result($resultupdate,$x,"cedula"); ?>
<? $presentacionsolicitud=mysql_result($resultupdate,$x,"presentacionsolicitud"); ?>
<? $fecha_presentacionsolicitud=mysql_result($resultupdate,$x,"fecha_presentacionsolicitud"); ?>
<? $enviadoparaestudio=mysql_result($resultupdate,$x,"enviadoparaestudio"); ?>
<? $fecha_enviadoparaestudio =mysql_result($resultupdate,$x,"fecha_enviadoparaestudio"); ?>
<? $resultadoevaluacion=mysql_result($resultupdate,$x,"resultadoevaluacion"); ?>
<? $aprobadofecha=mysql_result($resultupdate,$x,"aprobadofecha"); ?>
<? $aprobado=mysql_result($resultupdate,$x,"aprobado"); ?>
<? $aprobado_cuantia=mysql_result($resultupdate,$x,"aprobado_cuantia"); ?>
<? $aprobado_meses=mysql_result($resultupdate,$x,"aprobado_meses"); ?>
<? $aprobado_valorcuota=mysql_result($resultupdate,$x,"aprobado_valorcuota"); ?>
<? $presentaciondocumentos=mysql_result($resultupdate,$x,"presentaciondocumentos"); ?>
<? $fecha_presentaciondocumentos=mysql_result($resultupdate,$x,"fecha_presentaciondocumentos"); ?>
<? $enviodocumentosestudio=mysql_result($resultupdate,$x,"enviodocumentosestudio"); ?>
<? $fecha_enviodocumentosestudio=mysql_result($resultupdate,$x,"fecha_enviodocumentosestudio"); ?>
<? $recepciondocumentosoficinaprincipal=mysql_result($resultupdate,$x,"recepciondocumentosoficinaprincipal"); ?>
<? $fecha_recepciondocumentosoficinaprincipal=mysql_result($resultupdate,$x,"fecha_recepciondocumentosoficinaprincipal"); ?>
<? $resultadoestudiocredito=mysql_result($resultupdate,$x,"resultadoestudiocredito"); ?>
<? $negado=mysql_result($resultupdate,$x,"negado"); ?>
<? $fecha_negado=mysql_result($resultupdate,$x,"fecha_negado"); ?>
<? $modificado_cuantia=mysql_result($resultupdate,$x,"modificado_cuantia"); ?>
<? $modificado_meses=mysql_result($resultupdate,$x,"modificado_meses"); ?>
<? $modificado_valorcuota=mysql_result($resultupdate,$x,"modificado_valorcuota"); ?>
<? $devuelto=mysql_result($resultupdate,$x,"devuelto"); ?>
<? $devueltofecha=mysql_result($resultupdate,$x,"devueltofecha"); ?>
<? $devueltoobservaciones=mysql_result($resultupdate,$x,"devueltoobservaciones"); ?>
<? $desembolso_fecha=mysql_result($resultupdate,$x,"desembolso_fecha"); ?>
<? $desembolso_banco=mysql_result($resultupdate,$x,"desembolso_banco"); ?>
<? $desembolso_cuenta=mysql_result($resultupdate,$x,"desembolso_cuenta"); ?>
<tr bgcolor="#CCCCCC">
<td align=right valign="middle" class="Estilo5"><img src="trans.gif" width="280" height="5"></td>
<td><img src="trans.gif" width="150" height="5"></td>
<td><img src="trans.gif" width="150" height="5"></td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td align=right valign="middle" bgcolor="#CCCCCC" class="Estilo6"><b>Cédula :</b></td>
<td class="Estilo2">
<span class="Estilo6"><? echo "$cedula"; ?></span>
</td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right valign="middle" class="Estilo6"><b>Presentación Solicitud de Crédito :</b></td>
<td><? if ($presentacionsolicitud == "SI") { ?> <img src="si.gif" width="17" height="17"> <? } else { ?> <img src="no.gif" width="17" height="17"> <? } ?>
</td>
<td class="Estilo2"><b>Fecha : <? echo "$fecha_presentacionsolicitud"; ?></b></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right valign="middle" class="Estilo6"><b>Enviado para Evaluación :</b></td>
<td><? if ($enviadoparaestudio == "SI") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td class="Estilo2"><b>Fecha : <? echo "$fecha_enviadoparaestudio"; ?></b></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td colspan="3" align=center class="Estilo6">Resultado del Estudio Previo </td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td align=right bgcolor="#EEEEEE" class="Estilo6"><b>Solicitud Aprobada :</b></td>
<td bgcolor="#EEEEEE"><? if ($aprobado == "SI") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td bgcolor="#EEEEEE" class="Estilo2"><b>Fecha : <? echo "$aprobadofecha"; ?></b></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Cuantía :</b></td>
<td class="Estilo2">
<? echo "$aprobado_cuantia"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Meses :</b></td>
<td class="Estilo2">
<? echo "$aprobado_meses"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Cuota :</b></td>
<td class="Estilo2">
<? echo "$aprobado_valorcuota"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td colspan="3" align=center><span class="Estilo6">Trámite de Documentos</span></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Presentación de Documentos :</b></td>
<td><strong>
<? if ($presentaciondocumentos == "SI") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?>
</strong></td>
<td class="Estilo2"><b>Fecha : <? echo "$fecha_presentaciondocumentos"; ?></b></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Envío Documentos para Estudio :</b></td>
<td><strong>
<? if ($enviodocumentosestudio == "SI") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?>
</strong></td>
<td class="Estilo2"><b>Fecha : <? echo "$fecha_enviodocumentosestudio"; ?></b></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Recepción Documentos Oficina Principal :</b></td>
<td><strong>
<? if ($recepciondocumentosoficinaprincipal == "SI") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?>
</strong></td>
<td class="Estilo2"><b>Fecha : <? echo "$fecha_recepciondocumentosoficinaprincipal"; ?></b></td>
</tr>
<tr valign=top bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td colspan="3" align=center><span class="Estilo6">Resultado del Estudio de Crédito</span></td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td align=right bgcolor="#EEEEEE" class="Estilo6"><b>Negado :</b></td>
<td bgcolor="#EEEEEE">
<? if ($negado <> "") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td bgcolor="#EEEEEE" class="Estilo2"><b>Fecha : <b><? echo "$fecha_negado"; ?></b></b></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Falta Requisitos :</b></td>
<td><? if ($negado == "Falta Requisitos") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Falta Documentos :</b></td>
<td><? if ($negado == "Falta Documentos") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Capacidad de Pago :</b></td>
<td><? if ($negado == "Capacidad de Pago") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td colspan="3" align=center><span class="Estilo6">Modificación Cuantía Crédito </span></td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td align=right bgcolor="#EEEEEE" class="Estilo6"><b>Modificado :</b></td>
<td bgcolor="#EEEEEE"><? if ($modificado_cuantia <> "") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td bgcolor="#EEEEEE"> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b> Cuantía :</b></td>
<td class="Estilo2">
<? echo "$modificado_cuantia"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Meses :</b></td>
<td class="Estilo2">
<? echo "$modificado_meses"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Valor cuota :</b></td>
<td class="Estilo2">
<? echo "$modificado_valorcuota"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right><span class="Estilo6"><b>Devolución Crédito :</b></span></td>
<td><? if ($devuelto <> "") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td><span class="Estilo2"><b>Fecha : <? echo "$devueltofecha"; ?></b></span></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Para Cambio Codeudor :</b></td>
<td><? if ($devuelto == "Para Cambio Codeudor") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Para Cambio Documentos :</b></td>
<td><? if ($negado == "Para Cambio Documentos") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Falta de Firmas :</b></td>
<td><? if ($devuelto == "Falta de Firmas") { ?>
<img src="si.gif" width="17" height="17"> <? } else { ?>
<img src="no.gif" width="17" height="17"> <? } ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr bgcolor="#CCCCCC" height=30>
<td colspan="3" align=center><span class="Estilo6">Desembolso del Crédito </span></td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Fecha :</b></td>
<td class="Estilo2">
<? echo "$desembolso_fecha"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Banco :</b></td>
<td class="Estilo2">
<? echo "$desembolso_banco"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Cuenta :</b></td>
<td class="Estilo2">
<? echo "$desembolso_cuenta"; ?></td>
<td> </td>
</tr>
<tr bgcolor="#EEEEEE" height=30>
<td align=right> </td>
<td> </td>
<td> </td>
</tr>
<tr valign=top bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"><b>Observaciones :</b></td>
<td colspan="2"><textarea name="devueltoobservaciones" cols="35" rows="3" id="devueltoobservaciones" disabled><? echo $devueltoobservaciones; ?>
</textarea></td>
</tr>
<tr valign=top bgcolor="#EEEEEE" height=30>
<td align=right class="Estilo6"> </td>
<td colspan="2"> </td>
</tr>
<?
$x++;
} // end while
} else {
?> <h4 align="center">No se encontró la Solicitud de Crédito requerida !</h4> <?
} // end if
?>
</form>
</table>
<?
include("foot.php");
?>