File: /home/asjudine/www/apostventas/ingreso_informacion_documentos.php
<?PHP extract($_POST,EXTR_SKIP); ?>
<?php
global $dbi;
require_once("../Conectarse.php");
$control = mysql_query('SELECT cedula,nombre,numerocontrato,tipocontrato,estado, tipo_proceso, tipo_proceso2, tipo_proceso3 FROM cartera_serviasjudinet WHERE (cedula = "'.$_GET["cedula"].'" || codigo_militar = "'.$_GET["cedula"].'") and (numerocontrato= "'.$_GET["contrato"].'") order by nombre ');
if (!$control) {
die('Invalid query 2: ' . mysql_error());
}
list($cedula,$nombre,$numcon,$tipo,$estado, $tipopro1, $tipopro2, $tipopro3) = mysql_fetch_row($control) ;
if($tipopro1 == "")
{
echo "<script>alert('El tipo de proceso esta vacio, por favor actualizar tipo de proceso 1');</script>";
}
$tipos_proceso = $tipopro1." + ".$tipopro2." + ".$tipopro3;
//AGREGAMOS PARA BENEFICIARIOS - RECEPCION
if($_GET["ben"] == "BENEFICIARIO"){
$controlbeneficiario = mysql_query('SELECT cedula,nombre,numero_contrato_titular,tipo_contrato_titular,estado FROM beneficiarios WHERE cedula = "'.$_GET["cedula"].'" and numero_contrato_titular = "'.$_GET["contrato"].'" order by nombre ');
if (!$controlbeneficiario) {
die('Invalid query 2: ' . mysql_error());
}
list($cedula,$nombre,$numcon,$tipo,$estado) = mysql_fetch_row($controlbeneficiario) ;
}
$Recordset2 = mysql_query('SELECT * FROM sucursal order by nombre');
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);
$Recordset1 = mysql_query('SELECT * FROM Usuarios order by Nombre_Completo');
if (!$Recordset1)
{
die('Invalid query: ' . mysql_error());
}
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
$sql9 = mysql_query('SELECT nombre FROM tipos_proceso ORDER BY nombre ');
if (!$sql9) {
die('Invalid query: ' . mysql_error());
}
$row_sql9 = mysql_fetch_assoc($sql9);
$totalRows_sql9 = mysql_num_rows($sql9);
/*
$Recordset2 = mysql_query('SELECT * FROM sucursal order by nombre');
if (!$Recordset2) {
die('Invalid query: ' . mysql_error());
}
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
$totalRows_Recordset2 = mysql_num_rows($Recordset2);
*/
///////////////////////////ENVIADO ESTADO 0
if ($_POST[guardar])
{
$nombre_titular = strtoupper($nombre_titular);
$convocada = strtoupper($convocada);
$asunto = strtoupper($asunto);
$texto = strtoupper($texto);
$archivo = $_FILES["archivito"]["tmp_name"];
$tamanio = $_FILES["archivito"]["size"];
$tipo = $_FILES["archivito"]["type"];
$nombre = $_FILES["archivito"]["name"];
$fechast = date("y").'-'.date("m").'-'.date("d");
$time =time();
$hora=date("H:i:s",$time);
$hora = Time() + (60 *60 * 1);
$hora=date('H:i:s',$hora);
$succ = mysql_query('SELECT nombre FROM sucursal WHERE codigo = "' .$_POST[sucursal].'" ');
if (!$succ) {
die('Invalid query succ: ' . mysql_error());
}
list($nombresucursal) = mysql_fetch_row($succ);
// if ( $archivo != "none" )
//{
// $fp = fopen($archivo, "rb");
// $contenido = fread($fp, $tamanio);
// $contenido = addslashes($contenido);
// fclose($fp);
$csqle1 = mysql_query("INSERT INTO informacion_documentos (cedula,nombre,sucursal_recibe,sucursal_envia, funcionario_recibe,funcionario_envia,tipo_proceso,fecha,destino,numero_formato,documento_uno,pagina_uno,documento_dos, pagina_dos,documento_tres,pagina_tres,documento_cuatro,pagina_cuatro,documento_cinco,pagina_cinco,observaciones) VALUES ('".$_POST[cedula]."','".$_POST[nombre]."','".$_POST[sucursal]."','".$_POST[sucursal_envia]."','".$_POST[funcionario]."','".$_POST[funcionario_envia]."','".$_POST[tipo_proceso]."','".$_POST[fecha]."','".$_POST[destino]."','".$_POST[formato]."','".$_POST[documento_uno]."','".$_POST[pagina]."','".$_POST[documento_dos]."','".$_POST[pagina_dos]."', '".$_POST[documento_tres]."','".$_POST[pagina_tres]."', '".$_POST[documento_cuatro]."','".$_POST[pagina_cuatro]."', '".$_POST[documento_cinco]."','".$_POST[pagina_cinco]."','".$_POST[observaciones]."')");
if (!$csqle1) {
die('Invalid query actas : ' . mysql_error());
}
echo "<script>alert('Registro guardado correctamente');</script>";
}
// }
?>
<!DOCTYPE HTML>
<html><head>
<title>Ingresar 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:#EAEAEA;font-family:Geneva, Arial, Helvetica, 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;}
table{margin: 0 auto;border: 2px solid #bebebe; text-align: center;}
.divirmenu{text-align: center;}
.irmenu{width: 150px;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: #969696 solid 1px;}
.tdizq{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 13px;font-weight: 600; text-align: left;}
.tdcen{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 13px;font-weight: 600; text-align: center;}
.tdder{background-color: #EEE; padding: 1px 4px;color: #00135F;font-size: 13px;font-weight: 600; text-align: right;}
.exp{color:#8A0000; font-size:12px;}
.boton1{width:150px;background-color: #ffffff;color: #000;padding: 2px;border:2px solid #580000;border-radius:4px;}
.boton1:hover{background-color: #6f0000;color: #fff;cursor: pointer;}
input[type=text]{border-radius: 5px; padding: 3px;background-color: #FFFEF4;}
select{border-radius: 5px; padding: 3px;background-color: #CCD5FD; color:#000; font-weight:300;}
.tdtitulo{background-color: #e3dec0; color: #b20606; padding: 1px; text-align: center; font-size: 11px; font-weight: 700}
.tdfull{background-color: #fff; color: #000000; padding: 2px 3px; text-align: center; font-size: 11px;}
/*.botonnew{background-color: #e3dec0;color: #b20606;padding: 5px; margin-right: 5px;}*/
.btn-proceso{width:70%; text-align:center; background-color: #004080;color: #ffffff; padding: 5px; margin-right: 5px;}
.btn-proceso:hover{background-color: #B7271F; color: #fff;padding: 5px; margin-right: 5px;}
.botonnew{background-color: #e3dec0;color: #2E2E2E;padding: 2px; margin-right: 5px; width:90%;}
.botonnew:hover{background-color: #cbbd6a;color: #000;}
.contenedor
{
width:100%;
clear: both;
display: block;
}
.tdproceso{
width:33%;
height: 80px;
float:left;
background-color: #EEE;
color: #00135F;
font-size: 13px;
font-weight: bold;
text-align:center;
border: solid 1px #6D6D6D;
padding: 5px 0;
}
.rojo{
color:#B1011C;
}
</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 Que Recibe");
formulario.sucursal.focus();
return (false);
}
if (formulario.sucursal_envia.value == "")
{
alert("Seleccione La Sucursal Que Envia");
formulario.sucursal_envia.focus();
return (false);
}
if (formulario.funcionario.value == "")
{
alert("Seleccione El Funcionario Que Recibe");
formulario.funcionario.focus();
return (false);
}
if (formulario.funcionario_envia.value == "")
{
alert("Seleccione El Funcionario Que Envia");
formulario.funcionario_envia.focus();
return (false);
}
if (formulario.seguimiento.value == "")
{
alert("Describa La Actividad");
formulario.seguimiento.focus();
return (false);
}
if (formulario.tipo_actividad.value == "")
{
alert("Seleccione Tipo Actividad");
formulario.tipo_actividad.focus();
return (false);
}
if (formulario.archivito.value == "")
{
alert("Anexe Un 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">INGRESO INFORMACION DOCUMENTOS</h3>
<form name="formulario" method="post" action="" enctype="multipart/form-data" onSubmit="return validar_campos(this)">
<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="800" border="8" align="center" cellpadding="2" cellspacing="2">
<tr>
<td colspan="4" class="fecha">INGRESAR INFORMACION</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>
<td class="tdder" width="107">Cedula:</td>
<td class="tdizq" width="244"><input name="cedula" type="text" class="Estilo21" value="<?php echo $cedula?>" size="30" maxlength="30" readonly=""></td>
<td class="tdder" width="138">Nombre:</td>
<td class="tdizq" width="213"><input name="nombre" type="text" class="Estilo21" value="<?php echo $nombre?>" size="30" maxlength="30" readonly=""></td>
</tr>
<td class="tdder" width="107">Tipos de Proceso que se adelantan:</td>
<td class="tdizq" colspan="3"><input name="tipos_proceso" type="text" class="rojo" value="<?php echo $tipos_proceso; ?>" size="90" maxlength="100" readonly=""></td>
<!--
<tr bgcolor="#ECE9D8">
<td colspan = "2" bgcolor="#EFEFEF" align="right"><b>Sucursal Que Recibe:</b></div></td>
<td colspan = "2" bgcolor="#EFEFEF">
<SELECT NAME="sucursal">
<OPTION value="">--Sucursal--</OPTION>
<?php
do {
?>
<option value="<?php echo $row_Recordset2['codigo']?>"><?php echo $row_Recordset2['nombre']?></option>
<?php
} while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
$rows = mysql_num_rows($Recordset2);
if($rows > 0) {
mysql_data_seek($Recordset2, 0);
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
}
?>
</SELECT></td>
</tr>
-->
<!--
<tr bgcolor="#ECE9D8">
<td colspan = "2" bgcolor="#EFEFEF" align="right"><b>Sucursal Que Envia:</b></div></td>
<td colspan = "2" bgcolor="#EFEFEF">
<SELECT NAME="sucursal_envia">
<OPTION value="">--Sucursal--</OPTION>
<?php
do {
?>
<option value="<?php echo $row_Recordset2['codigo']?>"><?php echo $row_Recordset2['nombre']?></option>
<?php
} while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
$rows = mysql_num_rows($Recordset2);
if($rows > 0) {
mysql_data_seek($Recordset2, 0);
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
}
?>
</SELECT></td>
</tr>
<tr bgcolor="#ECE9D8">
<td colspan = "2" bgcolor="#EFEFEF" align="right"><b>Funcionario Que Recibe Documentos:</b></div></td>
<td colspan = "2" bgcolor="#EFEFEF"><SELECT NAME="funcionario">
<OPTION value="">--Nombre Funcionario--</OPTION>
<?php
do {
?>
<option value="<?php echo $row_Recordset1['codigo']?>"><?php echo $row_Recordset1['Nombre_Completo']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</SELECT>
</td>
</tr> -->
<!--
<tr bgcolor="#ECE9D8">
<td colspan = "2" bgcolor="#EFEFEF" align="right"><b>Funcionario Que Envia:</b></div></td>
<td colspan = "2" bgcolor="#EFEFEF"><SELECT NAME="funcionario_envia">
<OPTION value="">--Nombre Funcionario--</OPTION>
<?php
do {
?>
<option value="<?php echo $row_Recordset1['codigo']?>"><?php echo $row_Recordset1['Nombre_Completo']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</SELECT>
</td>
</tr>
-->
<tr >
<td class="tdcen" colspan="4" align="center" height="50px">| ACTUALIZAR TIPO DE PROCESO SI ES NECESARIO|</td>
</tr>
<tr >
<td class="tdcen" colspan="4" align="center">
<?php echo "<input type='button' name='actualizacion' id='actualizacion' class='btn-proceso' value='ACTUALIZAR TIPO DE PROCESO' onclick='window.location.href=\"modificacion_cartera_tipo_proceso.php?ced2=$cedula&numcon=$numcon \";'>";
?>
</td>
</tr>
<tr>
<td class="fecha" colspan="4" >RELACION DE DOCUMENTOS ENVIADOS :</td>
</tr>
<tr>
<td colspan="4">
<div class="contenedor">
<div class="tdproceso">
<p>TIPO PROCESO 1</p>
<?php
if($tipopro1 == "SUBSIDIO FAMILIAR")
{
$ti = "SUBSIDIO FAMILIAR";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "I.P.C.")
{
$ti = "I.P.C.";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_ipc.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "BONIFICACION JUDICIAL")
{
$ti = "BONIFICACION JUDICIAL";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_bonificacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "BONO PENSIONAL")
{
$ti = "BONO PENSIONAL";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_bono.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "UNIFICADO")
{
$ti = "VEINTE POR CIENTO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_veinte.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
$ti2 = "SUBSIDIO FAMILIAR SOLDADO";
echo "<input type='button' name='tipopro2' id='tipro2' class='botonnew' value='".$ti2."' onclick='window.location.href=\"../ingreso_informacion_documentos_seis_soldado.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti2 \";'>";
}
if($tipopro1 == "RELIQUIDACION PENSION")
{
$ti = "RELIQUIDACION PENSION";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_reliquidacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "CESANTIAS RETROACTIVAS" )
{
$ti = "CESANTIAS RETROACTIVAS";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cesantias.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "SIN PENSION 15-20")
{
$ti = "SIN PENSION 15-20";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_sinpension.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "GENERICO")
{
$ti = "GENERICO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_generico.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "RELIQUIDACION RETIRO")
{
$ti = "RELIQUIDACION RETIRO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_soldados_reliquidacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro1 == "ACCIONES CONSTITUCIONALES")
{
$ti = "ACCIONES CONSTITUCIONALES";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_acciones_constitucionales.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
?>
</div>
<div class="tdproceso">
<p>TIPO PROCESO 2</p>
<?php
if($tipopro2 == "SUBSIDIO FAMILIAR")
{
$ti = "SUBSIDIO FAMILIAR";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "I.P.C.")
{
$ti = "I.P.C.";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_ipc.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "BONIFICACION JUDICIAL")
{
$ti = "BONIFICACION JUDICIAL";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_bonificacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "BONO PENSIONAL")
{
$ti = "BONO PENSIONAL";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_bono.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "UNIFICADO")
{
$ti = "VEINTE POR CIENTO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_veinte.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
$ti2 = "SUBSIDIO FAMILIAR SOLDADO";
echo "<input type='button' name='tipopro2' id='tipro2' class='botonnew' value='".$ti2."' onclick='window.location.href=\"../ingreso_informacion_documentos_seis_soldado.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti2 \";'>";
}
if($tipopro2 == "RELIQUIDACION PENSION")
{
$ti = "RELIQUIDACION PENSION";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_reliquidacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "CESANTIAS RETROACTIVAS" )
{
$ti = "CESANTIAS RETROACTIVAS";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cesantias.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "SIN PENSION 15-20")
{
$ti = "SIN PENSION 15-20";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_sinpension.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "GENERICO")
{
$ti = "GENERICO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_generico.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "RELIQUIDACION RETIRO")
{
$ti = "RELIQUIDACION RETIRO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_soldados_reliquidacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro2 == "ACCIONES CONSTITUCIONALES")
{
$ti = "ACCIONES CONSTITUCIONALES";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_acciones_constitucionales.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
?>
</div>
<div class="tdproceso">
<p>TIPO PROCESO 3</p>
<?php
if($tipopro3 == "SUBSIDIO FAMILIAR")
{
$ti = "SUBSIDIO FAMILIAR";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "I.P.C.")
{
$ti = "I.P.C.";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_ipc.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "BONIFICACION JUDICIAL")
{
$ti = "BONIFICACION JUDICIAL";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_bonificacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "BONO PENSIONAL")
{
$ti = "BONO PENSIONAL";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_bono.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "UNIFICADO")
{
$ti = "VEINTE POR CIENTO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cinco_veinte.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
$ti2 = "SUBSIDIO FAMILIAR SOLDADO";
echo "<input type='button' name='tipopro2' id='tipro2' class='botonnew' value='".$ti2."' onclick='window.location.href=\"../ingreso_informacion_documentos_seis_soldado.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti2 \";'>";
}
if($tipopro3 == "RELIQUIDACION PENSION")
{
$ti = "RELIQUIDACION PENSION";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_reliquidacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "CESANTIAS RETROACTIVAS" )
{
$ti = "CESANTIAS RETROACTIVAS";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_cesantias.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "SIN PENSION 15-20")
{
$ti = "SIN PENSION 15-20";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_sinpension.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "GENERICO")
{
$ti = "GENERICO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_generico.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "RELIQUIDACION RETIRO")
{
$ti = "RELIQUIDACION RETIRO";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_soldados_reliquidacion.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
if($tipopro3 == "ACCIONES CONSTITUCIONALES")
{
$ti = "ACCIONES CONSTITUCIONALES";
echo "<input type='button' name='tipopro1' id='tipro1' class='botonnew' value='".$ti."' onclick='window.location.href=\"../ingreso_informacion_documentos_acciones_constitucionales.php?cedula=$cedula&contrato=$numcon&tipo=$tipo&tipo=$ti \";'>";
}
?>
</div>
</div><!-- .contenedor -->
</td>
</tr>
<tr>
<!--
<td class="tdder">Tipo Proceso:</td>
<td class="tdizq" colspan='3'>
<select name="tipo_proceso" onChange="MM_jumpMenu('parent',this,0)">
<option value="">--Tipo Proceso--</option>
<?php
do {
?>
<option value="../ingreso_informacion_documentos_dos.php?id=<?php echo $row_sql9['nombre'];?>&cedula=<?php echo $_GET["cedula"];?>&contrato=<?php echo $_GET["contrato"];?>&tipo=<?php echo $_GET["tipo"]; ?>"><?php echo $row_sql9['nombre']?></option>
<?php
} while ($row_sql9 = mysql_fetch_assoc($sql9));
$rows9 = mysql_num_rows($sql9);
if($rows > 0) {
mysql_data_seek($sql, 0);
$row_sql9 = mysql_fetch_assoc($sql9);
}
?>
</select>
<input name="fecha" type="text" class="Estilo21" value="<?php echo $_GET["id"];?>" size="30" maxlength="30" >
-->
<!--<td bgcolor="#EFEFEF" align="right"><b>Fecha :</b></div></td>
<td bgcolor="#EFEFEF"><input name="fecha" type="text" class="Estilo21" value="" size="30" maxlength="30" ></td>
-->
</tr>
<!--
<tr valign="baseline" bgcolor="#F2F2E6">
<td bgcolor="#EFEFEF" align="right"><b>Destino:</b></div></td>
<td bgcolor="#EFEFEF"><input name="destino" type="text" class="Estilo21" value="" size="30" maxlength="30" ></td>
<td bgcolor="#EFEFEF" align="right"><b>Numero Del Formato:</b></div></td>
<td bgcolor="#EFEFEF"><input name="formato" type="text" class="Estilo21" value="" size="30" maxlength="30"></td>
</tr>
-->
<!--
<tr valign="baseline" bgcolor="#F2F2E6">
<td colspan="4" bgcolor="#2E7068" align="center" class="Estilo8"><b>CONTENIDO DE DOCUMENTOS:</b></div></td>
</tr>
-->
<!-- <tr>
<td colspan="2" align="right" bgcolor="#EFEFEF"><b>Fotocopia De La Cedula:</b></td>
<td bgcolor="#EFEFEF"> <strong class="Estilo21">SI</strong>
<input type="checkbox" id="sir" name="sir" value="">
<strong class="Estilo21">NO</strong>
<input type="checkbox" id="nor" name="nor" value="">
</p></td>
<td bgcolor="#EFEFEF" align="letf"><b>N° Paginas :</b>
<input name="pagina" type="text" class="Estilo21" value="" size="3" maxlength="3" ></td>
</tr>
-->
<!-- <tr>
<td align="right" bgcolor="#EFEFEF"><b>Documento 2:</b></td>
<td colspan="2" bgcolor="#EFEFEF"><input name="documento_dos" type="text" class="Estilo21" value="" size="60" maxlength="120" ></td>
<td bgcolor="#EFEFEF" align="letf"><b>N° Paginas :</b>
<input name="pagina_dos" type="text" class="Estilo21" value="" size="3" maxlength="3" ></td>
</tr>
<tr>
<td align="right" bgcolor="#EFEFEF"><b>Documento 3:</b></td>
<td colspan="2" bgcolor="#EFEFEF"><input name="documento_tres" type="text" class="Estilo21" value="" size="60" maxlength="120" ></td>
<td bgcolor="#EFEFEF" align="letf"><b>N° Paginas :</b>
<input name="pagina_tres" type="text" class="Estilo21" value="" size="3" maxlength="3" ></td>
</tr>
<tr>
<td align="right" bgcolor="#EFEFEF"><b>Documento 4:</b></td>
<td colspan="2" bgcolor="#EFEFEF"><input name="documento_cuatro" type="text" class="Estilo21" value="" size="60" maxlength="120" ></td>
<td bgcolor="#EFEFEF" align="letf"><b>N° Paginas :</b>
<input name="pagina_cuatro" type="text" class="Estilo21" value="" size="3" maxlength="3" ></td>
</tr>
<tr>
<td align="right" bgcolor="#EFEFEF"><b>Documento 5:</b></td>
<td colspan="2" bgcolor="#EFEFEF"><input name="documento_cinco" type="text" class="Estilo21" value="" size="60" maxlength="120" ></td>
<td bgcolor="#EFEFEF" align="letf"><b>N° Paginas :</b>
<input name="pagina_cinco" type="text" class="Estilo21" value="" size="3" maxlength="3" ></td>
</tr>
<tr>
<td align="right" bgcolor="#EFEFEF"><b>Observaciones:</b></td>
<td colspan="4" bgcolor="#EFEFEF"><textarea name="observaciones" cols="60" rows="4"></textarea>
</tr>
-->
<!-- <tr>
<td align="right" bgcolor="#EFEFEF"><b>Tipo Actividad:</b></td>
<td width="230" bgcolor="#EFEFEF"><select name="tipo_actividad" class="sel3">
<option value="" selected>--ACTIVIDAD--</option>
<option value="PRESENCIAL">PRESENCIAL</option>
<option value="AUSENTE">AUSENTE</option>
<option value="LABORAL">LABORAL</option>
<option value="CONTRAVENCIONAL">CONTRAVENCIONAL</option>
</select> </td>
</tr>
-->
<!--
<tr>
<td align="right" bgcolor="#EFEFEF"><b>Adjuntar Imagen Camara:</b>
</td>
<td colspan="3" bgcolor="#EFEFEF"><input name="archivito" type="file" class="Estilo1" size="40" maxlength="40"></td>
</tr>
-->
<tr bgcolor="#FFFFCC">
<td height="30" colspan="4" bgcolor="#EFEFEF"><div align="center">
<!-- <input name="guardar" type="submit" class="Estilo1" id="guardar1" value="ENVIAR"> -->
<input name="button" type="button" class="irmenu" onClick="javascript:window.close()" value="REGRESAR">
</div></td>
</tr>
</table>
</form>
</body>
</html>