forked from iiitncommunity/hostel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
putnotice.php
47 lines (35 loc) · 1.44 KB
/
putnotice.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
<?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/putnotice.inc.php" method="POST" class="my-2" >';
echo'
<div class="text-bold text-success">
<h3>Add Notices : </h3>
</div><br>
<div class="row">
<div class="col">
<input name="link" required type="text" class="form-control" id="rollnum" placeholder="Link to Notice">
</div>
<div class="col">
<input name="text" required type="text" class="form-control" id="rollnum" placeholder ="Text for notice">
</div>
</div> <hr>
<div class="col">
<button type="submit" name="putnotice-btn" class="btn btn-danger">Submit</button>
</div>
</form>
</div>';
}else{
echo 'Error';
}
?>
</main>
<?php
require 'footer.php'
?>