forked from iiitncommunity/hostel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
complaint.php
82 lines (75 loc) · 4.05 KB
/
complaint.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
<?php
require 'header.php'
?>
<br>
<main class="jumbotron bg-light" style="text-align:center;">
<?php
if(isset($_SESSION['type'])){
echo '
<div class="overflow-auto">
<form action="includes/complaint.inc.php" class="my-2" method="POST" >
<div class="text-bold text-success">
<h3>Complaint form : </h3>
</div><br>
<div class="row">
<div class="col">
<input type="text" name="c_rnum" class="form-control" id="roll" placeholder="Enrollment No.">
</div>
<div class="col">
<input type="password" name="c_pwd" class="form-control" id="pwd" placeholder="Password">
</div>
</div> <hr>
<div class="row">
<div class="col">
<p class="text-bold text-primary"> Type of Complaint : </p>
<select name="type" class="custom-select">
<option value="Mess" selected>Mess</option>
<option value="Hostel Electrician">Hostel Electrician</option>
<option value="Hostel Plumber">Hostel Plumber</option>
<option value="Other">Other</option>
</select>
</div>
</div> <hr>
<div class="row">
<div class="col">
<p class="text-bold text-primary">Select your wing/block : </p>
<select name="wing" class="custom-select">
<option value="B" selected>B Wing</option>
<option value="C">C Wing</option>
</select>
</div>
<div class="col">
<p class="text-bold text-primary">Select your floor : </p>
<select name="floor" class="custom-select">
<option selected value = "0">Ground Floor</option>
<option value="1">First Floor</option>
<option value="2">Second Floor</option>
<option value="3">Third Floor</option>
</select>
</div>
<div class="col">
<p class="text-bold text-primary">Type your Room Number : </p>
<div class="form-group">
<input type="number" class="form-control" name="room" id="roomNo">
</div>
</div>
</div> <hr>
<div class="row">
<div class="col">
<div class="form-group">
<label class="text-bold text-primary" for="complaint">Complaint:</label>
<textarea class="form-control" rows="5" id="comment" name="text"></textarea>
</div>
</div>
<div class="col">
<button type="submit" name="complaint-btn" class="btn btn-danger">Submit</button>
</div>
</div>
</form>
</div>';
}
?>
</main>
<?php
require 'footer.php'
?>