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/comercial/listado_firmadocu.php
<!DOCTYPE HTML>

<html>
<head>
<title>Consulta Ingreso Personas Naturales</title>
	<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">

<style type="text/css">
    *{margin: 0;padding: 0;}
    body{background-color:#EAEAEA;font-family:Geneva, Arial, Helvetica, sans-serif;}
    header {background-color: #B7271F; text-align: center;}
    
    .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; text-align: center;}
    .divirmenu{text-align: center;}
    .irmenu{width: 200px;background-color: #1c4fa0;color: #fff; padding: 4px;border-radius: 6px;}
    .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:30%;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>
<script languaje="JavaScript">
function Mostrar_Fecha()
{
         var mydate=new Date()
         var year=mydate.getYear()
         if (year < 1000)
                 year+=1900
                 var day=mydate.getDay()
                 var month=mydate.getMonth()
                 var daym=mydate.getDate()
                 if (daym<10)
                    daym="0"+daym
                    var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado")
                    var montharray=new Array("Enero","Febrero","Marzo","Abril","Mayo","Junio","Julio","Agosto","Septiembre","Octubre","Noviembre","Diciembre")
                    document.write("<b><font face='Arial, Helvetica, sans-serif'>"+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"</font></b>")
}					
</script>
	
<script language="javascript">  
function AbreGral()
{ 
    var menu;   
	menu=window.open("mostrar_ingreso.php","","toolbar=no,scrollbars=no,width=800,height=500,status=yes");  
	menu.focus();  
	var ventana = window.self;  
	ventana.opener = window.self;  
	ventana.close();
}
</script>
</head>
<body onLoad="document.formulario.cedula.focus()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<header>
    <img src="../ELEMENTS/bannerInterasjudinet.png" alt="" width=" 700" height="70">
</header>
<h3 class="titulo">LISTADO FIRMA DE LIBRANZAS</h3>	

	<form action="" method="post" name="formulario">

  <tr>
    <td><table width="655" border="0" cellpadding="1" cellspacing="1">
      <tr>
       
          <tr bgcolor="#ECE9D8">
            <td height="22" colspan="2" bgcolor="#CCFFCC" class="fecha"><script languaje="JavaScript">Mostrar_Fecha()</script></td>
          </tr>
   
          <tr>
            <td class="td" colspan="2"><input name="menu2" type="button" id="menu2" class="irmenu" onClick="window.location.href='menu_solicitud_credito.php'" value="IR AL MENU"></td>
          </tr>
        </table></td>
      </tr>
      </tr>

</form>
</body>
</html>
<?php

echo "<form id='form2' name='form2' method='post' action=''>";

require_once("../Conectarse.php");
	

  // $mssql = mysql_query("select * from solicitud_credito",$dbi);
   
   $resul = mysql_query('SELECT * FROM solicitud_credito ');
			if (!$resul) {
				die('Invalid query: ' . mysql_error());
			}
   if($resul)
   {
         $filas = mysql_num_rows($resul);
         if ($filas > 0)
         {
 
				$result = mysql_query('SELECT cedula, nombre, fecha, monto_solicitado, codigo_sucursal , entidad_laboral, numero_libranza FROM solicitud_credito WHERE  tipo_solicitud_cre = "2"  and  estado_cre = "1" order by cedula ');
			if (!$result) {
				die('Invalid query 12: ' . mysql_error());
			}
                      if ((mysql_num_rows($result)!=0)) 
	                    {	 
 
							
						echo "<table width='800' border='2' align='center' cellpadding='1' cellspacing='1' class='est_cont1'>

                        <tr>
        					<td width='100'><div align='center'><strong>CEDULA</strong></div></td>
        					<td width='200'><div align='center'><strong>NOMBRE</strong></div></td>
        					<td width='100'><div align='center'><strong>MONTO</strong></div></td>
							<td width='100'><div align='center'><strong>No LIBRANZA</strong></div></td>
							<td width='100'><div align='center'><strong>FECHA</strong></div></td>
        					<td width='100'><div align='center'><strong>SUCURSAL</strong></div></td>
      					</tr>";		  
                           							  
                        

                             while(list($ced, $nom, $fec, $mon, $ciu, $nomb, $numlib) = mysql_fetch_row($result)) 
                              {  					   
								  
								  if ($ciu > 0)
								   {
			 $resul = mysql_query('SELECT nombre FROM sucursal WHERE codigo = "' ."$ciu". '" ');
			if (!$resul) {
				die('Invalid query 1111: ' . mysql_error());
			}
			
			list($ciu) = mysql_fetch_row($resul);
			}
			
			
								     	  printf("<TR>
                                   <TD bgcolor='#FFFFFF'><div align='center' class='Estilo5'><input type='button' value=$ced name='cedu' class=Estilo3 onClick =window.open('../credito_firma_docu.php?ced2=$ced&numlib=$numlib','','top=40,left=100,toolbar=yes,scrollbars=yes,width=850,height=555,status=yes')></a></span></div></TD>
                                   <TD bgcolor='#FFFFFF'><div align='center' class='Estilo5'>".$nom."</span></div></TD>
								   <TD bgcolor='#FFFFFF'><div align='center' class='Estilo5'>".$mon."</span></div></TD>
								    <TD bgcolor='#FFFFFF'><div align='center' class='Estilo5'>".$numlib."</span></div></TD>	
								   <TD bgcolor='#FFFFFF'><div align='center' class='Estilo5'>".$fec."</span></div></TD>					   
		                           <TD bgcolor='#FFFFFF'><div align='center' class='Estilo5'>".$ciu."</span></div></TD>	</TR>");             								   
                               }
			                       
								   echo "</table>";		  
                        }
						
					
		       
	      }
     }
    

echo "</form>";

?>