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/www/creditos/administracion/listadogeneraldesolicitudes.php
<?
include("head.php");
include("datacon.php"); 
?>

<?

if ($sortby!="")
{
        $sorted = " order by $sortby ";
}
$bareQuery = "select ciudad,fecha,apellidosynombres,cedula,cedulade,empresa,tiemposervicio,grado,ocupacion,codigo,estadocivil,direccionresidencia,ciudadresidencia,barrio,telefono from solicitudcredito_deudor ";
$queryall = $bareQuery.$sorted;
$resultall = MYSQL_QUERY($queryall);
$numberall = mysql_Numrows($resultall);

if ($numberall==0) {

    echo "No hay registros !"; 

}
else if ($numberall>0) {

$x=0;



?>
<style type="text/css">
<!--
.Estilo22 {font-size: 9px; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; }
.Estilo29 {font-size: 9px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #666666; }
.Estilo33 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #0033CC;
}
-->
</style>

<br>
<div align="center"><span class="Estilo33">Listado General de Solicitudes de Cr&eacute;dito<br>
  <br>
  </span>
</div>
<table border=0 cellspacing=1 cellpadding=2>
    <tr align="center" bgcolor="#C9C9C9">
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=ciudad">CIUDAD</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=fecha">FECHA</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=apellidosynombres">APELLIDOS <br>
      Y NOMBRES</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=cedula">CEDULA</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=cedulade">DE</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=empresa">EMPRESA</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=tiemposervicio">TIEMPO<br>
      SERVICIO</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=grado">GRADO</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=ocupacion">OCUPACION</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=codigo">CODIGO</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=estadocivil">ESTADO<br>
      CIVIL</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=direccionresidencia">DIRECCION</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=ciudadresidencia">CIUDAD</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=barrio">BARRIO</a></span></td>
    <td><span class="Estilo22"><a href="<? echo $PHP_SELF; ?>?sortby=telefono">TELEFONO</a></span></td>
    </tr>
<?

        while ($x<$numberall)
        {

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



            // Retreiving data and putting it in local variables for each row
            $ciudad=mysql_result($resultall,$x,"ciudad"); 
            $fecha=mysql_result($resultall,$x,"fecha"); 
            $apellidosynombres=mysql_result($resultall,$x,"apellidosynombres"); 
            $cedula=mysql_result($resultall,$x,"cedula"); 
            $cedulade=mysql_result($resultall,$x,"cedulade"); 
            $empresa=mysql_result($resultall,$x,"empresa"); 
            $tiemposervicio=mysql_result($resultall,$x,"tiemposervicio"); 
            $grado=mysql_result($resultall,$x,"grado"); 
            $ocupacion=mysql_result($resultall,$x,"ocupacion"); 
            $codigo=mysql_result($resultall,$x,"codigo"); 
            $estadocivil=mysql_result($resultall,$x,"estadocivil"); 
            $direccionresidencia=mysql_result($resultall,$x,"direccionresidencia"); 
            $ciudadresidencia=mysql_result($resultall,$x,"ciudadresidencia"); 
            $barrio=mysql_result($resultall,$x,"barrio"); 
            $telefono=mysql_result($resultall,$x,"telefono"); 

?>

         <tr bgcolor="<? echo $bgcolor; ?>" height=30>
            <td> <span class="Estilo29"><? echo $ciudad; ?></span> </td>
            <td> <span class="Estilo29"><? echo $fecha; ?></span> </td>
            <td> <span class="Estilo29"><? echo $apellidosynombres; ?></span> </td>
            <td> <span class="Estilo29"><? echo $cedula; ?></span> </td>
            <td> <span class="Estilo29"><? echo $cedulade; ?></span> </td>
            <td> <span class="Estilo29"><? echo $empresa; ?></span> </td>
            <td> <span class="Estilo29"><? echo $tiemposervicio; ?></span> </td>
            <td> <span class="Estilo29"><? echo $grado; ?></span> </td>
            <td> <span class="Estilo29"><? echo $ocupacion; ?></span> </td>
            <td> <span class="Estilo29"><? echo $codigo; ?></span> </td>
            <td> <span class="Estilo29"><? echo $estadocivil; ?></span> </td>
            <td> <span class="Estilo29"><? echo $direccionresidencia; ?></span> </td>
            <td> <span class="Estilo29"><? echo $ciudadresidencia; ?></span> </td>
            <td> <span class="Estilo29"><? echo $barrio; ?></span> </td>
            <td> <span class="Estilo29"><? echo $telefono; ?></span> </td>
        </tr>


<?

        $x++;
    } // end while 

?>

</table>

<?

} // end if numberall > 0

?>



<?
include("foot.php");
?>