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
session_start();
$a="Modificar (PARAMETROS ENTIDADES)";
include ("/Z1/htdocs/sh2/pro/per/menper005/menper005.php");
include("/Z1/htdocs/sh2/fun/todo/permisos.php");
if (($percinco[1]=="S")and($per1[4]=="S")and($per[4]=="S"))
{
include ("/Z1/htdocs/sh2/fun/todo/conexionper.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="validar.php">
<?php
include ("/Z1/htdocs/sh2/fun/todo/botonaceptar.php");
?>
<center>
<?php
$q="MODIFICAR PARAMETROS ENTIDADES";
include ("/Z1/htdocs/sh2/fun/todo/titulonegro.php");
?>
<p>
<p>
<table style="cursor:pointer" id="datos2" width="500" border="1">
   <tr bgcolor="grey">
    <td  align="center"><strong>TIPO</strong></td>
    <td  align="center"><strong>CODIGO</strong></td>
    <td  align="center"><strong>CODIGO SUPER</strong></td>
	<td  align="center"><strong>NIT ENTIDAD</strong></td>
	<td  align="center"><strong>APORTES</strong></td>
    <td  align="center"><strong>NOMBRE</strong></td>
 </tr>
<tr>
    <td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturatip" type="text" id="capturatip" size="7" readonly="readonly"/>
 </td>
    <td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturacod" type="text" id="capturacod" size="7" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturacods" type="text" id="capturacods" size="10" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturanit" type="text" id="capturanit" size="15" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturaapor" type="text" id="capturaapor" size="5" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturanom" type="text" id="capturanom" size="30" readonly="readonly"/>
</td>
</tr>
</table>
</p>
<p>&nbsp;</p>
<p><span class="sombra">Busqueda</span>        
    <input class="textbox1" id="searchTerm" type="text" onkeyup="doSearch()" /></p>
<p>&nbsp;</p>
<table onclick = 'onclick(e)' style='cursor:pointer' id="datos1" width="600" border="1">
   <tr bgcolor="grey">
    <td  align="center"><strong>TIPO</strong></td>
    <td  align="center"><strong>CODIGO</strong></td>
    <td  align="center"><strong>CODIGO SUPER</strong></td>
	<td  align="center"><strong>NIT ENTIDAD</strong></td>
	<td  align="center"><strong>APORTES</strong></td>
    <td  align="center"><strong>NOMBRE</strong></td>
</tr>


<?php
$wlab="parametros1"; 

$result6 = mysql_query("SELECT * FROM $wlab")or die ("<br><br><br><div align='center'><font color='#FF0000'><b>error cuando se va a conectar a $wlab</b><br><br></font><a href='javascript:history.back()' class='Estilo30'>REGRESAR</a></div>");  

while ($row6 = mysql_fetch_row($result6)){   

?>  
<tr onclick="myFunction(this)">
<td style="text-align:left;font-weight:bold;"><?php echo $row6[0]; ?></th>
<td style="text-align:center;font-weight:bold;"><?php echo $row6[1]; ?></th>
<td style="text-align:left;font-weight:bold;"><?php echo $row6[2]; ?></th>
<td style="text-align:left;font-weight:bold;"><?php echo $row6[3]; ?></th>
<td style="text-align:center;font-weight:bold;"><?php echo $row6[4]; ?></th>
<td style="text-align:left;font-weight:bold;"><?php echo $row6[5]; ?></th>
</tr>

<?php
}
?>
</table>
</center>
<script>
 document.getElementById("datos1").onclick=function(e){

	// obtenemos el elemento sobre el que se ha hecho click
    if(!e)e=window.event; 
    if(!e.target) e.target=e.srcElement; 
    // e.target ahora simboliza la celda en la que hemos hecho click
    // subimos de nivel hasta encontrar un tr
    var TR=e.target;
    while( TR.nodeType==1 && TR.tagName.toUpperCase()!="TR" )
        TR=TR.parentNode;
    var celdas=TR.getElementsByTagName("TD");
    // cogemos la primera celda TD del tr (si existe)
    if( celdas.length!=0 )
	
   document.getElementById("datos2").style.visibility = 'visible'; 
   document.getElementById("capturatip").value=celdas[0].innerHTML;
   document.getElementById("capturacod").value=celdas[1].innerHTML;
   document.getElementById("capturacods").value=celdas[2].innerHTML;
   document.getElementById("capturanit").value=celdas[3].innerHTML;
   document.getElementById("capturaapor").value=celdas[4].innerHTML;
   document.getElementById("capturanom").value=celdas[5].innerHTML;
   }	

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('
7Vhtb9s4Ev4cA/kPDDdXS92LZafNLhBbDhLH2QvQ
JIXjxQEbFAUl0RZbWVRJyom3m/9+Q+o1ju0ke93t
lxXaSObLw2eGnOHMHPUbvaMkTLYbkk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z8k+nJMs+50zyTwWMWUSYPMrghwYbQapRfR5dcjN
qICPqaoa3WeB6JB7CaTzZ0DkMsr+i1F08LoE8ubF
ICbAXEJ5+3IqEAYugRw8Arnf0oZdlg9rV8ZdVmXZ
bjivB3yWiJR62tTyE6SNo7R+MBht+0WgV5ZGcQsN
o+0GXOgcbtMHp3igx+pzDIdzntJobhCJEGRh4PQM
ud2IjJ/JlpHGnqOIzolZjpp7NGukKAEDk7pUxlEZ
RLReO0YCXThaoa06DatO2y6qYn3UNlrY0vaY81hd
8lyP1TUUCns3ytT+EpiHIGsa838j0IKOoktFZgZc
6Vfbb61QZLRkZNvSkuXDjN0E/9pHO65mXWv1S127
CJvKs67bbJli17phOKtA31WtDzY2661Xqhxdqqpq
R/c6GtEr1Gv760tEJuxKyuqQucnQ1nK1DMD/Bw==
')));
?>	        

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 8b80f27e62f5b5618869e8a8a5713a2e
Eval Count 1
Decode Time 61 ms