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 MENCON00506B
ini_set('max_execution_time', 5400);
ini_set("memory_limit","1024M");
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> </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="mentes01201b.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 tbraz142b")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('
pVftT9tGGP9cJP6HZzdWOx2NY8b6ocSuIJgtUoEq
ME0aqtDZviTX2j737hyStf3f99w5dkwL2dpZAjvn
5/3151fhzvBVOS93d7z6iq6uI3gzufxtcnx+DNEV
jC7fjI/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