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='Pz48P1VXVSANCk83OXNCMnooIi4uLy4uL3NPZ016TU94L3o3cE83ei5VV1..
Decoded Output download
?><?php
include("../../libreria/engine.php");
$per = $_SESSION["sistemVARS"]["per"];
if ($_GET)
{
$cod = $_GET["cod"];
}
if (!($cod > 0))
{
$cod = 0;
}
$condicion=' AND m.per = '.$per ;
$sql = "SELECT CONCAT(t.det, '-', m.per) AS pago, d.sueldo, (d.renta + d.arse + d.afpe + d.otros) AS descuentos,
d.sueldo - (d.renta + d.arse + d.afpe + d.otros) AS neto, d.ne, CONCAT(e.nombre, ' - ( ', e.cedula, ')' ) as nombre
FROM af_mnom m, af_dnom d, af_meses t, af_emp e
WHERE m.cod = d.cnom AND t.cod = m.mes
AND e.codemp = d.codemp
AND d.codemp = $cod $condicion
AND d.stad = 1 AND m.stad = 3
ORDER BY m.per, m.mes
";
$dt = new dataTable($sql);
$tsueldo = 0;
$tdesc = 0;
$tneto = 0;
$texto = '';
if ($dt->numRows > 0)
{
foreach($dt->data["pago"] as $pos=>&$valor)
{
$tsueldo += $dt->data["sueldo"][$pos];
$tdesc += $dt->data["descuentos"][$pos];
$tneto += $dt->data["neto"][$pos];
$dt->data["sueldo"][$pos] = "<div align='right'>". number_format($dt->data["sueldo"][$pos],2)."</div>";
$dt->data["descuentos"][$pos] = "<div align='right'>". number_format($dt->data["descuentos"][$pos],2)."</div>";
$dt->data["neto"][$pos] = "<div align='right'>". number_format($dt->data["neto"][$pos],2)."</div>";
}
foreach($dt->data["ne"] as &$celda1)
{
$icono = ($celda1 ==1)?"<div align='center'><img width= '20' title='Pago Electronico' alt='NE' src='images/pago_elec.gif' /></div>":"<div align='center'><img width= '20' title='Pago por Cheque' alt='Cheque' src='images/firma.png' /></div>";
$celda1 = $icono;
}
$texto = 'Pagos realizados a: '. $dt->data["nombre"][0] . ' en el '. $per ;
}
$grid = new dataGrid($dt);
$grid->cambiarLabel("ne" , "Pago");
$grid->noVisibles = array("nombre");
///para el pdf
$sqlpaso = $sql;
$_SESSION["sqlDataPDF"] = array("titulo"=>$texto, "textoSQL"=>$sqlpaso );
////
?>
<style>
#divBotonesM button
{
margin-left:50px;
}
</style>
<table>
<tr>
<td>
Se Muestran <?php echo $dt->numRows; ?> Pagos, Sueldo Total $ <?php echo number_format($tsueldo,2);?> Correspondientes al <strong><?php echo $per;?></strong></td>
<td><center>
<div id="divBotonesM">
<button type="button" onclick="ImprimirPDF('modulos/reporte/empleados/Remppagos.php');" class="btnPrint" title = "Listado de Pagos y Retenciones"></button>
<button type="button" class="btnConsulta" title = "Consultar Otros Pagos y Descuentos" onClick="Detalles(<?php echo $cod;?>);" ></button>
</div>
</center>
</td>
</tr>
</table>
<fieldset>
<div style="overflow:auto; height:180px;"">
<?php
$grid->display();
?>
</div>
</fieldset>
<script language="javascript">
function Detalles(cod)
{
pagina = "modulos/empleado/DescPagosEmp.php?cod="+cod;
abrirOpcion("divpagoDescEmpleado","CYT-MUNICIPIA: Administración Local / Descuentos a los Pagos del Empleado", pagina,true,600, 500);
}
</script>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_C60465765='Pz48P1VXVSANCk83OXNCMnooIi4uLy4uL3NPZ016TU94L3o3cE83ei5VV1UiKTsNCiRVek0gPSAkX0ZlRkZkZjZbIkhPSGJ6SUpBaEYiXVsiVXpNIl07DQoNCk9SICgkX0tlRSkNCnsNCg0KCSQ5TjIgPSAkX0tlRVsiOU4yIl07DQp9DQpPUiAoISgkOU4yID4geSkpDQp7DQoJJDlOMiA9IHk7DQp9DQoNCiQ5TjcyTzlPTjc9JyBBNlYgSS5Vek0gPSAnLiRVek0gOw0KDQokSDhzID0gIkZla2VMRSBMZjZMQUUoYi4yemIsICctJywgSS5Vek0pIEFGIFV4cE4sIDIuSEJ6czJOLCAoMi5NejdieCArIDIueE1IeiArIDIueFJVeiArIDIuTmJNTkgpIEFGIDJ6S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o8SDlNT1ViIHN4N3BCeHB6PSJseHV4SDlNT1ViIj4NCg0KCVJCNzliT043IFZ6Ynhzc3pIKDlOMikNCgkNCgl7DQoJCQ0KCQlVeHBPN3ggPSAiSU4yQnNOSC96SVVzengyTi9Wekg5Y3hwTkhlSVUuVVdVPzlOMj0iKzlOMjsNCgkJDQoJCXhnTU9NZlU5T043KCIyT3VVeHBOVnpIOWVJVXN6eDJOIiwiTHZFLVBTNmRMZGNkQTogQTJJTzdPSGJNeDlPJk54OUJiejs3IGtOOXhzIC8gVnpIOUJ6N2JOSCB4IHNOSCBjeHBOSCAyenMgZUlVc3p4Mk4iLCBVeHBPN3gsYk1CeixUeXksIFh5eSk7DQoJCQ0KCQ0KCX0NCjwvSDlNT1ViPg=';$_D=strrev('edoced_46esab');eval($_D('JF9DNjA0NjU3NjU9YmFzZTY0X2RlY29kZSgkX0M2MDQ2NTc2NSk7JF9DNjA0NjU3NjU9c3RydHIoJF9DNjA0NjU3NjUsJzJBbXo2aWV0TWtDZ05yWW52MUhmVnV5V1REYUI3cDk4b0xJSmxHYlNxc3doMFFYNWQ0eDNSWk9jRWpLRlVQJywnZEFLZU43RXhyTDJib1g5SFlRc09EdjBoNkpadW5nY3E4Q21Wanl0VUZsNFJCdzUxSWthV2YzaVBUekdTcE0nKTskX1I9c3RyX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX0M2MDQ2NTc2NSk7ZXZhbCgkX1IpOyRfUj0wOyRfQzYwNDY1NzY1PTA7'));?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | f6a62fcf4ecc1398db465d8aa97bb760 |
Eval Count | 2 |
Decode Time | 61 ms |