File: /home/asjudine/public_html/ELEMENTOS/solicitud_emplea_publicos.php
<?php
require_once("mainfile.php");
include ("config.php");
global $dbi;
$espacio = ' ';
$linea = '-';
require_once("Conectarse.php");
$control = mysql_query('SELECT cedula, ced_ciudad, nombre, fecha, direccion, ciudad ,telefono ,celular, email,unidad,codigo_plan,numero_cuenta,banco,codigo_asesor,codigo_militar,grado,codigo_sucursal, numero_libranza,fecha_nac,numero_contrato,renovacion_cuotas,permanencia FROM solicitud_credito WHERE cedula = "' . $_GET["ced2"] . '" ');
if (!$control) {
die('Invalid query 1: ' . mysql_error());
}
$num=mysql_num_rows($control);
list($cedula,$ced_ciudad,$apesynom,$fecha,$direc,$ciudad,$tele,$celul,$email,$unidad,$codigo_plan,$numero_cuenta,$ban,$codigo_asesor,$codimili,$grad,$codigo_sucursal, $numero_libranza,$fecha_nac,$numcontra,$renovacion_cuotas,$permanencia) = mysql_fetch_row($control);
$codsucur = mysql_query('SELECT nombre FROM sucursal WHERE codigo = "' .$codigo_sucursal . '" ');
if (!$codsucur) {
die('Invalid query 1: ' . mysql_error());
}
list($codigo_sucursal ) = mysql_fetch_row($codsucur);
$codplan = mysql_query('SELECT codigo_contrato FROM planes_contratos WHERE codigo = "' .$codigo_plan . '" ');
if (!$codplan) {
die('Invalid query 1: ' . mysql_error());
}
list($nombre_plan ) = mysql_fetch_row($codplan);
$codvende = mysql_query('SELECT vendedor FROM vendedores WHERE codigo = "'.$codigo_asesor. '" ');
if (!$codvende) {
die('Invalid query 1: ' . mysql_error());
}
list($codigo_asesor ) = mysql_fetch_row($codvende);
if(isset($_POST["guardar"]))
{
if ($_POST["uni"]== "")
{
$_POST["uni"]=$_POST["unidasit"];
}
else {
$_POST["unidasit"]=$_POST["uni"];
}
////////////////////
if ($_POST["codigo_sucursal"]== "")
{
$_POST["codigo_sucursal"]=$_POST["sucursi"];
$resul4 = mysql_query('SELECT codigo FROM sucursal WHERE nombre = "'.$_POST[sucursi].'" ');
if (!$resul4) {
die('Invalid query ooo: ' . mysql_error());
}
list($codigo_sucursal) = mysql_fetch_row($resul4);
}
else {
$codigo_sucursal=$_POST["codigo_sucursal"];
}
///////////////////////////////**************
if ($_POST["ase"]== "")
{
$_POST["ase"]=$_POST["vendedorcin"];
$resul00 = mysql_query('SELECT codigo FROM vendedores WHERE vendedor = "'.$_POST[ase].'" ');
if (!$resul00) {
die('Invalid query ooo: ' . mysql_error());
}
list($vendedor) = mysql_fetch_row($resul00);
}
else {
$vendedor=$_POST[ase];
}
/////////////////////////****************************
if ($_POST["plan"]== "")
{
$_POST["plan"]=$_POST["plancito"];
$resul001 = mysql_query('SELECT codigo FROM planes_contratos WHERE codigo_contrato = "'.$_POST[plan].'" ');
if (!$resul001) {
die('Invalid query ooo: ' . mysql_error());
}
list($plan) = mysql_fetch_row($resul001);
}
else {
$plan=$_POST[plan];
}
$mssql = mysql_query("UPDATE solicitud_credito set cedula= '" . $_POST[ced] . "', ced_ciudad= '" . $_POST[ciuced] . "', nombre= '" . $_POST[ape] . "', fecha = '" . $_POST[fechas] . "', direccion='" . $_POST[dir] . "', ciudad= '" . $_POST[ciu] . "', telefono= '" . $_POST[tel] . "', celular= '" . $_POST[cel] . "', email= '" . $_POST[email] . "', unidad= '" . $_POST[uni] . "', codigo_plan= '".$plan."', numero_cuenta= '" . $_POST[cue] . "', banco= '" . $_POST[ban] . "',codigo_asesor = '".$vendedor."',grado= '" . $_POST[gra] . "', codigo_militar= '" . $_POST[codigom] . "', codigo_sucursal= '" .$codigo_sucursal. "', numero_libranza= '" . $_POST[num_lib] . "', con_valor_mensual= '" .$vmj. "',fecha_nac= '" . $_POST[fechanac] . "', tipo_solicitud = '1', estado= '0', numero_contrato = '" . $_POST[numcont] . "',renovacion_cuotas='" . $_POST[cuotas] . "' WHERE cedula= '" . $_GET[ced2] . "' and estado ='0' ");
if (!$mssql) {
die('Invalid query udate: ' . mysql_error());
}
echo "<script>alert('SOLICITUD GUARDADA SATISFACTORIAMENTE');</script>";
echo "<script languaje='javascript' type='text/javascript'>window.close();</script>";
}
$sql2 = mysql_query('SELECT * FROM descuentos order by codigo ');
if (!$sql2) {
die('Invalid query m2: ' . mysql_error());
}
$row_sql2 = mysql_fetch_assoc($sql2);
$totalRows_sql2 = mysql_num_rows($sql2);
$sql3 = mysql_query('SELECT * FROM descuentos order by codigo ');
if (!$sql3) {
die('Invalid query 3: ' . mysql_error());
}
$row_sql3 = mysql_fetch_assoc($sql3);
$totalRows_sql3 = mysql_num_rows($sql3);
$sql4 = mysql_query('SELECT * FROM vendedores WHERE (tipo = "AC" || tipo = "AE") and estado = "1" order by vendedor ');
if (!$sql4) {
die('Invalid query: ' . mysql_error());
}
$row_sql4 = mysql_fetch_assoc($sql4);
$totalRows_sql4 = mysql_num_rows($sql4);
$sql5 = mysql_query('SELECT * FROM sucursal order by nombre ');
if (!$sql5) {
die('Invalid query: ' . mysql_error());
}
$row_sql5 = mysql_fetch_assoc($sql5);
$totalRows_sql5 = mysql_num_rows($sql5);
$sql7 = mysql_query('SELECT * FROM planes_contratos WHERE estado = "1" order by codigo ');
if (!$sql7) {
die('Invalid query: ' . mysql_error());
}
$row_sql7 = mysql_fetch_assoc($sql7);
$totalRows_sql7 = mysql_num_rows($sql7);
$sql8 = mysql_query('SELECT * FROM director_ventas order by nombre ');
if (!$sql8) {
die('Invalid query: ' . mysql_error());
}
$row_sql8 = mysql_fetch_assoc($sql8);
$totalRows_sql8 = mysql_num_rows($sql8);
$sql8 = mysql_query('SELECT * FROM sucursal order by nombre ');
if (!$sql8) {
die('Invalid query: ' . mysql_error());
}
$row_sql8 = mysql_fetch_assoc($sql8);
$totalRows_sql8 = mysql_num_rows($sql8);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>INGRESAR SOLICITUD DE CREDITO</title>
<style type="text/css">
<!--
.est_cont5 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: normal;
background-color: #EDFAF4;
margin: 2px;
padding: 2px;
height: auto;
width: auto;
border: thin groove #E9AAF0;
color: #C72350;
}
.color_fondo_sc {
background-color: #DCE0E4;
}
.Estilo1 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
font-style: normal;
font-weight: bold;
background-color: #D6ECFE;
margin: 2px;
padding: 2px;
height: auto;
width: auto;
border: thin groove #E9AAF0;
color: #C72350;
}
.Estilo2 {
font-size: 14px;
font-weight: bold;
}
.est_cont2 {
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
color: #2B39EC;
background-color: #F0F5CF;
height: 18px;
width: auto;
border: thin solid #FABF85;
}
.est_cont6 {
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 11px;
font-style: normal;
font-weight: normal;
color: #006262;
background-color: #EDFED3;
margin: 1px;
padding: 1px;
height: auto;
width: auto;
border: thin solid #D9B6F8;
}
.sol_cre1 {
font-family: "Times New Roman", Times, serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
color: #0B3495;
background-color: #E6FAFF;
margin: 1px;
padding: 1px;
height: 18px;
width: auto;
border: thin outset #56AD95;
}
.col_cre2 {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: bold;
color: #F92F0B;
background-color: #B3D9F0;
height: auto;
width: auto;
border: medium groove #FC9227;
}
.Estilo50 {color: #CC3333;
font-family: "Arial Narrow";
font-weight: bold;
}
.Estilo53 {color: #2492FF;
font-weight: bold;
}
.recaudo {font-family: "Courier New", Courier, monospace;
font-size: 12px;
font-style: normal;
font-weight: bold;
font-variant: normal;
color: #000000;
background-color: #B6CBDC;
margin: 4px;
padding: 8px;
width: auto;
border: medium outset #339966;
}
.campo1 {background-color: #B7FFFF;
border: thin dashed #B6B6B6;
}
.campo1 {font-family: "Courier New", Courier, monospace;
font-size: 16px;
font-style: normal;
font-weight: bold;
background-color: #E1EFFD;
border: thin doble #009999;
}
.campo1 { font-family: "Courier New", Courier, monospace;
font-size: 11px;
color: #5151FF;
background-color: #C4E4FD;
border: thin solid #009999;
height: 18px;
width: auto;
}
.datos1 {font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 16px;
font-style: normal;
text-decoration: blink;
background-color: #CCFFCC;
margin: 5px;
padding: 7px;
height: auto;
width: auto;
border: thin solid #0099FF;
}
.datos1 {font-family: Georgia, "Times New Roman", Times, serif;
font-size: 16px;
background-color: #FDE0C1;
margin: 2px;
padding: 3px;
border: medium doble #DBAED7;
}
.datos1 { font-family: Georgia, "Times New Roman", Times, serif;
font-size: 11px;
font-weight: normal;
background-color: #B8F5E8;
margin: 4px;
padding: 5px;
border: thin outset #009999;
}
.datos2 { font-family: "Courier New", Courier, monospace;
font-size: 10px;
font-style: normal;
font-weight: normal;
color: #0033FF;
background-color: #FFE2C6;
margin: 2px;
padding: 3px;
border: medium doble #EEBFEB;
}
.datos3 { font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-style: normal;
font-weight: normal;
color: #FF3300;
background-color: #A6ECD7;
margin: 4px;
padding: 4px;
border: medium groove #CCCCFF;
}
.go { font-family: "Times New Roman", Times, serif;
font-size: 9px;
font-style: normal;
color: #FF6633;
background-color: #FBDCBD;
padding: 1px;
height: auto;
width: auto;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
.Estilo66 {
font-size: 12px;
font-weight: bold;
}
.label {background-color: #FFFFCC; font-size: 16px; font-family: Arial; color:#0000CC; display: block;}
.Estilo67 {color: #000066}
.Estilo68 {color: #000066; font-weight: bold; }
.Estilo70 {
font-weight: bold;
font-size: 10px;
}
.Estilo71 {font-size: 10px}
.Estilo72 {font-weight: bold}
.Estilo73 {color: #000066; font-weight: bold; font-size: 10px; }
.Estilo74 {font-weight: bold}
.Estilo75 {font-weight: bold}
.Estilo76 {font-weight: bold}
.Estilo77 {font-weight: bold}
.Estilo78 {font-weight: bold}
.Estilo79 {font-weight: bold}
.Estilo80 {font-weight: bold}
.Estilo81 {font-weight: bold}
.Estilo82 {font-weight: bold}
.Estilo83 {font-weight: bold}
.Estilo84 {color: #000000; font-weight: bold;}
.Estilo85 {font-weight: bold}
-->
</style>
<script Language="JavaScript">
function validarEntero(valor){
//intento convertir a entero.
//si era un entero no le afecta, si no lo era lo intenta convertir
valor = parseInt(valor)
//Compruebo si es un valor numérico
if (isNaN(valor)) {
//entonces (no es numero) devuelvo el valor cadena vacia
return ""
}else{
//En caso contrario (Si era un número) devuelvo el valor
return valor
}
}
/*
function valida_envia(){
//valido la fecha solicitud
if (document.form1.fechas.value=='0000-00-00'){
alert("Tiene que escribir la Fecha de Solicitud")
document.form1.fechas.focus()
return (false);
}
if (document.form1.codigo_sucursal.value==""){
alert("Tiene que seleccionar sucursal")
document.form1.codigo_sucursal.focus()
return (false);
}
//valido LOS APELLIDOS
if (document.form1.ape.value==""){
alert("Tiene que escribir sus apellidos")
document.form1.ape.focus()
return (false);
}
//valido la cedula
if (document.form1.ced.value==""){
alert("Tiene que escribir el numero de cedula")
document.form1.ced.focus()
return (false);
}
//valido la fecha grado
if (document.form1.gra.value==""){
alert("Tiene que escribir el Grado")
document.form1.gra.focus()
return (false);
}
if (document.form1.plan.value==""){
alert("Falta seleccionar plan")
document.form1.plan.focus()
return (false);
}
//valido la fecha dia de nacimiento
if (document.form1.fechanac.value==""){
alert("FECHA DE NACIMIENTO")
document.form1.fechanac.focus()
return (false);
}
//valido VENDEDOR
if (document.form1.ase.value==""){
alert("Falta seleccionar vendedor")
document.form1.ase.focus()
return (false);
}
//valido la fecha dia de nacimiento
return (true);
}*/
</script>
</head>
<body >
<center> <img src="ELEMENTOS\CABEZOTE SERVIASJUDINET.jpg" WIDTH=60% > </center>
<form action="" method="post" onsubmit="return valida_envia()" enctype="multipart/form-data" name="form1" class="" id="form1">
<div align="center">
<div class="color_fondo_sc">MODIFICACION EMPLEADO PUBLICO</div>
<table width="700" border="2" cellpadding="1" cellspacing="1" class="est_cont5" >
<caption>
<div align="center"><br />
<span class="Estilo2">DATOS BASICOS - DEUDOR </span><br />
</div>
</caption>
<tr>
<th width="55" bgcolor="#E5E5E5" scope="col"> </th>
<th width="171" bgcolor="#E5E5E5" scope="col"><div align="right" class="Estilo67 Estilo70 Estilo71">
<div align="right">Fecha Afiliacion: </div>
Año-Mes-dia </div></th>
<th width="98" bgcolor="#E5E5E5" scope="col"><div align="left" class="Estilo71">
<input name="fechas" type="text" class="Estilo72" id="fechas" value="<?php echo $fecha ?>" size="10" maxlength="10" />
</div></th>
<th width="167" bgcolor="#E5E5E5" scope="col"><div align="right" class="Estilo73">Sucursal :</div></th>
<th colspan="3" bgcolor="#E5E5E5" scope="col"> <input name="sucursi" type="text" class="Estilo72" id="sucursi" value="<?php echo $codigo_sucursal ?>" size="10" maxlength="10" /> <select name="codigo_sucursal" class="Estilo70">
<option value="">--SELECCIONE SUCURSAL--</option>
<?php
do {
?>
<option value="<?php echo $row_sql8['codigo'];?>"><?php echo $row_sql8['nombre']?></option>
<?php
} while ($row_sql8 = mysql_fetch_assoc($sql8));
$rows = mysql_num_rows($sql8);
if($rows8 > 0) {
mysql_data_seek($sql8, 0);
$row_sql8 = mysql_fetch_assoc($sql8);
}
?>
</select> </th>
</tr>
<tr>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Apellidos y Nombres:</div></td>
<td colspan="3" bgcolor="#E5E5E5"><div align="left" class="Estilo71">
<input name="ape" type="text" class="Estilo74" id="ape" value="<?php echo $apesynom ?>" size="65" maxlength="65" />
</div></td>
<td width="178" bgcolor="#E5E5E5"><div align="right" class="Estilo73">Cogido Militar :</div></td>
<td colspan="2" bgcolor="#E5E5E5"><div align="left">
<input name="codigom" type="text" class="Estilo66" id="codigom" value="<?php echo $codimili?>" size="20" maxlength="20" />
</div></td>
</tr>
<tr>
<td height="21" bgcolor="#E5E5E5"><div align="right" class="Estilo73">Cedula No:</div></td>
<td bgcolor="#E5E5E5" class="Estilo67"><div align="left" class="Estilo70">
<input name="ced" type="text" class="Estilo75" id="ced" value="<?php echo $cedula ?>" size="20" maxlength="20" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">De:</div></td>
<td bgcolor="#E5E5E5"><div align="left" class="Estilo71">
<input name="ciuced" type="text" class="Estilo76" id="ciuced" value="<?php echo $ced_ciudad ?>" size="20" maxlength="20" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Unidad :</div></td>
<td colspan="2" bgcolor="#E5E5E5"><div align="left">
<input name="unidasit" type="text" class="Estilo85" id="unidasit" value="<?php echo $unidad ?>" size="6" maxlength="6" />
<select name="uni" class="Estilo66" id="uni">
<option value="">--UNIDAD--</option>
<option value="CDCA">CDCA</option>
<option value="DACM">DACM</option>
<option value="DABG">DABG</option>
<option value="FOPE">FOPE</option>
<option value="INPE">INPE</option>
<option value="LITI">LITI</option>
<option value="NCSR">NCSR</option>
<option value="NDAS">NDAS</option>
<option value="NDIM">NDIM</option>
<option value="NNAN">NNAN</option>
<option value="NNFA">NNFA</option>
<option value="NNEE">NNEE</option>
<option value="NNPN">NNPN</option>
<option value="NPCV">NPCV</option>
<option value="NPFM">NPFM</option>
<option value="NPMD">NPMD</option>
<option value="PROM">PROM</option>
<option value="PSEN">PSEN</option>
<option value="YYY0">YYY0</option>
</select>
</div></td>
</tr>
<tr>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Ciudad :</div></td>
<td bgcolor="#E5E5E5" class="Estilo67"><div align="left" class="Estilo71">
<input name="ciu" type="text" class="Estilo77" id="ciu" value="<?php echo $ciudad ?>" size="20" maxlength="20" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Direccion :</div></td>
<td colspan="2" bgcolor="#E5E5E5"><div align="left" class="Estilo71">
<input name="dir" type="text" class="Estilo78" id="dir" value="<?php echo $direc?>" size="50" maxlength="50" />
</div></td>
<td width="101" bgcolor="#E5E5E5"><div align="right" class="Estilo68">Grado :</div></td>
<td width="134" bgcolor="#E5E5E5"><div align="left">
<input name="gra" type="text" class="Estilo66" id="gra" value="<?php echo $grad ?>" size="12" maxlength="10" />
</div></td>
</tr>
<tr>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Telefono :</div></td>
<td bgcolor="#E5E5E5" class="Estilo67"><div align="left" class="Estilo71">
<input name="tel" type="text" class="Estilo79" id="tel" value="<?php echo $tele?>" size="20" maxlength="20" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Celular :</div></td>
<td bgcolor="#E5E5E5"><div align="left" class="Estilo71">
<input name="cel" type="text" class="Estilo80" id="cel" value="<?php echo $celul ?>" size="20" maxlength="20" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">E-mail :</div></td>
<td colspan="2" bgcolor="#E5E5E5"><div align="left">
<input name="email" type="text" class="Estilo66" id="email" value="<?php echo $email ?>" size="35" maxlength="35" />
</div></td>
</tr>
<tr>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Plan :</div></td>
<td bgcolor="#E5E5E5" class="Estilo67"><div align="left" class="Estilo71">
<input name="plancito" type="text" class="Estilo85" id="plancito" value="<?php echo $nombre_plan ?>" size="6" maxlength="6" />
<select name="plan" class="Estilo81" id="plan">
<option value="">-PLAN-</option>
<option value="COA01">COA01</option>
<option value="COA02">COA02</option>
<option value="SJ01">SJ01</option>
<option value="SJ02">SJ02</option>
<option value="SJ03">SJ03</option>
<option value="SJ04">SJ04</option>
<option value="SJ05">SJ05</option>
</select>
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Cuenta No :</div></td>
<td bgcolor="#E5E5E5"><div align="left" class="Estilo71">
<input name="cue" type="text" class="Estilo82" id="cue" value="<?php echo $numero_cuenta ?>" size="20" maxlength="20" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Banco :</div></td>
<td colspan="2" bgcolor="#E5E5E5"><div align="left">
<input name="ban" type="text" class="Estilo66" id="ban" value="<?php echo $ban ?>" size="20" maxlength="20" />
</div></td>
</tr>
<tr>
<td height="28" bgcolor="#E5E5E5"><div align="right" class="Estilo73">Numero Contrato :</div></td>
<td bgcolor="#E5E5E5"><span class="Estilo71">
<input name="numcont" type="text" class="Estilo83" id="numcont" value="<?php echo $numcontra?>" size="12" maxlength="10" />
</span></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Fecha Nacimiento :</div></td>
<td bgcolor="#E5E5E5"><div align="left" class="Estilo71"> <span class="Estilo84">dia-mes</span>
<input name="fechanac" type="text" class="Estilo85" id="fechanac" value="<?php echo $fecha_nac ?>" size="6" maxlength="6" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Vendedor :</div></td>
<input name="vendedorsito" type="text" class="Estilo82" id="vendedorsito" value="<?php echo $cue ?>" size="20" maxlength="20" />
<td colspan="2" bgcolor="#E5E5E5">
<input name="vendedorcin" type="text" class="Estilo85" id="vendedorcin" value="<?php echo $codigo_asesor ?>" size="25" maxlength="25" />
<select name="ase" class="Estilo70">
<option value="">--SELECCIONE VENDEDOR--</option>
<?php
do {
?>
<option value="<?php echo $row_sql4['codigo'];?>"><?php echo $row_sql4['vendedor']?></option>
<?php
} while ($row_sql4 = mysql_fetch_assoc($sql4));
$rows = mysql_num_rows($sql4);
if($rows4 > 0) {
mysql_data_seek($sql4, 0);
$row_sql4 = mysql_fetch_assoc($sql4);
}
?>
</select> </td>
</tr>
<tr>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Renovacion Cuotas :</div></td>
<td bgcolor="#E5E5E5" class="Estilo67"><div align="left" class="Estilo71">
<input name="cuotica" type="text" class="Estilo85" id="cuotica" value="<?php echo $renovacion_cuotas ?>" size="6" maxlength="6" />
<select name="cuotas" class="Estilo81" id="cuotas">
<option value="">-CUOTAS-</option>
<option value="12">12</option>
<option value="24">24</option>
</select>
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Numero libranza:</div></td>
<td colspan="1" bgcolor="#E5E5E5"><div align="left">
<input name="num_lib" type="text" class="Estilo66" id="num_lib" value="<?php echo $numero_libranza ?>" size="12" maxlength="12" />
</div></td>
<td bgcolor="#E5E5E5"><div align="right" class="Estilo73">Clausula De Permanencia :</div></td>
<td bgcolor="#E5E5E5" class="Estilo73"><div align="left" class="Estilo70">
<input name="permanen" type="text" class="Estilo85" id="permanen" value="<?php echo $permanencia ?>" size="6" maxlength="6" />
<select name="permanencia" class="Estilo81" id="permanencia">
<option value="">-PERMANENCIA-</option>
<option value="12">12</option>
<option value="24">24</option>
<option value="SIN">SIN</option>
</select>
</div></td>
<td bgcolor="#E5E5E5"> </td>
</tr>
</table>
<p>
<label>
<input name="guardar" type="submit" class="Estilo53" id="guardar" value="GUARDAR" />
</label>
</p>
</div>
</form>
</body>
</html>