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 // Este archivo es protegido por la ley del derechos de propiedad literaria. La ing..

Decoded Output download

?>
<?php
///////ESTE PROGRAMA ES COPIA DE MENCON00506A 
session_start();
$a="Listar Indices de terceros";
include ("/Z1/htdocs/sh2/pro/tes/mentes011/mentes011.php");
include("/Z1/htdocs/sh2/fun/todo/permisos.php");
if (($tesonce[0]=="S")and($tes1[10]=="S")and($tes[3]=="S"))
{
include ("/Z1/htdocs/sh2/fun/todo/conexion.php");
include ("/Z1/htdocs/sh2/fun/todo/color.php");
?>
<style>
tbody tr:nth-child(even){
background-color: #DBE1EB;
}
.trselected {
    background: #FDCBCB;
    color: black;
}
.impar {
    background: #CCCCCC;
}

</style>
<script language="javascript">function doSearch() {
                var tableReg = document.getElementById('datos1');
                var searchText = document.getElementById('searchTerm').value.toLowerCase();
                for (var i = 1; i < tableReg.rows.length; i++) {
                    var cellsOfRow = tableReg.rows[i].getElementsByTagName('td');
                    var found = false;
                    for (var j = 0; j < cellsOfRow.length && !found; j++) {
                        var compareWith = cellsOfRow[j].innerHTML.toLowerCase();
                        if (searchText.length == 0 || (compareWith.indexOf(searchText) > -1)) {
                            found = true;
                        }
                    }
                    if (found) {
                        tableReg.rows[i].style.display = '';
                    } else {
                        tableReg.rows[i].style.display = 'none';
                    }
                }
            }

</script>
<form method="post" action="excel.php">
<?php
include ("/Z1/htdocs/sh2/fun/todo/boton6.php");	
?>
<p>
  </p>
<center>
  <p>&nbsp;</p>
<?php
$q="LISTAR INDICES DE TERCEROS";
include ("/Z1/htdocs/sh2/fun/todo/titulonegro.php");	
?> 
<p><span class="sombra">Busqueda</span>        
    <input class="textbox1" id="searchTerm" type="text" onkeyup="doSearch()" /></p>
<p><a class ="Estilo30" href="mentes01101a.php"> REGRESAR</a></p>
<table onclick = 'onclick(e)' style='cursor:pointer' id="datos1" width="600" border="1">
<tr bgcolor="grey">
<th align="center"><strong>NIT</strong></th>
<th align="center"><strong>RAZON</strong></th>
<th align="center"><strong>DIRECCION</strong></th>
<th align="center"><strong>CIUDAD</strong></th>
<th align="center"><strong>DEP</strong></th>
<th align="center"><strong>MUN</strong></th>
</tr>
<?php
$wlab11a="maecon4b";
$tabla14b=($wlab11a."01"."01"."01");
    
$result4 = mysql_query("SELECT * FROM $tabla14b order by tbnit42b")or die ("<br><br><br><div align='center'><font color='#FF0000'><b>Error cuando se va a conectar a $tabla14b, por favor verificar datos</b><br><br></font><a href='javascript:history.back()' class='Estilo30'>REGRESAR</a></div>");  

while ($row4 = mysql_fetch_array($result4)){   

$nit=ltrim($row4['tbnit42b'],"0");


?>  
<tr onclick="myFunction(this)">
<td><strong><?php echo $nit; ?></strong></td>
<td><strong><?php echo $row4['tbraz42b']; ?></strong></td>
<td><strong><?php echo $row4['tbdir42b']; ?></strong></td>
<td><strong><?php echo $row4['tbciud42b']; ?></strong></td>
<td><strong><?php echo $row4['tbdep42b']; ?></strong></td>
<td><strong><?php echo $row4['tbmun42b']; ?></strong></td>
</tr>
<?php
}
mysql_free_result($result4);
mysql_close($link);
?>
</table>
</center>
<script>
function myFunction(x) {
 
/*Comprueba si existe un elemento con el class="trselected". El
metodo getElementsByClassName devuelve un array con todos
los elementos que llevan el estilo que le pases como parametro.*/
 
if (document.getElementsByClassName("trselected").length > 0) {
	var element = document.getElementsByClassName("trselected");
 
        /*Como solo hay uno, me quedo con el primer elemento del 
         array.*/
	if (element[0].id%2 != 0) element[0].className = "impar";
	else element[0].className = "";
}
x.className="trselected";
}
</script>
</form>
<?php
}  
else
{
include("/Z1/htdocs/sh2/fun/todo/errorp.php");
}
?>
<?

Did this file decode correctly?

Original Code

<?php
// Este archivo es protegido por la ley del derechos de propiedad literaria. La ingenieria inversa de este codigo se prohibe estrictamente.
eval(gzinflate(base64_decode('
pVdbb9pIFH4OUv7D6TRbm14wtNk+FOyIEKeLlEtF
qFZqFFVjewA3xuPOjEnYNv99z4yxcZqEbrKOAmZ8
7tfPe16j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

Variables

None

Stats

MD5 55e853407e2eb8968aec0a0261a73877
Eval Count 1
Decode Time 57 ms