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='Pz48P25zbg0KS2RJUUNiYygiLi4vLi4vUUttamNqS2svY2RTS2RjLm5zbi..
Decoded Output download
?><?php
include("../../libreria/engine.php");
if(!isset($_GET["txtPer"]))
{
echo "<script language='javascript'> actualizarPestana(); </script>";
exit();
}
$condicion = "";
$order = " ORDER BY m.cod";
$cuenta = $_GET["txtCuenta"];
$mes = $_GET["txtMes"];
$per = $_GET["txtPer"];
if($_GET)
{
if(isset($_GET["txtCuenta"]) && $_GET["txtCuenta"] != "")
{
$condicion .= " and m.fdo = $cuenta";
}
}
$sql = "SELECT m.cod as ckb, m.cod, m.det AS nomina,
(select count(*) from af_emp where stad = 1 and nomina = m.cod) as empleados,
SUM(e.sueldo+e.extras) AS sueldo,
(SUM(e.renta+e.arse+e.afpe+e.otros) )AS descuentos,
(SUM(e.sueldo+e.extras-e.renta-e.arse-e.afpe-e.otros)) AS neto
FROM af_mcnom m,af_emp e
WHERE e.nomina = m.cod AND e.stad = 1 AND m.stad = 1
AND m.cod NOT IN (SELECT cnom FROM af_mnom WHERE mes = $mes AND per = $per AND stad > 0)
$condicion
GROUP BY m.cod
ORDER BY m.cod
";
$dt = new dataTable($sql);
$total = 0;
if(isset($dt->data["ckb"]) && count($dt->data["ckb"]) > 0)
{
foreach($dt->data["ckb"] as &$celda1)
{
$celda1 = "<label style='white-space:nowrap; '><input name='chkboxcreanom[]' type='checkbox' value='$celda1'></label>";
}
foreach($dt->data["nomina"] as $pos=>&$valor)
{
$valor = ($valor);
$total += $dt->data["sueldo"][$pos];
$dt->data["empleados"][$pos] = "<div align='center'>". $dt->data["empleados"][$pos]."</div>";
$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>";
}
}
$grid = new dataGrid($dt);
$grid->setRowAction("ondblclick", "vernomina",array("cod"));
$grid->cambiarLabel("cod" , "Código");
$grid->cambiarLabel("nomina" , "Nombre de la Nómina");
$grid->cambiarLabel("empleados" , "Cant. de Empleados");
$grid->cambiarLabel("ckb" ,"<input type='checkbox' name='chkboxcreanom[]' onclick='seleccionarChecks(this);' />");
///para el pdf
$sqlpaso = $sql;
$lcuenta = nombreDelFondo($cuenta);
$lmes = nombreDelMes($mes);
$texto = 'Listado de Nminas por Registrar ';
$texto2 = 'De la Cuenta: ' .$lcuenta . ' - Correspondiente a: '. $lmes . ' DEL '. $per ;
$_SESSION["sqlDataPDF"] = array("titulo"=>$texto, "textoSQL"=>$sqlpaso,"titulo1"=>$texto2 );
////
?>
<div id = "divresultadocrearnomina"></div>
<style>
#divBotonescrear button
{
margin-left:90px;
height:35px;
width:35px;
}
</style>
<form>
<table><tr>
<td >
Se Muestran <?php echo $dt->numRows; ?> Nóminas por $ <?php echo number_format($total,2); ?>
</td>
<td>
<div id="divBotonescrear">
<button type="button" class="btnCrea" title = "Crear Nómina" onclick="crearnom(<?php echo $mes; ?>, <?php echo $per; ?>);" ></button>
<button type="button" class="btnPrint" title = "Imprimir Nómina" onclick="printcrearnom();" ></button>
<button type="button" class="btnPrint" title = "Imprimir Lista de Nomina" onclick="ImprimirPDF('modulos/reporte/nominas/Rlistanominas.php');" ></button>
</div>
</td>
</tr>
</table>
</form>
<input type = 'hidden' class ='hftitulo' value = 'Lista de Nominas por Registrar'/>
<div id = "divlistado" style="overflow:auto; height:300px;">
<?php
if ($mes < 13)
{
$grid->display();
}
else
{
echo "
<center><h1><STRONG> PARA REGISTRAR NOMINAS DE REGALIA DEBE DE IR AL MODULO DE REGALIA</STRONG>
</h1>
<button type='button' onclick='irA(\"modulos/nomina/mregal.php\", \"\");'><img src='images/navidad.JPEG' style='cursor:pointer;'/></button>
</center>
"
;
}
?>
</div>
<script language='javascript'>
function crearnom(mes, per)
{
sel = checkSeleccionados('chkboxcreanom[]');
if (sel == "")
{
alert("Debe seleccionar al menos una Nomina de la Lista.");
return 0;
}
if (confirm("Desea Generar las Nominas Seleccionadas?"))
{
cargarEn("divresultadocrearnomina","modulos/nomina/crearnom.php", "cods="+sel+"&mes="+mes+"&per="+per);
}
}
function printcrearnom()
{
sel = checkSeleccionados('chkboxcreanom[]');
if (sel == "")
{
alert("Debe seleccionar al menos una Nómina de la Lista.");
return 0;
}
imprimirPreNominas(sel);
}
</script>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_C60465765='Pz48P25zbg0KS2RJUUNiYygiLi4vLi4vUUttamNqS2svY2RTS2RjLm5zbiIpOw0KDQpLaCghSzIyYzUoJF94ZVZbIjVQNTRjaiJdKSkNCnsNCgljSXNZICI8MklqS241IFFrZFNDa1NjPSd0a09rMklqS241Jz4ga0k1Q2tRS1drajRjMjVrZGsoKTsgPC8ySWpLbjU+IjsJDQoJY1BLNSgpOw0KfQ0KDQokSVlkYktJS1lkID0gIiI7DQokWWpiY2ogPSAiIER2RWV2IGdsIFouSVliIjsNCiRJQ2NkNWsgPSAkX3hlVlsiNVA1SkNjZDVrIl07DQokWmMyID0gJF94ZVZbIjVQNWZjMiJdOw0KJG5jaiA9ICRfeGVWWyI1UDU0Y2oiXTsNCg0KDQpLaCgkX3hlVikNCnsNCgkNCglLaChLMjJjNSgkX3hlVlsiNVA1SkNjZDVrIl0pICYmICRfeGVWWyI1UDVKQ2NkNWsiXSAhPSAiIikNCgl7DQoJDQoJJElZZGJLSUtZZCAuPSAiIGtkYiBaLmhiWSA9ICRJQ2NkNWsiOw0KCQ0KCX0NCgkNCn0NCg0KJDI5USA9ICJ5ZTdlSlYgWi5JWWIgazIgSXFtLCBaLklZYiwgWi5iYzUgQXkgZFlaS2RrLCANCgkJKDJjUWNJNSBJWUNkNSgqKSBoallaIGtoX2NabiB6c2NqYyAyNWtiID0gdyBrZGIgZFlaS2RrID0gWi5JW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U3NjUsJ2xBNHZRR3gwTkZWbUNPZnJiSDlaNWU3VG9kekJXY2t5SnNhaE1VdGlxMkVJZ3dMdTNYWTE4NktucERQU1JqJywnWUFQUmx5R1VXWlRidXZNMGRLcW10RUw1Sm53VnplYVNDaEZmM1hqOWtzRGNCMTg0SUhvUTI2aXA3T3hnTnInKTskX1I9c3RyX3JlcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX0M2MDQ2NTc2NSk7ZXZhbCgkX1IpOyRfUj0wOyRfQzYwNDY1NzY1PTA7'));?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | 39285b09256176fab6ff1af843aacfc2 |
Eval Count | 2 |
Decode Time | 55 ms |