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

<html>
<head>
<title>Consulta Cedula Reliquidacion</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: #FFFFF4;}
	
	.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;}
    .botonnew:hover{width: 90px; background-color: #cbbd6a;color: #000;padding: 1px;}
</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>

<form name="formulario" action="" method="post">
<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">CONSULTA CEDULA CONTROL RELIQUIDACION PENSION</h3>
<table width="550" border="6" cellspacing="0" cellpadding="0" align="center">
  <tr>
  
  <tr>
    <td height="22" colspan="2" class="fecha"><div align="center">
      <script languaje="JavaScript">Mostrar_Fecha()</script>
    </div></td>
  </tr>
  
  <tr>
    <td class="td">C&eacute;dula : </td>
	  <td class="td">
        <input name="cedula2" type="text" id="cedula2" value=""  border="2">
         </td>
 </tr>
 <tr >
   <td class="td" colspan="2">
      <input name="consultar" id="consultar" type="submit" class="boton1" value="Consultar">
    </td>
  </tr>
  <tr >
    <td class="td" colspan="2" >
      <!--<input name="menu2" type="button" class="irmenu" id="menu2" onClick="window.location.href='menu_consultorio_procesos_reliquidacion.php'" value="IR AL MENU">-->
      <a href="javascript:window.history.back();">IR AL MENU</a>
    </div></td>
  </tr>
</table>
</td>
  </tr>
</table>

</form>
</body>
</html>


<?php
require_once("../Conectarse.php");
echo "<form name='form' action='' method='post'>";
global $dbi;

 
if(isset($_POST["consultar"]))
{
	$control = mysql_query('SELECT apellidos,nombres,cedula,celular,email,grado,unidad,carpeta,tipo_proceso,estado FROM control_reliquidacion WHERE cedula =  "'.$_POST["cedula2"].'"');
	if (!$control) {
		die('Invalid query 2: ' . mysql_error());
	} 
		
  	if ((mysql_num_rows($control)!=0)) 
	{	 
   		echo "<TABLE width='900' border='0' align='center' cellpadding='0' cellspacing='1'>
        <TR>
        <TD class='tdtitulo'>CEDULA</TD>
		<TD class='tdtitulo'>NOMBRE</TD>
		<TD class='tdtitulo'>APELLIDOS </TD>	
		<TD class='tdtitulo'>GRADO</TD>
        <TD class='tdtitulo'>UNIDAD </TD>
		<TD class='tdtitulo'>CELULAR</TD>
		<TD class='tdtitulo'>CORREO </TD>
		<TD class='tdtitulo'>NUMERO CARPETA</TD>
		<TD class='tdtitulo'>TIPO PROCESO </TD>
		<TD class='tdtitulo'>ESTADO</TD>";	  
                           							  
                        
  		while(list($apellidos,$nombres,$cedula,$celular,$email,$grado,$unidad,$carpeta,$proceso,$estado) = mysql_fetch_row($control)) 
      	{
			if ($estado =="1")
			{
				$estado='LISTADO ENVIO PODER';
			}    
			
			if ($estado =="20")
			{
				$estado='ELABORACION DERECHO DE PETICION';
			}    
			
			if ($estado =="3")
			{
				$estado='RADICACION DERECHO DE PETICION';
			} 
         
		 	if ($estado =="4")
			{
				$estado='LISTADO RESPUESTA DERECHO DE PETICION';
			} 
		 
		  	if ($estado =="5")
			{
				$estado='ENVIO PODERES CONCILIACION Y DEMANDA';
			} 
			
			if ($estado =="6")
			{
				$estado='INGRESAR PODERES RECIBIDOS DEMANDA';
			} 
			
			if ($estado =="7")
			{
				$estado='ELABORACION AUDIENCIA DE CONCILIACION';
			} 
			
			if ($estado =="8")
			{
				$estado='LISTADO ASIGNACION AUDIENCIA';
			} 
			
			if ($estado =="11")
			{
				$estado='LISTADO DOCUMENTACION INCOMPLETA';
			}
			
			if ($estado =="13")
			{
				$estado='ENTREGA CARPETA VEEDURIA';
			} 	
   

       		if ($estado =="15")
			{
				$estado='DESCARGAR ACTA DE CONCILIACION';
			} 	
			
			if ($estado =="16")
			{
				$estado='ELABORACION DEMANDA';
			} 	
    		
			if ($estado =="17")
			{
				$estado='DESCARGAR DEMANDA POR ABOGADO';
			} 	
			
			if ($estado =="18")
			{
				$estado='RADICACION DEMANDA ';
			} 		
        
			if ($estado =="19")
			{
				$estado='ASIGNACION PROCESO ABOGADO';
			}

								
	/*	$control2 = mysql_query('SELECT tipo_proceso FROM solicitud_credito WHERE cedula = "'.$cedula.'"');
		  if (!$control2) {
				die('Invalid query 1: ' . mysql_error());
			}
		$num=mysql_num_rows($control2); 
		
		list($proceso) = mysql_fetch_row($control2);						
								
					*/
			printf("<tr>
                                 
			<TD class='tdfull'><input type='button' value=$cedula name='cedu' class=botonnew onClick =window.open('formulario_consultorio_control_reliquidacion.php?celular=$celular&cedula=$cedula','','top=30,left=50,toolbar=yes,scrollbars=yes,width=900,height=800,status=yes')></a></td> 
           	<td class='tdfull'>".$nombres."</td>
			<td class='tdfull'>".$apellidos."</td>
			<td class='tdfull'>".$grado."</td>
			<td class='tdfull'>".$unidad."</td>
			<td class='tdfull'>".$celular."</td>
			<td class='tdfull'>".$email."</td>
			<td class='tdfull'>".$carpeta."</td>
			<td class='tdfull'>".$proceso."</td>
			<td class='tdfull'>".$estado."</td>");              								   		
		}
		echo "</table>";		  
  	}
	echo "</form>";
}


?>