-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
executable file
·80 lines (73 loc) · 2.85 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php
require $_SERVER['DOCUMENT_ROOT'] . "/perpustakaan/config/connection.php";
require $_SERVER['DOCUMENT_ROOT'] . "/perpustakaan/helpers/helper.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Perpustakaan | Absensi</title>
<!-- Tell the browser to be responsive to screen width -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Font Awesome -->
<link rel="stylesheet" href="plugins/fontawesome-free/css/all.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="assets/css/adminlte.min.css">
<!-- Google Font: Source Sans Pro -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700" rel="stylesheet">
</head>
<body class="hold-transition lockscreen">
<!-- Automatic element centering -->
<div class="lockscreen-wrapper">
<div class="lockscreen-logo">
<a href="#"><b>Perpustakaan</b> - SMK Negeri 7 Medan</a>
</div>
<div class="card shadow">
<div class="card-body login-card-body">
<h4 class="login-box-msg"><b>Form Pengunjung</b></h4>
<form action="actions.php" method="POST" autocomplete="off">
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Nomor Induk Mahasiswa" name="nim" required>
<div class="input-group-append">
<div class="input-group-text">
<span class="far fa-id-card"></span>
</div>
</div>
</div>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Nama Lengkap" name="nama" required>
<div class="input-group-append">
<div class="input-group-text">
<span class="fas fa-user"></span>
</div>
</div>
</div>
<div class="row">
<!-- /.col -->
<div class="col">
<button type="submit" class="btn btn-primary btn-block" name="simpan">Simpan</button>
</div>
<!-- /.col -->
</div>
</form>
</div>
<!-- /.login-card-body -->
</div>
<div class="help-block text-center">
Masukkan NIM (Nomor Induk Siswa) Anda dan Nama Lengkap
Anda sebagai bukti absensi anda
</div>
<div class="text-center mt-4">
<a href="<?= base_url('login') ?>">Masuk sebagai Staff Perpustakaan</a>
</div>
</div>
<!-- /.center -->
<!-- jQuery -->
<script src="plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 4 -->
<script src="plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>