HTTP/1.1 200 OK
Date: Thu, 07 Nov 2024 08:07:35 GMT
Server: Apache/2.4.37 (Win32) OpenSSL/1.1.1a PHP/7.2.14
X-Powered-By: PHP/7.2.14
Set-Cookie: PHPSESSID=2c68777mqhf4psmhcsrn986763; path=/
Set-Cookie: killme=dont; expires=Thu, 14-Nov-2024 08:07:35 GMT; Max-Age=604800
Cache-Control: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
5726
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="resources/images/logo_dapodik_circle.png">
<link href="login_assets/log/css/bootstrap.min.cosmo.css" rel="stylesheet">
<!-- <link rel="stylesheet" href="resources/css/w3v4.css"> -->
<link rel="stylesheet" href="resources/css/w3.css">
<style>
:root {
/* COLORS */
--white: #e9e9e9;
--gray: #333;
--blue: #0367a6;
--lightblue: #008997;
/* RADII */
--button-radius: 0.7rem;
/* SIZES */
--max-width: 758px;
--max-height: 450px;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
align-items: center;
background-color: var(--white);
background: url("resources/images/backgrounds/bg_smk.jpg");
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: grid;
height: 75vh;
place-items: center;
margin-top: 5em;
}
.form__title {
font-weight: 300;
margin: 0;
margin-bottom: 1.25rem;
}
.link {
color: var(--gray);
font-size: 0.9rem;
margin: 1.5rem 0;
text-decoration: none;
}
.container {
background-color: var(--white);
border-radius: var(--button-radius);
box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25),
0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);
height: var(--max-height);
max-width: var(--max-width);
overflow: hidden;
position: relative;
width: 100%;
}
.container_title {
background-color: var(--white);
/* background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%); */
box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25),
0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);
height: var(300);
max-width: var(--max-width);
overflow: hidden;
position: relative;
width: 100%;
}
.container__form {
height: 100%;
position: absolute;
top: 0;
transition: all 0.6s ease-in-out;
}
.container--signin {
left: 0;
width: 50%;
z-index: 2;
}
.container.right-panel-active .container--signin {
transform: translateX(100%);
}
.container--signup {
left: 0;
opacity: 0;
width: 50%;
z-index: 1;
}
.container.right-panel-active .container--signup {
animation: show 0.6s;
opacity: 1;
transform: translateX(100%);
z-index: 5;
}
.container__overlay {
height: 100%;
left: 50%;
overflow: hidden;
position: absolute;
top: 0;
transition: transform 0.6s ease-in-out;
width: 50%;
z-index: 100;
}
.container.right-panel-active .container__overlay {
transform: translateX(-100%);
}
.overlay {
background-color: var(--lightblue);
background: url("resources/images/backgrounds/bg_smk.jpg");
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
height: 100%;
left: -100%;
position: relative;
transform: translateX(0);
transition: transform 0.6s ease-in-out;
width: 200%;
}
.container.right-panel-active .overlay {
transform: translateX(50%);
}
.overlay__panel {
align-items: center;
display: flex;
flex-direction: column;
height: 100%;
justify-content: center;
position: absolute;
text-align: center;
top: 0;
transform: translateX(0);
transition: transform 0.6s ease-in-out;
width: 50%;
}
.overlay--left {
transform: translateX(-20%);
}
.container.right-panel-active .overlay--left {
transform: translateX(0);
}
.overlay--right {
right: 0;
transform: translateX(0);
}
.container.right-panel-active .overlay--right {
transform: translateX(20%);
}
.btn {
background-color: var(--blue);
background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%);
border-radius: 20px;
border: 1px solid var(--blue);
color: var(--white);
cursor: pointer;
font-size: 0.8rem;
font-weight: bold;
letter-spacing: 0.1rem;
padding: 0.9rem 4rem;
text-transform: uppercase;
transition: transform 80ms ease-in;
}
.form > .btn {
margin-top: 1.5rem;
}
.btn:active {
transform: scale(0.95);
}
.btn:focus {
outline: none;
}
.form {
background-color: var(--white);
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 0 3rem;
height: 100%;
text-align: center;
}
.input {
background-color: #fff;
border: none;
padding: 0.9rem 0.9rem;
margin: 0.5rem 0;
width: 100%;
}
@keyframes show {
0%,
49.99% {
opacity: 0;
z-index: 1;
}
50%,
100% {
opacity: 1;
z-index: 5;
}
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #000000;
color: #000000;
text-align: center;
display: block;
}
.mask {
position: fixed;
top: 0px;
z-index: 999998;
width: 100%;
height: 100%;
background: black;
opacity: 0.5;
display: none
}
.progres {
display: none;
position: fixed;
top: 0%;
background: black;
width: 100%;
opacity: 0.9;
z-index: 999999;
color: white;
margin: auto;
text-align: center;
padding-top: 20px;
padding-bottom: 20px
}
.warning {
display: none;
position: fixed;
top: 0%;
background: black;
width: 100%;
opacity: 0.9;
z-index: 999999;
color: white;
margin: auto;
text-align: center;
padding-top: 20px
}
</style>
<script type="text/javascript" src="login_assets/log/js/jquery.js"></script>
<script type="text/javascript" src="login_assets/log/js/bootstrap.min.js"></script>
<script type="text/javascript" src="login_assets/log/js/bootbox.min.js"></script>
</head>
<body>
<div class="mask"></div>
<div class="warning"></div>
<div id="statusbar" class="progres"> Memproses data.Mohon tunggu...
<br>
<br>
<div class="w3-progress-container w3-light-red">
<div id="myBar" class="w3-progressbar w3-green" style="width:10%"></div>
</div>
</div>
<div class="container_title">
<div class="w3-bar-item" >
<div style="float:left;background:url(resources/images/logo_dapodik.png) no-repeat;background-size:contain;height:130px;width:130px;background-position: center center; margin-top: -10px">
</div>
<div style="margin-top: 10px">
<font color=#000000 size=5px>Aplikasi<b> DAPODIK</b></font>
<br><font color=#000000 size=3px>Satu Data Pendidikan Indonesia</font>
<br><font color=#000000 size=2px>Direktorat Jenderal Pendidikan Vokasi</font>
<br><font color=#000000 size=2px>Kementerian Pendidikan, Kebudayaan, Riset dan Teknologi </font>
</div>
</div>
</div>
<div class="container right-panel-active">
<!-- Sign Up -->
<div class="container__form container--signup">
<form action="" class="form" id="form1" method="POST" name="myForm">
<h2 class="form__title">Registrasi</h2>
<select name="jenis_registrasi" id="jenis_registrasi" class="input">
<option style="font-weight:700" value="offline" selected>OFFLINE</option>
<option style="font-weight:700" value="online">ONLINE</option>
</select>
<input type="text" name="kode_registrasi" id="kode_registrasi" placeholder="Kode Registrasi" class="input" />
<input type="email" name="username" id="username" placeholder="Username" class="input" />
<input type="password" name="password" id="password" placeholder="Password" class="input" />
<button class="btn" onClick="validateForm()">Registrasi</button>
</form>
</div>
<!-- Sign In -->
<div class="container__form container--signin">
<form action="roleperan" method="POST" class="form" id="form2">
<h2 class="form__title">Masuk</h2>
<input type="email" placeholder="Username" class="input" name="username" value=""/>
<input type="password" placeholder="Password" class="input" name="password" value=""/>
<select name="semester_id" class="input">
<option value='20241' selected>2024/2025 Ganjil</option> </select>
<div>
<input type="checkbox" name="rememberme" /> <font size=2em>Ingatkan saya pada peramban ini</font></div>
<button class="btn">Masuk</button>
</form>
</div>
<!-- Overlay -->
<div class="container__overlay">
<div class="overlay">
<div class="overlay__panel overlay--left">
<button class="btn" id="signIn">Masuk</button>
</div>
<div class="overlay__panel overlay--right">
<button class="btn" id="signUp">Registrasi</button>
</div>
</div>
</div>
</div>
<div class="informasi">
<div class="w3-progress-container w3-light-blue">
<div class="w3-progressbar w3-blue" style="width:10%"></div>
</div>
</div>
<div class="footer" style="background-color:var(--white)">
<p><a href="https://www.kemdikbud.go.id/" target="_blank">Hak Cipta Kementerian Pendidikan, Kebudayaan, Riset dan Teknologi</a>. Republik Indonesia © 2024.</p>
</div>
</body>
<script type="text/javascript">
function getMsg() {
ajaxurl = "ajax.php";
$.ajax({
type: "POST",
url: ajaxurl,
success: function (ret) {
$("#statusbar").html(ret);
setTimeout(getMsg(), 1)
},
error: function (obj, err) {
if (err == "timeout") {
alert("Error Network")
}
}
})
}
function validateEmail(email) {
var re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
return re.test(email)
}
function ifServerOnline(ifOnline, ifOffline) {
var img = document.body.appendChild(document.createElement("img"));
var randomNum = Math.round(Math.random() * 10000);
img.onload = function () {
ifOnline && ifOnline.constructor == Function && ifOnline()
};
img.onerror = function () {
ifOffline && ifOffline.constructor == Function && ifOffline()
};
img.src = "http://sync1.kemdikbud.go.id/cek.png?rand=" + randomNum;
img.remove()
}
function sendAjax(urlsync) {
$.ajax({
url: urlsync,
beforeSend: function () {
getMsg()
},
dataType: "JSONP",
jsonpCallback: "callbacksync",
type: 'GET',
timeout: 10000000000000,
data: {
'act': 'registrasi',
'kode_registrasi': document.forms.myForm.kode_registrasi.value,
'username': document.forms.myForm.username.value,
'password': document.forms.myForm.password.value
},
success: function (msg) {
$('.peringatan').remove();
$('.progres').hide();
$('.mask').hide();
if (msg.success) {
var messagebox = "";
$('.warning').append('<div class="alert alert-dismissable alert-success peringatan" style="font-size:14px">' + 'Mohon tunggu, sedang mengakhiri proses registrasi' + '</div>');
$.ajax({
url: 'customrest/ceksekolah',
dataType: 'json',
type: 'GET',
timeout: 100000,
data: {
'kode_registrasi': document.forms.myForm.kode_registrasi.value,
'username': document.forms.myForm.username.value
},
success: function (message) {
$('.warning').hide();
messagebox += "NPSN: " + message.npsn + "<br>";
messagebox += "Nama Sekolah: " + message.nama + "<br>";
messagebox += "Nama Operator: " + message.nama_ops;
bootbox.alert({
title: 'Registrasi Berhasil',
size: 'small',
message: messagebox,
closeButton: !1,
callback: function (btn) {
window.location = '/'
}
})
},
error: function (msg) {
$('.warning').hide();
messagebox += "Terjadi kesalahan dalam mencari sekolah";
bootbox.alert({
title: 'Error',
size: 'small',
message: messagebox,
closeButton: !1,
callback: function (btn) {
window.location = '/'
}
})
}
})
} else {
$('.warning').append('<div class="alert alert-dismissable
{
"@category" : "datascan",
"@timestamp" : "2024-11-07T08:07:39.000Z",
"app" : {
"extract" : {
"domain" : [
"kemdikbud.go.id"
],
"file" : [
"ajax.php"
],
"hostname" : [
"sync1.kemdikbud.go.id",
"www.kemdikbud.go.id"
],
"url" : [
"http://sync1.kemdikbud.go.id/cek.png?rand=",
"https://www.kemdikbud.go.id/"
]
},
"http" : {
"bodymd5" : "34bc2a0f1e6820ba3564f346dd2b6b5a",
"bodymmh3" : -2016903939,
"component" : [
{
"product" : "OpenSSL",
"productversion" : "1.1.1a",
"productvendor" : "OpenSSL"
},
{
"productvendor" : "Bootstrap",
"product" : "Bootstrap"
},
{
"product" : "PHP",
"productvendor" : "PHP",
"productversion" : "7.2.14"
}
],
"headermd5" : "b09d86dfc6e015faa46aa3417068974a",
"headermmh3" : -156677426
},
"length" : 16384
},
"asn" : "AS152754",
"city" : "Mojokerto",
"country" : "ID",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 OK\r\nDate: Thu, 07 Nov 2024 08:07:35 GMT\r\nServer: Apache/2.4.37 (Win32) OpenSSL/1.1.1a PHP/7.2.14\r\nX-Powered-By: PHP/7.2.14\r\nSet-Cookie: PHPSESSID=2c68777mqhf4psmhcsrn986763; path=/\r\nSet-Cookie: killme=dont; expires=Thu, 14-Nov-2024 08:07:35 GMT; Max-Age=604800\r\nCache-Control: no-cache\r\nConnection: close\r\nTransfer-Encoding: chunked\r\nContent-Type: text/html; charset=UTF-8\r\n\r\n5726\r\n<!DOCTYPE HTML>\n<html>\n<head>\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <link rel=\"shortcut icon\" href=\"resources/images/logo_dapodik_circle.png\">\n\n <link href=\"login_assets/log/css/bootstrap.min.cosmo.css\" rel=\"stylesheet\">\n <!-- <link rel=\"stylesheet\" href=\"resources/css/w3v4.css\"> -->\n <link rel=\"stylesheet\" href=\"resources/css/w3.css\">\n <style>\n :root {\n /* COLORS */\n --white: #e9e9e9;\n --gray: #333;\n --blue: #0367a6;\n --lightblue: #008997;\n\n /* RADII */\n --button-radius: 0.7rem;\n\n /* SIZES */\n --max-width: 758px;\n --max-height: 450px;\n\n font-size: 16px;\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Oxygen,\n Ubuntu, Cantarell, \"Open Sans\", \"Helvetica Neue\", sans-serif;\n }\n\n body {\n align-items: center;\n background-color: var(--white);\n background: url(\"resources/images/backgrounds/bg_smk.jpg\");\n background-attachment: fixed;\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n display: grid;\n height: 75vh;\n place-items: center;\n margin-top: 5em;\n }\n\n .form__title {\n font-weight: 300;\n margin: 0;\n margin-bottom: 1.25rem;\n }\n\n .link {\n color: var(--gray);\n font-size: 0.9rem;\n margin: 1.5rem 0;\n text-decoration: none;\n }\n\n .container {\n background-color: var(--white);\n border-radius: var(--button-radius);\n box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25),\n 0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);\n height: var(--max-height);\n max-width: var(--max-width);\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .container_title {\n background-color: var(--white);\n /* background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%); */\n box-shadow: 0 0.9rem 1.7rem rgba(0, 0, 0, 0.25),\n 0 0.7rem 0.7rem rgba(0, 0, 0, 0.22);\n height: var(300);\n max-width: var(--max-width);\n overflow: hidden;\n position: relative;\n width: 100%;\n }\n\n .container__form {\n height: 100%;\n position: absolute;\n top: 0;\n transition: all 0.6s ease-in-out;\n }\n\n .container--signin {\n left: 0;\n width: 50%;\n z-index: 2;\n }\n\n .container.right-panel-active .container--signin {\n transform: translateX(100%);\n }\n\n .container--signup {\n left: 0;\n opacity: 0;\n width: 50%;\n z-index: 1;\n }\n\n .container.right-panel-active .container--signup {\n animation: show 0.6s;\n opacity: 1;\n transform: translateX(100%);\n z-index: 5;\n }\n\n .container__overlay {\n height: 100%;\n left: 50%;\n overflow: hidden;\n position: absolute;\n top: 0;\n transition: transform 0.6s ease-in-out;\n width: 50%;\n z-index: 100;\n }\n\n .container.right-panel-active .container__overlay {\n transform: translateX(-100%);\n }\n\n .overlay {\n background-color: var(--lightblue);\n background: url(\"resources/images/backgrounds/bg_smk.jpg\");\n background-attachment: fixed;\n background-position: center;\n background-repeat: no-repeat;\n background-size: cover;\n height: 100%;\n left: -100%;\n position: relative;\n transform: translateX(0);\n transition: transform 0.6s ease-in-out;\n width: 200%;\n }\n\n .container.right-panel-active .overlay {\n transform: translateX(50%);\n }\n\n .overlay__panel {\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 100%;\n justify-content: center;\n position: absolute;\n text-align: center;\n top: 0;\n transform: translateX(0);\n transition: transform 0.6s ease-in-out;\n width: 50%;\n }\n\n .overlay--left {\n transform: translateX(-20%);\n }\n\n .container.right-panel-active .overlay--left {\n transform: translateX(0);\n }\n\n .overlay--right {\n right: 0;\n transform: translateX(0);\n }\n\n .container.right-panel-active .overlay--right {\n transform: translateX(20%);\n }\n\n .btn {\n background-color: var(--blue);\n background-image: linear-gradient(90deg, var(--blue) 0%, var(--lightblue) 74%);\n border-radius: 20px;\n border: 1px solid var(--blue);\n color: var(--white);\n cursor: pointer;\n font-size: 0.8rem;\n font-weight: bold;\n letter-spacing: 0.1rem;\n padding: 0.9rem 4rem;\n text-transform: uppercase;\n transition: transform 80ms ease-in;\n }\n\n .form > .btn {\n margin-top: 1.5rem;\n }\n\n .btn:active {\n transform: scale(0.95);\n }\n\n .btn:focus {\n outline: none;\n }\n\n .form {\n background-color: var(--white);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n padding: 0 3rem;\n height: 100%;\n text-align: center;\n }\n\n .input {\n background-color: #fff;\n border: none;\n padding: 0.9rem 0.9rem;\n margin: 0.5rem 0;\n width: 100%;\n }\n\n @keyframes show {\n 0%,\n 49.99% {\n opacity: 0;\n z-index: 1;\n }\n\n 50%,\n 100% {\n opacity: 1;\n z-index: 5;\n }\n }\n\n .footer {\n position: fixed;\n left: 0;\n bottom: 0;\n width: 100%;\n background-color: #000000;\n color: #000000;\n text-align: center;\n display: block;\n }\n\n .mask {\n position: fixed;\n top: 0px;\n z-index: 999998;\n width: 100%;\n height: 100%;\n background: black;\n opacity: 0.5;\n display: none\n }\n\n .progres {\n display: none;\n position: fixed;\n top: 0%;\n background: black;\n width: 100%;\n opacity: 0.9;\n z-index: 999999;\n color: white;\n margin: auto;\n text-align: center;\n padding-top: 20px;\n padding-bottom: 20px\n }\n\n .warning {\n display: none;\n position: fixed;\n top: 0%;\n background: black;\n width: 100%;\n opacity: 0.9;\n z-index: 999999;\n color: white;\n margin: auto;\n text-align: center;\n padding-top: 20px\n }\n\n </style>\n <script type=\"text/javascript\" src=\"login_assets/log/js/jquery.js\"></script>\n <script type=\"text/javascript\" src=\"login_assets/log/js/bootstrap.min.js\"></script>\n <script type=\"text/javascript\" src=\"login_assets/log/js/bootbox.min.js\"></script>\n</head>\n<body>\n <div class=\"mask\"></div>\n <div class=\"warning\"></div>\n <div id=\"statusbar\" class=\"progres\"> Memproses data.Mohon tunggu...\n <br>\n <br>\n <div class=\"w3-progress-container w3-light-red\">\n <div id=\"myBar\" class=\"w3-progressbar w3-green\" style=\"width:10%\"></div>\n </div>\n </div>\n <div class=\"container_title\">\n <div class=\"w3-bar-item\" >\n <div style=\"float:left;background:url(resources/images/logo_dapodik.png) no-repeat;background-size:contain;height:130px;width:130px;background-position: center center; margin-top: -10px\">\n </div>\n <div style=\"margin-top: 10px\">\n <font color=#000000 size=5px>Aplikasi<b> DAPODIK</b></font>\n <br><font color=#000000 size=3px>Satu Data Pendidikan Indonesia</font>\n <br><font color=#000000 size=2px>Direktorat Jenderal Pendidikan Vokasi</font>\n <br><font color=#000000 size=2px>Kementerian Pendidikan, Kebudayaan, Riset dan Teknologi </font>\n </div>\n </div>\n </div>\n <div class=\"container right-panel-active\">\n <!-- Sign Up -->\n <div class=\"container__form container--signup\">\n <form action=\"\" class=\"form\" id=\"form1\" method=\"POST\" name=\"myForm\">\n <h2 class=\"form__title\">Registrasi</h2>\n <select name=\"jenis_registrasi\" id=\"jenis_registrasi\" class=\"input\">\n <option style=\"font-weight:700\" value=\"offline\" selected>OFFLINE</option>\n <option style=\"font-weight:700\" value=\"online\">ONLINE</option>\n </select>\n <input type=\"text\" name=\"kode_registrasi\" id=\"kode_registrasi\" placeholder=\"Kode Registrasi\" class=\"input\" />\n <input type=\"email\" name=\"username\" id=\"username\" placeholder=\"Username\" class=\"input\" />\n <input type=\"password\" name=\"password\" id=\"password\" placeholder=\"Password\" class=\"input\" />\n <button class=\"btn\" onClick=\"validateForm()\">Registrasi</button>\n </form>\n </div>\n\n <!-- Sign In -->\n <div class=\"container__form container--signin\">\n <form action=\"roleperan\" method=\"POST\" class=\"form\" id=\"form2\">\n <h2 class=\"form__title\">Masuk</h2>\n <input type=\"email\" placeholder=\"Username\" class=\"input\" name=\"username\" value=\"\"/>\n <input type=\"password\" placeholder=\"Password\" class=\"input\" name=\"password\" value=\"\"/>\n <select name=\"semester_id\" class=\"input\">\n <option value='20241' selected>2024/2025 Ganjil</option> </select>\n <div>\n <input type=\"checkbox\" name=\"rememberme\" /> <font size=2em>Ingatkan saya pada peramban ini</font></div>\n <button class=\"btn\">Masuk</button>\n </form>\n </div>\n\n <!-- Overlay -->\n <div class=\"container__overlay\">\n <div class=\"overlay\">\n <div class=\"overlay__panel overlay--left\">\n <button class=\"btn\" id=\"signIn\">Masuk</button>\n </div>\n <div class=\"overlay__panel overlay--right\">\n <button class=\"btn\" id=\"signUp\">Registrasi</button>\n </div>\n </div>\n </div>\n </div>\n <div class=\"informasi\">\n <div class=\"w3-progress-container w3-light-blue\">\n <div class=\"w3-progressbar w3-blue\" style=\"width:10%\"></div>\n </div>\n </div>\n <div class=\"footer\" style=\"background-color:var(--white)\">\n <p><a href=\"https://www.kemdikbud.go.id/\" target=\"_blank\">Hak Cipta Kementerian Pendidikan, Kebudayaan, Riset dan Teknologi</a>. Republik Indonesia © 2024.</p>\n </div>\n</body>\n<script type=\"text/javascript\">\n function getMsg() {\n ajaxurl = \"ajax.php\";\n $.ajax({\n type: \"POST\",\n url: ajaxurl,\n success: function (ret) {\n $(\"#statusbar\").html(ret);\n setTimeout(getMsg(), 1)\n },\n error: function (obj, err) {\n if (err == \"timeout\") {\n alert(\"Error Network\")\n }\n }\n })\n }\n\n function validateEmail(email) {\n var re = /^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(email)\n }\n\n function ifServerOnline(ifOnline, ifOffline) {\n var img = document.body.appendChild(document.createElement(\"img\"));\n var randomNum = Math.round(Math.random() * 10000);\n img.onload = function () {\n ifOnline && ifOnline.constructor == Function && ifOnline()\n };\n img.onerror = function () {\n ifOffline && ifOffline.constructor == Function && ifOffline()\n };\n img.src = \"http://sync1.kemdikbud.go.id/cek.png?rand=\" + randomNum;\n img.remove()\n }\n\n function sendAjax(urlsync) {\n $.ajax({\n url: urlsync,\n beforeSend: function () {\n getMsg()\n },\n dataType: \"JSONP\",\n jsonpCallback: \"callbacksync\",\n type: 'GET',\n timeout: 10000000000000,\n data: {\n 'act': 'registrasi',\n 'kode_registrasi': document.forms.myForm.kode_registrasi.value,\n 'username': document.forms.myForm.username.value,\n 'password': document.forms.myForm.password.value\n },\n success: function (msg) {\n $('.peringatan').remove();\n $('.progres').hide();\n $('.mask').hide();\n if (msg.success) {\n var messagebox = \"\";\n $('.warning').append('<div class=\"alert alert-dismissable alert-success peringatan\" style=\"font-size:14px\">' + 'Mohon tunggu, sedang mengakhiri proses registrasi' + '</div>');\n $.ajax({\n url: 'customrest/ceksekolah',\n dataType: 'json',\n type: 'GET',\n timeout: 100000,\n data: {\n 'kode_registrasi': document.forms.myForm.kode_registrasi.value,\n 'username': document.forms.myForm.username.value\n },\n success: function (message) {\n $('.warning').hide();\n messagebox += \"NPSN: \" + message.npsn + \"<br>\";\n messagebox += \"Nama Sekolah: \" + message.nama + \"<br>\";\n messagebox += \"Nama Operator: \" + message.nama_ops;\n bootbox.alert({\n title: 'Registrasi Berhasil',\n size: 'small',\n message: messagebox,\n closeButton: !1,\n callback: function (btn) {\n window.location = '/'\n }\n })\n },\n error: function (msg) {\n $('.warning').hide();\n messagebox += \"Terjadi kesalahan dalam mencari sekolah\";\n bootbox.alert({\n title: 'Error',\n size: 'small',\n message: messagebox,\n closeButton: !1,\n callback: function (btn) {\n window.location = '/'\n }\n })\n }\n })\n } else {\n $('.warning').append('<div class=\"alert alert-dismissable",
"datamd5" : "a83372992d7bcb3858dde109e9d76265",
"datammh3" : -233475270,
"device" : {
"class" : "<enterprise field>: device.class"
},
"geolocus" : {
"asn" : "AS152504",
"continent" : "AS",
"continentname" : "Asia",
"country" : "IN",
"countryname" : "India",
"domain" : [
"gmail.com"
],
"isineu" : "false",
"latitude" : "20.593684",
"location" : "20.593684,78.96288",
"longitude" : "78.96288",
"netname" : "LUKE1",
"organization" : "LUKESTAR INFOTAINMENT PRIVATE LIMITED",
"subnet" : "160.19.80.0/21"
},
"ip" : "160.19.84.114",
"ipv6" : "false",
"latitude" : "-7.4604",
"location" : "-7.4604,112.4325",
"longitude" : "112.4325",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "CV CRON INTERDATA NUSANTARA",
"os" : "Windows",
"osbits" : 32,
"osdistribution" : "Ubuntu",
"osvendor" : "Microsoft",
"port" : 50075,
"product" : "HTTP Server",
"productvendor" : "Apache",
"productversion" : "2.4.37",
"protocol" : "http",
"protocolversion" : "1.1",
"reason" : "OK",
"seen_date" : "2024-11-07",
"source" : "datascan",
"status" : 200,
"subnet" : "160.19.84.0/23",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}