MOON
Server: Apache/2.2.34 (Unix) mod_ssl/2.2.34 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 FrontPage/5.0.2.2635
System: Linux server.asjudinet.com 2.6.32-042stab141.3 #1 SMP Fri Nov 15 22:45:34 MSK 2019 i686
User: asjudine (504)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: /home/asjudine/public_html/creditos/listseguimiento_solicitudcredito.php
<?
include("head.php");
include("datacon.php"); 
?>

<?

$limitPerPage = 30;
$initStartLimit = 0;
if (!isset($startLimit))
{
    $startLimit = $initStartLimit;
}
$querylimit = " limit $startLimit,$limitPerPage ";

$nextStartLimit = $startLimit + $limitPerPage;
$previousStartLimit = $startLimit - $limitPerPage;

if ($sortby!="")
{
        $sorted = " order by $sortby ";
}
//$bareQuery = "select cedula,presentacionsolicitud,enviadoparaestudio,resultadoevaluacion,aprobado_cuantia,aprobado_meses,aprobado_valorcuota,negado,modificado_cuantia,modificado_meses,modificado_valorcuota,devuelto,desembolso_fecha,desembolso_banco,desembolso_cuenta from seguimiento_solicitudcredito ";
$bareQuery = "select * from seguimiento_solicitudcredito ";
$queryall = $bareQuery.$sorted.$querylimit;
$resultall = MYSQL_QUERY($queryall);
$numberall = mysql_Numrows($resultall);

if ($numberall==0) {
?>
	<h4 align="center">No se encontraron registros en la Base de Datos !</h4>
<?
}
else if ($numberall>0) {

$x=0;



?>
<style type="text/css">
<!--
.Estilo8 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 10px; color: #000000; }
.Estilo10 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; color: #000000; }
.Estilo11 {font-size: 11px}
.Estilo12 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; }
.Estilo14 {font-family: Verdana, Arial, Helvetica, sans-serif; font-weight: bold; font-size: 9px; color: #000000; }
.Estilo15 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-weight: bold;
}
-->
</style>

<h4 align="center">Tabla de Seguimiento de Solicitudes de Cr&eacute;dito </h4>
<table width="800" border=0 align="center" cellpadding=2 cellspacing=2 bgcolor="#F8F8F8">
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
      <td colspan="3" align="center" bgcolor="#EEEEEE"><span class="Estilo8">APROBADO</span></td>
      <td>&nbsp;</td>
      <td colspan="3" align="center" bgcolor="#EEEEEE"><span class="Estilo8">MODIFICADO</span></td>
      <td>&nbsp;</td>
      <td colspan="3" align="center" bgcolor="#EEEEEE"><span class="Estilo8">DESEMBOLSO</span></td>
    </tr>
    <tr>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=cedula&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">CEDULA</a></span></td>
    <td align="center"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=presentacionsolicitud&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">PRESENTACION </a></span></td>
    <td align="center"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=enviadoparaestudio&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">ENVIADO</a></span></td>
    <td align="center"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=resultadoestudiocredito&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">RESULTADO </a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=aprobado_cuantia&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">CUANTIA</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=aprobado_meses&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>"> MESES</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=aprobado_valorcuota&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">CUOTA</a></span></td>
    <td><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=negado&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">NEGADO</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=modificado_cuantia&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">CUANTIA</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=modificado_meses&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">MESES</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=modificado_valorcuota&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">CUOTA</a></span></td>
    <td><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=devuelto&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">DEVUELTO</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=desembolso_fecha&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">FECHA</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=desembolso_banco&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">BANCO</a></span></td>
    <td bgcolor="#EEEEEE"><span class="Estilo14"><a href="<? echo $PHP_SELF; ?>?sortby=desembolso_cuenta&startLimit=<? echo $startLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>">CUENTA</a></span></td>

    </tr>
<?

        while ($x<$numberall)
        {

            // Changing Background color for each alternate row
            if (($x%2)==0) { $bgcolor="#FFFFFF"; } else { $bgcolor="#EEEEEE"; }



            // Retreiving data and putting it in local variables for each row
            $cedula=mysql_result($resultall,$x,"cedula"); 
            $presentacionsolicitud=mysql_result($resultall,$x,"presentacionsolicitud"); 
            $enviadoparaestudio=mysql_result($resultall,$x,"enviadoparaestudio"); 
            $resultadoevaluacion=mysql_result($resultall,$x,"resultadoevaluacion"); 
            $aprobado=mysql_result($resultall,$x,"aprobado"); 
            $aprobadofecha=mysql_result($resultall,$x,"aprobadofecha"); 
            $aprobado_cuantia=mysql_result($resultall,$x,"aprobado_cuantia"); 
            $aprobado_meses=mysql_result($resultall,$x,"aprobado_meses"); 
            $aprobado_valorcuota=mysql_result($resultall,$x,"aprobado_valorcuota"); 
            $negado=mysql_result($resultall,$x,"negado"); 
            $modificado_cuantia=mysql_result($resultall,$x,"modificado_cuantia"); 
            $modificado_meses=mysql_result($resultall,$x,"modificado_meses"); 
            $modificado_valorcuota=mysql_result($resultall,$x,"modificado_valorcuota"); 
            $devuelto=mysql_result($resultall,$x,"devuelto"); 
            $devueltofecha=mysql_result($resultall,$x,"devueltofecha"); 
            $desembolso_fecha=mysql_result($resultall,$x,"desembolso_fecha"); 
            $desembolso_banco=mysql_result($resultall,$x,"desembolso_banco"); 
            $desembolso_cuenta=mysql_result($resultall,$x,"desembolso_cuenta"); 

?>

         <tr bgcolor="<? echo $bgcolor; ?>" height=30>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $cedula; ?></span> </td>
            <td align="center"> <span class="Estilo10"><? echo $presentacionsolicitud; ?></span> </td>
            <td align="center"> <span class="Estilo10"><? echo $enviadoparaestudio; ?></span> </td>
            <td align="center"> <span class="Estilo10"><? echo $resultadoestudiocredito; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $aprobado_cuantia; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $aprobado_meses; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $aprobado_valorcuota; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $negado; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $modificado_cuantia; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $modificado_meses; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $modificado_valorcuota; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $devuelto; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $desembolso_fecha; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $desembolso_banco; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"> <span class="Estilo10"><? echo $desembolso_cuenta; ?></span> </td>
            <td bgcolor="<? echo $bgcolor; ?>"><a href="editSeguimiento_solicitudcredito.php?id=<? echo $cedula; ?>" class="Estilo10 Estilo11">Editar</a></td>
            <td bgcolor="<? echo $bgcolor; ?>"><a href="deleteSeguimiento_solicitudcredito.php?id=<? echo $cedula; ?>" class="Estilo12">Borrar</a></td>
        </tr>


<?

        $x++;
    } // end while 

?>

</table>

<br>
<div align="center"><span class="Estilo15"><a href="<? echo $PHP_SELF; ?>?startLimit=<? echo $previousStartLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>&sortby=<? echo $sortby; ?>">Anteriores <? echo $limitPerPage; ?> Resultados</a>
  /
      <a href="<? echo $PHP_SELF; ?>?startLimit=<? echo $nextStartLimit; ?>&limitPerPage=<? echo $limitPerPage; ?>&sortby=<? echo $sortby; ?>">Siguientes <? echo $limitPerPage; ?> Resultados</a>
  <?

} // end if numberall > 0

?>
</span>  
  <?
include("foot.php");
?> 
</div>