-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqa-create.php
88 lines (66 loc) · 2.55 KB
/
qa-create.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
88
<!doctype html>
<html>
<head>
<title>Question Application</title>
<meta charset=utf-8>
<meta name=description content="Question Applicaiton">
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/styles.css">
</head>
<body>
<div id="wrapper">
<?php include "include/header.php" ?>
<section id="qanda">
<h2>Q & A Questions</h2>
<h3>Create Question</h3>
<div id="left">
<form>
<label for="question">Question</label>
<textarea name="question" id="question" class="block" placeholder="Enter Q&A Question, Max character 88" cols="50" rows="3" maxlength="88"></textarea>
<label for="answer">Answer</label>
<input type="text" name="answer" class="block" id="answer" placeholder="Enter Answer" size="50">
<label for="extra-info">Extra Information</label>
<input type="text" name="extra-info" class="block" id="extra-info" placeholder="Enter extra infomtaion about question">
<label for="ref1">Reference 1</label>
<input type="text" name="refernece" class="block" id="ref1" placeholder="Enter Reference">
<label for="ref2">Reference 2</label>
<input type="text" name="refernece" class="block" id="ref2" placeholder="Enter Reference">
</form>
</div>
<div id="right">
<label for="q-id" class="right">Question ID</label>
<input type="text" name="q-id" class="block" id="q-id" placeholder="Question ID">
<label for="writer" class="right">Writer</label>
<select name="witer" id="writer">
<option value="1">Select..</option>}
<option value="2">Drew</option>
<option value="3">Lucas</option>
<option value="4">Michael</option>
</select><br>
<label for="writer" class="right">Difficulty</label>
<select name="witer" id="writer">
<option value="1">Select..</option>}
<option value="2">Easy</option>
<option value="3">Medium</option>
<option value="4">Hard</option>
</select><br>
<label for="writer" class="right">Category</label>
<select name="witer" id="writer">
<option value="1">Select..</option>}
<option value="2">Sport</option>
<option value="3">Music</option>
<option value="4">Science</option>
<option value="5">TV</option>
<option value="6">Movies</option>
</select>
<div id="q-admin">
<label for="verified" class="right">Verified</label>
<input type="checkbox" name="verified" id="verified">
</div>
</div>
</section>
<?php include "include/footer.php" ?>
</div>
</body>
<script src="js/canvas_box.js"></script>
</html>