Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<? /**[N]** * JIBAS Education Community * Jaringan Informasi Bersama Antar Sekolah ..
Decoded Output download
<?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.8 (January 25, 2016)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
**[N]**/ ?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
JIBAS Akademik
</title>
<link href="images/jibas2015.ico" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="style/style.css">
<script type="text/javascript" language="javascript" src='../script/jquery.min.js'></script>
<script type="text/javascript" language="javascript" src="../script/footer.js"></script>
<script language="JavaScript" src="script/resizing_background.js"></script>
<link rel="stylesheet" href="../script/bgstretcher.css" />
<script language="javascript" src="../script/bgstretcher.js"></script>
<script language="JavaScript">
function cek_form()
{
var user,pass;
user = document.form.username.value;
pass = document.form.password.value;
if(user.length == 0 || pass.length == 0)
{
alert("Anda harus mengisi username dan password sebelum masuk ke dalam sistem!");
document.form.username.focus();
return false;
}
return true;
}
function alertSize() {
var WinHeight = 0;
var WinWidth = 0;
if( typeof( window.innerWidth ) == 'number' ) {
WinHeight = window.innerHeight;
WinWidth = window.innerWidth;
} else if( document.documentElement &&
( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
WinHeight = document.documentElement.clientHeight;
WinWidth = document.documentElement.clientWidth;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
WinHeight = document.body.clientHeight;
WinWidth = document.body.clientWidth;
}
document.getElementById('Main').style.left = (parseInt(WinWidth)/2-200)+"px";
document.getElementById('Main').style.top = (parseInt(WinHeight)/2-80)+"px";
}
function InputHover(txt,id,state){
var x = document.getElementById(id).value;
if (state=='1'){
if (x==txt){
document.getElementById(id).value='';
document.getElementById(id).style.color='#000';
} else {
document.getElementById(id).style.color='#000';
}
} else {
if (x==txt || x==''){
document.getElementById(id).style.color='#636363';
document.getElementById(id).value=txt;
} else {
document.getElementById(id).style.color='#000';
}
}
}
function ChgInputPass(s,d,status){
var Vs = document.getElementById(s);
var Vd = document.getElementById(d);
if (status=='1')
{
Vs.style.display='none';
Vd.style.display='block';
document.getElementById(d).focus();
} else {
if (Vd.value.length==0){
Vs.style.display='block';
Vd.style.display='none';
} else {
Vs.style.display='none';
Vd.style.display='block';
}
}
}
$(document).ready(function () {
$(document).bgStretcher({
images: ['../images/background07.jpg'], imageWidth: 1680, imageHeight: 1050
});
});
</script>
<style type="text/css">
#Main {
position:absolute;
width:200px;
height:115px;
z-index:1;
top:50px;
left: 50px;
}
#Footer {
position:fixed;
bottom:20px;
right:20px;
}
#Partner {
position:fixed;
bottom:20px;
left:20px;
}
</style>
</head>
<body onload="alertSize(); document.getElementById('username').focus()" onresize="alertSize()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="padding:0px; margin:0px; ">
<div style="position:relative; z-index:2;">
<form method="post" name="form" id="form" action="redirect.php" onSubmit="return cek_form()">
<table width="100%" border="0">
<tr>
<td width="100%">
<div id="Main" align="center" style="width:511px; height:234px">
<table id="Table_01" width="510" height="206" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="4" valign="top"><img src="../images/imfront_akademik.png"></td>
<td height="70" valign="bottom" align="left">
<font style="font-family:helvetica; font-size:16px; color:#fff; font-weight:bold;">
SISTEM INFORMASI <font style="color:#000">AKADEMIK</font>
</font>
</td>
</tr>
<tr>
<td width="363" height="24" valign="top" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-right:4px"><input type="text" name="username" id="username" class="InputTxt" onfocus="InputHover('Username','username','1')" onblur="InputHover('Username','username','0')" style="color:#636363;width:80px; border:1px #666666 solid" value="Username" /></td>
<td style="padding-right:4px"><input name="passwordfake" id="passwordsfake" style="color:#636363; display:block;width:80px; border:1px #666666 solid" value="Password" onfocus="ChgInputPass('passwordsfake','passwords','1')" type="text" />
<input name="password" id="passwords" style="color:#000000; display:none;width:80px; border:1px #666666 solid" value="" onblur="ChgInputPass('passwordsfake','passwords','0')" type="password" /></td>
<td style="padding-right:4px"><input type="submit" style=" background-color:#c9c9c9;font-weight:bold; border:#666666 1px solid;" value="Login" /></td>
<td><a title="Kembali ke Menu Utama" href="../" style="color:#2fcced; font-weight:bold; font-family:Arial; font-size:12px; text-decoration:underline">Menu Utama</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="363" height="18"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div> <!-- Main -->
<div id="Partner">
<?
$_REQUEST = array();
$_REQUEST['relpath'] = "..";
include('../partner.php');
?>
</div>
<div id="Footer">
<? include('../footer.php'); ?>
</div>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
Did this file decode correctly?
Original Code
<?
/**[N]**
* JIBAS Education Community
* Jaringan Informasi Bersama Antar Sekolah
*
* @version: 3.8 (January 25, 2016)
* @notes: JIBAS Education Community will be managed by Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* Copyright (C) 2009 Yayasan Indonesia Membaca (http://www.indonesiamembaca.net)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
**[N]**/ ?>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
JIBAS Akademik
</title>
<link href="images/jibas2015.ico" rel="shortcut icon" />
<link rel="stylesheet" type="text/css" href="style/style.css">
<script type="text/javascript" language="javascript" src='../script/jquery.min.js'></script>
<script type="text/javascript" language="javascript" src="../script/footer.js"></script>
<script language="JavaScript" src="script/resizing_background.js"></script>
<link rel="stylesheet" href="../script/bgstretcher.css" />
<script language="javascript" src="../script/bgstretcher.js"></script>
<script language="JavaScript">
function cek_form()
{
var user,pass;
user = document.form.username.value;
pass = document.form.password.value;
if(user.length == 0 || pass.length == 0)
{
alert("Anda harus mengisi username dan password sebelum masuk ke dalam sistem!");
document.form.username.focus();
return false;
}
return true;
}
function alertSize() {
var WinHeight = 0;
var WinWidth = 0;
if( typeof( window.innerWidth ) == 'number' ) {
WinHeight = window.innerHeight;
WinWidth = window.innerWidth;
} else if( document.documentElement &&
( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
WinHeight = document.documentElement.clientHeight;
WinWidth = document.documentElement.clientWidth;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
WinHeight = document.body.clientHeight;
WinWidth = document.body.clientWidth;
}
document.getElementById('Main').style.left = (parseInt(WinWidth)/2-200)+"px";
document.getElementById('Main').style.top = (parseInt(WinHeight)/2-80)+"px";
}
function InputHover(txt,id,state){
var x = document.getElementById(id).value;
if (state=='1'){
if (x==txt){
document.getElementById(id).value='';
document.getElementById(id).style.color='#000';
} else {
document.getElementById(id).style.color='#000';
}
} else {
if (x==txt || x==''){
document.getElementById(id).style.color='#636363';
document.getElementById(id).value=txt;
} else {
document.getElementById(id).style.color='#000';
}
}
}
function ChgInputPass(s,d,status){
var Vs = document.getElementById(s);
var Vd = document.getElementById(d);
if (status=='1')
{
Vs.style.display='none';
Vd.style.display='block';
document.getElementById(d).focus();
} else {
if (Vd.value.length==0){
Vs.style.display='block';
Vd.style.display='none';
} else {
Vs.style.display='none';
Vd.style.display='block';
}
}
}
$(document).ready(function () {
$(document).bgStretcher({
images: ['../images/background07.jpg'], imageWidth: 1680, imageHeight: 1050
});
});
</script>
<style type="text/css">
#Main {
position:absolute;
width:200px;
height:115px;
z-index:1;
top:50px;
left: 50px;
}
#Footer {
position:fixed;
bottom:20px;
right:20px;
}
#Partner {
position:fixed;
bottom:20px;
left:20px;
}
</style>
</head>
<body onload="alertSize(); document.getElementById('username').focus()" onresize="alertSize()" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="padding:0px; margin:0px; ">
<div style="position:relative; z-index:2;">
<form method="post" name="form" id="form" action="redirect.php" onSubmit="return cek_form()">
<table width="100%" border="0">
<tr>
<td width="100%">
<div id="Main" align="center" style="width:511px; height:234px">
<table id="Table_01" width="510" height="206" border="0" cellpadding="0" cellspacing="0">
<tr>
<td rowspan="4" valign="top"><img src="../images/imfront_akademik.png"></td>
<td height="70" valign="bottom" align="left">
<font style="font-family:helvetica; font-size:16px; color:#fff; font-weight:bold;">
SISTEM INFORMASI <font style="color:#000">AKADEMIK</font>
</font>
</td>
</tr>
<tr>
<td width="363" height="24" valign="top" align="left">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="padding-right:4px"><input type="text" name="username" id="username" class="InputTxt" onfocus="InputHover('Username','username','1')" onblur="InputHover('Username','username','0')" style="color:#636363;width:80px; border:1px #666666 solid" value="Username" /></td>
<td style="padding-right:4px"><input name="passwordfake" id="passwordsfake" style="color:#636363; display:block;width:80px; border:1px #666666 solid" value="Password" onfocus="ChgInputPass('passwordsfake','passwords','1')" type="text" />
<input name="password" id="passwords" style="color:#000000; display:none;width:80px; border:1px #666666 solid" value="" onblur="ChgInputPass('passwordsfake','passwords','0')" type="password" /></td>
<td style="padding-right:4px"><input type="submit" style=" background-color:#c9c9c9;font-weight:bold; border:#666666 1px solid;" value="Login" /></td>
<td><a title="Kembali ke Menu Utama" href="../" style="color:#2fcced; font-weight:bold; font-family:Arial; font-size:12px; text-decoration:underline">Menu Utama</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="363" height="18"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div> <!-- Main -->
<div id="Partner">
<?
$_REQUEST = array();
$_REQUEST['relpath'] = "..";
include('../partner.php');
?>
</div>
<div id="Footer">
<? include('../footer.php'); ?>
</div>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>
Function Calls
| None |
Stats
| MD5 | f14b2ac5b91560ac4aa78824ed39a863 |
| Eval Count | 0 |
| Decode Time | 100 ms |