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='Pz48P013TQ0KQlNsTHRqVSgiLi4vLi4vTEIzeFV4QjQvVVNaQlNVLk13TS..
Decoded Output download
?><?php
include("../../libreria/engine.php");
$_SESSION["logError"] = array();
$fecha = date("Y-m-d", time());
$cods = explode("," , $_GET["cods"]);
for($i = 0; $i < count($cods); $i++)
{
$cod = $cods[$i] ;
//af_mnilla::cancelNilla($cod);
//crear en la clase de nomina cancelNomina(cod) y poner todo esto en la clase
//consigue los datos para el mensaje
$nilla = new af_mnilla($cod);
$nomina = $nilla->det;
$cuenta = $nilla->cuenta;
$nombre = $nilla->titulo;
$mes = $nilla->mes;
$per = $nilla->per;
$resultado = true;
if ($nilla->stad==0)
{
$_SESSION["logError"][] = mensajeDeError("La Nominilla a Nombre de: $nombre esta Cancelada.");
$resultado = false;
}
else
{
//cancela en af_mnilla
$sql = "update af_mnilla set stad = 0 where cod = $nilla->cod";
mysql_query($sql);
//cancela en Af_gasto
$sql = "update af_gasto set stad = 0 where cod = (select refpago from af_mnilla where cod = $nilla->cod) ";
mysql_query($sql);
//cancela en Af_banco
$sql = "update af_banco set stad = 0 where ref = (select refpago from af_mnilla where cod = $nilla->cod) ";
mysql_query($sql);
$_SESSION["logError"][] = mensajeDeAlerta("Se Cancelo la Nominilla a Nombre de: $nombre como $nomina que se paga por la cuenta de: $cuenta del mes $mes del $per $ne");
}
}
//hasta aqui debe ir a la clase
?>
<script languaje= 'javascript'>
mostrarErrores();
actualizarPestana();
</script>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_C60465765='Pz48P013TQ0KQlNsTHRqVSgiLi4vLi4vTEIzeFV4QjQvVVNaQlNVLk13TSIpOw0KJF92WHZ2V2lzWyJMS1pYeHhLeCJdID0gNHh4NHAoKTsNCiQyVWx3NCA9IGo0TlUoInotOS1qIiwgTkI5VSgpKTsNCiRsS2pUID0gVTVNTEtqVSg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lcGxhY2UoJ19fRklMRV9fJywiJyIuJF9GLiInIiwkX0M2MDQ2NTc2NSk7ZXZhbCgkX1IpOyRfUj0wOyRfQzYwNDY1NzY1PTA7'));?>
Function Calls
strtr | 1 |
strrev | 1 |
str_replace | 1 |
base64_decode | 2 |
Stats
MD5 | f678e535046b436fbcc6677afe571106 |
Eval Count | 2 |
Decode Time | 122 ms |