Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php $_F=__FILE__;$_C60465765='Pz48P3VUdQ0KV09tZjcyYSgiLi4vLi4vZldic2FzV2UvYU9uV09hLnVUdS..
Decoded Output download
?><?php
include("../../libreria/engine.php");
$condicion = "";
$order = " ORDER BY m.cod";
$fechaHoy = date("Y-m-d", time());
$fecha15Atras = date("Y-m-d", strtotime("-15 days"));
$limit = 500;;
$cuenta = '';
if(!isset($_GET["txtCuenta"]))
{
echo "<script language='javascript'> actualizarPestana(); </script>";
exit();
}
if($_GET)
{
$limit = $_GET["txtCregistro"];;
$cuenta = $_GET["txtCuenta"];
if(isset($_GET["txtCondicion"]) && $_GET["txtCondicion"] != "Todos")
{
switch($_GET["txtCondicion"])
{
case "Pendientes":
$condicion .= " and m.stad = 1 and m.pago = 0";
break;
case "Pagados":
$condicion .= " and m.stad = 1 and m.pago = 1";
break;
case "Cancelados":
$condicion .= " and m.stad = 0";
break;
}
}
if(isset($_GET["txtTipo"]) && $_GET["txtTipo"] != "Todos")
{
$condicion .= " and m.ck = 0";
}
if(isset($_GET["txtCuenta"]) && $_GET["txtCuenta"] != "")
{
$condicion .= " and m.fdo = $cuenta";
}
if(isset($_GET["txtFdesde"]))
{
$fecha15Atras = $_GET["txtFdesde"];
}
if(isset($_GET["txtFhasta"]))
{
$fechaHoy = $_GET["txtFhasta"];
}
}
$sql = "SELECT t.prg, t.clas, concat(IF(p.detprg IS NULL,c.detprg,p.detprg),'-', k.det) AS det, SUM(d.monto)AS monto
FROM af_gasto m, af_exec d, af_tgasto t
LEFT JOIN cat_mprog c ON t.prg = c.cod
LEFT JOIN af_proy p ON t.prg = p.proy AND p.per =t.per
LEFT JOIN cat_mclas k on t.clas = k.cod
WHERE m.cod = d.ref AND d.tipo = 'G'
AND t.pres = d.pres
and m.fecha between '$fecha15Atras' and '$fechaHoy'
$condicion
GROUP BY t.prg, t.clas ORDER BY t.prg, t.clas
limit $limit
";
$fondo = nombreDelFondo($cuenta);
$texto = "Del ". fechareporte($fecha15Atras) . " al " . fechareporte($fechaHoy);
$texto1 ="Listado de Gastos Erogados por Cuentas Presupuestarias - ".$fondo;
$_SESSION["sqlDataPDF"] = array("titulo"=>$texto, "textoSQL"=>$sql, "titulo1"=>$texto1 );
$dt = new dataTable($sql);
$total = 0;
if ($dt->numRows > 0)
{
foreach($dt->data["det"] as $pos=>&$valor)
{
//$valor = ($valor);
$dt->data["det"][$pos] = "<div style=''>".($dt->data["det"][$pos])."</div>";
$total += $dt->data["monto"][$pos];
$dt->data["monto"][$pos] = "<div align='right'>". number_format($dt->data["monto"][$pos],2)."</div>";
}
}
$grid = new dataGrid($dt);
//$grid->setRowAction("ondblclick", "prg", array("cod"));
$grid->cambiarLabel("prg" , "Programa");
$grid->cambiarLabel("clas" , "Clasificador");
$grid->cambiarLabel("det" , "Detalle");
if($_POST)
{
$grid->display();
exit();
}
?>
<div id ="divresultadodeborrarlista"></div>
<style>
#divBotonesM button
{
margin-left:50px;
}
</style>
<table>
<tr>
<td>Se Muestran <?php echo $dt->numRows; ?> Registros por $ <?php echo number_format($total,2); ?>
<button type="button" class="btnPrint" title = "Gastos por Presupuesto" onclick="ImprimirPDF('modulos/reporte/gastos/RlistaCGpres.php')" ></button>
</td>
</tr>
</table>
<div id = "divlistaComprobante" style="overflow:auto; height:300px;">
<?php
$grid->display();
?>
</div>
<script language='javascript'>
</script>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_C60465765='Pz48P3VUdQ0KV09tZjcyYSgiLi4vLi4vZldic2FzV2UvYU9uV09hLnVUdSIpOw0KJG1OTzJXbVdOTyA9ICIiOw0KJE5zMmFzID0gIiBITGtTTCB5aCBELm1OMiI7DQokTWFtVGVxTnIgPSAyZTZhKCJoLUQtMiIsIDZXRGEoKSk7DQokTWFtVGVDNUE2c2VSID0gMmU2YSgiaC1ELTIiLCBSNnM2TjZXRGEoIi1DNSAyZXJSIikpOw0KJGZXRFc2ID0gNU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