File: /home/asjudine/public_html/modificar_solicitud_credito.php
<?php
require_once("mainfile.php");
include ("config.php");
global $dbi;
$espacio = ' ';
$linea = '-';
if(isset($_POST["consultar"]))
{
$sqlnom = "select cedula, ced_ciudad, nombre, fecha, direccion, ciudad, telefono, celular, email, devengado, descuentos, neto, unidad, monto_solicitado, codigo_plan, tipo_contrato, tiempo_servicio, numero_cuenta, banco, codigo_asesor, codigo_militar, grado, con_valor_mensual, con_valor_total, fecha_nac from solicitud_credito where cedula = '$ced2'";
$control = mysql_query($sqlnom, $dbi) or die(mysql_error());
list($cedula, $ced_ciudad, $apes, $fecha, $direccion, $ciudad, $telefono, $celular, $email, $devengado, $descuentos, $neto, $unidad, $monto_solicitado, $codigo_plan,$tipo_contrato, $tiempo_servicio, $numero_cuenta, $banco, $codigo_asesor, $codm, $grado, $val_menj, $val_ment, $fecna) = mysql_fetch_array($control);
$dianaci=substr($fecna, 3, 2);
$mesnaci=substr($fecna, 0, 2);
$sqlnom2 = "select nombre, nit, direccion, ciudad, telefono, email, convenio from datos_empresa where cedula = '$ced2'";
$control2 = mysql_query($sqlnom2, $dbi) or die(mysql_error());
list($nombreem, $nitem, $direccionem, $ciudadem, $telefonoem, $emailem, $convenio) = mysql_fetch_array($control2);
$sqlnom3 = "select cedula, nombre, direccion, telefono, celular, email from datos_codeudor where cedula_titular = '$ced2'";
$control3 = mysql_query($sqlnom3, $dbi) or die(mysql_error());
list($cedulaco, $apesco, $direccionco, $telefonoco, $celularco, $emailco) = mysql_fetch_array($control3);
$sqlnom4 = "select plan from planes_ventas where codigo = '$codigo_plan'";
$control4 = mysql_query($sqlnom4, $dbi) or die(mysql_error());
list($plan) = mysql_fetch_array($control4);
$sqlnom5 = "select vendedor from vendedores where codigo = '$codigo_asesor'";
$control5 = mysql_query($sqlnom5, $dbi) or die(mysql_error());
list($vendedor) = mysql_fetch_array($control5);
}
if(isset($_POST["guardar"]))
{
$sqlnom6 = "select estado from solicitud_credito where cedula = '$ced'";
$control6 = mysql_query($sqlnom6, $dbi) or die(mysql_error());
list($estado) = mysql_fetch_array($control6);
if(estado='0')
{
$mssql = "update solicitud_credito set ced_ciudad='$ciuced',
nombre='$ape',
direccion='$dir',
ciudad='$ciu',
telefono='$tel',
celular='$cel',
email='$email',
devengado='$dev',
descuentos='$desc',
neto='$net',
monto_solicitado='$mon',
tipo_contrato='$tip',
tiempo_servicio='$tie',
numero_cuenta='$cue',
banco='$ban',
codigo_asesor='$asesor' where cedula = '$ced' ";
mysql_query($mssql, $dbi) or die(mysql_error());
$mssql2 = "update datos_empresa set nombre='$nomemp',
nit='$nite',
direccion='$direccione',
ciudad='$ciudade',
telefono='$telefonoe',
email='$emaile',
numero_cuenta='$ncuene',
banco='$bancoe',
representante='$repe',
registro_mercantil='$regmere',
ciudad_camara='$camcome',
objeto_social='$objsoce' where cedula = '$ced' ";
mysql_query($mssql2, $dbi) or die(mysql_error());
}else{
echo "<script>alert('La Solicitud NO se puede modificar, ya fue Preaprobada');</script>";
}
}
$query_sql = "SELECT * FROM empresas order by nombre";
$sql = mysql_query($query_sql, $dbi) or die(mysql_error());
$row_sql = mysql_fetch_assoc($sql);
$totalRows_sql = mysql_num_rows($sql);
$query_sql2 = "SELECT * FROM descuentos order by codigo";
$sql2 = mysql_query($query_sql2, $dbi) or die(mysql_error());
$row_sql2 = mysql_fetch_assoc($sql2);
$totalRows_sql2 = mysql_num_rows($sql2);
$query_sql3 = "SELECT * FROM descuentos order by codigo";
$sql3 = mysql_query($query_sql3, $dbi) or die(mysql_error());
$row_sql3 = mysql_fetch_assoc($sql3);
$totalRows_sql3 = mysql_num_rows($sql3);
$query_sql4 = "SELECT * FROM vendedores order by vendedor";
$sql4 = mysql_query($query_sql4, $dbi) or die(mysql_error());
$row_sql4 = mysql_fetch_assoc($sql4);
$totalRows_sql4 = mysql_num_rows($sql4);
$query_sql5 = "SELECT * FROM sucursal order by nombre";
$sql5 = mysql_query($query_sql5, $dbi) or die(mysql_error());
$row_sql5 = mysql_fetch_assoc($sql5);
$totalRows_sql5 = mysql_num_rows($sql5);
$query_sql6 = "SELECT * FROM entidades_recaudo order by nombre";
$sql6 = mysql_query($query_sql6, $dbi) or die(mysql_error());
$row_sql6 = mysql_fetch_assoc($sql6);
$totalRows_sql6 = mysql_num_rows($sql6);
$query_sql7 = "SELECT * FROM planes_ventas where (codigo = '7' || codigo = '8') order by codigo";
$sql7 = mysql_query($query_sql7, $dbi) or die(mysql_error());
$row_sql7 = mysql_fetch_assoc($sql7);
$totalRows_sql7 = mysql_num_rows($sql7);
?>
<!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;
}
.Estilo3 {
color: #C72350;
font-weight: bold;
}
.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;
}
.Estilo52 {color: #FF6633;
font-size: 16px;
}
.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;
}
.Estilo54 {
color: #7DD096;
font-weight: bold;
}
.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;
}
.Estilo64 {
font-size: 8px;
font-weight: bold;
color: #000000;
}
.Estilo65 {color: #C72350}
.Estilo66 {
font-size: 12px;
font-weight: bold;
}
.label {background-color: #FFFFCC; font-size: 16px; font-family: Arial; color:#0000CC; display: block;}
.botoncod {
font-family: Arial, Helvetica, sans-serif;
background-color: #F5A570;
height: 26px;
width: 130px;
border: medium double #3333CC;
font-size: 12px;
font-style: normal;
font-weight: bold;
color: #330099;
}
.est_cont51 {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;
}
-->
</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 LOS APELLIDOS
if (document.form1.ape.value.length==0){
alert("Tiene que escribir sus apellidos")
document.form1.ape.focus()
return (false);
}
//valido el nombre
if (document.form1.noms.value.length==0){
alert("Tiene que escribir sus nombres")
document.form1.noms.focus()
return (false);
}
//valido la cedula
if (document.form1.ced.value.length==0){
alert("Tiene que escribir el numero de cedula")
document.form1.ced.focus()
return (false);
}
return (true);
}
</script>
</head>
<body >
<form action="" method="post" name="consult" id="consult">
<div align="center">
<table width="253" border="3" cellpadding="3" cellspacing="3" class="recaudo">
<caption>
</caption>
<tr>
<th colspan="2" scope="col"><label>Digite el Numero de Cedula </label></th>
</tr>
<tr>
<td width="162"><div align="center"><span class="Estilo52">CEDULA : </span></div></td>
<td width="131"><div align="center">
<input name="ced2" type="text" id="ced2" size="20" maxlength="20" />
</div></td>
</tr>
<tr>
<td height="32" colspan="2"><div align="center">
<input name="consultar" type="submit" class="Estilo53" id="consultar" value="Consultar" />
</div></td>
</tr>
</table>
</div>
</form>
<form action="" method="post" onsubmit="return valida_envia()" enctype="multipart/form-data" name="form1" class="color_fondo_sc" id="form1">
<div align="center">
<div class="Estilo1">MODIFICACION SOLICITUD CREDITO-JURIDICA</div>
<table width="760" 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 colspan="2" scope="col"> </th>
<th width="92" scope="col"><div align="right">
<div align="right"><strong>Fecha Solicitud :</strong></div>
</div></th>
<th scope="col">
<div align="left">
<input name="fechas" type="text" class="est_cont2" id="fechas" value="<?php echo $fecha ?>" size="10" maxlength="10" />
</div></th>
<th colspan="3" scope="col"> </th>
</tr>
<tr>
<td width="91"><div align="right"><strong>Apellidos y Nombres:</strong></div></td>
<td colspan="3"><div align="left">
<input name="ape" type="text" class="est_cont2" id="ape" value="<?php echo $apes ?>" size="66" maxlength="65" />
</div></td>
<td><div align="right"><strong>Cogido Militar :</strong></div></td>
<td colspan="2"><div align="left">
<input name="codigom" type="text" class="est_cont2" id="codigom" value="<?php echo $codm ?>" size="20" maxlength="20" />
</div></td>
</tr>
<tr>
<td height="21"><div align="right"><strong>Cedula No:</strong></div></td>
<td width="104"><div align="left">
<input name="ced" type="text" class="est_cont2" id="ced" value="<?php echo $cedula ?>" size="20" maxlength="20" readonly=""/>
</div></td>
<td><div align="right"><strong>De:</strong></div></td>
<td><div align="left">
<input name="ciuced" type="text" class="est_cont2" id="ciuced" value="<?php echo $ced_ciudad ?>" size="20" maxlength="20" />
</div></td>
<td><div align="right"><strong>Unidad :</strong></div></td>
<td colspan="2"><div align="left">
<input name="uni" type="text" class="est_cont2" id="uni" value="<?php echo $unidad ?>" size="35" maxlength="35" />
</div></td>
</tr>
<tr>
<td><div align="right"><strong>Cuidad :</strong></div></td>
<td><div align="left">
<input name="ciu" type="text" class="est_cont2" id="ciu" value="<?php echo $ciudad ?>" size="20" maxlength="20" />
</div></td>
<td><div align="right"><strong>Direccion :</strong></div></td>
<td colspan="2"><div align="left">
<input name="dir" type="text" class="est_cont2" id="dir" value="<?php echo $direccion ?>" size="50" maxlength="50" />
</div></td>
<td width="104"><div align="right"><strong>Grado :</strong></div></td>
<td width="80"><div align="left">
<input name="gra" type="text" class="est_cont2" id="gra" value="<?php echo $grado ?>" size="12" maxlength="10" />
</div></td>
</tr>
<tr>
<td><div align="right"><strong>Telefono :</strong></div></td>
<td><div align="left">
<input name="tel" type="text" class="est_cont2" id="tel" value="<?php echo $telefono ?>" size="20" maxlength="20" />
</div></td>
<td><div align="right"><strong>Celular :</strong></div></td>
<td>
<div align="left">
<input name="cel" type="text" class="est_cont2" id="cel" value="<?php echo $celular ?>" size="20" maxlength="20" />
</div></td>
<td><div align="right"><strong>E-mail :</strong></div></td>
<td colspan="2"><div align="left">
<input name="email" type="text" class="est_cont2" id="email" value="<?php echo $email ?>" size="35" maxlength="35" />
</div></td>
</tr>
<tr>
<td><div align="right"><strong>Total Devengado $:</strong></div></td>
<td><div align="left">
<input name="dev" type="text" class="est_cont2" id="dev" value="<?php echo $devengado ?>" size="12" maxlength="10" />
</div></td>
<td><div align="right"><strong>Descuentos $:</strong></div></td>
<td width="141"><div align="left">
<input name="desc" type="text" class="est_cont2" id="desc" value="<?php echo $descuentos ?>" size="12" maxlength="10" />
</div></td>
<td width="108"><div align="right"><strong>Neto a Recibir $:</strong></div></td>
<td colspan="2"><div align="left">
<input name="net" type="text" class="est_cont2" id="net" value="<?php echo $neto ?>" size="12" maxlength="10" />
</div></td>
</tr>
<tr>
<td><div align="right"><strong>Monto Solicitado $ :</strong></div></td>
<td><div align="left">
<input name="mon" type="text" class="est_cont2" id="mon" value="<?php echo $monto_solicitado ?>" size="12" maxlength="10" readonly=""/>
</div></td>
<td><div align="right"><strong>Cuenta No :</strong></div></td>
<td><div align="left">
<label></label>
<input name="cuenum" type="text" class="est_cont2" id="cuenum" value="<?php echo $numero_cuenta ?>" size="25" maxlength="25" />
</div></td>
<td><div align="right"><strong>Banco :</strong></div></td>
<td colspan="2"><div align="left"><label>
<div align="left">
<input name="ban" type="text" class="est_cont2" id="ban" value="<?php echo $banco ?>" size="20" maxlength="20" />
</div>
<div align="left"></div>
</label></td>
</tr>
<tr>
<td><div align="right"><strong>Plan :</strong></div></td>
<td><div align="left">
<input name="planven" type="text" class="est_cont2" id="planven" value="<?php echo $plan ?>" size="12" maxlength="10" readonly=""/>
</div></td>
<td><div align="right" class="Estilo54">Tipo de contrato :</div></td>
<td><div align="left">
<input name="tipc2" type="text" class="est_cont2" id="tipc2" value="<?php echo $tipo_contrato ?>" size="25" maxlength="25" />
</div></td>
<td><div align="right" class="Estilo54">Tiempo de Servicio :</div></td>
<td colspan="2"><div align="left">
<input name="tie" type="text" class="est_cont2" id="tie" value="<?php echo $tiempo_servicio ?>" size="10" maxlength="10" />
</div></td>
</tr>
<tr>
<td> </td>
<td><div align="left">
<select name="plan2" id="plan2">
<option value="">-PLAN-</option>
<?php
do {
?>
<option value="<?php echo $row_sql7['codigo'];?>"><?php echo $row_sql7['plan']?></option>
<?php
} while ($row_sql7 = mysql_fetch_assoc($sql7));
$rows7 = mysql_num_rows($sql7);
if($rows7 > 0) {
mysql_data_seek($sql7, 0);
$row_sql7 = mysql_fetch_assoc($sql7);
}
?>
</select>
</div></td>
<td> </td>
<td><div align="left">
<select name="tipc" id="tipc">
<option value="0" selected="selected">--TIPO--</option>
<option value="FIJO">FIJO</option>
<option value="INDEFINIDO">INDEFINIDO</option>
<option value="PRESTACION S">PRESTACION S</option>
</select>
</div></td>
<td><div align="right"><strong>Fecha Nacimiento :</strong></div></td>
<td colspan="2"><div align="left"> <span class="Estilo64">MES</span>
<input name="mesfn" type="text" class="est_cont2" id="mesfn" value="<?php echo $mesnaci ?>" size="2" maxlength="2" />
<span class="Estilo64">-DIA</span>
<input name="diafn" type="text" class="est_cont2" id="diafn" value="<?php echo $dianaci ?>" size="2" maxlength="2" />
</div></td>
</tr>
<tr>
<td><div align="right"><strong>Vendedor :</strong></div></td>
<td colspan="2"><div align="left">
<input name="vend" type="text" class="est_cont2" id="vend" value="<?php echo $vendedor ?>" size="38" maxlength="38" />
</div></td>
<td colspan="2"><div align="left">
<select name="ase" id="ase">
<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));
$rows4 = mysql_num_rows($sql4);
if($rows4 > 0) {
mysql_data_seek($sql4, 0);
$row_sql4 = mysql_fetch_assoc($sql4);
}
?>
</select>
</div></td>
<td colspan="2"> </td>
</tr>
</table>
<table width="624" height="62" border="1" class="est_cont51">
<caption>
<span class="Estilo66"><br />
DATOS CODEUDOR </span>
</caption>
<tr>
<th width="107" height="16" scope="col"><div align="right"><strong>Apellidos y Nombres:</strong></div></th>
<th width="334" scope="col"><div align="left">
<input name="apeco" type="text" class="est_cont2" id="apeco" value="<?php echo $apesco ?>" size="66" maxlength="65" />
</div></th>
<th width="49" scope="col"><div align="right"><strong>Cedula:</strong></div></th>
<th width="104" scope="col"><div align="left">
<input name="cedco" type="text" class="est_cont2" id="cedco" value="<?php echo $cedulaco ?>" size="20" maxlength="20" />
</div></th>
</tr>
<tr>
<td height="16"><div align="right"><strong>Dreccion :</strong></div></td>
<td><div align="left">
<input name="dirco" type="text" class="est_cont2" id="dirco" value="<?php echo $direccionco ?>" size="50" maxlength="50" />
</div></td>
<td><div align="right"><strong>Telefono:</strong></div></td>
<td><div align="left">
<input name="telco" type="text" class="est_cont2" id="telco" value="<?php echo $telefonoco ?>" size="20" maxlength="20" />
</div></td>
</tr>
<tr>
<td height="18"><div align="right"><strong>Email:</strong></div></td>
<td><div align="left">
<input name="emaco" type="text" class="est_cont2" id="emaco" value="<?php echo $emailco ?>" size="35" maxlength="35" />
</div></td>
<td><div align="right"><strong>Celular:</strong></div></td>
<td><div align="left">
<input name="celco" type="text" class="est_cont2" id="celco" value="<?php echo $celularco ?>" size="20" maxlength="20" />
</div></td>
</tr>
</table>
<p> </p>
<p class="Estilo3">DATOS BASICOS - ENTIDAD LABORAL</p>
<table width="630" height="90" border="2" cellpadding="1" cellspacing="1" class="est_cont6">
<tr>
<th width="69" height="25" scope="col"><div align="right"><strong>Nombre :</strong></div></th>
<th colspan="3" scope="col"><label> </label>
<div align="left">
<input name="nomemp" type="text" class="sol_cre1" id="nomemp" value="<?php echo $nombreem ?>" size="60" maxlength="55" />
</div></th>
<th width="88" scope="col"><div align="right"><strong>Nit :</strong></div></th>
<th width="140" scope="col">
<div align="left">
<input name="nite" type="text" class="sol_cre1" id="nite" value="<?php echo $nitem ?>" size="25" maxlength="22" />
</div></th>
</tr>
<tr>
<td height="28"><div align="right"><strong>Direccion :</strong></div></td>
<td colspan="3"><div align="left">
<input name="direccione" type="text" class="sol_cre1" id="direccione" value="<?php echo $direccionem ?>" size="60" maxlength="55" />
</div></td>
<td><div align="right"><strong>Ciudad :</strong></div></td>
<td><div align="left">
<input name="ciudade" type="text" class="sol_cre1" id="ciudade" value="<?php echo $ciudadem ?>" size="25" maxlength="22" />
</div></td>
</tr>
<tr>
<td height="26"><div align="right"><strong>Telefono :</strong></div></td>
<td width="70"><div align="left">
<input name="telefonoe" type="text" class="sol_cre1" id="telefonoe" value="<?php echo $telefonoem ?>" size="12" maxlength="12" />
</div></td>
<td width="75"><div align="right"><strong>E-mail:</strong></div></td>
<td width="153"><div align="left">
<input name="emaile" type="text" class="sol_cre1" id="emaile" value="<?php echo $emailem ?>" size="29" maxlength="29" />
</div></td>
<td><div align="right"><strong>Convenio No:</strong></div></td>
<td><input name="conv" type="text" class="sol_cre1" id="conv" value="<?php echo $convenio ?>" size="25" maxlength="22" /></td>
</tr>
</table>
<p> </p>
<p>
<label>
<input name="guardar" type="submit" class="col_cre2" id="guardar" value="Guardar" />
</label>
</p>
<p>
<input name="menu2" type="button" class="Estilo50" id="menu2" onclick="window.location.href='menu_solicitud_credito.php'" value="IR AL MENU" />
</p>
</div>
</form>
</body>
</html>