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 eval("?>".base64_decode("PCFET0NUWVBFIGh0bWw+DQo8aHRtbCBsYW5nPSJlbiI+DQoJPGhlYWQ+DQo..
Decoded Output download
?>b'<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Aplikasi Tampilan Antrian</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="img/favicon.png">
</head>
<?php
date_default_timezone_set(\'Asia/Jakarta\');
$tanggal= mktime(date("m"),date("d"),date("Y"));
$tglsekarang = date("d-m-Y", $tanggal);
function hari($hari)
{
switch ($hari){
case 0 : $hari="MINGGU";
Break;
case 1 : $hari="SENIN";
Break;
case 2 : $hari="SELASA";
Break;
case 3 : $hari="RABU";
Break;
case 4 : $hari="KAMIS";
Break;
case 5 : $hari="JUM\'AT";
Break;
case 6 : $hari="SABTU";
Break;
}
return $hari;
}
?>
<body background="img/back.jpg">
<div>
<div class="row clearfix pad">
<div class="col-md-4 column">
<div class="list-group">
<h3><a data-toggle="modal" href=\'#modal\' onClick="setTimeout(function(){$(\'#tutupdialog\').click();},7000);" id="opendialog" class="list-group-item active" style="margin-bottom: -20px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;border-top-right-radius: 10px; border-top-left-radius: 10px; text-align:center; border-bottom: 4px solid #0863B2;">NOMOR ANTRIAN</a><h3>
<!-- <h3><a data-toggle="modal" href=\'#modal\' id="opendialog" class="list-group-item active" style="margin-bottom: -20px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;border-top-right-radius: 10px; border-top-left-radius: 10px; text-align:center;">NOMOR ANTRIAN</a><h3> -->
<div id="data-antri">
</div>
</div>
</div>
<div class="col-md-8 column">
<div class="list-group">
<h3><a href="#" class="list-group-item active" style="margin-bottom: -20px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;border-top-right-radius: 10px; border-top-left-radius: 10px; text-align:center; border-bottom: 4px solid #0863B2;padding-bottom: 37px;"></a><h3>
<video class="video" controls autoplay loop>
<source src="video2.MP4" type="video/mp4">
</video>
<!-- <div class="panel-dokter">
<div class="panel-list">DAFTAR DOKTER YANG LIBUR</div>
<div class="row clearfix">
<div class="col-md-12 column" style="right: 5px;">
<?php// include "test.php"; ?>
</div>
</div>
</div> -->
<div class="panel"><div class="masked">
<img class="iconlogo" src="img/icon.png">
<h1 class="textlogo company">RS MITRA BANGSA</h1>
<h4 class="textlogo logobawah" style="font-family:\'Mistral\'"><i>"Kami Melayani Dengan Tulus"</i></h4>
<h1 class="textlogo logoatas"></h1>
</div>
<!-- <img src="img/banner.png" style="width: 100%; height: 100%;"></div> -->
</div>
<div class="panel-time">
<div class="time" id="time">
<!-- Time auto generated by js -->
</div>
<div class="tanggal">
<?php echo "<div class=\'hari\'>".hari(date("w"))."</div><br><div class=\'tgl\'>".$tglsekarang."</div>";?>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row clearfix pad">
<div class="col-md-12 column fotterfix" style="margin-top:-10px">
<h3><marquee class="fotterpadcol runningtext" behavior="scroll" direction="left">Selamat Datang Di Rumah Sakit Mitra Bangsa <i class="glyphicon glyphicon-star"></i> Kami Melayani Dengan Tulus <i class="glyphicon glyphicon-phone-alt"></i> Hotline : (0295) 382555</marquee><h3>
</div>
</div>
</div>
</body>
</html>
<div class="modal fade" id="modal">
<div class="modal-dialog" style="margin-top: 150px;">
<div class="modal-content">
<div class="modal-header modal-form-header loket-dialog">
<button type="button" id="tutupdialog" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h1 class="modal-title" style="font-size:50px;font-weight:bold"><span class="blink_me">LOKET 1</span></h1>
</div>
<div class="modal-body">
<div class="noloket" style="font-size:150px; border: 2px double #9AC5EA;border-radius: 10px;">A.001</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript">
var auto_refresh = setInterval(
function ()
{
$(\'#data-antri\').load(\'count.php\').fadeIn("slow");
}, 1000);
// refresh every 10000 milliseconds
</script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/scripts.js"></script>
<script type="text/javascript" language="javascript">
// $(document).ready(function() { /// Wait till page is loaded
// setInterval(function() {
// $(\'#data-antri\').load(\'index.html #data-antri\', function() {
// /// can add another function here
// });
// }, 1000);
// }); //// End of Wait till page is loaded
// </script>
<script type="text/javascript">
function blinker() {
$(\'.blink_me\').fadeOut(400);
$(\'.blink_me\').fadeIn(400);
}
setInterval(blinker, 800);
</script>
<script type="text/javascript">
$(function() {
startTime();
$(".center").center();
$(window).resize(function() {
$(".center").center();
});
});
/* */
function startTime()
{
var today = new Date();
var h = today.getHours();
var m = today.getMinutes();
var s = today.getSeconds();
// add a zero in front of numbers<10
m = checkTime(m);
s = checkTime(s);
//Check for PM and AM
var day_or_night = (h > 23) ? "" : "";
//Convert to 12 hours system
if (h > 24)
h -= 24;
//Add time to the headline and update every 500 milliseconds
$(\'#time\').html(h + ":" + m + ":" + s + " " + day_or_night);
setTimeout(function() {
startTime()
}, 500);
}
function checkTime(i)
{
if (i < 10)
{
i = "0" + i;
}
return i;
}
/* CENTER ELEMENTS IN THE SCREEN */
jQuery.fn.center = function() {
this.css("position", "absolute");
this.css("top", Math.max(0, (($(window).height() - $(this).outerHeight()) / 2) +
$(window).scrollTop()) - 30 + "px");
this.css("left", Math.max(0, (($(window).width() - $(this).outerWidth()) / 2) +
$(window).scrollLeft()) + "px");
return this;
}
</script>'
Did this file decode correctly?
Original Code
<?php eval("?>".base64_decode("PCFET0NUWVBFIGh0bWw+DQo8aHRtbCBsYW5nPSJlbiI+DQoJPGhlYWQ+DQoJCTxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4NCgkJPHRpdGxlPkFwbGlrYXNpIFRhbXBpbGFuIEFudHJpYW48L3RpdGxlPg0KCQk8bWV0YSBuYW1lPSJ2aWV3cG9ydCIgY29udGVudD0id2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEuMCI+DQoJCTxtZXRhIG5hbWU9ImRlc2NyaXB0aW9uIiBjb250ZW50PSIiPg0KCQk8bWV0YSBuYW1lPSJhdXRob3IiIGNvbnRlbnQ9IiI+DQoJCTxsaW5rIGhyZWY9ImNzcy9ib290c3RyYXAubWluLmNzcyIgcmVsPSJzdHlsZXNoZWV0Ij4NCgkJPGxpbmsgaHJlZj0iY3NzL3N0eWxlLmNzcyIgcmVsPSJzdHlsZXNoZWV0Ij4NCgkJPGxpbmsgcmVsPSJhcHBsZS10b3VjaC1pY29uLXByZWNvbXBvc2VkIiBzaXplcz0iMTQ0eDE0NCIgaHJlZj0iaW1nL2FwcGxlLXRvdWNoLWljb24tMTQ0LXByZWNvbXBvc2VkLnBuZyI+DQoJCTxsaW5rIHJlbD0iYXBwbGUtdG91Y2gtaWNvbi1wcmVjb21wb3NlZCIgc2l6ZXM9IjExNHgxMTQiIGhyZWY9ImltZy9hcHBsZS10b3VjaC1pY29uLTExNC1wcmVjb21wb3NlZC5wbmciPg0KCQk8bGluayByZWw9ImFwcGxlLXRvdWNoLWljb24tcHJlY29tcG9zZWQiIHNpemVzPSI3Mng3MiIgaHJlZj0iaW1nL2FwcGxlLXRvdWNoLWljb24tNzItcHJlY29tcG9zZWQucG5nIj4NCgkJPGxpbmsgcmVsPSJhcHBsZS10b3VjaC1pY29uLXByZWNvbXBvc2VkIiBocmVmPSJpbWcvYXBw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