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 //------------------------------------------------------------------------------ ..
Decoded Output download
<?php
//------------------------------------------------------------------------------
//<INFO >
// This file was generated by MyPhpGuard 1.3.0.32623
//
// Date:21/06/2016 15:50:37
//
// </INFO >
//------------------------------------------------------------------------------
/**
*
* @category
* @package
* @author Cristian Frias <[email protected]>
* @copyright 2010 Cristian Frias
* @license
* @version
* @link
*
*/
?>
<?php
session_name("Administrador");session_start();if ($_SESSION["EntityID"] == "")
{header("Location:sessionexpired.php");
}require('Library/Control_Cache.php');require('Library/Open_Conexion.php');require('Library/funciones.php');
?>
<fieldset id="Fs_Lista_Cliente" class="" >
<legend>Lista de Moviles: </legend>
<div>
<!--<table class="moduletable" width="100%" cellpadding="2" cellspacing="0" cols=9>-->
<!--<table class="Tabla_Lista_Pagos">-->
<table class="moduletable" id="Tabla_Lista_Pagos" cellpadding="2" cellspacing="0" border=1>
<thead>
<tr>
<th>Movil</th>
<?php
$SIGAD2s3235=1;while ($SIGAD2s3235<32){echo "<th align='center'>$SIGAD2s3235</th>";
$SIGAD2s3236[$SIGAD2s3235-1]=0;$SIGAD2s3237[$SIGAD2s3235-1]=0;$SIGAD2s3235++;}
?>
<th >Total</th><th>Promedio</th><th></th>
</tr>
</thead>
<tbody>
<?php
$SIGAD2s4235=ConvertDateToMysqlFormat($_GET['Fecha_Mes_Reporte']);$SIGAD2s4236=$_GET['hora_i'];$SIGAD2s4237=$_GET['hora_f'];
$SIGAD2s4238=$_GET['tipo_reporte'];
$SIGAD2s4239 = "select Conduce_Movil, DAY(p.Fecha_Pago) as dia, SUM(pd.Monto) as pagos, lpad(concat(Conduce_Movil, if(right(Conduce_Movil, 1) > '9', '**', ' ')), 10, ' ') as pp
FROM conductor c INNER JOIN conduce co ON c.Agent_ID="
.$_SESSION["EntityID"] . " AND c.Cond_ID=co.Cond_ID AND co.Fecha_Baja IS NULL
LEFT JOIN pagos p ON c.Cond_ID=p.Pagos_Cond_ID LEFT JOIN pagos_detalle pd ON p.Pagos_ID=pd.Pagos_ID
AND DATE_FORMAT(p.Fecha_Pago,'%m-%Y')=DATE_FORMAT('$SIGAD2s4235','%m-%Y')
AND DATE_FORMAT(p.Fecha_Pago,'%H:%i:%s')>='"
.$SIGAD2s4236.":00:00' AND DATE_FORMAT(p.Fecha_Pago,'%H:%i:%s')<='".$SIGAD2s4237.":59:59'";
if ($SIGAD2s4238=='f')$SIGAD2s4239 = $SIGAD2s4239 . " AND pd.Tipo_Deuda_ID_Aux=1 ";
$SIGAD2s4239 = $SIGAD2s4239 . "GROUP BY Conduce_Movil, DAY(p.Fecha_Pago)
ORDER BY pp, DAY(p.Fecha_Pago)"
;
$SIGAD2s4240=1;$SIGAD2s4241=0;$SIGAD2s4242=1;
$SIGAD2s4243=$bd->ejecutar($SIGAD2s4239);
//echo $SIGAD2s4239;
$SIGAD2s4245 =333;
while (($SIGAD2s4246 = mysqli_fetch_array($SIGAD2s4243) )){$SIGAD2s4247 = $SIGAD2s4246["Conduce_Movil"];
$SIGAD2s4248 = $SIGAD2s4246["dia"];$SIGAD2s4249 = $SIGAD2s4246["pagos"];if ( $SIGAD2s4240==1 )
{echo "<tr ><td align='right'>Movil $SIGAD2s4247</td>";
$SIGAD2s4240++;}
else
{if ($SIGAD2s4245!=$SIGAD2s4247){while ($SIGAD2s4242<32){echo "<td align='right'>0</td>";
$SIGAD2s4242++;}if ($SIGAD2s4241==0)$SIGAD2s4250=" style='background-color:#FF0000' ";
else
$SIGAD2s4250=" ";echo "<td align='right' ".$SIGAD2s4250." >$SIGAD2s4241</td><td align='right' >".round($SIGAD2s4241/31,1)."</td></tr><tr><td align='right' >Movil $SIGAD2s4247</td>";
$SIGAD2s4242=1;$SIGAD2s4240++;$SIGAD2s4241=0;}}while ( ($SIGAD2s4248<>$SIGAD2s4242) && ($SIGAD2s4242<32) )
{echo "<td align='right' >0</td>";$SIGAD2s4242++;
}
if (is_null($SIGAD2s4249))
$SIGAD2s4249=0;
else
$SIGAD2s3237[$SIGAD2s4248-1]++;
echo "<td align='right' >$SIGAD2s4249</td>";
if (is_null($SIGAD2s4248))
$SIGAD2s4248=31;
$SIGAD2s3236[$SIGAD2s4248-1]=$SIGAD2s3236[$SIGAD2s4248-1]+$SIGAD2s4249;
$SIGAD2s4241=$SIGAD2s4241+$SIGAD2s4249;
//$SIGAD2s3237[$SIGAD2s4248-1]++;
$SIGAD2s4242++;$SIGAD2s4245=$SIGAD2s4247;
}while ($SIGAD2s4242<32){echo "<td align='right'>0</td>";
$SIGAD2s4242++;}echo "<td align='right'>$SIGAD2s4241</td><td align='right'>".round($SIGAD2s4241/31,1)."</td></tr>";
?>
</tbody>
<tfoot>
<?php
echo "<tr><th width='74' >Total Pagos</th>";
$SIGAD2s3235=1;$SIGAD2s5235[0]=0;$SIGAD2s5235[1]=0;$SIGAD2s5236[0]=0;$SIGAD2s5236[1]=0;while ($SIGAD2s3235<32)
{echo "<th align='right' width='35'>".$SIGAD2s3236[$SIGAD2s3235-1]."</th>";
if ($SIGAD2s3236[$SIGAD2s3235-1]>0){$SIGAD2s5235[0]=$SIGAD2s5235[0]+$SIGAD2s3236[$SIGAD2s3235-1];$SIGAD2s5235[1]++;
}$SIGAD2s3235++;}echo "<th align='right'>".$SIGAD2s5235[0]."</th><th></th>";
echo "</tr><tr><th >Pagaron</th>";$SIGAD2s3235=1;
while ($SIGAD2s3235<32)
{echo "<th align='right'>".$SIGAD2s3237[$SIGAD2s3235-1]."</th>";
if ($SIGAD2s3237[$SIGAD2s3235-1]>0){$SIGAD2s5236[0]=$SIGAD2s5236[0]+$SIGAD2s3237[$SIGAD2s3235-1];$SIGAD2s5236[1]++;
}$SIGAD2s3235++;}echo "</tr>";
?>
</tfoot>
</table>
<?php
echo "<b>Promedio Llamadas Diarias:</b>".floor($SIGAD2s5235[0]/$SIGAD2s5235[1])."<bR>";
echo "<b>Promedio Moviles por Dia:</b>".floor($SIGAD2s5236[0]/$SIGAD2s5236[1])."";
?>
<!-- <img src="images/spacer.gif" onload="$('.Tabla_Lista_Pagos').flexigrid({nowrap: false, title : 'Lista de Moviles',showTableToggleBtn : true,width : 1260,height :600, singleSelect: true });" />-->
<img src="images/spacer.gif" onload="var t = new SortableTable(document.getElementById('Tabla_Lista_Pagos'), 600);" />
<img src="images/spacer.gif" onload="var t = new ScrollableTable(document.getElementById('Tabla_Lista_Pagos'), 600);" />
</fieldset>
<?php
require('Library/Close_Conexion.php');
?>
Did this file decode correctly?
Original Code
<?php
//------------------------------------------------------------------------------
//<INFO >
// This file was generated by MyPhpGuard 1.3.0.32623
//
// Date:21/06/2016 15:50:37
//
// </INFO >
//------------------------------------------------------------------------------
/**
*
* @category
* @package
* @author Cristian Frias <[email protected]>
* @copyright 2010 Cristian Frias
* @license
* @version
* @link
*
*/
?>
<?php
session_name("\x41\x64\x6di\x6e\x69\x73t\x72\x61\x64\x6fr");session_start();if ($_SESSION["\x45\x6e\x74i\x74\x79\x49D"] == "")
{header("\x4c\x6f\x63a\x74\x69\x6fn\x3a\x73\x65\x73s\x69\x6f\x6ee\x78\x70\x69r\x65\x64.\x70\x68\x70");
}require('Library/Control_Cache.php');require('Library/Open_Conexion.php');require('Library/funciones.php');
?>
<fieldset id="Fs_Lista_Cliente" class="" >
<legend>Lista de Moviles: </legend>
<div>
<!--<table class="moduletable" width="100%" cellpadding="2" cellspacing="0" cols=9>-->
<!--<table class="Tabla_Lista_Pagos">-->
<table class="moduletable" id="Tabla_Lista_Pagos" cellpadding="2" cellspacing="0" border=1>
<thead>
<tr>
<th>Movil</th>
<?php
$SIGAD2s3235=1;while ($SIGAD2s3235<32){echo "\x3c\x74\x68 \x61\x6c\x69g\x6e\x3d\x27\x63e\x6e\x74\x65r\x27>$SIGAD2s3235<\x2f\x74\x68>";
$SIGAD2s3236[$SIGAD2s3235-1]=0;$SIGAD2s3237[$SIGAD2s3235-1]=0;$SIGAD2s3235++;}
?>
<th >Total</th><th>Promedio</th><th></th>
</tr>
</thead>
<tbody>
<?php
$SIGAD2s4235=ConvertDateToMysqlFormat($_GET['Fecha_Mes_Reporte']);$SIGAD2s4236=$_GET['hora_i'];$SIGAD2s4237=$_GET['hora_f'];
$SIGAD2s4238=$_GET['tipo_reporte'];
$SIGAD2s4239 = "\x73\x65\x6ce\x63\x74\x20C\x6f\x6e\x64\x75c\x65\x5f\x4do\x76\x69\x6c,\x20\x44A\x59\x28\x70\x2e\x46e\x63h\x61_\x50a\x67o\x29\x20a\x73 \x64i\x61\x2c\x20\x53U\x4d(\x70d\x2eM\x6f\x6e\x74\x6f\x29\x20a\x73 \x70\x61\x67\x6f\x73,\x20l\x70\x61d\x28c\x6f\x6e\x63\x61\x74\x28C\x6fn\x64\x75c\x65\x5fM\x6fv\x69l\x2c\x20i\x66(\x72i\x67h\x74(\x43\x6fn\x64\x75c\x65_\x4d\x6fv\x69\x6c,\x201\x29\x20> \x27\x39\x27,\x20'\x2a\x2a'\x2c\x20\x27\x20'\x29)\x2c\x20\x310\x2c\x20\x27 \x27)\x20a\x73\x20\x70p
\x46\x52\x4fM\x20\x63\x6f\x6ed\x75\x63\x74o\x72\x20\x63 \x49\x4eN\x45\x52\x20\x4a\x4fI\x4e \x63o\x6ed\x75c\x65\x20c\x6f \x4fN\x20\x63\x2e\x41g\x65n\x74_\x49D\x3d"
.$_SESSION["\x45\x6e\x74i\x74\x79\x49D"] . "\x20\x41\x4eD\x20\x63\x2eC\x6f\x6e\x64\x5fI\x44\x3d\x63o\x2e\x43\x6fn\x64\x5fI\x44\x20\x41\x4e\x44 \x63o\x2eF\x65c\x68a\x5f\x42a\x6aa\x20I\x53\x20\x4e\x55L\x4c
\x4c\x45\x46T\x20\x4a\x4f\x49N\x20\x70\x61g\x6f\x73\x20p\x20\x4fN\x20\x63\x2e\x43\x6fn\x64_\x49D\x3dp\x2eP\x61\x67o\x73_\x43o\x6e\x64\x5f\x49D\x20L\x45F\x54 \x4a\x4f\x49\x4e\x20\x70a\x67o\x73\x5f\x64\x65\x74a\x6cl\x65\x20p\x64 \x4f\x4e\x20\x70\x2e\x50a\x67o\x73\x5fI\x44\x3dp\x64.\x50a\x67\x6fs\x5fI\x44
\x41\x4e\x44 \x20\x44\x41\x54E\x5f\x46\x4fR\x4d\x41\x54(\x70\x2eF\x65\x63\x68\x61\x5fP\x61g\x6f,\x27%\x6d-\x25\x59'\x29=\x44A\x54\x45\x5f\x46O\x52M\x41T\x28'$SIGAD2s4235'\x2c\x27\x25m-\x25\x59'\x29
\x41\x4eD\x20\x44\x41\x54E\x5f\x46\x4fR\x4d\x41\x54(\x70\x2eF\x65\x63\x68\x61\x5fP\x61g\x6f,\x27%\x48:\x25\x69:\x25s\x27)>\x3d\x27"
.$SIGAD2s4236."\x3a\x30\x30:\x30\x30\x27 \x41\x4e\x44\x20D\x41\x54\x45_\x46\x4f\x52M\x41\x54(\x70\x2e\x46\x65\x63h\x61_\x50a\x67o\x2c'\x25\x48:\x25i\x3a%\x73\x27\x29\x3c=\x27".$SIGAD2s4237."\x3a\x35\x39:\x35\x39\x27";
if ($SIGAD2s4238=='f')$SIGAD2s4239 = $SIGAD2s4239 . "\x20\x41\x4eD\x20\x70\x64.\x54\x69\x70\x6f_\x44\x65\x75d\x61\x5f\x49D\x5f\x41u\x78\x3d\x31\x20";
$SIGAD2s4239 = $SIGAD2s4239 . "\x47\x52\x4fU\x50\x20\x42Y\x20\x43\x6f\x6ed\x75\x63\x65_\x4d\x6f\x76i\x6c\x2c \x44\x41\x59\x28\x70.\x46e\x63h\x61_\x50a\x67\x6f)
\x4f\x52\x44E\x52\x20\x42\x59 \x70\x70\x2c \x44\x41\x59(\x70\x2eF\x65\x63\x68\x61\x5fP\x61g\x6f)"
;
$SIGAD2s4240=1;$SIGAD2s4241=0;$SIGAD2s4242=1;
$SIGAD2s4243=$bd->ejecutar($SIGAD2s4239);
//echo $SIGAD2s4239;
$SIGAD2s4245 =333;
while (($SIGAD2s4246 = mysqli_fetch_array($SIGAD2s4243) )){$SIGAD2s4247 = $SIGAD2s4246["\x43\x6f\x6ed\x75\x63\x65_\x4d\x6f\x76\x69l"];
$SIGAD2s4248 = $SIGAD2s4246["\x64\x69\x61"];$SIGAD2s4249 = $SIGAD2s4246["\x70\x61\x67o\x73"];if ( $SIGAD2s4240==1 )
{echo "\x3c\x74\x72 >\x3c\x74d\x20\x61\x6c\x69g\x6e\x3d\x27r\x69\x67\x68t\x27>M\x6f\x76\x69\x6c\x20$SIGAD2s4247<\x2f\x74\x64>";
$SIGAD2s4240++;}
else
{if ($SIGAD2s4245!=$SIGAD2s4247){while ($SIGAD2s4242<32){echo "\x3c\x74\x64 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'>\x30\x3c/\x74\x64>";
$SIGAD2s4242++;}if ($SIGAD2s4241==0)$SIGAD2s4250="\x20\x73\x74y\x6c\x65\x3d'\x62\x61\x63\x6bg\x72\x6f\x75n\x64-\x63o\x6c\x6fr\x3a\x23\x46\x46\x300\x300\x27 ";
else
$SIGAD2s4250="\x20\x20";echo "\x3c\x74\x64 \x20\x61\x6ci\x67\x6e\x3d\x27r\x69\x67\x68t\x27\x20".$SIGAD2s4250."\x20>$SIGAD2s4241<\x2f\x74\x64>\x3c\x74\x64 \x20\x61\x6c\x69g\x6e\x3d\x27r\x69\x67\x68t\x27\x20>".round($SIGAD2s4241/31,1)."\x3c\x2f\x74d>\x3c\x2ft\x72>\x3c\x74r>\x3c\x74d\x20\x61\x6ci\x67\x6e=\x27\x72\x69\x67\x68t\x27 >M\x6fv\x69l\x20$SIGAD2s4247<\x2f\x74\x64>";
$SIGAD2s4242=1;$SIGAD2s4240++;$SIGAD2s4241=0;}}while ( ($SIGAD2s4248<>$SIGAD2s4242) && ($SIGAD2s4242<32) )
{echo "\x3c\x74\x64 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'\x20\x20>0\x3c\x2ft\x64>";$SIGAD2s4242++;
}
if (is_null($SIGAD2s4249))
$SIGAD2s4249=0;
else
$SIGAD2s3237[$SIGAD2s4248-1]++;
echo "\x3c\x74\x64 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'\x20>$SIGAD2s4249<\x2f\x74\x64>";
if (is_null($SIGAD2s4248))
$SIGAD2s4248=31;
$SIGAD2s3236[$SIGAD2s4248-1]=$SIGAD2s3236[$SIGAD2s4248-1]+$SIGAD2s4249;
$SIGAD2s4241=$SIGAD2s4241+$SIGAD2s4249;
//$SIGAD2s3237[$SIGAD2s4248-1]++;
$SIGAD2s4242++;$SIGAD2s4245=$SIGAD2s4247;
}while ($SIGAD2s4242<32){echo "\x3c\x74\x64 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'>\x30\x3c/\x74\x64>";
$SIGAD2s4242++;}echo "\x3c\x74\x64 \x20\x61\x6ci\x67\x6e\x3d\x27r\x69\x67\x68t\x27>$SIGAD2s4241<\x2f\x74\x64>\x3c\x74\x64 \x20\x61\x6c\x69g\x6e\x3d\x27r\x69\x67\x68t\x27>".round($SIGAD2s4241/31,1)."\x3c\x2f\x74d>\x3c\x2ft\x72>";
?>
</tbody>
<tfoot>
<?php
echo "\x3c\x74\x72>\x3c\x74\x68 \x77\x69\x64\x74h\x3d\x27\x374\x27\x20>T\x6f\x74a\x6c\x20\x50\x61\x67o\x73<\x2ft\x68>";
$SIGAD2s3235=1;$SIGAD2s5235[0]=0;$SIGAD2s5235[1]=0;$SIGAD2s5236[0]=0;$SIGAD2s5236[1]=0;while ($SIGAD2s3235<32)
{echo "\x3c\x74\x68 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'\x20\x77\x69d\x74\x68=\x27\x33\x35\x27>".$SIGAD2s3236[$SIGAD2s3235-1]."\x3c\x2f\x74h>";
if ($SIGAD2s3236[$SIGAD2s3235-1]>0){$SIGAD2s5235[0]=$SIGAD2s5235[0]+$SIGAD2s3236[$SIGAD2s3235-1];$SIGAD2s5235[1]++;
}$SIGAD2s3235++;}echo "\x3c\x74\x68 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'>".$SIGAD2s5235[0]."\x3c\x2f\x74h>\x3c\x74h>\x3c\x2f\x74h>";
echo "\x3c\x2f\x74r>\x3c\x74r>\x3c\x74\x68 >\x50\x61g\x61\x72\x6fn\x3c\x2ft\x68>";$SIGAD2s3235=1;
while ($SIGAD2s3235<32)
{echo "\x3c\x74\x68 \x61\x6c\x69g\x6e\x3d\x27\x72i\x67\x68\x74'>".$SIGAD2s3237[$SIGAD2s3235-1]."\x3c\x2f\x74h>";
if ($SIGAD2s3237[$SIGAD2s3235-1]>0){$SIGAD2s5236[0]=$SIGAD2s5236[0]+$SIGAD2s3237[$SIGAD2s3235-1];$SIGAD2s5236[1]++;
}$SIGAD2s3235++;}echo "\x3c\x2f\x74r>";
?>
</tfoot>
</table>
<?php
echo "\x3c\x62>P\x72\x6f\x6de\x64\x69\x6f\x20L\x6c\x61\x6da\x64\x61\x73 \x44\x69a\x72\x69\x61\x73\x3a<\x2fb>".floor($SIGAD2s5235[0]/$SIGAD2s5235[1])."\x3c\x62\x52>";
echo "\x3c\x62>P\x72\x6f\x6de\x64\x69\x6f\x20M\x6f\x76\x69l\x65\x73\x20p\x6f\x72 \x44\x69\x61\x3a\x3c/\x62>".floor($SIGAD2s5236[0]/$SIGAD2s5236[1])."";
?>
<!-- <img src="images/spacer.gif" onload="$('.Tabla_Lista_Pagos').flexigrid({nowrap: false, title : 'Lista de Moviles',showTableToggleBtn : true,width : 1260,height :600, singleSelect: true });" />-->
<img src="images/spacer.gif" onload="var t = new SortableTable(document.getElementById('Tabla_Lista_Pagos'), 600);" />
<img src="images/spacer.gif" onload="var t = new ScrollableTable(document.getElementById('Tabla_Lista_Pagos'), 600);" />
</fieldset>
<?php
require('Library/Close_Conexion.php');
?>
Function Calls
session_name | 1 |
Stats
MD5 | 4ccbbca81d3d7945cc6ca6bf5086a6c5 |
Eval Count | 0 |
Decode Time | 65 ms |