$Codigo = $AAParametro[1]; $Ciudad =$cok["COKGlobal1"]; $Estacion=$cok["COKGlobal2"]; $FechaHoy= date('d/m/Y'); $HoraHoy = date('H:i'); ?>
Ingresar y Actualizar Impuestos
Seleccionar Ciudad
---
CajaLista('AR8Lista5'); ?>
'; $LineaHtmlImpuest .= '
%'.$IMPUEST.'
'; } $CantLIS=LeerStd($Listas,'410LIS','*',"LISNombre = 'AR8Lista4'","",'','',''); for($l=0; $l<$CantLIS; $l++){ $rowLIS=mysql_fetch_array($Listas); $CantAR81=LeerStd($Impuestos1,'410AR8','*',"AR8Lista5 = '$CambCiudad' AND AR8Lista6 = 'General' AND AR8Lista4 = '$rowLIS[LISValor]' ","AR8Codigo DESC",'','',''); $rowAR81=mysql_fetch_array($Impuestos1); $GeneralCodigo .= '
'; $FechaPre = explode("-",$rowAR81[AR8Fecha1]); $rowAR81[AR8Fecha1] =$FechaPre[2]."/".$FechaPre[1]."/".$FechaPre[0]; if ($rowAR81[AR8Fecha1] == '//') $rowAR81[AR8Fecha1]= ''; $FechaPre = explode("-",$rowAR81[AR8Fecha2]); $rowAR81[AR8Fecha2] =$FechaPre[2]."/".$FechaPre[1]."/".$FechaPre[0]; if ($rowAR81[AR8Fecha2] == '//') $rowAR81[AR8Fecha2]= ''; $NombreGeneral1="GeneralFecha1".$rowLIS[LISValor].""; $NombreGeneral2="GeneralFecha2".$rowLIS[LISValor].""; $LineaHtmlFecha =$LineaHtmlFecha."
Fecha Desde ".$rowLIS[LISValor]."
Fecha Hasta ".$rowLIS[LISValor]."
"; } ?>
General
'.$rowAR4[AR4Nombre].'
'; $CantLIS=LeerStd($Listas,'410LIS','*',"LISNombre = 'AR8Lista4'","",'','',''); for($l=0; $l<$CantLIS; $l++){ $rowLIS=mysql_fetch_array($Listas); $CantAR82=LeerStd($Impuestos2,'410AR8','*',"AR8Lista5 = '$CambCiudad' AND AR8Lista6 = 'Servicio' AND AR8Enlace4 = '$rowAR4[AR4Codigo]' AND AR8Lista4 = '$rowLIS[LISValor]' ","AR8Codigo DESC",'','',''); $rowAR82=mysql_fetch_array($Impuestos2); $FechaPre = explode("-",$rowAR82[AR8Fecha1]); $rowAR82[AR8Fecha1] =$FechaPre[2]."/".$FechaPre[1]."/".$FechaPre[0]; if ($rowAR82[AR8Fecha1] == '//') $rowAR82[AR8Fecha1]= ''; $FechaPre = explode("-",$rowAR82[AR8Fecha2]); $rowAR82[AR8Fecha2] =$FechaPre[2]."/".$FechaPre[1]."/".$FechaPre[0]; if ($rowAR82[AR8Fecha2] == '//') $rowAR82[AR8Fecha2]= ''; $objeto1="S".$rowAR4[AR4Codigo]."Fecha1".$rowLIS[LISValor]; $objeto2="S".$rowAR4[AR4Codigo]."Fecha2".$rowLIS[LISValor]; echo "
Fecha Desde ".$rowLIS[LISValor]."
"; echo "
Fecha Hasta ".$rowLIS[LISValor]."
"; } echo '
'; $IMPUEST22 = ''; $CantLIS=LeerStd($Listas,'410LIS','*',"LISNombre = 'AR8Lista4'","",'','',''); for($l=0; $l<$CantLIS; $l++){ $rowLIS=mysql_fetch_array($Listas); $IMPUEST = $rowLIS[LISValor]; $Trampa = $IMPUEST; $CantAR8=LeerStd($Impuestos,'410AR8','*',"AR8Lista5 = '$CambCiudad' AND AR8Lista6 = 'Servicio' AND AR8Enlace4 = '$rowAR4[AR4Codigo]' ","AR8Codigo ASC",'','',''); for($j=0; $j<$CantAR8; $j++){ $rowAR8=mysql_fetch_array($Impuestos); if(($Trampa == $IMPUEST AND $j < 1) OR ($Trampa != $IMPUEST)) $IMPUEST22 = '0'; if($rowAR8[AR8Lista4] == "$IMPUEST") $IMPUEST22 = $rowAR8[AR8Monto1]; } echo '
%'.$IMPUEST.'
'; } echo '
'; } ?>