hjkhghopjkertteerterterterertertrtoirh
bnmbertsurhetertertertertertertertpdf'tdfg
C:
/
xampp
/
htdocs
/
tree
/
Upload FileeE
HOME
<?php include('config.php'); if ($_POST['userid'] != '' && $_POST['password'] != '') { $sql = "select USE_USERSCODE, USE_SHORTNAME, USE_PASSWORD from LAN_USERSCODE where USE_USERSCODE='" . $_POST['userid'] . "' and USE_PASSWORD='" . md5($_POST['password']) . "'"; $query = mysqli_query($mysqli, $sql); while ($row = mysqli_fetch_array($query)) { } } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title><?php echo $main_name_short; ?></title> <!-- Google Font: Source Sans Pro --> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback"> <!-- Font Awesome --> <link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css"> <!-- icheck bootstrap --> <link rel="stylesheet" href="plugins/icheck-bootstrap/icheck-bootstrap.min.css"> <!-- Theme style --> <link rel="stylesheet" href="dist/css/adminlte.min.css"> </head> <body class="hold-transition login-page"> <div class="login-box"> <!-- /.login-logo --> <?php if ($_REQUEST['error'] == 1) { ?> <div class="alert alert-danger alert-dismissible"> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> <h5><i class="icon fas fa-ban"></i> Gagal!</h5> Masukkan ID Pengguna dan Kata Laluan yang betul. </div> <?php } ?> <div class="card card-outline card-orange"> <div class="card-header text-center"> <img src="img/mpTemerloh.png" alt="Logo" width="80px"> <img src="img/logoEpt.jpeg" alt="Logo" width="90px"><br> <a href="index" class="h5"><b><?php echo $main_name." <br>(".$main_name_short.")"; ?></b></a> </div> <div class="card-body"> <p class="login-box-msg">Log Masuk</p> <form action="validate" method="post"> <div class="input-group mb-3"> <input type="text" class="form-control" placeholder="ID Pengguna" name="userid"> <div class="input-group-append"> <div class="input-group-text"> <span class="fas fa-user"></span> </div> </div> </div> <div class="input-group mb-3"> <input type="password" class="form-control" placeholder="Kata Laluan" name="password"> <div class="input-group-append"> <div class="input-group-text"> <span class="fas fa-lock"></span> </div> </div> </div> <div> <input type="submit" value="Log Masuk" class="btn btn-primary"> </div> </form> </div> <!-- /.card-body --> </div> <!-- /.card --> </div> <!-- /.login-box --> <!-- jQuery --> <script src="plugins/jquery/jquery.min.js"></script> <!-- Bootstrap 4 --> <script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script> <!-- AdminLTE App --> <script src="dist/js/adminlte.min.js"></script> </body> </html>