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/listado_procesos.php
<?php


   function Conectarse()
	{
	   if (!($link=@mysql_connect("localhost","asjudine","as2006")))
	   {
		  echo "Error conectando con el servidor.";
		  exit();
	   }
	   $dbname = "asjudinet";
	   if (!@mysql_select_db($dbname,$link))
	   {
		  echo "Error seleccionando la base de datos.";
		  exit();
	   }
	   return $link;
	}
	Conectarse();

echo "<form name='form' action='' method='post'>";
    require_once("mainfile.php");
    include ("config.php");
    global $dbi;
				  
						 $control = mysql_query('SELECT cedula , numero_proceso , fecha , actuacion, codigo_funcionario  FROM actuaciones WHERE codigo_funcionario = "126" and fecha >= "2011-02-20"  and fecha <= "2011-03-03"  order by cedula');
			if (!$control) {
				die('Invalid query: ' . mysql_error());
			}
                      if ((mysql_num_rows($control)!=0)) 
	                    {	 

							  echo "<TABLE width='1000' border='2' align='center' cellpadding='0' cellspacing='1'>
                              
							  <TR>
                              <TD bgcolor='#FFFFCC'><div align='center'><span class='texto'>NUMERO PROCESO</span></div></TD>
                              <TD bgcolor='#FFFFCC'><div align='center'><span class='texto'>CEDULA</span></div></TD>	
							  <TD bgcolor='#FFFFCC'><div align='center'><span class='texto'>FECHA ACTUACION</span></div></TD>
							  <TD bgcolor='#FFFFCC'><div align='center'><span class='texto'>ACTUACION</span></div></TD>
                              <TD bgcolor='#FFFFCC'><div align='center'><span class='texto'>codigo</span></div></TD>	";		 		  
                              
     
              while(list($cedul , $numpro, $fecha, $actuacion,  $codigo ) = mysql_fetch_row($control)) 
                              {  
                                  
								   printf("<tr>

                                   <td bgcolor='#ECE9D8'><div align='center' class='lista'>".$numpro."</a></span></div></td>	
								   <td bgcolor='#ECE9D8'><div align='center' class='lista'>".$cedul."</a></span></div></td>												
                                   	<td bgcolor='#C5D6FC'><div align='center' class='lista'>".$fecha."</span></div></td>
									<td bgcolor='#C5D6FC'><div align='center' class='lista'>".$actuacion."</span></div></td>								
		                           <td bgcolor='#C5D6FC'><div align='center' class='lista'>".$codigo."</span></div></td>");
								   
                               }
			                       echo "</table> <br>";		  
                       
					   }
?>

.<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Generador de Pagos</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<style type="text/css">
<!--
.titulos {font: 16px; color: red; font-family:Arial; font-weight:bold}
.boton {background-color: #FFCCCC; color:#FFFFFF; width:90px; height:25; border: 3px solid #0000CC; font-family:Arial; color:#990000;}
.texto {background-color: #CCFFCC; font-size: 11px; font-family: Arial; color:#0000CC; display: block;}
.texto2 {background-color: #CCCCCC; font-size: 11px; font-family: Arial; color:#0000CC; display: block;}
.fecha {font-size: 12px; font-family: Arial; color:#990000; display: block; }
.campo {background-color:#FFFFAA; width: 100px; border:2px solid #990000;}
.lista {font-family: Arial; font-size: 11px;	color: #990000;}
.Estilo2 {font-family: Arial;	font-size: 16px;	color: #990000;}
.boton2 {font-family: Verdana; font-size: 8 pt; color: #000080; background-color: #C0C0C0; border-style: solid; width:70px; height:22px;}
body {
	background-image: url();
}
.Estilo19 {
	font-family: "Arial Narrow";
	font-weight: bold;
	color: #993333;
	font-size: 14px;
}
.Estilo50 {color: #CC3333;
	font-family: "Arial Narrow";
	font-weight: bold;
}
.botongp {
	font-family: "Courier New", Courier, monospace;
	font-weight: bold;
	background-color: #9DF4C0;
	margin: 2px;
	padding: 2px;
	height: 1cm;
	width: 4cm;
	border: medium outset #0033CC;
}
.botongp {
	background-color: #ADF1CA;
	margin: 2px;
	padding: 2px;
	height: 0.5cm;
	width: 3cm;
	border: medium outset #0033CC;
}
.botongp {
	background-color: #A9FAD3;
	margin: 2px;
	padding: 2px;
	height: 0.7cm;
	width: 3cm;
	border: medium outset #003399;
}
-->
</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>
<?php
   
   require_once("mainfile.php");
   include ("config.php");
   global $dbi;
   
    function Conectarse()
	{
	   if (!($link=@mysql_connect("localhost","asjudine","as2006")))
	   {
		  echo "Error conectando con el servidor.";
		  exit();
	   }
	   $dbname = "asjudinet";
	   if (!@mysql_select_db($dbname,$link))
	   {
		  echo "Error seleccionando la base de datos.";
		  exit();
	   }
	   return $link;
	}
	Conectarse();

$sql4 = mysql_query('SELECT * FROM asjudinet_abogados  WHERE vigentes = "1" order by nombre_completo');
			if (!$sql4) {
				die('Invalid query: ' . mysql_error());
			}
		$row_sql4 = mysql_fetch_assoc($sql4);
		$totalRows_sql4 = mysql_num_rows($sql4);
?>
<body onLoad="document.formulario.cedula.focus()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="formulario" action="" method="post">
<table width="671" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td><fieldset><table width="669" border="0" align="center" cellpadding="2" cellspacing="2">
  <tr bgcolor="#FFFFCC">
    <td class="titulos"><div align="center">GENERACION PAGOS AUDIENCIAS </div></td>
  </tr>
  <tr bgcolor="#ECE9D8">
    <td  align="center"><div align="center"><span class="Estilo19 ">Fecha dd-mm/aaaa:</span><span class="Estilo21"> <span class="Estilo13">
          <input name="dia"  id="dia2" value="<?php echo date("d"); ?>" size="2" maxlength="2" readonly="">
          <input name="mes"  id="mes2" value="<?php echo date("m"); ?>" size="2" maxlength="2" readonly="">
          <input name="ano"  id="ano2" value="<?php echo date("Y"); ?>" size="4" maxlength="4" readonly="">
        </span></span></div></td>
        
  </tr>
  
   </table>

    </fieldset></td></tr>
  <tr bgcolor="#FFCC99">
    <td><div align="center">
      <input name="menu2" type="button" class="Estilo50" id="menu2" onClick="window.location.href='menu_liquidacion_gene.php'" value="IR AL MENU">
	  
	
    </div></td>
  </tr>

</table>
</fieldset></td>
  </tr>
</table>
</form>
</body>
</html>