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 (Usuarios)";
include ("/Z1/htdocs/sh2/pro/sis/mensis008/mensis008.php");
include ("/Z1/htdocs/sh2/fun/todo/conexionwisher.php");
include ("/Z1/htdocs/sh2/fun/todo/color.php");
include("/Z1/htdocs/sh2/fun/todo/permisos.php");
if (($sisocho[0]=="S")and($sis1[7]=="S")and($sis[3]=="S"))
{
?>
<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="CONSULTAR USUARIOS";
include ("/Z1/htdocs/sh2/fun/todo/titulonegro.php");
?>
<p>
<p>
<table style="cursor:pointer" id="datos2" width="300" border="1">
<tr bgcolor="grey">
<td align="center"><strong>ID</strong></td>
<td align="center"><strong>NOMBRE</strong></td>
<td align="center"><strong>APELLIDO</strong></td>
<td align="center"><strong>USUARIO</strong></td>
<td align="center"><strong>AREA</strong></td>
</tr>
<tr>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturaid" type="text" id="capturaid" size="1" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturanom" type="text" id="capturanom" size="5" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturaape" type="text" id="capturaape" size="5" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturausu" type="text" id="capturausu" size="5" readonly="readonly"/>
</td>
<td><input style="font:bold; background-color:#FDCBCB;text-align:center;" name="capturaare" type="text" id="capturaare" size="15" readonly="readonly"/>
</td>
</table>
</p>
<p> </p>
<p><span class="sombra">Busqueda</span>
<input class="textbox1" id="searchTerm" type="text" onkeyup="doSearch()" /></p>
<p> </p>
<table onclick = 'onclick(e)' style='cursor:pointer' id="datos1" width="600" border="1">
<tr bgcolor="grey">
<td align="center"><strong>ID</strong></td>
<td align="center"><strong>NOMBRE</strong></td>
<td align="center"><strong>APELLIDO</strong></td>
<td align="center"><strong>USUARIO</strong></td>
<td align="center"><strong>AREA</strong></td>
</tr>
<?php
$wlab="wisher";
$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 wisher</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="font-weight:bold;"><?php echo $row6[0]; ?></th>
<td style="font-weight:bold;"><?php echo $row6[1]; ?></th>
<td style="font-weight:bold;"><?php echo $row6[2]; ?></th>
<td style="font-weight:bold;"><?php echo $row6[3]; ?></th>
<td style="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("capturaid").value=celdas[0].innerHTML;
document.getElementById("capturanom").value=celdas[1].innerHTML;
document.getElementById("capturaape").value=celdas[2].innerHTML;
document.getElementById("capturausu").value=celdas[3].innerHTML;
document.getElementById("capturaare").value=celdas[4].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('
7Vhtb9s2EP4cA/4PDJfVUrdYdrI3xJaCvDhbgbQZ
HAcDFhQFJdEWW1lUScqO2+W/70i92YntziiGfZmR
xAzJOz53vDvy4anX6J+mUdpsSCol48k7qYhQlt1r
Ng6Ii1/zkI1ZQASy7mRGBOPSxjDGkiDOQoos7PzZ
dSIV8kA6MjpyUsEdyaQzpQl8dTq/1K02rIPtbcLj
LHEUD7kT8IQ+AJo5kxEVOwnG/Nn8zdNTKqZMcllL
jJFlHQBeHkT8vvPWdfEttkkSms7u/c9Peu6Piw67
2fjcbJx6zUZfqkVMoaF8Hi6QEieJig6DiMWhRWc0
sWGeT4IPE8GzJDw0iE/QN5fng+7gHCA8NhttJSSN
aaBoiGA2gk8tAXOvLi/OL/RcPVIo8GOYUYizaQo7
tk7ywnzyaQDVKbH2ZSBYqlBMkklGJtTF78mM5J3Y
A38FCrYDhfyWEhFEll1qX/7MYFFF/JgO6QS5MDnI
YPNVe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