File: /home/asjudine/public_html/adirectoress/consulta_informacion_firmas.php
<?PHP extract($_POST,EXTR_SKIP); ?>
<?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>
<html><head>
<title>Consulta Informacion</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:#FFFFFF;font-family:Verdana, Geneva, sans-serif;}
header {background-color: #B7271F; text-align: center;}
.cerrarsesion{width: auto;background-color: #DBD8C9;color: #000;font-size: 13px;position:absolute;top: 15px;right:10px;z-index:0;padding: 10px;border-radius: 10px;cursor: pointer;}
.cerrarsesion:hover{background-color: #ffffff;color: #000;}
.titulo{width: 100%;text-align: center;background-color: #dbd8c9;color: #b20606;padding: 6px 0;font-size: 18px;}
.subtitulos{width: 100%;text-align: left;color: #b20606;padding: 2px 0;font-size: 13px;}
table{margin: 0 auto;border: 8px solid #bebebe; text-align: center;
-webkit-box-shadow: 10px 10px 10px -4px rgba(0,0,0,0.75);
-moz-box-shadow: 10px 10px 10px -4px rgba(0,0,0,0.75);
box-shadow: 10px 10px 10px -4px rgba(0,0,0,0.75);}
.irmenu{width: 180px;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{border: #D7D7D7 solid 0.2px; height: 24px;}
.tdizq{background-color: #EEE; color: #C70000;font-size: 14px;font-weight: 200; text-align: left;}
.tdcen{background-color: #EEE; color: #00135F;font-size: 14px;font-weight: 200; text-align: center;}
.tdder{background-color: #EEE; color: #630000;font-size: 14px;font-weight: 200; text-align: right;}
.tdroja{background-color: #EEE; color: #CC0005;font-size: 14px;font-weight: 400; text-align: right;}
.tdi{background-color: #; color: #00135F;font-size: 13px;font-weight: 200; text-align: left;}
.tdc{background-color: #E3DCB0; color: #00135F;font-size: 13px;font-weight: 200; text-align: center;}
.tdd{background-color: #E3DCB0; color: #00135F;font-size: 13px;font-weight: 200; text-align: right;}
.tdvd{background-color: #EEE; color: #188409;font-size: 13px;font-weight: 200; text-align: right;}
.exp{color:#8A0000; font-size:12px;}
.boton1{background-color: #ffffff;color: #000;padding: 5px;border:1px solid #580000;border-radius:2px;}
.boton1:hover{background-color: #6f0000;color: #fff;cursor: pointer;}
.direcciona{width: 180px; background-color: #8F0E11;color: #fff; padding: 5px;border-radius: 3px;}
.direcciona:hover{background-color: #67a0d9; color: #000;}
input[type=text],select{height: 18px; font-size: 12px;}
/*select{border:solid #191919 0.5px; border-radius: 3px; padding: 1px;background-color: #FFFFFF; font-weight:600px; }*/
textarea{border:1px solid #5C5C5C;}
.tdtitulo{background-color: #e3dec0; color: #b20606; padding: 2px; text-align: center; font-size: 12px; font-weight: 900}
.tdfull{background-color: #fff; color: #000; padding: 5px; text-align: center; font-size: 12px; font-family:Verdana, Geneva, sans-serif;}
.tdjustify{background-color: #fff; color: #000; padding: 5px; text-align: justify; font-size: 12px;}
.botonnew{background-color: #C0292E;color: #FFFFFF;padding: 1px;border-radius:5px;}
.botonnew:hover{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 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>
<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">
<header>
<img src="../ELEMENTS/bannerInterasjudinet.png" alt="" width=" 700" height="70">
</header>
<h3 class="titulo">CONSULTA INFORMACION FIRMA ELECTRONICA</h3>
<form name="formulario" method="post" action="" enctype="multipart/form-data" onSubmit="return validar_campos(this)">
<!--
<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>
<td class="fecha" colspan="4">DESCRIPCION INFORMACION</span></span></div></td>
</tr>
<tr>
<td height="30" colspan="4" bgcolor="#FFFFFF"><div align="center">
<script languaje="JavaScript">Mostrar_Fecha()</script>
</div></td>
</tr>
<tr>
<td width="165" class="tdder"><b>Cedula:</b></div></td>
<td width="466" class="tdizq"><input name="cedula" type="text" class="Estilo21" value="<?php echo $cedula ?>" size="30" maxlength="30" readonly=""></td>
</tr>
<tr>
<td class="tdder"><b>Abogado:</b></td>
<td class="tdizq"><input name="funcionario" type="text" class="Estilo21" value="<?php echo $abogado ?>" size="50" maxlength="30" readonly=""></td>
</tr>
<tr>
<td class="tdder"><b>Sucursal:</b></td>
<td class="tdizq"><input name="sucursal" type="text" class="Estilo21" value="<?php echo $sucursal?>" size="20" maxlength="30" readonly=""></td>
</tr>
<tr>
<td class="tdder"><b>Tarjeta Profesional:</b></td>
<td class="tdizq"><input name="tarjeta" type="text" class="Estilo21" value="<?php echo $tarjeta?>" size="10" maxlength="30" readonly=""></td>
</tr>
<tr>
<td class="tdder"><b>Celular:</b></td>
<td class="tdizq"><input name="celular" type="text" class="Estilo21" value="<?php echo $celular?>" size="10" maxlength="30" readonly=""></td>
</tr>
<tr>
<td class="tdder"><b>Correo Electronico:</b></td>
<td class="tdizq"><input name="correo" type="text" class="Estilo21" value="<?php echo $correo?>" size="50" maxlength="30" readonly=""></td>
</tr>
<tr>
<td class="tdder"><b>Firma Electronica:</b></td>
<td class="tdizq"><?php echo "<a href='descargar_archivos_firma.php?codigo=$codigo&cedula=$cedula'>Realizar Descarga</a>"?></span></center></td>
</tr>
<tr >
<td class="tdder" colspan="2" ><div align="center">
<input name="button" type="button" class="irmenu" onClick="javascript:window.close()" value="Cerrar Ventana">
</div></td>
</tr>
</table>
</form>
</body>
</html>