-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
169 lines (149 loc) · 6.08 KB
/
home.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
<?php
// include("auth.php"); //include auth.php file on all secure pages
include "inactive.php"; //check if user is inactive for 15 minutes
?>
<style type="text/css">
.bg {
/* background: url(img/logo-no-background.png) no-repeat; */
}
.ssgmenu>li>a {
font-size: 25px;
/*font-weight: bold;*/
padding: 15px;
color: #000;
}
.ssgmenu>li>a:hover,
.ssgmenu>li>a:focus {
background: #ff9933;
color: #fff;
}
.motto p {
font-size: 32px;
/*font-weight: bold;*/
margin-top: 5%;
line-height: 32px;
}
.motto {
text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
color: #000;
font-size: 16px;
}
.timeh1 {
text-shadow: 1px 1px 4px rgba(0, 0, 0, 1);
color: #000;
}
.attendance-icon {
font-size: 28px;
color: #007bff;
/* Change color as needed */
}
</style>
<link rel="shortcut icon" href="/img/favicon-color.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.min.js">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ekko-lightbox/5.3.0/ekko-lightbox.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script>
<script src="assets/js/p.js"></script>
<script>
$(function() {
$("#datepicker").datepicker();
});
</script>
<body id="login" style="background:url(img/logo-no-background.png)"no-repeat;>
<?php include "social.html";?>
<section id="feature" class="transparent-bg">
<div class="container bg">
<div class="row">
<div class="center wow fadeInDown ">
<ul class="nav navbar-nav ssgmenu motto" id="footer_nav">
<li><a href="attendance/check_attendance.php" target="_blank"><i
class="attendance-icon">📅</i>ATTENDANCE</a></li>
<li><a href="vote/index.php" target="_blank"><i class="fas fa-vote-yea"></i>VOTE</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="features">
<!-- <div class="col-lg-2"></div>
<div class="col-lg-8"> -->
<div class="col-lg-6">
<div class="title_index">
<div class="row-fluid">
<div class="span12"></div>
<div class="row-fluid">
<div class="span10">
<!-- <img class="index_logo" src="img/bg-3-full.jpg"> -->
</div>
<div class="span12">
<div class="motto">
<p>
</p>
</div>
</div>
</div>
</div>
<?php //include('title_index.php'); ?>
</div>
</div>
<div class="col-lg-6">
<div class="row-fluid">
<div class="col-md-12 ">
<h2>
<span id="tick2" class="timeh1" style="font-size:30px;">
</span>
<script>
// <!--/. tells about the time -->
function show2() {
if (!document.all && !document.getElementById)
return
thelement = document.getElementById ? document.getElementById("tick2") : document
.all.tick2
var Digital = new Date()
var hours = Digital.getHours()
var minutes = Digital.getMinutes()
var seconds = Digital.getSeconds()
var dn = "PM"
if (hours < 12)
dn = "AM"
if (hours > 12)
hours = hours - 12
if (hours == 0)
hours = 12
if (minutes <= 9)
minutes = "0" + minutes
if (seconds <= 9)
seconds = "0" + seconds
var ctime = hours + ":" + minutes + ":" + seconds + " " + dn
thelement.innerHTML = ctime
setTimeout("show2()", 1000)
}
window.onload = show2
//-->
</script>
<!--/. Script where the format of the interface time,month,day and year relies -->
</h2>
<h2 class="timeh1" style="font-size:40px;">
<?php
$date = new DateTime();
echo $date->format('l, F jS, Y');
?>
</h2>
<?php include "leavemsg.html";?>
</div>
</div>
</div>
<!-- <img class="img-responsive img-blog" src="img/ssgback.png" style="width:100%; height:400px" alt="" /> -->
<!-- </div>
<div class="col-lg-2"></div> -->
</div>
<!--/.services-->
</div>
<!--/.row-->
</div>
<!--/.container-->
</section>
<!--/#feature-->