-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathadd_author.php
80 lines (60 loc) · 3.13 KB
/
add_author.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
<!-- Include Head -->
<?php include "assest/head.php"; ?>
<title>Add Author</title>
</head>
<body>
<!-- Header -->
<?php include "assest/header.php" ?>
<!-- Main -->
<main role="main" class="main">
<div class="jumbotron text-center">
<h1 class="display-3 font-weight-normal text-muted">Add Author</h1>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12 mb-4">
<!-- Form -->
<form action="assest/insert.php?type=author" method="POST" enctype="multipart/form-data">
<div class="form-group">
<label for="authName">Full Name</label>
<input type="text" class="form-control" name="authName" id="authName">
</div>
<div class="form-group">
<label for="authDesc">Description</label>
<input type="text" class="form-control" name="authDesc" id="authDesc">
</div>
<div class="form-group">
<label for="authEmail">Email</label>
<input type="email" class="form-control" name="authEmail" id="authEmail">
</div>
<div class="form-group">
<label for="authImage">Avatar</label>
<div class="custom-file">
<input type="file" class="custom-file-input" name="authImage" id="authImage">
<label class="custom-file-label" for="authImage">Choose file</label>
</div>
</div>
<div class="form-group">
<label for="authTwitter">Twitter Username <span class="text-info">(optional)</span></label>
<input type="text" class="form-control" name="authTwitter" id="authTwitter" placeholder="Ex: Moon96Schwarz">
</div>
<div class="form-group">
<label for="authGithub">Github Username <span class="text-info">(optional)</span></label>
<input type="text" class="form-control" name="authGithub" id="authGithub" placeholder="Ex: Moon96Schwarz">
</div>
<div class="form-group">
<label for="authLinkedin">Linkedin Username <span class="text-info">(optional)</span></label>
<input type="text" class="form-control" name="authLinkedin" id="authLinkedin" placeholder="Ex: Moon96Schwarz">
</div>
<div class="text-center">
<button type="submit" name="submit" class="btn btn-success btn-lg w-25">Submit</button>
</div>
</form>
</div>
</div>
</div>
</main>
<!-- Footer -->
<!-- <?php include "assest/footer.php" ?> -->
</body>
</html>