-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathonlineNotice.php
83 lines (78 loc) · 3.01 KB
/
onlineNotice.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
<?php include('header.php');?>
<?php
/*mysql_connect("localhost","root","");
mysql_select_db("sas_db");
$q="select * from notice where ntype = 'Festival'";
$resource = mysql_query($q);
$count = mysql_num_rows($resource);
$q2="select * from notice where ntype = 'Rules'";
$resource2 = mysql_query($q2);
$countsec = mysql_num_rows($resource2);
$q3="select * from notice where ntype = 'Maintenance'";
$resource3 = mysql_query($q3);
$countth = mysql_num_rows($resource3);
$q4="select * from notice where ntype = 'General'";
$resource4 = mysql_query($q4);
$countth = mysql_num_rows($resource4);
*/?>
<br>
<br><br>
<style type="text/css">
</style>
<div id="services" class="services-area area-padding">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="section-headline services-head text-center">
<h2><span>NOTICE - BOARD</span></h2><br>
<p>SANGATH-IPL</p><br>
<p>for Sell Enquiry call : +91 7359865985 or Submit your requirements in contact-form.</p>
</div>
<br>
<h3><u style="color: green">All Sangath-IPL Societies Notice</u></h3>
<br>
<div>
<!--
-->
<h1>CSS + HTML only Accordion Element</h1>
<ul>
<li>
<input type="checkbox" checked>
<i></i>
<h2>Languages Used</h2>
<p>This page was written in HTML and CSS. The CSS was compiled from SASS. I used Normalize as my CSS reset and -prefix-free to save myself some headaches. I haven't quite gotten the hang of Slim for compiling into HTML, but someday I'll use it since its syntax compliments that of SASS. Regardless, this could all be done in plain HTML and CSS.</p>
</li>
<li>
<input type="checkbox" checked>
<i></i>
<h2>How it Works</h2>
<p>Using the sibling and checked selectors, we can determine the styling of sibling elements based on the checked state of the checkbox input element. One use, as demonstrated here, is an entirely CSS and HTML accordion element. Media queries are used to make the element responsive to different screen sizes.</p>
</li>
<li>
<input type="checkbox" checked>
<i></i>
<h2>Points of Interest</h2>
<p>By making the open state default for when :checked isn't detected, we can make this system accessable for browsers that don't recognize :checked. The fallback is simply an open accordion. The accordion can be manipulated with Javascript (if needed) by changing the "checked" property of the input element.</p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<script>/*
var acc = document.getElementsByClassName("accordion");
var i;
for (i = 0; i < acc.length; i++) {
acc[i].addEventListener("click", function() {
this.classList.toggle("active");
var panel = this.nextElementSibling;
if (panel.style.display === "block") {
panel.style.display = "none";
} else {
panel.style.display = "block";
}
});
}*/
</script>
<?php include('footer.php'); ?>