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[4]=="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="MODIFICAR 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('
7Vhtb9s4Ev4cA/4PDDdXS92NZae7e4fYUpAX5y5A
2hwcFwdcUBSURFtsZVElKTvebv77DalXJ7a7RrHY
L2ckMUNyhs8MZ4Z8eOa1hmdplLZbkkrJePJRKiKU
ZQ/arSPi4rc8ZFMWEIGs9zIjgnFpYxhjSRBnIUUW
dv7bdyIV8kA6MjpxUsEdyaQzpwl89Xr/qFtdWAfb
u4SnWeIoHnIn4Al9BDRLJiMq9hKM+Yv526enVMyZ
5LKWmCLLOgK8PIj4Q++D6+J7bJMkNJ39h78/63n4
ueiw262v7daZ124NpVrFFBrK5+EKKXGaqOg4iFgc
WnRBExvm+ST4PBM8S8Jjg/gU/XB1MeqPLgDCU7vV
VULSmAaKhghmI/jUEjD3+ury4lLP1SOFAj+GGYU4
m6ewY5skL80nnwZQnRLrUAaCpQrFJJllZEZd/Iks
SN6JPfBXoGA7UMjvKRFBZNml9uZnAYsq4sd0TGfI
hclBBpuv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