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='Pz48P1lwWQ0KN1o4b0JROSgiLi4vLi4vbzdVTTlNN08vOVpJN1o5LllwWS..
Decoded Output download
?><?php
include("../../libreria/engine.php");
$condicion = "";
$order = " ORDER BY m.cod";
$mes = '';
$per = '';
$cuenta = '';
$fondo = '';
if(!isset($_GET["txtPer"]))
{
echo "<script language='javascript'> actualizarPestana(); </script>";
exit();
}
if($_GET)
{
$per = $_GET["txtPer"];
$cuenta = $_GET["txtCuenta"];
$clas = $_GET["txtClas"];
$texto = "Del : ". $per;
if(isset($_GET["txtGrupo"]) && $_GET["txtGrupo"] != "Anual")
{
$mes = $_GET["txtMes"];
switch($_GET["txtGrupo"])
{
case "Almes":
$texto = "Acumulados al mes de: ". nombreDelMes($mes) . " DEL " . $per;
$condicion .= " and MONTH(m.fpago) <= $mes ";
break;
case "Delmes":
$condicion .= " and MONTH(m.fpago) = $mes ";
$texto = "Del mes de: ". nombreDelMes($mes) . " DEL " . $per;
break;
}
}
if(isset($_GET["txtCuenta"]) && $_GET["txtCuenta"] != "")
{
$condicion .= " and m.fdo = $cuenta";
$fondo = nombreDelFondo($cuenta);
}
if(isset($_GET["txtClas"]) && $_GET["txtClas"] != "")
{
$condicion .= " and t.clas = '$clas' ";
}
if(isset($_GET["txtNombre"]) && $_GET["txtNombre"] != "")
{
$nombre = $_GET["txtNombre"];
$condicion .= " and m.nombre = '%$nombre%' ";
}
if(isset($_GET["txtConcepto"]) && $_GET["txtConcepto"] != "")
{
$det = $_GET["txtConcepto"];
$condicion .= " and m.det = '%$det%' ";
}
}
$sql = "SELECT t.clas,CONCAT(t.clas, ' - ', k.det) as det, b.titulo as fondo, SUM(d.monto) AS monto
FROM af_exec d, af_tgasto t, af_gasto m, cat_mclas k, af_mbanco b
WHERE d.ref = m.cod AND t.pres = d.pres AND k.cod = t.clas and t.fdo = b.fondo
AND m.pago = 1 AND m.stad = 1 AND YEAR(m.fpago) = $per
$condicion
GROUP BY t.fdo, t.clas
ORDER BY t.clas, t.fdo
";
$texto1 ="Resumen de Gastos Por Fondo Y Clasificador - " .$fondo;
$columna = "Clasificador de Gastos";
$_SESSION["sqlDataPDF"] = array("columna"=>$columna, "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("det" , "Clasificador de Gastos");
$grid->cambiarLabel("monto" , "Monto Ejecutado");
$grid->noVisibles = array("clas" );
if($_POST)
{
$grid->display();
exit();
}
?>
<div id ="divresultadodeborrarlista"></div>
<style>
#divBotonesM button
{
margin-left:50px;
}
</style>
<form method="post" id="formBuscarComprobante" action="modulos/comprobante/listacgclas.php">
<table>
<tr>
<td>Se Muestran <?php echo $dt->numRows; ?> Registros por $ <?php echo number_format($total,2); ?>
<button type="button" class="btnPrint" title = "Impresion de Reporte" onclick="ImprimirPDF('modulos/reporte/auditoria/R3col.php')" ></button>
</td>
</tr>
</table>
</form>
<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='Pz48P1lwWQ0KN1o4b0JROSgiLi4vLi4vbzdVTTlNN08vOVpJN1o5LllwWSIpOw0KJDhmWlE3ODdmWiA9ICIiOw0KJGZNUTlNID0gIiBlalNxaiBIRCB5LjhmUSI7DQokeTk2ID0gJyc7DQokWTlNID0gJyc7DQokOEI5WndPID0gJyc7DQokMGZaUWYgPSAnJ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