MOON
Server: Apache
System: Linux kvm.asjudinet.com 5.14.0-611.54.6.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Fri May 15 04:23:18 EDT 2026 x86_64
User: asjudine (1001)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/asjudine/www/iuris/pages/call_center/php/CONSULTAR_PROCESO_CEDULA.php
<?php
	include("conexion_inter.php");

    $result = mysql_query("SELECT DISTINCT(numero_proceso), procesos.cedula, cartera_serviasjudinet.nombre,procesos.tipo_proceso FROM procesos LEFT JOIN cartera_serviasjudinet ON cartera_serviasjudinet.cedula = procesos.cedula WHERE procesos.cedula ='".$_POST['cedula']."' AND estado_proceso = 'V' AND actividad_proceso ='A' ");

    if ($result)
    {	
        if ((mysql_num_rows($result)!=0)) 
        {
?>
            <br><br><br>
            <table class="table table-responsive-lg table-hover" style="padding-top: 50px">
                <thead class="text-uppercase bg-dark header-fixed" >
                    <tr class="text-white"><th style="text-align: center;" colspan="5"><h3>PROCESOS</h3>  </th></tr>
                    <tr  class="text-white">
                        <th scope="col"># </th>
                        <th scope="col">Nombre</th>
                        <th scope="col">Tipo Proceso</th>
                        <th scope="col">No. Proceso</th>
                        <th scope="col">ver</th>
                    </tr>
                </thead>
<?php				
            while(list($numero_proceso,$cedula,$nombre, $tipo_proceso) = mysql_fetch_row($result))
            {
                $contador++;
                
				if($nombre == '')
				{
					
                    $CONSULTA1 = "SELECT nombre FROM beneficiarios WHERE cedula ='".$cedula."'";

				  	if ($result1=mysql_query($CONSULTA1))
				    {	
						list($nombre)= mysql_fetch_row($result1);
						$grado = 'BENEFICIARIO';
					}
                    
				}
?>	
                <tr>
                    <td><b><?php echo $contador;?></b></td>
                    <td><b><?php echo $nombre;?></b></td>
                    <td><b><?php echo $tipo_proceso;?></b></td>
                    <td><b><?php echo $numero_proceso;?></b></td>
                    <td><button class="btn btn-outline-primary dassad" data-pro="<?php echo $numero_proceso;?>" ><img src="php/detalles.png" style="height: 30px;width: 30px;"></button></td>
                </tr>			
<?php
            }

		}
    }		
		
			

?>
</table>
<div id="DIV_PROCESOS">
</div>

<script>

	$(".dassad").on("click",function()
	{
		proceso=$(this).attr("data-pro");

		DATOS={'proceso':proceso};
		$.ajax(
		{
			data:DATOS,
			url:"php/TBL_PROCESOS.php",
			type:"POST",
			dataType:"html",
			success: function(RESPUESTA)
			{
				$("#DIV_PROCESOS").html(RESPUESTA);
				
			}
		});
	});

</script>