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

Decoded Output download

?><?php
include("../../libreria/engine.php");
if(!isset($_GET["txtPer"]))
{
	echo "<script language='javascript'> actualizarPestana(); </script>";	
	exit();
}

$cuenta = $_GET["txtCuenta"];
$mes = $_GET["txtMes"];
$per = $_GET["txtPer"];

$sql = "SELECT  m.cod,  m.fecha, m.det AS nombre, m.ref, m.doc, m.tipo, m.deb, m.cred, 0 as balance, m.stad
		FROM af_banco m
		WHERE EXTRACT(YEAR FROM m.fecha) = $per
		AND EXTRACT(MONTH FROM m.fecha) = $mes
		AND m.fdo = $cuenta
		ORDER BY m.fecha, m.doc
	";

	///para el pdf
$sqlpaso = $sql;



$texto = 'MES:  '. nombredelmes($mes). ' DEL '. $per;			


$_SESSION["sqlDataPDF"] = array("cuenta"=>$cuenta,"titulo"=>$texto, "textoSQL"=>$sqlpaso, "per"=>$per,  "mes"=>$mes );
			
////
	
$dt = new dataTable($sql);

$cant = 0;

$tdeb = 0;
$tcred =  0;
$fecha = $per.'-'.$mes.'-01';

$sql = "SELECT  SUM(m.cred) - SUM(m.deb) as balance
		FROM af_banco m
		WHERE m.stad <> 0
		AND  m.fecha < '$fecha'
		and m.fdo = $cuenta
		ORDER BY m.fecha, m.doc";
		
$row = mysql_fetch_array(mysql_query($sql));
$balance = $row["balance"];

$ibal = $balance;
if ($dt->numRows > 0)
{
foreach($dt->data["nombre"] as $pos=>&$valor)
	{
		$valor = ($valor);
		
		if (($dt->data["stad"][$pos]==1) || ($dt->data["stad"][$pos]==3))
		{
		
			if ($dt->data["cred"][$pos] > 0)
			{
			 $balance = $balance + $dt->data["cred"][$pos];
			
			}
			if ($dt->data["deb"][$pos] > 0)
			{
			 $balance = $balance - $dt->data["deb"][$pos];
			
			}
			$tdeb += $dt->data["deb"][$pos];
			$tcred += $dt->data["cred"][$pos];
		}
		
		if ($dt->data["stad"][$pos]==0)
		{
		$dt->data["nombre"][$pos] .= " (NULO)";
				
		}
		
		$dt->data["balance"][$pos] = "<div align='right'>". number_format($balance,2)."</div>";	
		$cant += 1;
		$dt->data["cred"][$pos] = "<div align='right'>". number_format($dt->data["cred"][$pos],2)."</div>";	
		$dt->data["deb"][$pos] = "<div align='right'>". number_format($dt->data["deb"][$pos],2)."</div>";	
		$dt->data["doc"][$pos] = "<div align='center'>". $dt->data["doc"][$pos]."</div>";
		$dt->data["ref"][$pos] = "<div align='center'>". $dt->data["ref"][$pos]."</div>";
		
		$dt->data["fecha"][$pos] = "<div align='center'>". $dt->data["fecha"][$pos]."</div>";
		
		$dt->rowActivo[$pos] = ($dt->data["stad"][$pos] > 0)?1:0;

	}
}

$grid = new dataGrid($dt);

$grid->setRowAction("ondblclick", "vernomina",array("cod"));

$grid->cambiarLabel("ref" , "Comprobante #");
$grid->cambiarLabel("cred" , "Debito");
$grid->cambiarLabel("deb" , "Credito");

$grid->noVisibles = array("stad", "cod");






?>

<div id = "divresultadolib"></div>
<table>
<tr>
	<td >
	<table><tr><td>
	Se Muestran <?php echo $dt->numRows; ?> Operaciones; Total de Creditos por $ <?php echo number_format($tcred,2); ?>  Total de Debitos por $ <?php echo number_format($tdeb,2); ?></td></tr>
	<tr><td> Balance Inicial $ <?php echo number_format($ibal,2); ?> Balance Final $ <?php echo number_format($balance,2); ?></td></tr>
	</table>
	</td>
	<td>
	<div id="divBotoneslistar">
		<button type="button" class="btnPrint" title = "Libro de Ingresos" onClick="ImprimirPDF('modulos/reporte/libros/Rlibbanco.php?mes='+<?php echo $mes;?>+'&per='+<?php echo $per;?>+'&cuenta='+<?php echo $cuenta;?>);"></button>	
	</div>
	</td>
</tr>
</table>
<div id = "divlistado" style="overflow:auto; height:300px;">

<?php
$grid->display();
?>
</div>

<script language="javascript">

function printnom()
{
sel = checkSeleccionados('chkboxnom[]');

	if (sel == "")
	{
		 alert("Debe seleccionar al menos una Nomina de la Lista.");
		 return 0;
	 
	}

	if (confirm("Desea Imprimir las Nominas Seleccionadas?"))
	{
		cargarEn("divresultadolistarnomina","modulos/nomina/repnomina.php", "cods="+sel+"&mes=0&per=0");
	}
}

function vernomina(num)
	{
		abrirOpcion("divVerNominaWindows","CYT-MUNICIPIA: Administraci&oacute;n Local / Lista de Nomina", "modulos/nomina/vernomina.php?cod="+num,true, 600, 500);
	}

</script>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_C60465765='Pz48P1FkUQ0KWXk1YnA0VigiLi4vLi4vYllLcVZxWUQvVnlqWXlWLlFkUSIpOw0KWUUoIVlYWFZaKCRfVEppWyJab1pHVnEiXSkpDQp7DQoJVjVkaCAiPFg1cVlRWiBiRHlqcERqVj0nbERyRFg1cVlRWic+IEQ1WnBEYll2RHFHVlhaRHlEKCk7IDwvWDVxWVFaPiI7CQ0KCVZvWVooKTsNCn0NCg0KJDVwVnlaRCA9ICRfVEppWyJab1plcFZ5WkQiXTsNCiRuVlggPSAkX1RKaVsiWm9aTlZYIl07DQokUVZxID0gJF9USmlbIlpvWkdWcSJdOw0KDQokWDhiID0gImtKT0plaSAgbi41aDQsICBuLkVWNWRELCBuLjRWWiBBayB5aG5LcVYsIG4ucVZFLCBuLjRoNSwgbi5aWVFoLCBuLjRWSywgbi41cVY0LCBDIERYIEtEYkR5NVYsIG4uWFpENA0KCQl1RnROIERFX0tEeTVoIG4NCgkJSVBKRkogSlVpRkFlaSg3SkFGIHVGdE4gbi5FVjVkRCkgPSAkUVZxDQoJCUEweiBKVWlGQWVpKE50MGlQIHVGdE4gbi5FVjVkRCkgPSAkblZYDQoJCUEweiBuLkU0aCA9ICQ1cFZ5WkQNCgkJdEZ6SkYgMzcgbi5FVjVkRCwgbi40aDUNCgkiOw0KDQoJLy8vUURxRCBWYiBRNEUNCiRYOGJRRFhoID0gJFg4YjsNCg0KDQoNCiRaVm9aaCA9ICdOSms6ICAnLiB5aG5Lc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lhwYlpENGhiWVhaRHF5aG5ZeUQiLCJuaDRwYmhYL3lobll5RC9xVlF5aG5ZeUQuUWRRIiwgIjVoNFg9IitYVmIrIiZuVlg9QyZRVnE9QyIpOw0KCX0NCn0NCg0KRXB5NVpZaHkgclZxeWhuWXlEKHlwbikNCgl7DQoJCURLcVlxdFE1WWh5KCI0WXJjVnEwaG5ZeURJWXk0aHdYIiwiZTdpLU5hMGdlZ0dnQTogQTRuWXlZWFpxRDVZJmhENXBaVjt5IE9oNURiIC8gT1lYWkQgNFYgMGhuWXlEIiwgIm5oNHBiaFgveWhuWXlEL3JWcXlobll5RC5RZFE/NWg0PSIreXBuLFpxcFYsIE1DQywgQkNDKTsNCgl9DQoNCjwvWDVxWVFaPg0K';$_D=strrev('edoced_46esab');eval($_D('JF9DNjA0NjU3NjU9YmFzZTY0X2RlY29kZSgkX0M2MDQ2NTc2NSk7JF9DNjA0NjU3NjU9c3RydHIoJF9DNjA0NjU3NjUsJ3pBZjhQSm1Fdm5rNkYyOVVOMHhZWlR5YTRIcUNRSWdTbFdYMWNyYkxPc3VNbzM1Qml0RzdwZWpLZFJEVmh3JywnREE0cUhFS2Z6bVM3UlEyWE1OSml0R25VZDFyMHBXSThqOXNrVnZseUwzRjZ4QmM1VE9QWXVDZ2JoWmFlb3cnKTskX1I9c3RyX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX0M2MDQ2NTc2NSk7ZXZhbCgkX1IpOyRfUj0wOyRfQzYwNDY1NzY1PTA7'));?>

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 80cb136ee21af1dda163634e7a661ad4
Eval Count 2
Decode Time 87 ms