-
Notifications
You must be signed in to change notification settings - Fork 0
/
tambah_admin.php
69 lines (48 loc) · 1.57 KB
/
tambah_admin.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
<?php
include ("header.php");
include ("menu.php");
include ("functions.php");
if(isset($_POST["tambah_admin"])){
newAdmin();
}
?>
<!-- Main content -->
<section class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card">
<div class="card-header">
<h3 class="card-title">Tambah User Admin</h3>
</div>
<!-- form start -->
<form role="form" method="post" action="">
<div class="card-body">
<div class="form-group">
<label>Username</label>
<input type="text" class="form-control" name="username" placeholder="Input new username" required>
</div>
<div class="form-group">
<label>Password</label>
<input type="password" class="form-control" name="password" placeholder="Password" required>
</div>
</div>
<!-- /.card-body -->
<div class="card-footer">
<button type="submit" class="btn btn-primary" name="tambah_admin" value="tambah_admin">Submit</button>
</div>
</form>
<!-- /.card-body -->
</div>
<!-- /.card -->
</div>
<!-- /.col -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<?php
include ("footer.php");
?>