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 function ?$?= 1) { $?= unpack("C*", "ViewZendSourceCodeIsInvalid!"); do { ..
Decoded Output download
<?php
function ?$?= 1)
{
$?= unpack("C*", "ViewZendSourceCodeIsInvalid!");
do {
$?= ($$ << 4) + ($$?+ 1] >> 4);
$?= $?+ 2;
} while ($?< 28);
}
function ?$? $?= 0)
{
global $?
$?= $?>"?("kss_tb_log_login", $? "notsync");
if ($?!== false) {
return true;
}
else {
if ($?== 1) {
return false;
}
$?>"?("repair table kss_tb_log_login", "notsync");
return "?($? 1);
}
}
function ?)
{
$?= array("?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?);
$?= "";
for ($?= 0; $?< 8; $?+) {
$?.= $mt_rand(0, 80)];
}
return $?
}
function ?$?
{
$?= file_get_contents($?;
$1] = ord(substr($? 0, 1));
$2] = ord(substr($? 1, 1));
$3] = ord(substr($? 2, 1));
if (($1] == 239) && ($2] == 187) && ($3] == 191)) {
$?= substr($? 3);
file_put_contents($? $?;
}
}
require "../kss_inc/inc.php";
if (is_file("../install/index.php")) {
header("location:../install/index.php");
exit();
}
$?= "?("action", "g", "sql", "main");
if ($?== "exit") {
if (defined("SAFEIPFILE")) {
$?= $_SERVER["REMOTE_ADDR"] . ",a,";
if (strpos(SAFEIPFILE, $? !== false) {
$?= file_get_contents(KSSINCDIR . "_config.php");
$?= str_replace($? "", $?;
file_put_contents(KSSINCDIR . "_config.php", $?;
exit("unload safeip");
}
}
$?= new mysql_cls();
$?>"?($?;
$?= "?("id", "g", "int", 0);
$?= "?("linecode", "g", "sql", 0);
"?("kss_manager", "");
"?("kss_safe", "");
$?>"?("update kss_tb_manager set `linecode`='?(48) . "' where `id`=" . $?. " and `linecode`='" . $?. "'", "notsyne");
}
if ($?== "chklogin") {
$?= (isset($_SESSION["loginimg"]) ? $_SESSION["loginimg"] : "error");
if ($?== "error") {
"?("", 1);
}
$?= "?("loginimg", "p", "sql", "");
$?= "?("username", "p", "sql", "");
$?= "?("password", "p", "sql", "");
$?= array();
$"pid"] = 0;
$"managerid"] = 0;
$"logintime"] = time();
$"loginip"] = $?
if ((strlen($? < 5) || (strlen($? < 5)) {
"?("5?, 1);
}
if ((strlen($? != 4) && (strlen($? != 6)) {
"?("?, 1);
}
if (($?!= "test01") && ($?!= strtoupper($?)) {
$_SESSION["loginimg"] = NULL;
"?("?, 1);
}
$_SESSION["loginimg"] = NULL;
$?= new mysql_cls();
$?>"?($?;
$?= $?>"?("select * from kss_tb_manager where `username`='" . $?. "' and isdel=0");
if (empty($?) {
"?("?, 1);
}
$?= $?>"?("select * from kss_tb_log_login where `managerid`=" . $"id"] . " order by id desc limit 0,5");
if (!empty($?) {
$?= false;
$?= array();
foreach ($?as $?) {
if ($"logintype"] == 1) {
$?= true;
break;
}
else {
$] = $"loginip"];
}
}
if (($?== false) && (count($? == 5) && in_array($? $?) {
"?("IPIP?);
}
}
$"pid"] = $"pid"];
$"managerid"] = $"id"];
if (md5($? != $"password"]) {
$_SESSION["loginimg"] = NULL;
$"logintype"] = 4;
"?($?;
"?("?, 1);
}
if ($"islock"] == "1") {
$"logintype"] = 3;
"?($?;
"?("" . (empty($"lockedinter"]) ? "" : $"lockedinter"]) . "?, 1);
}
if ($"endtime"] < "?()) {
$"logintype"] = 2;
"?($?;
$?= "";
if ((stripos($_SERVER["SERVER_NAME"], "v9.hphu.com") !== false) && ($"level_2"] == 2)) {
$?= "?a href=http://www.hphu.com/free.html>?/a>";
}
"?("" . $"endtime"] . $? 1);
}
if (2 < $"level_2"]) {
$?= $"pmid"];
while (1) {
$?= $?>"?("select * from kss_tb_manager where id=" . $?;
if ($"endtime"] < "?()) {
"?("" . $$"level_2"]] . "? . $"endtime"]);
}
if ($"islock"] == 1) {
"?("" . $$"level_2"]] . "? [? . $"lockedinter"] . "]");
}
if ($"pmid"] == 0) {
break;
}
$?= $"pmid"];
}
}
$?= "?(48);
$?>"?("update kss_tb_manager set `linecode`='" . $?. "',`lastlogintime`='?() . "',`lastloginip`=" . $?. " where `id`=" . $"id"], "notsync");
$"logintype"] = 1;
"?($?;
$?= $"id"] . "," . $?. "," . md5($? . "," . $?
"?("kss_manager", $?;
$?= "?("jz", "p", "int", 0);
if ($?== 1) {
"?("cook_jz", "1");
"?("cook_u", $?;
"?("cook_p", $?;
}
if ((stripos($_SERVER["SERVER_NAME"], "v9.hphu.com") !== false) && ($"level_2"] == 2) && (substr($"endtime"], 0, 4) < 2038) && ((strtotime($"endtime"]) - time()) < (7 * 86400))) {
echo "<html><head><meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>";
echo "<title>--</title><style>*{font-size:12px}</style></head><body>";
echo "(" . $"endtime"] . ")?;
echo "?a href=http://www.hphu.com/free.html target=_blank style='color:red'></a>?br><br>";
echo "<a href='admin.php?nc=" . time() . "' style='color:red'></a>";
echo "<body></html>";
exit();
}
echo "<html><head><meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>";
echo "<meta http-equiv='refresh' content='0.1;url=admin.php?nc=" . time() . "'>";
echo "<title>--?/title><style>*{font-size:12px}</style></head><body><script>location.href='admin.php?nc=" . time() . "';</script>";
echo "<a href='admin.php?nc=" . time() . "'>?/a>";
echo "<body></html>";
exit();
}
$?= "";
$?= "";
if (isset($_GET["demo"])) {
$?= "test01";
$?= "";
}
$?= 0;
if ("?("cook_jz") == 1) {
$?= 1;
}
if ($?== 1) {
$?= "?("cook_u");
$?= "?("cook_p");
}
"?(KSSINCDIR . "_config.php");
"?(KSSINCDIR . "version.php");
"?(KSSINCDIR . "inc.php");
"?(KSSROOTDIR . "kss_api" . DIRECTORY_SEPARATOR . "BIG5.php");
"?(KSSROOTDIR . "kss_api" . DIRECTORY_SEPARATOR . "GBK.php");
"?(KSSROOTDIR . "kss_api" . DIRECTORY_SEPARATOR . "io_ext.php");
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
<html xmlns=\"http://www.w3.org/1999/xhtml\">
<head>
<title>";
echo ADMINWEBNAME;
echo "--";
echo KSSVERSION;
echo " </title>
<meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\" />
<meta name=\"" content=\"Version ";
echo KSSVERSION;
echo "\" />
<meta name=\"\" content=\"? http://www.hphu.com QQ188372002\" />
<script type=\"text/javascript\" src=\"";
echo INSTALLPATH;
echo "kss_inc/js/jquery.1.3.2.pack.js\" charset=\"utf-8\"></script>
<link rel=\"shortcut icon\" href=\"/favicon.ico\" />
<style>
a{font-size:12px;color:#666;text-decoration:none;}
body{background:#ffffff url(../kss_inc/images/login_01.png) repeat-x;}
form{margin:0;padding:0}
input{font-size:12px}
#username{background:url(../kss_inc/images/user1.png) no-repeat;border:1px solid #ccc;width:200px;height:28px;padding:0 0 0 40px;margin:0;line-height:28px;}
#password{font-size:12px;font-family: Fixedsys;line-height:24px;background:url(../kss_inc/images/passwordt.png) no-repeat;border:1px solid #ccc;color:#fff;width:200px;height:28px;padding:0 0 0 40px;margin:0;line-height:28px;}
#input3{background:url(../kss_inc/images/password2.png) no-repeat;ime-mode:disabled;border:1px solid #ccc;width:200px!important;height:28px;padding:0 0 0 40px;margin:0;line-height:28px;}
#chkimg{display:block;position:absolute;top:-26px;left:187px}
#psssdiv{position:absolute;top:-100px;left:0px;width:200px;height:22px;line-height:22px;background-color:#fff;margin:0;font-size:12px;font-family: Fixedsys;color:#ccc;}
</style>
</head>
<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">
<script type=\"text/javascript\">
";
if (stripos(file_get_contents(KSSINCDIR . "_config.php"), "eval") !== false) {
echo "alert('_config.php');";
}
echo "var imgtime=0;
function t2p(s){
var e='';
for(var i = 0; i < s.length; i++){
if(s.charCodeAt(i) < 256 ) {
e=e+\"#\";
}else{
e=e+\"";
}
}
return e;
}
function sTime(){var d,s;d = new Date();s=d.getTime();return(s);}
$(document).ready(function(){
imgtime=sTime();
$(\"#input3\").bind(\"focus\",function(){
if(sTime()-imgtime>50*1000){
$(\"#chkimg\").attr(\"src\",\"./loginimg.php?rndid=\"+sTime());
imgtime=sTime();
}
});
$(\"#chkimg\").bind(\"click\",function(){
$(\"#chkimg\").attr(\"src\",\"./loginimg.php?rndid=\"+sTime());
});
$(\"#password\").bind(\"click\",function(){
var c1=$(this).offset();
$(\"#psssdiv\").css({top:c1.top+5,left:c1.left+40});
$(this).val(\"\");
$(\"#psssdiv\").text(\"\");
});
$(\"#password\").bind(\"keyup\",function(){
var e1=$(this).val();
$(\"#psssdiv\").text(t2p(e1));
});
$(\"#psssdiv\").bind(\"click\",function(){
$(\"#password\").click().focus();
}).bind(\"dblclick\",function(){
$(\"#password\").dblclick().focus();
});
window.setInterval(loadps, 200);
$(\"#username\").focus();
";
if ($?== 1) {
echo "$(\"#psssdiv\").text(t2p($(\"#password\").val()));
$(\"#input3\").focus();
";
}
if (isset($_GET["demo"])) {
echo "$(\"#input3\").val(\"8888\");
$(\"#find_manager\").submit();
";
}
echo "});
function loadps(){
var c3=$(\"#password\").offset();
$(\"#psssdiv\").css({top:c3.top+5,left:c3.left+40});
}
</script>
<table id=\"__login\" width=\"940\" height=\"560\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=center>
<form id=\"find_manager\" action=\"index.php?action=chklogin\" method=\"post\">
<tr>
<td rowspan=\"3\" style=\"background:url(../kss_inc/images/login_02.png);\" width=\"208\" height=\"560\"> </td>
<td style=\"background:url(../kss_inc/images/login_03b.png);\" width=\"517\" height=\"239\"> </td>
<td rowspan=\"3\" style=\"background:url(../kss_inc/images/login_04.png);\" width=\"215\" height=\"560\"> </td>
</tr>
<tr>
<td style=\"background:url(../kss_inc/images/login_05.png);\" width=\"517\" height=\"190\" align=center>
<table width=\"230\" height=100\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=center>
<tr>
<td colspan=2><input type=\"text\" value=\"";
echo $?
echo "\" name=\"username\" id=\"username\" maxlength=\"15\" AUTOCOMPLETE=\"off\"><br><br></td>
</tr>
<tr>
<td colspan=2><input type=\"text\" value=\"";
echo $?
echo "\" id=\"password\" name=\"password\" maxlength=\"15\" AUTOCOMPLETE=\"off\"><br><br></td>
</tr>
<tr>
<td colspan=2 align=left><input type=\"text\" name=\"loginimg\" maxlength=\"6\" AUTOCOMPLETE=\"off\" id=\"input3\"><div style=\"position:relative;\"><img id=\"chkimg\" src=\"./loginimg.php?rndid=";
echo time();
echo "\"></div></td>
</tr>
<tr>
<td width=120 nowarp><input type=checkbox ";
if ($?== 1) {
echo "checked ";
}
echo " value=1 name=jz id=jz ><label style=\"font-size:11px\" for=jz></label></td><td><input style=\"margin-top:3px\" type=\"image\" src=\"../kss_inc/images/login_.png\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td style=\"background:url(../kss_inc/images/login_06.png);\" width=\"517\" height=\"131\" align=center>";
if (ICPNUM != "") {
echo "<a href=http://www.miibeian.gov.cn/ target=_blank>" . ICPNUM . "</a>";
}
echo " Ver: ";
echo KSSVERSION;
echo "</td>
</tr>
</table>
<div id='psssdiv'></div><div id=\"psssdiv2\"></div>
<script>
</script>
</body>
</html>";
?>
Did this file decode correctly?
Original Code
<?php
function ?$?= 1)
{
$?= unpack("C*", "ViewZendSourceCodeIsInvalid!");
do {
$?= ($$ << 4) + ($$?+ 1] >> 4);
$?= $?+ 2;
} while ($?< 28);
}
function ?$? $?= 0)
{
global $?
$?= $?>"?("kss_tb_log_login", $? "notsync");
if ($?!== false) {
return true;
}
else {
if ($?== 1) {
return false;
}
$?>"?("repair table kss_tb_log_login", "notsync");
return "?($? 1);
}
}
function ?)
{
$?= array("?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "", "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?, "?);
$?= "";
for ($?= 0; $?< 8; $?+) {
$?.= $mt_rand(0, 80)];
}
return $?
}
function ?$?
{
$?= file_get_contents($?;
$1] = ord(substr($? 0, 1));
$2] = ord(substr($? 1, 1));
$3] = ord(substr($? 2, 1));
if (($1] == 239) && ($2] == 187) && ($3] == 191)) {
$?= substr($? 3);
file_put_contents($? $?;
}
}
require "../kss_inc/inc.php";
if (is_file("../install/index.php")) {
header("location:../install/index.php");
exit();
}
$?= "?("action", "g", "sql", "main");
if ($?== "exit") {
if (defined("SAFEIPFILE")) {
$?= $_SERVER["REMOTE_ADDR"] . ",a,";
if (strpos(SAFEIPFILE, $? !== false) {
$?= file_get_contents(KSSINCDIR . "_config.php");
$?= str_replace($? "", $?;
file_put_contents(KSSINCDIR . "_config.php", $?;
exit("unload safeip");
}
}
$?= new mysql_cls();
$?>"?($?;
$?= "?("id", "g", "int", 0);
$?= "?("linecode", "g", "sql", 0);
"?("kss_manager", "");
"?("kss_safe", "");
$?>"?("update kss_tb_manager set `linecode`='?(48) . "' where `id`=" . $?. " and `linecode`='" . $?. "'", "notsyne");
}
if ($?== "chklogin") {
$?= (isset($_SESSION["loginimg"]) ? $_SESSION["loginimg"] : "error");
if ($?== "error") {
"?("", 1);
}
$?= "?("loginimg", "p", "sql", "");
$?= "?("username", "p", "sql", "");
$?= "?("password", "p", "sql", "");
$?= array();
$"pid"] = 0;
$"managerid"] = 0;
$"logintime"] = time();
$"loginip"] = $?
if ((strlen($? < 5) || (strlen($? < 5)) {
"?("5?, 1);
}
if ((strlen($? != 4) && (strlen($? != 6)) {
"?("?, 1);
}
if (($?!= "test01") && ($?!= strtoupper($?)) {
$_SESSION["loginimg"] = NULL;
"?("?, 1);
}
$_SESSION["loginimg"] = NULL;
$?= new mysql_cls();
$?>"?($?;
$?= $?>"?("select * from kss_tb_manager where `username`='" . $?. "' and isdel=0");
if (empty($?) {
"?("?, 1);
}
$?= $?>"?("select * from kss_tb_log_login where `managerid`=" . $"id"] . " order by id desc limit 0,5");
if (!empty($?) {
$?= false;
$?= array();
foreach ($?as $?) {
if ($"logintype"] == 1) {
$?= true;
break;
}
else {
$] = $"loginip"];
}
}
if (($?== false) && (count($? == 5) && in_array($? $?) {
"?("IPIP?);
}
}
$"pid"] = $"pid"];
$"managerid"] = $"id"];
if (md5($? != $"password"]) {
$_SESSION["loginimg"] = NULL;
$"logintype"] = 4;
"?($?;
"?("?, 1);
}
if ($"islock"] == "1") {
$"logintype"] = 3;
"?($?;
"?("" . (empty($"lockedinter"]) ? "" : $"lockedinter"]) . "?, 1);
}
if ($"endtime"] < "?()) {
$"logintype"] = 2;
"?($?;
$?= "";
if ((stripos($_SERVER["SERVER_NAME"], "v9.hphu.com") !== false) && ($"level_2"] == 2)) {
$?= "?a href=http://www.hphu.com/free.html>?/a>";
}
"?("" . $"endtime"] . $? 1);
}
if (2 < $"level_2"]) {
$?= $"pmid"];
while (1) {
$?= $?>"?("select * from kss_tb_manager where id=" . $?;
if ($"endtime"] < "?()) {
"?("" . $$"level_2"]] . "? . $"endtime"]);
}
if ($"islock"] == 1) {
"?("" . $$"level_2"]] . "? [? . $"lockedinter"] . "]");
}
if ($"pmid"] == 0) {
break;
}
$?= $"pmid"];
}
}
$?= "?(48);
$?>"?("update kss_tb_manager set `linecode`='" . $?. "',`lastlogintime`='?() . "',`lastloginip`=" . $?. " where `id`=" . $"id"], "notsync");
$"logintype"] = 1;
"?($?;
$?= $"id"] . "," . $?. "," . md5($? . "," . $?
"?("kss_manager", $?;
$?= "?("jz", "p", "int", 0);
if ($?== 1) {
"?("cook_jz", "1");
"?("cook_u", $?;
"?("cook_p", $?;
}
if ((stripos($_SERVER["SERVER_NAME"], "v9.hphu.com") !== false) && ($"level_2"] == 2) && (substr($"endtime"], 0, 4) < 2038) && ((strtotime($"endtime"]) - time()) < (7 * 86400))) {
echo "<html><head><meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>";
echo "<title>--</title><style>*{font-size:12px}</style></head><body>";
echo "(" . $"endtime"] . ")?;
echo "?a href=http://www.hphu.com/free.html target=_blank style='color:red'></a>?br><br>";
echo "<a href='admin.php?nc=" . time() . "' style='color:red'></a>";
echo "<body></html>";
exit();
}
echo "<html><head><meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>";
echo "<meta http-equiv='refresh' content='0.1;url=admin.php?nc=" . time() . "'>";
echo "<title>--?/title><style>*{font-size:12px}</style></head><body><script>location.href='admin.php?nc=" . time() . "';</script>";
echo "<a href='admin.php?nc=" . time() . "'>?/a>";
echo "<body></html>";
exit();
}
$?= "";
$?= "";
if (isset($_GET["demo"])) {
$?= "test01";
$?= "";
}
$?= 0;
if ("?("cook_jz") == 1) {
$?= 1;
}
if ($?== 1) {
$?= "?("cook_u");
$?= "?("cook_p");
}
"?(KSSINCDIR . "_config.php");
"?(KSSINCDIR . "version.php");
"?(KSSINCDIR . "inc.php");
"?(KSSROOTDIR . "kss_api" . DIRECTORY_SEPARATOR . "BIG5.php");
"?(KSSROOTDIR . "kss_api" . DIRECTORY_SEPARATOR . "GBK.php");
"?(KSSROOTDIR . "kss_api" . DIRECTORY_SEPARATOR . "io_ext.php");
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<title>";
echo ADMINWEBNAME;
echo "--";
echo KSSVERSION;
echo " </title>\r\n<meta HTTP-EQUIV=\"Content-Type\" CONTENT=\"text/html; charset=utf-8\" />\r\n<meta name=\"" content=\"Version ";
echo KSSVERSION;
echo "\" />\r\n<meta name=\"\" content=\"? http://www.hphu.com QQ188372002\" />\r\n<script type=\"text/javascript\" src=\"";
echo INSTALLPATH;
echo "kss_inc/js/jquery.1.3.2.pack.js\" charset=\"utf-8\"></script>\r\n<link rel=\"shortcut icon\" href=\"/favicon.ico\" />\r\n<style>\r\na{font-size:12px;color:#666;text-decoration:none;}\r\nbody{background:#ffffff url(../kss_inc/images/login_01.png) repeat-x;}\r\nform{margin:0;padding:0}\r\ninput{font-size:12px}\r\n#username{background:url(../kss_inc/images/user1.png) no-repeat;border:1px solid #ccc;width:200px;height:28px;padding:0 0 0 40px;margin:0;line-height:28px;}\r\n\r\n#password{font-size:12px;font-family: Fixedsys;line-height:24px;background:url(../kss_inc/images/passwordt.png) no-repeat;border:1px solid #ccc;color:#fff;width:200px;height:28px;padding:0 0 0 40px;margin:0;line-height:28px;}\r\n#input3{background:url(../kss_inc/images/password2.png) no-repeat;ime-mode:disabled;border:1px solid #ccc;width:200px!important;height:28px;padding:0 0 0 40px;margin:0;line-height:28px;}\r\n#chkimg{display:block;position:absolute;top:-26px;left:187px}\r\n#psssdiv{position:absolute;top:-100px;left:0px;width:200px;height:22px;line-height:22px;background-color:#fff;margin:0;font-size:12px;font-family: Fixedsys;color:#ccc;}\r\n</style>\r\n</head>\r\n<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">\r\n\r\n<script type=\"text/javascript\">\r\n";
if (stripos(file_get_contents(KSSINCDIR . "_config.php"), "eval") !== false) {
echo "alert('_config.php');";
}
echo "var imgtime=0;\r\nfunction t2p(s){\r\nvar e='';\r\nfor(var i = 0; i < s.length; i++){\r\nif(s.charCodeAt(i) < 256 ) {\r\ne=e+\"#\";\r\n}else{\r\ne=e+\""; \n}\r\n}\r\nreturn e;\r\n}\r\n\r\nfunction sTime(){var d,s;d = new Date();s=d.getTime();return(s);}\r\n$(document).ready(function(){\r\nimgtime=sTime();\r\n$(\"#input3\").bind(\"focus\",function(){\r\nif(sTime()-imgtime>50*1000){\r\n$(\"#chkimg\").attr(\"src\",\"./loginimg.php?rndid=\"+sTime());\r\nimgtime=sTime();\r\n}\r\n});\r\n$(\"#chkimg\").bind(\"click\",function(){\r\n$(\"#chkimg\").attr(\"src\",\"./loginimg.php?rndid=\"+sTime());\r\n});\r\n\r\n$(\"#password\").bind(\"click\",function(){\r\nvar c1=$(this).offset();\r\n$(\"#psssdiv\").css({top:c1.top+5,left:c1.left+40});\r\n$(this).val(\"\");\r\n$(\"#psssdiv\").text(\"\");\r\n});\r\n\r\n$(\"#password\").bind(\"keyup\",function(){\r\nvar e1=$(this).val();\r\n$(\"#psssdiv\").text(t2p(e1));\r\n});\r\n\r\n$(\"#psssdiv\").bind(\"click\",function(){\r\n$(\"#password\").click().focus();\r\n}).bind(\"dblclick\",function(){\r\n$(\"#password\").dblclick().focus();\r\n});\r\nwindow.setInterval(loadps, 200);\r\n$(\"#username\").focus();\r\n";
if ($?== 1) {
echo "$(\"#psssdiv\").text(t2p($(\"#password\").val()));\r\n$(\"#input3\").focus();\r\n";
}
if (isset($_GET["demo"])) {
echo "$(\"#input3\").val(\"8888\");\r\n$(\"#find_manager\").submit();\r\n";
}
echo "});\r\nfunction loadps(){\r\nvar c3=$(\"#password\").offset();\r\n$(\"#psssdiv\").css({top:c3.top+5,left:c3.left+40});\r\n}\r\n</script>\r\n<table id=\"__login\" width=\"940\" height=\"560\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=center>\r\n<form id=\"find_manager\" action=\"index.php?action=chklogin\" method=\"post\"> \r\n<tr>\r\n<td rowspan=\"3\" style=\"background:url(../kss_inc/images/login_02.png);\" width=\"208\" height=\"560\"> </td>\r\n<td style=\"background:url(../kss_inc/images/login_03b.png);\" width=\"517\" height=\"239\"> </td>\r\n<td rowspan=\"3\" style=\"background:url(../kss_inc/images/login_04.png);\" width=\"215\" height=\"560\"> </td>\r\n</tr>\r\n<tr>\r\n<td style=\"background:url(../kss_inc/images/login_05.png);\" width=\"517\" height=\"190\" align=center>\r\n<table width=\"230\" height=100\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" align=center>\r\n<tr>\r\n<td colspan=2><input type=\"text\" value=\"";
echo $?
echo "\" name=\"username\" id=\"username\" maxlength=\"15\" AUTOCOMPLETE=\"off\"><br><br></td>\r\n</tr>\r\n<tr>\r\n<td colspan=2><input type=\"text\" value=\"";
echo $?
echo "\" id=\"password\" name=\"password\" maxlength=\"15\" AUTOCOMPLETE=\"off\"><br><br></td>\r\n</tr>\r\n<tr>\r\n<td colspan=2 align=left><input type=\"text\" name=\"loginimg\" maxlength=\"6\" AUTOCOMPLETE=\"off\" id=\"input3\"><div style=\"position:relative;\"><img id=\"chkimg\" src=\"./loginimg.php?rndid=";
echo time();
echo "\"></div></td>\r\n</tr>\r\n<tr>\r\n<td width=120 nowarp><input type=checkbox ";
if ($?== 1) {
echo "checked ";
}
echo " value=1 name=jz id=jz ><label style=\"font-size:11px\" for=jz></label></td><td><input style=\"margin-top:3px\" type=\"image\" src=\"../kss_inc/images/login_.png\"></td>\r\n</tr>\r\n</table>\t\t\r\n</td>\r\n</tr>\r\n<tr>\r\n<td style=\"background:url(../kss_inc/images/login_06.png);\" width=\"517\" height=\"131\" align=center>";
if (ICPNUM != "") {
echo "<a href=http://www.miibeian.gov.cn/ target=_blank>" . ICPNUM . "</a>";
}
echo " Ver: ";
echo KSSVERSION;
echo "</td>\r\n</tr>\r\n</table>\r\n<div id='psssdiv'></div><div id=\"psssdiv2\"></div>\r\n<script>\r\n\r\n\r\n</script>\r\n</body>\r\n</html>";
?>
Function Calls
None |
Stats
MD5 | b12d606738b7a6e2bae08da7ff021b99 |
Eval Count | 0 |
Decode Time | 87 ms |