-
Notifications
You must be signed in to change notification settings - Fork 4
/
notices.php
executable file
·203 lines (154 loc) · 5.09 KB
/
notices.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="en">
<!-- Head -->
<head>
<?php include 'includes/head.php'; ?>
<style>
#data tr {
display: none;
}
.new{
content: url("./img/new.png");
display: inline-block;
height: 2rem;
vertical-align: bottom;
}
</style>
</head>
<body>
<!-- Page Preloder -->
<?php include 'includes/preloader.php'; ?>
<!-- Header -->
<?php include 'includes/header.php'; ?>
<!-- Navbar -->
<?php include 'includes/navbar.php'; ?>
<!-- Side Nav -->
<?php include 'includes/sidenav.php'; ?>
<!-- Breadcrumb section -->
<div class="site-breadcrumb">
<div class="container">
<a href="index.php"><i class="fa fa-home"></i>Home</a> <i class="fa fa-angle-right"></i>
<span>Notices</span>
</div>
</div>
<!-- Breadcrumb section end -->
<!-- About section -->
<section class="about-section spad pt-0">
<div class="container">
<div class="section-title text-center">
<h3>NOTICES</h3>
<p>All the stuff comes here, be updated :)</p>
</div>
<div class="row" id="list">
<table id="data" class="table table-hover">
<?php
$counter = 0;
function addCounter()
{
global $counter;
echo '<mark class="bg-warning">' . ++$counter . ')</mark> ';
}
?>
<tbody>
<tr>
<td><?php addCounter(); ?>DDU-KK starts III batch of TALLY (GST Version) very soon...<span class="new"></span> </td>
</tr>
<tr>
<td><?php addCounter(); ?>One Month Training Program on Stepping Stones in "'JAVA" in collaboration with Sterling Institute- A development Venture<span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>Fees Refund Notice for C.E.T. Exam - 2019<span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>Notice Regarding Induction Program Dated 04.09.2019<span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>One Week Training Program on GST from 10 June to 14 June, 2019<span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>Short Term Course on Website Design & Development<span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>Quotations are invited for Structured cabling LAN (33 points) work <span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>One Month Program on Accounting Software Tally<span class="new"></span></td>
</tr>
<tr>
<td><?php addCounter(); ?>One Month Training Program on Stepping Stones in "JAVA" in collaboration with Sterling Institute- A Development Venture</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 6</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 7</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 8</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 9</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 10</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 11</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 12</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 13</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 14</td>
</tr>
<tr>
<td><?php addCounter(); ?>Dummy Row 15</td>
</tr>
</tbody>
</table>
</div>
<script>
$(document).ready(function() {
$('#list').after('<nav aria-label="Page navigation"><ul id="nav" class="pagination justify-content-center pagination-lg"></ul></nav>');
var rowsShown = 10;
var rowsTotal = $('#data tbody tr').length;
var numPages = rowsTotal / rowsShown;
for (i = 0; i < numPages; i++) {
var pageNum = i + 1;
$('#nav').append('<li class="page-item"><a class="page-link" href="javascript:void(0)" rel="' + i + '">' + pageNum + '</a> </li>');
}
$('#data tbody tr').hide();
$('#data tbody tr').slice(0, rowsShown).show();
$('#nav a:first').addClass('active');
$('#nav li:first').addClass('active');
$('#nav li').bind('click', function() {
$('#nav li').removeClass('active');
$(this).addClass('active');
});
$('#nav a').bind('click', function() {
$('#nav a').removeClass('active');
$(this).addClass('active');
var currPage = $(this).attr('rel');
var startItem = currPage * rowsShown;
var endItem = startItem + rowsShown;
$('#data tbody tr').css('opacity', '0.0').hide().slice(startItem, endItem).
css('display', 'table-row').animate({
opacity: 1
}, 300);
});
});
</script>
</div>
</section>
<!-- About section end-->
<!-- Footer section -->
<?php include 'includes/footer.php'; ?>
<!-- Back 2 Top -->
<?php include 'includes/back2Top.php'; ?>
<!--====== Javascripts & Jquery ======-->
<?php include 'includes/javascripts.php'; ?>
</body>
</html>