-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnoticeboard.php
More file actions
110 lines (98 loc) · 4.57 KB
/
noticeboard.php
File metadata and controls
110 lines (98 loc) · 4.57 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SMShetty | Dashboard</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome/css/font-awesome.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<script src="js/plugins/sweetalert/sweetalert.min.js"></script>
</head>
<body>
<?php include 'connection.php';
if(!isValiduser())
{
redirect("login.php");
}
?>
<div id="wrapper">
<!-- menubar -->
<?php include 'includes/navbar.php'; ?>
<!-- /menubar -->
<div id="page-wrapper" class="gray-bg dashbard-1">
<!-- topbar -->
<?php include 'includes/topbar.php'; ?>
<!-- /topbar -->
<div class="row wrapper border-bottom white-bg page-heading">
<div class="col-lg-10">
<h2>Noticeboard</h2>
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="index.php"> Home </a>
</li>
<li class="breadcrumb-item active">
<strong> Noticeboard </strong>
</li>
</ol>
</div>
<div class="col-lg-2">
</div>
</div>
<div class="wrapper wrapper-content animated fadeIn">
<div class="row">
<div class="col-lg-12">
<div class="ibox ">
<div class="ibox-content">
<form role="form">
<div class="form-group">
<label> Notice Title * </label>
<input type="text" placeholder="Enter Title ..." class="form-control">
</div>
<div class="row">
<div class="form-group col-lg-6">
<label> File Attchment ( or Notice url ) </label>
<div class="custom-file">
<input id="notice" type="file" class="custom-file-input" accept="application/pdf">
<label for="notice" class="custom-file-label">Choose file ...</label>
</div>
</div>
<div class="form-group col-lg-6">
<label> Notice Url ( or File Attchment ) </label>
<input type="url" placeholder="Url ..." class="form-control">
</div>
</div>
<button class="btn btn-primary " type="button"><i class="fa fa-check"></i> Submit</button>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- footer -->
<?php include 'includes/footer.php'; ?>
<!-- /footer -->
</div>
</div>
<!-- Mainly scripts -->
<script src="js/jquery-3.1.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="js/plugins/metisMenu/jquery.metisMenu.js"></script>
<script src="js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<!-- Custom and plugin javascript -->
<script src="js/inspinia.js"></script>
<script src="js/plugins/pace/pace.min.js"></script>
<!-- jQuery UI -->
<script src="js/plugins/jquery-ui/jquery-ui.min.js"></script>
<script src="js/custom.js"></script>
<script type="text/javascript">
$('.custom-file-input').on('change', function() {
let fileName = $(this).val().split('\\').pop();
$(this).next('.custom-file-label').addClass("selected").html(fileName);
});
</script>
</body>
</html>