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/consulta_informacion_firmas.php
<?PHP extract($_POST,EXTR_SKIP);  ?>
<?php

require_once("mainfile.php");
include ("config.php");
global $dbi;
require_once("Conectarse.php");

$control= mysql_query("SELECT codigo_abogado,nombre_completo,cedula,numero_tp,telefono_celular,sucursal,correo FROM asjudinet_abogados WHERE codigo_abogado = '".$_GET[codigo]."' and cedula = '".$_GET[cedula]."' ");	
   
		 if (!$control) {     
				die('Invalid query 0: ' . mysql_error());
			}					          
		
list($codigo,$abogado,$cedula,$tarjeta,$celular,$sucursal,$correo) = mysql_fetch_row($control);

//////////////////////////////////////////

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Consulta Informacion</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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 type="text/JavaScript">
<!--
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function anade() {
/*recep = document.anadir['receptores[]']; 
    for (i = 0; checkbox = recep[i]; i++) { 
         if (checkbox.checked ) { 
            return true; 
            } 
		}*/


}
//-->
</script>

<style type="text/css">
<!--
.Estilo1 {
	font-family: Arial, Helvetica, sans-serif;
	color: #00C;
}
.Estilo2 {
	color: #FF0000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
}


body {
	background-image: url(ELEMENTOS/beig.jpg ); 
}



.Estilo3 {color: #006633}
.Estilo4 {color: #FFFFFF}
.Estilo5 {
	font-size: 12px;
	font-style: italic;
	color: #09F;
	font-weight: bold;
}
.Estilo7 {
	color: #FF0000;
	font-weight: bold;
}
.Estilo8 {color: #FFFFFF; font-weight: bold; }
-->
</style>
<script languaje="JavaScript">
function validar_campos(formulario)
{
  if (formulario.sucursal.value == "")
  {
    alert("Seleccione La Sucursal");
    formulario.sucursal.focus();
    return (false);
  }
  
  
   if (formulario.cedula.value == "")
  {
    alert("Escriba El Numero De Cedula");
    formulario.cedula.focus();
    return (false);
  }
  
   if (formulario.fecha.value == "0000-00-00")
  {
    alert("Escriba La Fecha De Envio");
    formulario.fecha.focus();
    return (false);
  }
  
  
   if (formulario.apellidos.value == "")
  {
    alert("Escriba Los Apellidos");
    formulario.apellidos.focus();
    return (false);
  }
  
  
  
   if (formulario.nombre.value == "")
  {
    alert("Escriba Los Nombres");
    formulario.ano.focus();
    return (false);
  }
  

  if (formulario.nombre_titular.value == "")
  {
    alert("Escriba el nombre del titular");
    formulario.nombre_titular.focus();
    return (false);
  }

  if (formulario.numero_contrato.value == "")
  {
    alert("Escriba el numero de contrato");
    formulario.numero_contrato.focus();
    return (false);
  }

  if (formulario.archivito.value == "")
  {
    alert("Falta adjuntar el archivo");
    formulario.archivito.focus();
    return (false);
  }
  
 

 
  if (confirm("Los datos de la consulta son correctos"))
  {   
    return (true);
  }
  else
  {
   return (false);
   }

  return (true);
}
//-->
</script>

</head>

<body onload="document.formulario.numero.focus()"  topmargin="0">
<form name="formulario" method="post" action="" enctype="multipart/form-data" onSubmit="return validar_campos(this)">
<br>
<center> <img src="ELEMENTOS\CABEZOTE SERVIASJUDINET.jpg" WIDTH=57% height="91" > </center>
<br><br>

<center>

<h1><span style="width:100%"><font color="#2E7068">CONSULTA INFORMACION FIRMA ELECTRONICA</font></span></h1>

</center> 
</center>  
<script>

<!--
var from = 2; 
var to = 12;
var delay = 55;
var glowColor = "#0000ff";
var i = to;
var j = 0;

textPulseDown();

function textPulseUp()
   {
   if (!document.all)
      return
   if (i < to)
      {
      TexteBat.style.filter = "Glow(Color=" + glowColor + ", Strength=" + i + ")";
      i++;
      theTimeout = setTimeout('textPulseUp()',delay);
      return 0;
      }

   if (i = to)
      {
      theTimeout = setTimeout('textPulseDown()',delay);
      return 0;
      }
   }


//-->

</script>


<table width="691" border="8" align="center" cellpadding="2" cellspacing="2">
  <tr bgcolor="#006633">
    <td colspan="4" bgcolor="#2E7068"><div align="center" class="Estilo3"><span class="Estilo4 Estilo2"><span class="Estilo8">DESCRIPCION INFORMACION</span></span></div></td>
  </tr>
  <tr bgcolor="#006633">
    <td height="30" colspan="4" bgcolor="#FFFFFF"><div align="center">
      <script languaje="JavaScript">Mostrar_Fecha()</script>
    </div></td>
    </tr>

       
       
 
 <tr valign="baseline" bgcolor="#F2F2E6">
  <td width="165" align="right" bgcolor="#EFEFEF"><b>Cedula:</b></div></td>
	
    <td width="466" bgcolor="#EFEFEF"><input name="cedula" type="text" class="Estilo21" value="<?php echo $cedula ?>" size="30" maxlength="30" readonly=""></td>

  </tr>
       
    <tr bgcolor="#ECE9D8">
        <td bgcolor="#EFEFEF" align="right"><b>Abogado:</b></div></td>
  
   <td bgcolor="#EFEFEF"><input name="funcionario" type="text" class="Estilo21" value="<?php echo $abogado ?>" size="50" maxlength="30" readonly=""></td>
    </tr> 
    
       <tr>
      <td  align="right" bgcolor="#EFEFEF"><b>Sucursal:</b></td>
    <td bgcolor="#EFEFEF"><input name="sucursal" type="text" class="Estilo21" value="<?php echo $sucursal?>" size="20" maxlength="30" readonly=""></td>
    </tr>
    
      <tr>
      <td  align="right" bgcolor="#EFEFEF"><b>Tarjeta Profesional:</b></td>
    <td bgcolor="#EFEFEF"><input name="tarjeta" type="text" class="Estilo21" value="<?php echo $tarjeta?>" size="10" maxlength="30" readonly=""></td>
    </tr>
    
  
    
    
     <tr>
      <td  align="right" bgcolor="#EFEFEF"><b>Celular:</b></td>
    <td bgcolor="#EFEFEF"><input name="celular" type="text" class="Estilo21" value="<?php echo $celular?>" size="10" maxlength="30" readonly=""></td>
    </tr>
    
     <tr>
      <td  align="right" bgcolor="#EFEFEF"><b>Correo Electronico:</b></td>
    <td bgcolor="#EFEFEF"><input name="correo" type="text" class="Estilo21" value="<?php echo $correo?>" size="50" maxlength="30" readonly=""></td>
    </tr>
    
 <tr>
  <td align="right" bgcolor="#EFEFEF"><b>Firma Electronica:</b>
 </td>
   
  <td colspan="1" bgcolor="#EFEFEF" align="left"><center><span class="label2"><?php  
		echo "<a href='descargar_archivos_firma.php?codigo=$codigo&cedula=$cedula'>Realizar Descarga</a>"?></span></center></td>

  </tr> 

  
  
  <tr bgcolor="#FFFFCC">   
    <td height="30" colspan="2" bgcolor="#EFEFEF"><div align="center">

   <input name="button" type="button" class="Estilo1"  onClick="javascript:window.close()" value="Cerrar Ventana">

    </div></td>


    </tr>

</table>


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