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/public_html/modificacion_solicitud_viaticos.php
<?php 
    require_once("mainfile.php");
    include ("config.php");
    global $dbi;

require_once("Conectarse.php");

	if(isset($_POST["guardar"]))
	{

	 // $fecha=$fano."-".$fmes."-".$fdia;
	  	$fecha = $_POST[fano]."-".$_POST[fmes]."-".$_POST[fdia];
	  //$fecha_diligencia=$fdano."-".$fdmes."-".$fddia;
	  $fecha_diligencia = $_POST[fdano]."-".$_POST[fdmes]."-".$_POST[fddia];
		if($codf=='SELECCIONE FUNCIONARIO')
		{
			//$mssql7 = "select Cedula from Usuarios where Nombre_Completo= '$func'"; 
			//$control7 = mysql_query($mssql7, $dbi) or die(mysql_error());	
			 $control7 = mysql_query('SELECT Cedula FROM Usuarios WHERE  Nombre_Completo = "' . $_POST[func] .'"');
			if (!$control7) {
				die('Invalid query 8: ' . mysql_error());
			}  
			list($cedf) = mysql_fetch_row($control7);
			$codf=$cedf;
		}
		if($cods=='0')
		{
			
			//$mssql6 = "select codigo from sucursal where nombre = '$suc'"; 
			//$control6 = mysql_query($mssql6, $dbi) or die(mysql_error());
			$control6 = mysql_query('SELECT codigo FROM sucursal WHERE  nombre = "' . $_POST[suc] .'"');
			if (!$control6) {
				die('Invalid query 8: ' . mysql_error());
			}	 
			list($codsu) = mysql_fetch_row($control6);
			$cods=$codsu;
		}

	/*  $mssql = "update viaticos set fecha = '$fecha',cod_funcionario= '$codf', cod_sucursal = '$cods' , municipio = '$mun', diligencia = '$dil', fecha_diligencia='$fecha_diligencia', hora_diligencia='$hord', municipio_origen='$mo', municipio_destino='$md', tiempo_viaje='$tv', valor_transporte='$vt', taxi='$tx', total_transporte='$ttt', alimentacion='$ali', hotel='$hot', otros_gastos='$og', total_gastos='$tg',observaciones='$obv',observaciones_ca='$obsca', observaciones_gg='$obsgg',observaciones_ga='$obsga', ga_transporte='$gatt',ga_taxi='$gatx', ga_alimentacion='$gaal', ga_hotel='$gaho', ga_otros='$gaog', ga_total='$gatot' where solicitud_no = '$sol' ";
					  
      mysql_query($mssql, $dbi) or die(mysql_error());*/
	  
	   $mssql = mysql_query("UPDATE  viaticos  set fecha = '$fecha', cod_funcionario = '" . $_POST[codf] . "', cod_sucursal = '" . $_POST[cods] . "', municipio = '" . $_POST[mun] . "', diligencia  = '" . $_POST[dil] . "', fecha_diligencia = '$fecha_diligencia', hora_diligencia = '" . $_POST[hord] . "', municipio_origen = '" . $_POST[mo] . "', municipio_destino = '" . $_POST[md] . "', tiempo_viaje = '" . $_POST[tv] . "', valor_transporte = '" . $_POST[vt] . "', taxi = '" . $_POST[tx] . "', total_transporte = '" . $_POST[ttt] . "', alimentacion = '" . $_POST[ali] . "', hotel = '" . $_POST[hot] . "', otros_gastos = '" . $_POST[og] . "', total_gastos  = '" . $_POST[tg] . "', observaciones = '" . $_POST[obv] . "', observaciones_ca = '" . $_POST[obsca] . "', observaciones_gg = '" . $_POST[obsgg] . "', observaciones_ga = '" . $_POST[obsga] . "', ga_transporte = '" . $_POST[gatt] . "', ga_taxi = '" . $_POST[gatx] . "', ga_alimentacion = '" . $_POST[gaal] . "', ga_hotel = '" . $_POST[gaho] . "', ga_otros = '" . $_POST[gaog] . "', ga_total = '" . $_POST[gatot] . "'  WHERE solicitud_no = '" . $_POST[sol] . "' ");
	   if (!$mssql) {
				die('Invalid query 878 update : ' . mysql_error());
			}
	  
			echo "<script>alert('Solicitud revisada correctamente');</script>";	
	}
		
		//$mssql3 = "select solicitud_no, fecha, cod_funcionario, cod_sucursal, municipio, cedula_afiliado, proceso_no, diligencia, fecha_diligencia, hora_diligencia, tipo_orden, estado, municipio_origen, municipio_destino, tiempo_viaje, valor_transporte, taxi, total_transporte, alimentacion, hotel, otros_gastos, total_gastos, observaciones, observaciones_ca, observaciones_gg, observaciones_ga, ga_transporte, ga_taxi, ga_alimentacion, ga_hotel, ga_otros, ga_total from viaticos where solicitud_no = '$solicitud'"; 
		//$control3 = mysql_query($mssql3, $dbi) or die(mysql_error());	
		$control3 = mysql_query('SELECT solicitud_no, fecha, cod_funcionario, cod_sucursal, municipio, cedula_afiliado, proceso_no, diligencia, fecha_diligencia, hora_diligencia, tipo_orden, estado, municipio_origen, municipio_destino, tiempo_viaje, valor_transporte, taxi, total_transporte, alimentacion, hotel, otros_gastos, total_gastos, observaciones, observaciones_ca, observaciones_gg, observaciones_ga, ga_transporte, ga_taxi, ga_alimentacion, ga_hotel, ga_otros, ga_total FROM viaticos WHERE solicitud_no = "' . $HTTP_GET_VARS["solicitud"]  . '" '); 	
						if (!$control3) {
								die('Invalid query 4: ' . mysql_error());
							}	 
		$num3=mysql_num_rows($control3); 
		list($solicitud_no, $fecha, $cod_funcionario, $cod_sucursal, $municipio, $cedula, $proceso, $diligencia, $fecha_diligencia, $horadil, $tipo_orden, $estado, $municipio_origen, $municipio_destino, $tiempo_viaje, $valor_transporte, $taxi, $total_transporte, $alimentacion, $hotel, $otros_gastos, $total_gastos, $observaciones, $observaciones_ca, $observaciones_gg, $observaciones_ga, $ga_transporte, $ga_taxi, $ga_alimentacion, $ga_hotel, $ga_otros, $ga_total) = mysql_fetch_row($control3);
		
		//dividir fecha 
	     $dia=substr($fecha, 8, 2);
         $mes=substr($fecha, 5, 2);
         $ano=substr($fecha, 0, 4);
		 
		 //dividir fecha diligencia
	     $fddia=substr($fecha_diligencia, 8, 2);
         $fdmes=substr($fecha_diligencia, 5, 2);
         $fdano=substr($fecha_diligencia, 0, 4);
	
		//$mssql = "select cedula, apellidos_noms from datos_basicos_rc where cedula = '$cedula'"; 
		//$control = mysql_query($mssql, $dbi) or die(mysql_error());	
		
	// comentariado por david poveda	$control = mysql_query('SELECT cedula, apellidos_noms FROM datos_basicos_rc WHERE cedula = "' ."$cedula".'" '); 	
					//	if (!$control) {
				//				die('Invalid query 545: ' . mysql_error());
						//	}
		//$num=mysql_num_rows($control); 
		//list($cedula, $apellidos_noms) = mysql_fetch_row($control);

//$mssql2 = "select contrato, tipo_contrato from info_asjudinet where cedula = '$cedula'"; 
	//	$control2 = mysql_query($mssql2, $dbi) or die(mysql_error());
		$control2 = mysql_query('SELECT contrato, tipo_contrato FROM info_asjudinet WHERE cedula = "' ."$cedula". '" '); 	
						if (!$control2) {
								die('Invalid query 5: ' . mysql_error());
							}	 
		list($contrato, $tipo_contrato) = mysql_fetch_row($control2);
		
		//$mssql3 = "select nombre from sucursal where codigo = '$cod_sucursal'"; 
		//$control3 = mysql_query($mssql3, $dbi) or die(mysql_error());
		$control3 = mysql_query('SELECT nombre FROM sucursal WHERE codigo = "' ."$cod_sucursal". '" '); 	
						if (!$control3) {
								die('Invalid query 5: ' . mysql_error());
							}	 
		list($sucursal) = mysql_fetch_row($control3);
	
		//$mssql4 = "select Nombre_Completo from Usuarios where Cedula = '$cod_funcionario'"; 
		//$control4 = mysql_query($mssql4, $dbi) or die(mysql_error());
		$control4 = mysql_query('SELECT Nombre_Completo FROM Usuarios WHERE Cedula = "' ."$cod_funcionario". '" '); 	
						if (!$control4) {
								die('Invalid query 5: ' . mysql_error());
							}	  
		list($funcionario) = mysql_fetch_row($control4);
		
		//$mssql5 = "select actuacion from actuaciones where cedula = '$cedula' and numero_proceso = '$proceso' order by fecha";
       // $control5 = mysql_query($mssql5, $dbi) or die(mysql_error());	
		$control5 = mysql_query('SELECT actuacion FROM actuaciones WHERE cedula = "' ."$cedula". '" and numero_proceso = "' ."$proceso". '" order by fecha '); 	
						if (!$control5) {
								die('Invalid query 5: ' . mysql_error());
							}
		while(list($actuacion) = mysql_fetch_row($control5)) 
		{
		$actuacion2=$actuacion;
		}

	//$query_sql = "SELECT * FROM sucursal order by nombre";
	//$sql = mysql_query($query_sql, $dbi) or die(mysql_error());
	$sql = mysql_query('SELECT * FROM sucursal order by nombre '); 	
			if (!$sql) {
				die('Invalid query 87: ' . mysql_error());
			}
	$row_sql = mysql_fetch_assoc($sql);
	$totalRows_sql = mysql_num_rows($sql); 
	
	//$query_sql2 = "SELECT * FROM Usuarios where (cargo = 'ABOGADO' || cargo = 'DIRECTORA DE SERVICIO BARRANQUILLA' || cargo = 'DIRECTOR DE SERVICIOS BUCARAMANGA' || cargo = 'DIRECTOR DE SERVICIOS CALI' || cargo = 'DIRECTOR DE SERVICIOS FLORENCIA' || cargo = 'DIRECTOR DE SERVICIOS IBAGUE' || cargo = 'DIRECTOR DE SERVICIOS MEDELLIN' || cargo = 'DIRECTOR DE SERVICIOS NEIVA' || cargo = 'DIRECTORA DE SERVICIOS PEREIRA' || cargo = 'DIRECTORA DE SERVICIOS TUNJA'  || cargo = 'DIRECTORA SERVICIOS VILLAVICENCIO' || cargo = 'MEDICO')  order by Nombre_Completo";
	//$sql2 = mysql_query($query_sql2, $dbi) or die(mysql_error());
		$sql2 = mysql_query('SELECT * FROM Usuarios WHERE  (cargo = "ABOGADO" || cargo = "DIRECTORA DE SERVICIO BARRANQUILLA" || cargo = "DIRECTOR DE SERVICIOS BUCARAMANGA" || cargo = "DIRECTOR DE SERVICIOS CALI" || cargo = "DIRECTOR DE SERVICIOS FLORENCIA" || cargo = "DIRECTOR DE SERVICIOS IBAGUE" || cargo = "DIRECTOR DE SERVICIOS MEDELLIN" || cargo = "DIRECTOR DE SERVICIOS NEIVA" || cargo = "DIRECTORA DE SERVICIOS PEREIRA" || cargo = "DIRECTORA DE SERVICIOS TUNJA"  || cargo = "DIRECTORA SERVICIOS VILLAVICENCIO" || cargo = "MEDICO")  order by Nombre_Completo '); 	
			if (!$sql2) {
				die('Invalid query 87: ' . mysql_error());
			}
	$row_sql2 = mysql_fetch_assoc($sql2);
	$totalRows_sql2 = mysql_num_rows($sql2); 
?>
<!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>Documento sin t&iacute;tulo</title>
<style type="text/css">
<!--
.est_cont5 {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	background-color: #EDFAF4;
	margin: 2px;
	padding: 2px;
	height: auto;
	width: auto;
	border: thin groove #E9AAF0;
	color: #C72350;
}
.Estilo1 {
	font-size: 14px;
	font-weight: bold;
}
.est_cont2 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 10px;
	font-style: normal;
	font-weight: normal;
	color: #2B39EC;
	background-color: #F0F5CF;
	height: 15px;
	width: auto;
	border: thin solid #FABF85;
}
.Estilo2 {
	color: #CC3300;
	font-weight: bold;
}
.Estilo3 {
	color: #FF3300;
	font-weight: bold;
	font-size: 11px;
}
.Estilo5 {
	font-family: "Times New Roman", Times, serif;
	font-weight: bold;
}
.Estilo6 {color: #FF6633;
	font-size: 24px;
	font-style: italic;
}
.Estilo7 {color: #FF6633;
	font-size: 16px;
}
.Estilo8 {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;
}
.boton2 {	font-family: Verdana;
	font-size: 8 pt;
	color: #000080;
	background-color: #C0C0C0;
	border-style: solid;
	height: 20px;
	width: auto;
}
-->
</style>
</head>

<body>
<form id="form1" name="form1" method="post" action="">
  <div align="center">
    <p>&nbsp;</p>
    <table width="708" border="1" class="est_cont5">
      <caption align="top">
        <div align="center" class="Estilo1">SOLICITUD GASTOS DE TRASLADO        </div>
      </caption>
      <tr>
        <td colspan="2" scope="col"><div align="right">Fecha :</div></td>
        <th colspan="3" scope="col"><div align="left">año
            <input name="fano" type="text" class="est_cont2" id="fano" value="<?php echo $ano ?>" size="4" maxlength="4" />
          -mes
          <input name="fmes" type="text" class="est_cont2" id="fmes" value="<?php echo $mes ?>" size="2" maxlength="2" />
          -dia
          <input name="fdia" type="text" class="est_cont2" id="fdia" value="<?php echo $dia ?>" size="2" maxlength="2" />
        </div></th>
        <td width="106" scope="col"> <div align="right">No. Solicitud :</div></td>
        <th colspan="2" scope="col">
          <div align="left">
            <input name="sol" type="text" class="est_cont2" id="sol" value="<?php echo $solicitud_no ?>" size="10" maxlength="10"  readonly=""/>
          </div></th></tr>
      <tr>
        <td colspan="2"><div align="right">El Doctor :</div></td>
        <td colspan="3"><div align="left">
          <input name="func" type="text" class="est_cont2" id="func" value="<?php echo $funcionario ?>" size="50" maxlength="50"  readonly=""/>
        </div></td>
        <td><div align="right">Sucursal :</div></td>
        <td colspan="2"><div align="left">
          <input name="suc" type="text" class="est_cont2" id="suc" value="<?php echo $sucursal ?>" size="30" maxlength="30" readonly="" />
        </div></td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
        <td colspan="3"><select name="codf" class="est_cont2" id="codf">
          <option>SELECCIONE FUNCIONARIO</option>
          <?php
     do {  
?>
          <option value="<?php echo $row_sql2['Cedula'];?>"><?php echo $row_sql2['Nombre_Completo']?></option>
          <?php
} while ($row_sql2 = mysql_fetch_assoc($sql2));
  $rows2 = mysql_num_rows($sql2);
  if($rows2 > 0) {
      mysql_data_seek($sql2, 0);
       $row_sql2 = mysql_fetch_assoc($sql2);
  }
?>
        </select></td>
        <td>&nbsp;</td>
        <td colspan="2"><div align="left">
          <select name="cods" class="est_cont2" id="cods">
            <option value="0">SELECCIONE SUCURSAL</option>
            <?php
     do {  
?>
            <option value="<?php echo $row_sql['codigo'];?>"><?php echo $row_sql['nombre']?></option>
            <?php
} while ($row_sql = mysql_fetch_assoc($sql));
  $rows = mysql_num_rows($sql);
  if($rows > 0) {
      mysql_data_seek($sql, 0);
       $row_sql = mysql_fetch_assoc($sql);
  }
?>
          </select>
        </div></td>
      </tr>
      <tr>
        <td colspan="2"><div align="right">Se desplaza al municipio :</div></td>
        <td colspan="3"><div align="left">
          <input name="mun" type="text" class="est_cont2" id="mun" value="<?php echo $municipio ?>" size="30" maxlength="30" />
        </div></td>
        <td><div align="right">Para atender al afiliado :</div></td>
        <td colspan="2"><div align="left">
          <input name="afi" type="text" class="est_cont2" id="afi" value="<?php echo $apellidos_noms ?>" size="60" maxlength="60"   readonly=""/>
        </div></td>
      </tr>
      
      <tr>
        <td width="67"><div align="right">Contrato No :</div></td>
        <td width="47"><div align="left">
          <input name="con" type="text" class="est_cont2" id="con" value="<?php echo $contrato ?>" size="10" maxlength="10" />
        </div></td>
        <td width="36"><div align="right">Tipo :</div></td>
        <td width="52"><div align="left">
          <input name="tip" type="text" class="est_cont2" id="tip" value="<?php echo $tipo_contrato ?>" size="10" maxlength="10" />
        </div></td>
        <td width="105"><div align="right">Cedula No :</div></td>
        <td><input name="ced" type="text" class="est_cont2" id="ced" value="<?php echo $cedula ?>" size="20" maxlength="20"  readonly=""/></td>
        <td width="108"><div align="left">
          <div align="right">Proceso No :</div>
        </div></td>
        <td width="133"><input name="pro" type="text" class="est_cont2" id="pro" value="<?php echo $proceso ?>" size="15" maxlength="20"  readonly=""/>          <div align="left"></div></td>
      </tr>
      <tr>
        <td colspan="2"><div align="right">Diligencia de caracter :</div></td>
        <td colspan="3"><div align="left">
          <input name="dil" type="text" class="est_cont2" id="dil" value="<?php echo $diligencia ?>" size="50" maxlength="50" />
        </div></td>
        <td><div align="right">Fecha Diligencia :</div></td>
        <td colspan="2"><div align="left">año
            <input name="fdano" type="text" class="est_cont2" id="fdano" value="<?php echo $fdano ?>" size="4" maxlength="4" />
          mes
          <input name="fdmes" type="text" class="est_cont2" id="fdmes" value="<?php echo $fdmes ?>" size="2" maxlength="2" />
          dia
          <input name="fddia" type="text" class="est_cont2" id="fddia" value="<?php echo $fddia ?>" size="2" maxlength="2" />
        </div></td>
      </tr>
      
      <tr>
        <td colspan="2"><div align="right">Tipo de Orden :</div></td>
        <td colspan="3"><label></label><label></label>
        <div align="left">
          <input name="tipoo" type="text" class="est_cont2" id="tipoo" value="<?php echo $tipo_orden?>" size="50" maxlength="50" />
        </div></td>
        <td><div align="right">Hora :</div></td>
        <td><div align="left">
          <input name="hord" type="text" class="est_cont2" id="hord" value="<?php echo $horadil ?>" size="6" maxlength="6" />
        </div></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="67" colspan="2"><div align="right">Estado actual proceso :</div></td>
        <td colspan="6"><label>
          <div align="left">
            <textarea name="estadoact" id="estadoact" cols="70" rows="3"><?php echo $actuacion2 ?></textarea>
          </div>
        </label></td>
      </tr>
    </table>
    <table width="633" border="1" class="est_cont5">
      <caption align="top">
        <span class="Estilo2">RECORRIDO DEL ABOGADO        </span>
      </caption>
      <tr>
        <td width="164" scope="col"><div align="right">Del Municipio :</div></td>
        <th width="164" scope="col"><div align="left">
          <input name="mo" type="text" class="est_cont2" id="mo" value="<?php echo $municipio_origen ?>" size="40" maxlength="40" />
        </div></th>
        <td width="111" scope="col"><div align="right">Al Municipio :</div></td>
        <th width="164" scope="col"><div align="left">
          <input name="md" type="text" class="est_cont2" id="md" value="<?php echo $municipio_destino ?>" size="40" maxlength="40" />
        </div></th>
      </tr>
      <tr>
        <td><div align="right">Tiempo de Viaje :</div></td>
        <td><div align="left">
          <input name="tv" type="text" class="est_cont2" id="tv" value="<?php echo $tiempo_viaje ?>" size="5" maxlength="5" />
        - Horas</div></td>
        <td><div align="right">Valor Transporte $:</div></td>
        <td><div align="left">
          <input name="vt" type="text" class="est_cont2" id="vt" value="<?php echo $valor_transporte ?>" size="20" maxlength="20" />
        </div></td>
      </tr>
      <tr>
        <td><div align="right">Total Transporte Terrestre $:</div></td>
        <td><div align="left">
          <input name="ttt" type="text" class="est_cont2" id="ttt" value="<?php echo $total_transporte ?>" size="20" maxlength="20" />
        </div></td>
        <td><div align="right">Taxi $:</div></td>
        <td><div align="left">
          <input name="tx" type="text" class="est_cont2" id="tx" value="<?php echo $taxi ?>" size="20" maxlength="20" />
        </div></td>
      </tr>
      <tr>
        <td><div align="right">Alimentacion :</div></td>
        <td><div align="left">
          <input name="ali" type="text" class="est_cont2" id="ali" value="<?php echo $alimentacion ?>" size="10" maxlength="10" />
        </div></td>
        <td><div align="right">Hotel $:</div></td>
        <td><div align="left">
          <input name="hot" type="text" class="est_cont2" id="hot" value="<?php echo $hotel ?>" size="20" maxlength="20" />
        </div></td>
      </tr>
      <tr>
        <td><div align="right">Otros Gastos $:</div></td>
        <td><div align="left">
          <input name="og" type="text" class="est_cont2" id="og" value="<?php echo $otros_gastos ?>" size="20" maxlength="20" />
        </div></td>
        <td><div align="right"><strong>Total Gastos $:</strong></div></td>
        <td><div align="left">
          <input name="tg" type="text" class="est_cont2" id="tg" value="<?php echo $total_gastos ?>" size="20" maxlength="20" />
        </div></td>
      </tr>
      <tr>
        <td height="39"><div align="right">Observaciones :</div></td>
        <td colspan="3"><label>
          <textarea name="obv" id="obv" cols="60" rows="2"><?php echo $observaciones ?></textarea>
        </label></td>
      </tr>
    </table>
    <table width="504" border="1" class="est_cont5">
      <caption align="top">
        <span class="Estilo3">OBSERVACIONES</span>
      </caption>
      <tr>
        <td height="39" scope="col"><div align="right">
          <div align="right">Coordinadora Abogados/Motivos :</div>
        </div></td>
        <th colspan="2" scope="col"><textarea name="obsca" id="obsca" cols="45" rows="2"><?php echo $observaciones_ca ?></textarea></th>
      </tr>
      <tr>
        <td height="39" scope="col"><div align="right">Gerencia General/Motivos :</div></td>
        <th colspan="2" scope="col"><textarea name="obsgg" id="obsgg" cols="45" rows="2"><?php echo $observaciones_gg ?></textarea></th>
      </tr>
      <tr>
        <td width="196" height="39" scope="col">Gerencia Administrativa/Motivos :</td>
        <th width="284" colspan="2" scope="col"><textarea name="obsga" id="obsga" cols="45" rows="2"><?php echo $observaciones_ga ?></textarea></th>
      </tr>
    </table>
    <table width="317" border="1" class="est_cont5">
      <caption align="top">
      <span class="Estilo3">GASTOS AUTORIZADOS </span>
      </caption>
      <tr>
        <td width="135" height="29" scope="col"><div align="right">Transporte Terrestre $:</div></td>
        <th width="52" scope="col"><div align="left">
            <input name="gatt" type="text" class="est_cont2" id="gatt" value="<?php echo $ga_transporte ?>" size="12" maxlength="12" />
        </div></th>
        <td width="48" scope="col"><div align="right">Taxis $:</div></td>
        <th width="52" scope="col"><div align="left">
            <input name="gatx" type="text" class="est_cont2" id="gatx" value="<?php echo $ga_taxi ?>" size="12" maxlength="12" />
        </div></th>
      </tr>
      <tr>
        <td><div align="right">Alimentacion $:</div></td>
        <td><div align="left">
            <input name="gaal" type="text" class="est_cont2" id="gaal" value="<?php echo $ga_alimentacion ?>" size="12" maxlength="12" />
        </div></td>
        <td><div align="right">Hotel $:</div></td>
        <td><div align="left">
            <input name="gaho" type="text" class="est_cont2" id="gaho" value="<?php echo $ga_hotel ?>" size="12" maxlength="12" />
        </div></td>
      </tr>
      <tr>
        <td><div align="right">Otros Gastos $:</div></td>
        <td><div align="left">
            <input name="gaog" type="text" class="est_cont2" id="gaog" value="<?php echo $ga_otros ?>" size="12" maxlength="12" />
        </div></td>
        <td class="Estilo5"><div align="right">Total $:</div></td>
        <td><div align="left">
            <input name="gatot" type="text" class="est_cont2" id="gatot" value="<?php echo $ga_total ?>" size="12" maxlength="12" />
        </div></td>
      </tr>
    </table>
    <p>&nbsp;</p>
    <p>
      <input name="guardar" type="submit" class="Estilo8" id="guardar" value="Guardar" />
    </p>
  </div>
</form>
</body>
</html>