-
Notifications
You must be signed in to change notification settings - Fork 0
/
footer.php
164 lines (162 loc) · 5.36 KB
/
footer.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
<footer id="footer" style="background-color: #333333;">
<div id="copyrights" style='background-color: black;color:white;'>
<div class="container" >
<div class="row justify-content-between">
<div class="col-md-6 col-sm-12 text-center text-lg-left order-last order-lg-first">
<div id="logo" class="col-lg-6 standard-logo" >
<img src="img/logo.png" alt="Canvas Logo" style='max-height: 75px;' class='mt-2 mb-2 mr-2'>
<img src="img/deepwoods.png" alt="Canvas Logo" style='max-height: 75px;' class='mt-2 mb-2'>
</div>
<br>
</div>
<div class="col-md-6 col-sm-12 col-lg-auto text-center text-lg-right dark">
<div class="copyrights-menu copyright-links">
<?php
if ($page=="Home") {
echo "<a href='#' id='home_btn_1'>Home</a>/";
}else{
echo "<a href='index.php' id='home_btn_1'>Home</a>/";
}
?>
<?php
if ($page=="Home") {
?>
<a id='intro_btn_1' href="#">Introduction</a>/
<?php
}
?>
<a href="about.php">About</a>/
<?php
if ($page=="Home") {
echo "<a href='#' id='event_btn_1'>Events</a>/";
}else{
echo "<a href='registration.php' id='event_btn_1'>Register</a>/";
}
?>
<?php
if ($page=="Home") {
echo "<a href='#' id='gall_btn_1'>Gallery</a>/";
}else{
echo "<a href='gallery.php' id='gall_btn_1'>Gallery</a>";
}
?>
<?php
if ($page=="Home") {
?>
<a id='cont_btn_1' href="#">Contact</a>
<?php
}
?>
</div>
<a href="https://www.facebook.com/deepwoodsmcc/" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-facebook">
<i class="icon-facebook"></i>
<i class="icon-facebook"></i>
</a>
<a href="https://instagram.com/deepwoodsmcc/" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-instagram">
<i class="icon-instagram"></i>
<i class="icon-instagram"></i>
</a>
<a href="#" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-twitter">
<i class="icon-twitter"></i>
<i class="icon-twitter"></i>
</a>
<a href="#" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-gplus">
<i class="icon-gplus"></i>
<i class="icon-gplus"></i>
</a>
<a href="#" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-pinterest">
<i class="icon-pinterest"></i>
<i class="icon-pinterest"></i>
</a>
<a href="#" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-vimeo">
<i class="icon-vimeo"></i>
<i class="icon-vimeo"></i>
</a>
<a href="#" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-yahoo">
<i class="icon-yahoo"></i>
<i class="icon-yahoo"></i>
</a>
<a href="#" target="_blank" class="social-icon inline-block si-small si-borderless mb-0 si-linkedin">
<i class="icon-linkedin"></i>
<i class="icon-linkedin"></i>
</a>
</div>
</div>
<div class='row'>
<div class="col-md-6 col-sm-12">
Copyrights © 2021 All Rights Reserved by <a href='https://www.mcc.edu.in/' class="author_name">Madras Christian College</a>.
</div>
<div class="col-md-6 col-sm-12 text-lg-right">
Website Developed and Maintained by <a href='https://mycrolinks.com/' class="author_name">MycroLinks</a>
</div>
<style>
.author_name{
color:white;
}
.author_name:hover{
color:#03A1CF;
}
</style>
</div>
</div>
</div>
<script src="js/jquery.js"></script>
<?php
if ($page=="Home") {
?>
<script type="text/javascript">
$("#home_btn").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#section_home").offset().top
}, 700);
});
$("#intro_btn").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#section_intro").offset().top
}, 700);
});
$("#event_btn").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#section_events").offset().top
}, 700);
});
$("#gall_btn").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#gallery_scroll").offset().top
}, 700);
});
$("#cont_btn").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#contact_scroll").offset().top
}, 700);
});
$("#home_btn_1").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#section_home").offset().top
}, 700);
});
$("#intro_btn_1").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#section_intro").offset().top
}, 700);
});
$("#event_btn_1").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#section_events").offset().top
}, 700);
});
$("#gall_btn_1").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#gallery_scroll").offset().top
}, 700);
});
$("#cont_btn_1").click(function() {
$([document.documentElement, document.body]).animate({
scrollTop: $("#contact_scroll").offset().top
}, 700);
});
</script>
<?php
}
?>
</footer>