-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
83 lines (70 loc) · 2.79 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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="images/style.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/brain-theme.css">
<link rel="stylesheet" type="text/css" href="css/styles.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="css/font/css">
<title>Login</title>
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top bg-success" role="navigation">
<div>
<div class="navbar-header">
<ul class="nav navbar-nav navbar-left-custom">
<li class="user dropdown">
<a class="dropdown-toggle" data-toggle="dropdown">
<span>Seleksi Pemberian Bantuan Kepada Masyarakat Kurang Mampu</span>
</a>
</li>
</ul>
</div>
</div>
</div>
<div id="page" align="center">
<!-- <div id="header">
<div id="companyname" align="left">Aplikasi Pemberian Beasiswa</div>
<div align="right" class="links_menu" id="menu"> </div>
</div> -->
<!-- Login wrapper -->
<div class="login-wrapper">
<?php
//kode php ini kita gunakan untuk menampilkan pesan error
if (!empty($_GET['error'])) {
if ($_GET['error'] == 4) {
echo "<font color=red><h5>Username dan Password tidak terdaftar!</h5></font>";
}
}
?>
<form name="login" action="otentikasi.php" role="form" method="post">
<div class="panel panel-default bg-success">
<div class="panel-heading bg-success"><h6 class="panel-title"><i class="fa fa-user"></i>Login</h6></div>
<div class="panel-body">
<div class="form-group has-feedback" align="left">
<label>Username</label>
<input type="text" class="form-control" name="username" placeholder="Username..." required>
<i class="fa fa-user form-control-feedback"></i>
</div>
<div class="form-group has-feedback" align="left">
<label>Password</label>
<input type="password" class="form-control" name="password" placeholder="Password..." required>
<i class="fa fa-lock form-control-feedback"></i>
</div>
<div class="row form-actions">
<div class="col-xs-6">
</div>
<div class="col-xs-6">
<button type="submit" class="btn btn-default pull-right"><i class="fa fa-sign-in"></i>Sign in</button>
</div>
</div>
</div>
</div>
</form>
</div>
<!-- Footer -->
<?php
// include "/admin/footer.php";
?>