-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodules.php
158 lines (134 loc) · 4.15 KB
/
modules.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
<?php
session_start();
require_once('db.php');
$sesID = $_SESSION['id'];
$z = mysqli_query($db,"SELECT * FROM `accounts` WHERE ID = '$sesID'");
$data = mysqli_fetch_array($z);
?>
<html>
<head>
<link rel="shortcut icon" href="Picture/seguinon_logo.png">
<style type="text/css">
body {
background-color: white;
margin: 0;
padding: 0;
font-family: calibri;
color: #333333;
}
img {
padding-right: 10px;
padding-left: 15px;
}
h1 {
color: white;
font-family: calibri;
}
a {
display: block;
text-decoration: none;
padding: 10px 5px;
font-size: 18px; /* Add 'px' for the font size */
font-family: calibri;
color: #007BFF;
}
a:hover {
background: #0058E0;
color: white;
left: 0;
-webkit-transition: background 0.3s ease-in-out;
-moz-transition: background 0.3s ease-in-out;
transition: background-color 0.3s ease-in-out;
}
a.active {
background: #0058E0;
color: white;
}
.banner {
width: auto;
height: auto;
padding-top: 12px;
padding-bottom: 15px;
padding-left: 5px;
font-size: 25px;
text-align: left;
color: #333333;
margin-top: 0%;
font-weight: bold;
background: #007BFF;
font-family: calibri;
text-transform: uppercase;
}
.holder {
background: #17A2B8;
width: 100%;
margin-top: 0%;
margin-left: 0%;
padding-top: 10px;
padding-bottom: 10px;
text-align: left;
}
/* width */
::-webkit-scrollbar {
width: 15px;
}
/* Track */
::-webkit-scrollbar-track {
background: white;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: #8c8c8c;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #141414;
}
.avatar {
border-radius: 30px;
}
</style>
</head>
<div class="banner" style="text-align: center;">
<font style="word-wrap: break-word;">Welcome<b></b></font><br>
<p style="word-wrap: break-word;"><?php echo $data[1]; ?></p>
</div>
<?php
if ($_SESSION['position'] == 'Barangay Secretary') {
echo '
<b>
<div class="holder" style="padding-left: 5px;"><b>GENERAL</b></div>
<a href="Resident_Profiling\Dash\index.php" target="FraDisplay">
<img src="Icon/home.png" style="float:left" width="28"> Dashboard
</a>
<a href="Resident_Profiling/resident.php" target="FraDisplay">
<img src="Icon/residents.png" style="float:left" width="28"> Resident Profiling
</a>
<a href="Clearance_and_Forms/index.php" target="FraDisplay">
<img src="Icon/certificates.png" style="float:left" width="29"> Clearance and Forms
</a>
<a href="Finance/index.php" target="FraDisplay">
<img src="Icon/finance.png" style="float:left" width="28"> Finance
</a>
<a href="Special_Projects/index.php" target="FraDisplay">
<img src="Icon/special.png" style="float:left" width="28"> Special Projects
</a>
<a href="Barangay_Officials/index.php" target="FraDisplay">
<img src="Icon/officials.png" style="float:left" width="28"> Barangay Officials
</a>
<a href="Report/viewreport.php" target="FraDisplay">
<img src="Icon/report.png" style="float:left" width="29"> Reports
</a>
<a href="Resident_Profiling/Dash/pages/map/index.html" target="FraDisplay">
<img src="Icon/icons8-map-marker.png" style="float:left" width="29"> Map
</a>
<b><div class="holder"><b></b></div>
<a href="admin.php" target="FraDisplay">
<image src="Icon/admin-setting.png" style="float:left" width="29">Account Setting
</a>';
}
?>
<div class="holder"></div>
<a href="accountLogout.php" target="_Parent"><img src="Icon/Logout.png" style="float:left" width="29">Logout</a>
</body>
</html>