-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
87 lines (82 loc) · 3.08 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
81
82
83
84
85
86
87
<!doctype html>
<html lang="en" class="fullscreen-bg">
<head>
<title>Erdian-Books | Aplikasi Sistem Administrasi Penjualan Buku</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- VENDOR CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/vendor/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/vendor/linearicons/style.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="assets/css/main.css">
<!-- FOR DEMO PURPOSES ONLY. You should remove this in your project -->
<link rel="stylesheet" href="assets/css/demo.css">
<!-- GOOGLE FONTS -->
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700" rel="stylesheet">
<!-- Koneksi -->
<?php
include 'admin/konfig.php';
?>
<!-- ICONS -->
<link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" sizes="96x96" href="assets/img/favicon.png">
</head>
<body>
<!-- cek login -->
<?php
if (isset($_GET['pesan'])) {
if ($_GET['pesan'] == "Gagal") {
echo "<div style='margin-bottom:-55px' class='alert alert-danger' role='alert'><span class='glyphicon glyphicon-warning-sign'></span> Login Gagal !! Username dan Password Salah !!</div>";
}
}
?>
<!-- WRAPPER -->
<div id="wrapper">
<div class="vertical-align-wrap">
<div class="vertical-align-middle">
<div class="auth-box ">
<div class="left">
<div class="content">
<div class="header">
<div class="logo text-center"><img src="assets/img/logo.png" alt="Erdian Books"></div>
<p class="lead">Silahkan masukkan username dan password</p>
</div>
<form class="form-auth-small" action="cek_login.php" method="post">
<div class="form-group">
<label for="signin-email" class="control-label sr-only">Username</label>
<input type="text" class="form-control" name="username" placeholder="Username">
</div>
<div class="form-group">
<label for="signin-password" class="control-label sr-only">Password</label>
<input type="password" class="form-control" name="password" placeholder="Password">
</div>
<div class="form-group clearfix">
<label class="fancy-checkbox element-left">
<input type="checkbox">
<span>Remember me</span>
</label>
</div>
<button type="submit" class="btn btn-primary btn-lg btn-block">LOGIN</button>
<div class="bottom">
<span class="helper-text"><i class="fa fa-lock"></i> <a href="#">Forgot password?</a></span>
</div>
</form>
</div>
</div>
<div class="right">
<div class="overlay"></div>
<div class="content text">
<h1 class="heading">Aplikasi Sistem Administrasi Penjualan Buku</h1>
<p>by Erdian</p>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
<!-- END WRAPPER -->
</body>
</html>