[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
05122024
/
htdocs
/
simkeu
/
login
/
[
Home
]
File: index.php
<?php require_once("configure_first.php"); // $setting["sekolah"] = "SD Islam Sabilillah Sidoarjo"; // $setting["company"] = "PT Alur Cipta Tama"; $page["index"] = "index.php"; $page["Logout"] = "logout.php"; $page["changepassword"] = $page["index"]."?changepassword"; $page["EditDataSiswa"] = $page["index"]."?EditDataSiswa"; $page["DownloadSoal"] = $page["index"]."?DownloadSoal"; $page["Inbox"] = $page["index"]."?Inbox"; $nmform = "index.php"; $user_name = ""; $user_pass = ""; // $cek = ""; if(isset($_SESSION["user-id"])) { $sessionid = $_SESSION["user-id"]; // if($sessionid != 0 || $sessionid) echo "<script>window.parent.document.location.href='mainform.php';</script>"; } // echo "<script>window.alert('".$_POST["Login"]." ".$_POST["input-password"]." !!!');</script>"; if(isset($_POST["input-username"]) && isset($_POST["input-password"])) { $sql = "select a.user_id,c.member_id,a.user_name,a.user_nama,a.id_profil,a.id_pgw,a.id_siswa from login_user a left join m_pegawai b on a.id_pgw = b.pgw_id left join ".$dbmessenger.".data_member c on a.user_id = c.id_user where is_simkeu = 1 and upper(user_name) = upper('".$_POST["input-username"]."') and upper(user_pass) = upper('".$_POST["input-password"]."')"; $Qrs = mysql_query($sql); $cek = mysql_fetch_array($Qrs); if($cek["user_id"]) { $cekin = lastlogin($cek["user_id"],"login"); $_SESSION["member-id"] = $cek["member_id"]; $_SESSION["user-id"] = $cek["user_id"]; $_SESSION["user-nama"] = $cek["user_nama"]; $_SESSION["user-name"] = $cek["user_name"]; $_SESSION["id-profil"] = $cek["id_profil"]; $_SESSION["id-pgw"] = $cek["id_pgw"]; $_SESSION["id-siswa"] = $cek["id_siswa"]; if($cek["id_siswa"] && $cek["id_siswa"] != 0) { $tgl = date("d"); if($tgl > 10) { $bln = $monthName[round(date("m"))]; $thn = date("Y"); // $sql2 = "select * from keu_p_pembayaran_siswa where pembayaran_bulan = '".$bln."' and pembayaran_tahun = '".$thn."' and id_siswa = ".$cek["id_siswa"]; $sql2 = "select * from login_blacklist where id_siswa = ".$cek["id_siswa"]; $Qrs2 = mysql_query($sql2); $cek2 = mysql_fetch_array($Qrs2); if($cek2["blacklist_id"]) { // echo "<script>window.alert('".$weme."');</script>"; // echo "<script>window.parent.document.location.href='mainform.php';</script>"; echo "<script>window.alert('Anda telah masuk di daftar blacklist dikarenakan ".$cek2["blacklist_alasan"]." sejak ".$cek2["blacklist_tgl"].". Terima Kasih');</script>"; echo "<script>window.parent.document.location.href='index.php';</script>"; }else{ // echo "<script>window.alert('Silahkan melakukan pembayaran SPP bulan ".$bln." ".$thn.". Terima Kasih');</script>"; // echo "<script>window.parent.document.location.href='index.php';</script>"; echo "<script>window.alert('".$weme."');</script>"; // echo "<script>window.parent.document.location.href='../mahasiswa/index.php';</script>"; } }else{ echo "<script>window.alert('".$weme."');</script>"; // echo "<script>window.parent.document.location.href='../mahasiswa/index.php';</script>"; } } echo "<script>window.alert('".$weme."');</script>"; if($cek["id_pgw"] && $cek["id_pgw"] != 0) echo "<script>window.parent.document.location.href='../sia/dashboard.php';</script>"; if($cek["id_profil"] && $cek["id_profil"] == 7) echo "<script>window.parent.document.location.href='../sia/dashboard.php';</script>"; if($cek["user_id"] && $cek["user_id"] != 0) echo "<script>window.parent.document.location.href='../sia/dashboard.php';</script>"; }else{ $cekin = lastlogin($cek["user_id"],"Try to Login"); echo "<script>window.alert('User & Password salah !!!');</script>"; echo "<script>window.parent.document.location.href='".$nmform."';</script>"; } } if(isset($_POST["Login"]) && !$_POST["input-username"] && !$_POST["input-password"]) { echo "<script>window.alert('Silahkan diisi Username & Password !!!');</script>"; echo "<script>window.parent.document.location.href='".$nmform."';</script>"; } // $cekin = lastlogin($cek["user_id"],"Open Page Login"); ?> <!doctype html> <html lang="en" class="loading loading-primary"> <head> <meta name="value" content="594vj8v4mq"> <meta charset="utf-8"> <title>Sign in SIMKEU - <?php echo $setting["sekolah"];?></title> <meta name="description" content="Potensi (Program Terintegrasi Manajemen Sekolah Indonesia) merupakan software untuk mengatur kegiatan yang ada di sekolah. Baik itu akademik, pembayaran, absensi hingga cetak raport."> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <link rel="apple-touch-icon" sizes="57x57" href="assets/icons/apple-icon-57x57.png"> <link rel="apple-touch-icon" sizes="60x60" href="assets/icons/apple-icon-60x60.png"> <link rel="apple-touch-icon" sizes="72x72" href="assets/icons/apple-icon-72x72.png"> <link rel="apple-touch-icon" sizes="76x76" href="assets/icons/apple-icon-76x76.png"> <link rel="apple-touch-icon" sizes="114x114" href="assets/icons/apple-icon-114x114.png"> <link rel="apple-touch-icon" sizes="120x120" href="assets/icons/apple-icon-120x120.png"> <link rel="apple-touch-icon" sizes="144x144" href="assets/icons/apple-icon-144x144.png"> <link rel="apple-touch-icon" sizes="152x152" href="assets/icons/apple-icon-152x152.png"> <link rel="apple-touch-icon" sizes="180x180" href="assets/icons/apple-icon-180x180.png"> <link rel="manifest" href="http://peak.batchthemes.com/assets/icons/manifest.json"> <link rel="icon" type="image/x-icon" href="favicon.ico" /> <meta name="msapplication-TileColor" content="#ffffff"> <meta name="msapplication-TileImage" content="assets/icons/ms-icon-144x144.html"> <meta name="theme-color" content="#ffffff"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"> <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <link rel="stylesheet" type="text/css" href="../cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" /> <link rel="stylesheet" type="text/css" href="../cdnjs.cloudflare.com/ajax/libs/flag-icon-css/1.0.0/css/flag-icon.min.css" /> <link rel="stylesheet" type="text/css" href="../cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons.min.css" /> <link rel="stylesheet" type="text/css" href="../cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons-wind.min.css" /> <!-- build:css css/vendor.css --> <link rel="stylesheet" type="text/css" href="bower_components/chartist/dist/chartist.min.css" /> <link rel="stylesheet" type="text/css" href="bower_components/morris.js/morris.css" /> <link rel="stylesheet" type="text/css" href="bower_components/nvd3/build/nv.d3.css" /> <link rel="stylesheet" type="text/css" href="bower_components/sweetalert2/dist/sweetalert2.css" /> <link rel="stylesheet" type="text/css" href="bower_components/toastr/toastr.css" /> <link rel="stylesheet" type="text/css" href="bower_components/summernote/dist/summernote.css" /> <link rel="stylesheet" type="text/css" href="bower_components/fakeLoader/fakeLoader.css" /> <link rel="stylesheet" type="text/css" href="bower_components/nouislider/distribute/nouislider.min.css" /> <link rel="stylesheet" type="text/css" href="bower_components/bootstrap-material-datetimepicker/css/bootstrap-material-datetimepicker.css" /> <link rel="stylesheet" type="text/css" href="components/css/zoom.css" /> <!-- endbuild --> <!-- build:css css/styles.css --> <link rel="stylesheet" type="text/css" href="css/main.css"> <link rel="stylesheet" type="text/css" href="css/global.css"> <link rel="stylesheet" type="text/css" href="css/colors.css"> <link rel="stylesheet" type="text/css" href="css/box-shadows.css"> <link rel="stylesheet" type="text/css" href="css/animate.css"> <link rel="stylesheet" type="text/css" href="css/layouts/homepage.css"> <link rel="stylesheet" type="text/css" href="css/layouts/default-sidebar-1.css"> <link rel="stylesheet" type="text/css" href="css/layouts/default-sidebar-2.css"> <link rel="stylesheet"type="text/css" href="css/layouts/empty-view-1.css"> <link rel="stylesheet" type="text/css" href="css/layouts/empty-view-2.css"> <link rel="stylesheet" type="text/css" href="css/layouts/empty-view-3.css"> <link rel="stylesheet" type="text/css" href="css/layouts/empty-view-4.css"> <link rel="stylesheet" type="text/css" href="css/layouts/empty-view-5.css"> <link rel="stylesheet" type="text/css" href="css/layouts/empty-view-6.css"> <link rel="stylesheet" type="text/css" href="css/layouts/top-navigation-1.css"> <link rel="stylesheet" type="text/css" href="css/layouts/top-navigation-2.css"> <link rel="stylesheet" type="text/css" href="css/layouts/off-canvas.css"> <link rel="stylesheet" type="text/css" href="css/layouts/fixed-navbar-1.css"> <link rel="stylesheet" type="text/css" href="css/elements/left-sidebar-1.css"> <link rel="stylesheet" type="text/css" href="css/elements/navbar-1.css"> <link rel="stylesheet" type="text/css" href="css/elements/navbar-2.css"> <link rel="stylesheet" type="text/css" href="css/elements/navbar-3.css"> <link rel="stylesheet" type="text/css" href="css/elements/top-search.css"> <link rel="stylesheet" type="text/css" href="css/elements/top-navigation-1.css"> <link rel="stylesheet" type="text/css" href="css/elements/right-sidebar-1.css"> <link rel="stylesheet" type="text/css" href="css/elements/jumbotron-1.css"> <link rel="stylesheet" type="text/css" href="css/elements/jumbotron-2.css"> <link rel="stylesheet" type="text/css" href="css/elements/jumbotron-3.css"> <link rel="stylesheet" type="text/css" href="css/dashboards/geographic.css"> <link rel="stylesheet" type="text/css" href="css/dashboards/analytics.css"> <link rel="stylesheet" type="text/css" href="css/helpers/margin.css"> <link rel="stylesheet" type="text/css" href="css/helpers/padding.css"> <link rel="stylesheet" type="text/css" href="css/helpers/text.css"> <link rel="stylesheet" type="text/css" href="css/helpers/border.css"> <link rel="stylesheet" type="text/css" href="css/helpers/height.css"> <link rel="stylesheet" type="text/css" href="css/helpers/width.css"> <link rel="stylesheet" type="text/css" href="css/helpers/other.css"> <link rel="stylesheet" type="text/css" href="css/color-system/material-design-colors.css"> <link rel="stylesheet" type="text/css" href="css/icons/flags.css"> <link rel="stylesheet" type="text/css" href="css/icons/font-awesome.css"> <link rel="stylesheet" type="text/css" href="css/icons/weather-icons.css"> <link rel="stylesheet" type="text/css" href="css/icons/material-design-icons.css"> <link rel="stylesheet" type="text/css" href="css/charts/chartist.css"> <link rel="stylesheet" type="text/css" href="css/charts/easy-pie-chart.css"> <link rel="stylesheet" type="text/css" href="css/charts/morris.css"> <link rel="stylesheet" type="text/css" href="css/charts/nvd3.css"> <link rel="stylesheet" type="text/css" href="css/charts/echarts.css"> <link rel="stylesheet" type="text/css" href="css/extras/crop.css"> <link rel="stylesheet" type="text/css" href="css/extras/invoice.css"> <link rel="stylesheet" type="text/css" href="css/extras/mousetrap.css"> <link rel="stylesheet" type="text/css" href="css/extras/pricing-tables.css"> <link rel="stylesheet" type="text/css" href="css/extras/syntax-highlighting.css"> <link rel="stylesheet" type="text/css" href="css/extras/zoom.css"> <link rel="stylesheet" type="text/css" href="css/extras/white-frames.css"> <link rel="stylesheet" type="text/css" href="css/extras/search-results.css"> <link rel="stylesheet" type="text/css" href="css/editors/summernote.css"> <link rel="stylesheet" type="text/css" href="css/forms/basic.css"> <link rel="stylesheet" type="text/css" href="css/forms/checkboxes.css"> <link rel="stylesheet" type="text/css" href="css/forms/radios.css"> <link rel="stylesheet" type="text/css" href="css/forms/sliders.css"> <link rel="stylesheet" type="text/css" href="css/forms/toggles.css"> <link rel="stylesheet" type="text/css" href="css/forms/file-uploads.css"> <link rel="stylesheet" type="text/css" href="css/forms/date-picker.css"> <link rel="stylesheet" type="text/css" href="css/tables/default.css"> <link rel="stylesheet" type="text/css" href="css/tables/datatable.css"> <link rel="stylesheet" type="text/css" href="css/pages/index.css"> <link rel="stylesheet" type="text/css" href="css/pages/banners.css"> <link rel="stylesheet" type="text/css" href="css/pages/error.css"> <link rel="stylesheet" type="text/css" href="css/pages/sign-in.css"> <link rel="stylesheet" type="text/css" href="css/pages/sign-up.css"> <link rel="stylesheet" type="text/css" href="css/pages/coming-soon.css"> <link rel="stylesheet" type="text/css" href="css/pages/forgot-password.css"> <link rel="stylesheet" type="text/css" href="css/pages/unlock-account.css"> <link rel="stylesheet" type="text/css" href="css/ui/alerts.css"> <link rel="stylesheet" type="text/css" href="css/ui/badges.css"> <link rel="stylesheet" type="text/css" href="css/ui/breadcrumbs.css"> <link rel="stylesheet" type="text/css" href="css/ui/buttons.css"> <link rel="stylesheet" type="text/css" href="css/ui/cards.css"> <link rel="stylesheet" type="text/css" href="css/ui/dropdowns.css"> <link rel="stylesheet" type="text/css" href="css/ui/grid.css"> <link rel="stylesheet" type="text/css" href="css/ui/images.css"> <link rel="stylesheet" type="text/css" href="css/ui/lists.css"> <link rel="stylesheet" type="text/css" href="css/ui/modals.css"> <link rel="stylesheet" type="text/css" href="css/ui/overlays.css"> <link rel="stylesheet" type="text/css" href="css/ui/pagination.css"> <link rel="stylesheet" type="text/css" href="css/ui/popovers.css"> <link rel="stylesheet" type="text/css" href="css/ui/progress-bars.css"> <link rel="stylesheet" type="text/css" href="css/ui/social-media-buttons.css"> <link rel="stylesheet" type="text/css" href="css/ui/sweet-alert.css"> <link rel="stylesheet" type="text/css" href="css/ui/tabs.css"> <link rel="stylesheet" type="text/css" href="css/ui/tags.css"> <link rel="stylesheet" type="text/css" href="css/ui/tooltips.css"> <link rel="stylesheet" type="text/css" href="css/ui/typography.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-1.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-10.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-11.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-2.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-6.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-7.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-8.css"> <link rel="stylesheet" type="text/css" href="css/user-widgets/user-widget-9.css"> <link rel="stylesheet" type="text/css" href="css/maps/google-maps.css"> <link rel="stylesheet" type="text/css" href="css/maps/vector-maps.css"> <link rel="stylesheet" type="text/css" href="css/email/inbox.css"> <link rel="stylesheet" type="text/css" href="css/text-widgets/text-widget-1.css"> <link rel="stylesheet" type="text/css" href="css/text-widgets/text-widget-2.css"> <link rel="stylesheet" type="text/css" href="css/text-widgets/text-widget-7.css"> <link rel="stylesheet" type="text/css" href="css/activity-widgets/activity-widget-1.css"> <link rel="stylesheet" type="text/css" href="css/activity-widgets/activity-widget-3.css"> <link rel="stylesheet" type="text/css" href="css/activity-widgets/activity-widget-4.css"> <link rel="stylesheet" type="text/css" href="css/activity-widgets/activity-widget-5.css"> <link rel="stylesheet" type="text/css" href="css/activity-widgets/activity-widget-6.css"> <link rel="stylesheet" type="text/css" href="css/documentation/customization.css"> <link rel="stylesheet" type="text/css" href="css/documentation/code-structure.css"> <link rel="stylesheet" type="text/css" href="css/documentation/credits.css"> <link rel="stylesheet" type="text/css" href="css/documentation/layout.css"> <link rel="stylesheet" type="text/css" href="css/documentation/styles.css"> <!-- endbuild --> </head> <body id="pages-sign-in" data-layout="empty-view-2" data-controller="pages" data-view="sign-in"> <div id="fakeloader"></div> <div class="form-container"> <form class="sign-in" action="index.php" method="POST"> <h3>Sign in SIMKEU</h3> <p> Silahkan masukkan username dan password anda </p> <div class="form-group"> <label for="sign-in-2-email" class="bmd-label-floating">Username</label> <input class="form-control" type="text" id="input-username" name="input-username"> </div> <div class="form-group"> <label for="sign-in-1-password" class="bmd-label-floating">Password</label> <input class="form-control" type="password" class="form-control" id="input-password" name="input-password" </div> </div> <button class="btn btn-raised btn-lg btn-secondary btn-block" type="submit">Sign in</button> <p class="copyright"><?php echo $setting["sekolah"];?> © Copyright 2022</p> </form> </div> <!-- build:js js/vendor.js --> <script src="bower_components/jquery/dist/jquery.min.js"></script> <script src="bower_components/lodash/dist/lodash.min.js"></script> <script src="components/scripts/modernizr.js"></script> <script src="bower_components/tether/dist/js/tether.js"></script> <script src="bower_components/jquery-storage-api/jquery.storageapi.min.js"></script> <script src="bower_components/moment/moment.js"></script> <script src="bower_components/chart.js/dist/Chart.min.js"></script> <script src="bower_components/d3/d3.js"></script> <script src="bower_components/peity/jquery.peity.min.js"></script> <script src="bower_components/mousetrap/mousetrap.js"></script> <script src="bower_components/bootstrap-material-design/dist/bootstrap-material-design.iife.js"></script> <script src="bower_components/chartist/dist/chartist.min.js"></script> <script src="bower_components/raphael/raphael.min.js"></script> <script src="bower_components/morris.js/morris.min.js"></script> <script src="bower_components/nvd3/build/nv.d3.js"></script> <script src="bower_components/echarts/dist/echarts.min.js"></script> <script src="bower_components/topojson/topojson.min.js"></script> <script src="bower_components/datamaps/dist/datamaps.all.js"></script> <script src="bower_components/jquery.countdown/dist/jquery.countdown.js"></script> <script src="bower_components/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js"></script> <script src="components/scripts/highlight.min.js"></script> <script src="bower_components/table-export/tableExport.js"></script> <script src="bower_components/table-export/jquery.base64.js"></script> <script src="bower_components/table-export/jspdf/libs/sprintf.js"></script> <script src="bower_components/table-export/jspdf/jspdf.js"></script> <script src="bower_components/table-export/jspdf/libs/base64.js"></script> <script src="bower_components/datatables/media/js/jquery.dataTables.min.js"></script> <script src="bower_components/toastr/toastr.min.js"></script> <script src="bower_components/sweetalert2/dist/sweetalert2.min.js"></script> <script src="bower_components/jquery-fullscreen/jquery.fullscreen-min.js"></script> <script src="bower_components/dropzone/dist/min/dropzone.min.js"></script> <script src="bower_components/markdown/lib/markdown.js"></script> <script src="bower_components/to-markdown/dist/to-markdown.js"></script> <script src="bower_components/summernote/dist/summernote.js"></script> <script src="bower_components/waypoints/lib/jquery.waypoints.min.js"></script> <script src="bower_components/counter-up/jquery.counterup.min.js"></script> <script src="bower_components/velocity/velocity.js"></script> <script src="bower_components/velocity/velocity.ui.js"></script> <script src="bower_components/elevatezoom/jquery.elevatezoom.js"></script> <script src="components/scripts/enhance.js"></script> <script src="bower_components/approvejs/dist/approve.min.js"></script> <script src="bower_components/fakeLoader/fakeLoader.min.js"></script> <script src="bower_components/nouislider/distribute/nouislider.js"></script> <script src="bower_components/bootstrap-material-datetimepicker/js/bootstrap-material-datetimepicker.js"></script> <!-- endbuild --> <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&libraries=weather,visualization,panoramio&key=AIzaSyDRuAzjz4dLpeQnvW4D8qZ7mX-G0pAZEcI"></script> <!-- build:js js/main.js --> <script src="scripts/functions.js"></script> <script src="scripts/app.js"></script> <script src="scripts/elements/left-sidebar.js"></script> <script src="scripts/elements/navbar-1.js"></script> <script src="scripts/elements/navbar-2.js"></script> <script src="scripts/elements/navbar-3.js"></script> <script src="scripts/charts/peity.js"></script> <script src="scripts/charts/chart-js.js"></script> <script src="scripts/charts/chartist.js"></script> <script src="scripts/charts/morris.js"></script> <script src="scripts/charts/nvd3.js"></script> <script src="scripts/charts/echarts.js"></script> <script src="scripts/charts/easy-pie-chart.js"></script> <script src="scripts/maps/vector-maps.js"></script> <script src="scripts/maps/google-maps.js"></script> <script src="scripts/icons/material-design-icons.js"></script> <script src="scripts/icons/font-awesome.js"></script> <script src="scripts/icons/flags.js"></script> <script src="scripts/icons/ionicons.js"></script> <script src="scripts/icons/weather-icons.js"></script> <script src="scripts/tables/table-export.js"></script> <script src="scripts/tables/datatable.js"></script> <script src="scripts/dashboards/geographic.js"></script> <script src="scripts/dashboards/analytics.js"></script> <script src="scripts/pages/coming-soon.js"></script> <script src="scripts/ui/notify.js"></script> <script src="scripts/ui/tooltips.js"></script> <script src="scripts/ui/popovers.js"></script> <script src="scripts/ui/sweet-alert.js"></script> <script src="scripts/ui/toastr.js"></script> <script src="scripts/ui/counters.js"></script> <script src="scripts/editors/summernote.js"></script> <script src="scripts/extras/elevate-zoom.js"></script> <script src="scripts/extras/syntax-highlighting.js"></script> <script src="scripts/extras/markdown.js"></script> <script src="scripts/forms/file-uploads.js"></script> <script src="scripts/forms/date-picker.js"></script> <script src="scripts/forms/validation.js"></script> <script src="scripts/forms/sliders.js"></script> <!-- endbuild --> </body> </html>