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 $_E='UEQ5d2FIQWdhVzVqYkhWa1pTaGNKMnhwWWk5NllXNWZabWxzWlhNdWNHaHdYQ2NwT3lBL1BnMEtQR1J..
Decoded Output download
?><?php include('lib/zan_files.php'); ?>
<div class="art-post">
<div class="art-post-body">
<div class="art-post-inner art-article">
<h2 class="art-postheader">Tambah Calon Ketua OSIS</h2>
<div class="art-postcontent">
<?php
$id = time();
if(!empty($_FILES["file"]['tmp_name']))
{
upload("file","images",$id);
}
if(!empty($_POST['_nama_calon'])&&empty($_POST['_id_calon']))
{
$nama = $_POST['_nama_calon'];
$gambar = $id.".jpg";
$ta = $_SESSION['id_ta'];
$urut = $_POST['_urut'];
mysql_query("insert into pko_calon values('$id','$nama','$gambar',1,'$ta','$urut')")or die(mysql_error());
}
if(!empty($_POST['_nama_calon'])&&!empty($_POST['_id_calon']))
{
$nama = $_POST['_nama_calon'];
$gambar = $id.".jpg";
$ta = $_SESSION['id_ta'];
$urut = $_POST['_urut'];
$id_calon = $_POST['_id_calon'];
mysql_query("update pko_calon set nama_calon = '$nama',urut_calon = '$urut' where id_calon = '$id_calon'")or die(mysql_error());
}
if($_GET['action']=='hapus')
{
$id_calon = $_GET['id'];
mysql_query("update pko_calon set status_calon = '0' where id_calon = '$id_calon'")or die(mysql_error());
}
if($_GET['action'] != 'edit')
{
$nama = "";
$urut = "";
$id = "";
}else if(empty($_POST['_id_calon']))
{
$id = $_GET['id'];
$nama = $_GET['nama'];
$urut = $_GET['urut'];
}else
{
$nama = "";
$urut = "";
$id = "";
}
?>
<form action="" method="post" enctype="multipart/form-data" id="f_calon">
<table width="420" border="1">
<tr>
<td width="103">Nama Calon</td>
<td width="8">:</td>
<td width="234"><label>
<input name="_nama_calon" type="text" id="_nama_calon" value="<?php echo $nama ?>">
</label></td>
</tr>
<tr>
<td>Photo</td>
<td>:</td>
<td><label>
<input type="file" name="file" id="file">
</label></td>
</tr>
<tr>
<td>No Urut</td>
<td>:</td>
<td><label>
<input name="_urut" type="text" id="_urut" value="<?php echo $urut ?>" size="5" maxlength="2">
<input name="_id_calon" type="hidden" id="_id_calon" value="<?php echo $id ?>">
</label></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><label>
<input type="submit" name="btnTa" id="btnTa" value="Submit">
</label></td>
</tr>
</table>
</form>
<h2 class="art-postheader">Calon Ketua OSIS</h2>
<table width="200" border="1">
<tr>
<?php
$id_ta = $_SESSION['id_ta'];
$q = mysql_query("select * from pko_calon where status_calon = 1 and id_ta = '$id_ta' order by urut_calon")or die(mysql_error());
$n = 1;
while($r = mysql_fetch_array($q))
{
$id = $r['id_calon'];
$nama = $r['nama_calon'];
$gambar = $r['gambar'];
$urut = $r['urut_calon'];
?>
<td>
<table width="200" border="1">
<tr bgcolor="#D6D6D6">
<td><strong><?php echo $nama ?></strong></td>
</tr>
<tr>
<td><div align="center"><img src="images/<?php echo $gambar ?>" width="55" height="55"></div></td>
</tr>
<tr>
<td><a href="index.php?content=calon&action=edit&id=<?php echo $id ?>&nama=<?php echo $nama ?>&urut=<?php echo $urut ?>">Edit</a> | <a href="index.php?content=calon&action=hapus&id=<?php echo $id ?>" onClick="return confirm('Anda Yakin Ingin Menghapus Calon Ketua OSIS')">Hapus</a></td>
</tr>
</table>
</td>
<?php
if($n % 3 == 0)
{
echo "</tr><tr>";
}
$n++;
}?>
</tr>
</table>
</div>
<div class="cleared"></div>
</div>
<div class="cleared"></div>
</div>
</div><?
Did this file decode correctly?
Original Code
<?php $_E='UEQ5d2FIQWdhVzVqYkhWa1pTaGNKMnhwWWk5NllXNWZabWxzWlhNdWNHaHdYQ2NwT3lBL1BnMEtQR1JwZGlCamJHRnpjejFjSW1GeWRDMXdiM04wWENJK0RRbzhaR2wySUdOc1lYTnpQVndpWVhKMExYQnZjM1F0WW05a2VWd2lQZzBLUEdScGRpQmpiR0Z6Y3oxY0ltRnlkQzF3YjNOMExXbHVibVZ5SUdGe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