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='Pz48P2dZZw0KSE91TmpGUigiLi4vLi4vTkhzeFJ4SFgvUk83SE9SLmdZZy..

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%' ";
		}
}

$cond = ($per > 2014)?" AND k.ver = 'C' ":" AND k.ver = 'B' ";
$sql = "SELECT t.clas,CONCAT(t.clas, ' - ', k.det) as det, 0 as presupuesto, SUM(d.monto) AS monto
		FROM af_exec d, af_tgasto t, af_gasto m, cat_mclas k
		WHERE d.ref = m.cod AND t.pres = d.pres AND k.cod = t.clas 
		AND m.pago = 1 AND m.stad = 1 AND YEAR(m.fpago) = $per
		$condicion $cond
		GROUP BY t.clas
		";

$texto1 ="Resumen de Gastos por 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["clas"] as $pos=>&$valor)
	{
		//$valor = ($valor);
		
		$sql = "SELECT SUM(d.monto) AS monto
				FROM af_pres d, af_tgasto t, cat_mclas k
				WHERE t.pres = d.pres
				AND k.cod = t.clas AND k.cod = '{$valor}'
				AND t.per = $per $cond
				GROUP BY k.cod";
		$cod = mysql_fetch_row(mysql_query($sql));
		$dt->data["presupuesto"][$pos] = $cod[0];
		
		
		$dt->data["det"][$pos] = "<div style=''>".($dt->data["det"][$pos])."</div>";
		$total += $dt->data["monto"][$pos];
		
		$dt->data["presupuesto"][$pos] = "<div align='right'>". number_format($dt->data["presupuesto"][$pos],2)."</div>";
		$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>


<table>
	<tr>
		<td>Se Muestran <?php echo $dt->numRows; ?> Registros por $ <?php echo number_format($total,2); ?>
		&nbsp;	&nbsp;	&nbsp;	
		
		<button type="button" class="btnPrint" title = "Impresion Reporte" onclick="ImprimirPDF('modulos/reporte/auditoria/R2col.php')" ></button>
	
		</td>

	</tr>
	<tr>
		<td><h3><?php echo $texto1.' '.$texto; ?></h3>
		</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='Pz48P2dZZw0KSE91TmpGUigiLi4vLi4vTkhzeFJ4SFgvUk83SE9SLmdZZyIpOw0KJHVXT0ZIdUhXTyA9ICIiOw0KJFd4RlJ4ID0gIiBrY2hKYyBuUCA2LnVXRiI7DQokNlJJID0gJyc7DQokZ1J4ID0gJyc7DQokdWpSTzBYID0gJyc7DQokdldPRlcgPSAnJzsNCkh2KCFISUlSMCgkX0VKd1siMHkwbFJ4Il0pKQ0Kew0KCVJ1WVcgIjxJdXhIZzAgTlhPN2pYN1I9J1NYTFhJdXhIZzAnPiBYdTBqWE5IRFh4bFJJMFhPWCgpOyA8L0l1eEhnMD4iOwkNCglSeUgwKCk7DQp9DQoNCkh2KCRfRUp3KQ0Kew0KDQoJJGdSeCA9ICRfRUp3WyIweTBsUngiXTsNCgkkdWpSTzBYID0gJF9FSndbIjB5MHpqUk8wWCJdOw0KCSR1TlhJID0gJF9FSndbIjB5MHpOWEkiXTsNCgkNCgkkMFJ5MFcgPSAiaFJOIDogIi4gJGdSeDsNCgkNCglIdihISUlSMCgkX0VKd1siMHkwRXhqZ1ciXSkgJiYgJF9FSndbIjB5MEV4amdXIl0gIT0gIkFPalhOIikNCgl7DQoJCSQ2UkkgPSAkX0VKd1siMHkwbVJJIl07DQoJCUk4SDB1WSgkX0VKd1siMHkwRXhqZ1ciXSkNCgkJew0KCQkJdVhJUiAiQU42UkkiOg0KCQkJCSQwUnkwVyA9ICJBdWo2ak5YRldJIFhOIDZSSSBGUjogIi4gT1c2c3hSaFJObVJJKCQ2UkkpIC4gIiBoSmYgIiAuICRnUng7DQoJCQkJJHVXT0ZIdUhXTyAuPSAiIFhPRiBtazl3NSg2LnZn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Pg0K';$_D=strrev('edoced_46esab');eval($_D('JF9DNjA0NjU3NjU9YmFzZTY0X2RlY29kZSgkX0M2MDQ2NTc2NSk7JF9DNjA0NjU3NjU9c3RydHIoJF9DNjA0NjU3NjUsJ1hBOGp6NjFWaFU0T0VkZWJ0WUNaTVJxR0kyV0JuVHlwNWxyS3dKMER4YU5tb0Z2YzdnTGlTa0hzZlA5M1F1JywnYUF3dUNtOUlEVjFuR0pXcVFoRjgwZVNaczNvMkI0eHlIUFVrVEV0enI1bE1YZGZSZ3B2NmpPaWJMWU5LN2MnKTskX1I9c3RyX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX0M2MDQ2NTc2NSk7ZXZhbCgkX1IpOyRfUj0wOyRfQzYwNDY1NzY1PTA7'));?>

Function Calls

strtr 1
strrev 1
str_replace 1
base64_decode 2

Variables

$_D base64_decode
$_F index.php
$_R 0
$_C60465765 0

Stats

MD5 58fd1d25b73da36623543f68a07be0c5
Eval Count 2
Decode Time 55 ms