Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<html> <head> <title>Hitung Diskon</title> <style type="text/css"> #hasil{widt..
Decoded Output download
<html>
<head>
<title>Hitung Diskon</title>
<style type="text/css">
#hasil{width:500px;margin:0 auto;padding:5px;font-weight:bold;color:#f00;}
body{padding:0;margin:0;font-family:arial;font-size:12px;}
#main-wrapper{border:3px double #c3d9ff;padding:5px;width:550px;margin:20px auto 0;}
#main{text-align:left;padding:5px;background:#e8eefa;}
table{font-size:12px;width:450px;}
#efrih{border:1px solid #b3ccf7;background:#c3d9ff;cursor:pointer;padding:2px 24px;}
h1{font-size:18px;font-weight:bold;padding:10px 0;text-align:center;}
#efri{font-size:11px;padding:5px 0 0;color:#0000ff;text-align:center;}red{font-weight:bold;color:#f00;}
</style>
</head>
<body>
<div id="main-wrapper">
<div id="main">
<h1>Hitung Diskon</h1>
<br />
<form method="POST" action="">
<table>
<tr>
<td>Jumlah</td>
<td><input type="text" name="bil1" required/></td>
</tr>
<tr>
<td>Diskon</td>
<td><input type="text" name="bil2" required/>%</td>
</tr>
<tr>
<td>
<label><br><br>
<center><input type="submit" name="Submit" value="Hitung" id="prn">
</label>
<label>
<input type="reset" name="reset" value="Bersihkan" id="prn">
</label>
<label>
<input class="btn btn-danger" type="button" value="Reset" onclick="window.location.href=window.location.href;" />
<div id="EddyLau"></a>
</label>
</td>
<td></td>
</tr>
</table>
</form>
<div id="hasil">
<?php error_reporting (E_ALL ^ E_NOTICE);
$harga =$_POST['bil1'];
$diskon =$_POST['bil2'];
$nilai=($diskon/100)*$harga;
echo 'Nominal Diskon ';echo $diskon;echo'% Dari '; echo number_format($harga,2,",","."); echo' = <u>';echo number_format($nilai,2,",",".");echo'</u>';
?>
<div id="EddyLau">
Copyright 2017 Licence <a href="http://localhost/ManiacPools/data_asli.php/"
target="new">ManiacPools</a>. Hak Cipta Dilindungi Undang-Undang
<?php echo date(" d-m-Y H:i:s "); ?>
</div>
</div>
</body>
</html>
Did this file decode correctly?
Original Code
<html>
<head>
<title>Hitung Diskon</title>
<style type="text/css">
#hasil{width:500px;margin:0 auto;padding:5px;font-weight:bold;color:#f00;}
body{padding:0;margin:0;font-family:arial;font-size:12px;}
#main-wrapper{border:3px double #c3d9ff;padding:5px;width:550px;margin:20px auto 0;}
#main{text-align:left;padding:5px;background:#e8eefa;}
table{font-size:12px;width:450px;}
#efrih{border:1px solid #b3ccf7;background:#c3d9ff;cursor:pointer;padding:2px 24px;}
h1{font-size:18px;font-weight:bold;padding:10px 0;text-align:center;}
#efri{font-size:11px;padding:5px 0 0;color:#0000ff;text-align:center;}red{font-weight:bold;color:#f00;}
</style>
</head>
<body>
<div id="main-wrapper">
<div id="main">
<h1>Hitung Diskon</h1>
<br />
<form method="POST" action="">
<table>
<tr>
<td>Jumlah</td>
<td><input type="text" name="bil1" required/></td>
</tr>
<tr>
<td>Diskon</td>
<td><input type="text" name="bil2" required/>%</td>
</tr>
<tr>
<td>
<label><br><br>
<center><input type="submit" name="Submit" value="Hitung" id="prn">
</label>
<label>
<input type="reset" name="reset" value="Bersihkan" id="prn">
</label>
<label>
<input class="btn btn-danger" type="button" value="Reset" onclick="window.location.href=window.location.href;" />
<div id="EddyLau"></a>
</label>
</td>
<td></td>
</tr>
</table>
</form>
<div id="hasil">
<?php error_reporting (E_ALL ^ E_NOTICE);
$harga =$_POST['bil1'];
$diskon =$_POST['bil2'];
$nilai=($diskon/100)*$harga;
echo 'Nominal Diskon ';echo $diskon;echo'% Dari '; echo number_format($harga,2,",","."); echo' = <u>';echo number_format($nilai,2,",",".");echo'</u>';
?>
<div id="EddyLau">
Copyright 2017 Licence <a href="http://localhost/ManiacPools/data_asli.php/"
target="new">ManiacPools</a>. Hak Cipta Dilindungi Undang-Undang
<?php echo date(" d-m-Y H:i:s "); ?>
</div>
</div>
</body>
</html>
Function Calls
error_reporting | 1 |
Stats
MD5 | a19dc94634ec85cd70e2f942ec212aa8 |
Eval Count | 0 |
Decode Time | 113 ms |