-
Notifications
You must be signed in to change notification settings - Fork 0
/
judge_welcome1.php
321 lines (255 loc) · 10.4 KB
/
judge_welcome1.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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<?php
session_start();
if(!isset($_SESSION['judge'])){
echo "You are logged out!";
header('location:index.php');
}
?>
<!DOCTYPE html PUBLIC "-//W3C//Dp XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/Dp/xhtml1-transitional.dp">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Judge Welcome</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<link id="pagestyle" rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
<script type="text/javascript" src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/footer.css">
<link rel="stylesheet" href="css/more_nav.css">
<link rel="shortcut icon" type="image/jpg" href="./images/logo.jpeg"/>
<link rel="stylesheet" href="css/bootstrap.min.css" />
<!-- Themify Icons -->
<link rel="stylesheet" href="css/themify-icons.css" />
<!-- Owl carousel -->
<link rel="stylesheet" href="css/owl.carousel.min.css" />
<!-- Main css -->
<link href="css/style3.css" rel="stylesheet" />
<link rel="stylesheet" href="navigation/styles.css">
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript" src="navigation/script.js"></script>
<script type="text/javascript">
function changesheet(sheet) {
document.getElementById('pagestyle').setAttribute('href', sheet);
}
</script>
</head>
<body>
<?php
$server = "localhost";
$database = "INDIAN_JUDICIARY";
$username = "root";
$password = "";
$portnumber = 3306;
$conn = mysqli_connect($server, $username, $password, $database, $portnumber);
$query = "SELECT Full_Name from BIODATA A,(SELECT Aadhaar_ID,Court_ID from JUDGES where Judge_ID = '$_SESSION[judge]') B WHERE A.Aadhaar_ID=B.Aadhaar_ID;";
$result = mysqli_query($conn, $query);
$row = mysqli_fetch_assoc($result);
$jud = $row['Full_Name'];
?>
<div class="top-header">
<div class="container">
<div class="row">
<div class="col-md-4 col-12 text-md-left text-center leftmy">
<ul class="top_nav1">
<li><i class="fa fa-calendar"></i> <span id="datedisplay"></span></li>
<li><i class="fa fa-clock-o"></i> <span id="clockDisplay"></span></li>
</ul>
</div>
<div class="col-md-8 col-12 text-md-right text-center righthd">
<ul class="top_nav">
<li><a href="logout.php"><i class="fa fa-reply-all"></i> Logout</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="header">
<div class="container">
<div class="row">
<div class="logo"><a href="#"><img src="images/embnew.jpg" /></a></div>
<div class="col-md-6 h_right text-right">
</div>
</div>
</div>
</div>
<div id="myheader" class="main_navigation">
<div class="container">
<div class="row">
<div id='cssmenu'>
<ul>
<li><a href="judge_welcome.php">Home</a></li>
<li><a href="judge_profile.php">Profile</a></li>
<li class='active'><a href="#">Case</a>
<ul>
<li><a href="file_case.php">File Case</a></li>
<li><a href="yet_to_register.php">Pending Cases</a></li>
<li><a href="judge_case_records.php">Case Records</a></li>
</ul>
</li>
<li><a href="court_schedule_form.php">Court Scheduler</a></li>
<li><a href="court_schedule_postlogin_judge.php">Court Schedule</a></li>
</ul>
</div>
</div>
</div>
</div>
<header class="bg-gradient" id="home">
<div class="title2">
<h1><?php echo "Welcome"?><br></h1> <h1><?php echo "Judge $jud!"?></h1>
<p class="text">
</p>
</div>
<div class="img-holder mt-3">
</div>
</header>
<br><div class="container">
<div class="section-title">
<h3>Features</h3>
</div>
<div class="row">
<div class="col-12 col-lg-4">
<div class="card features">
<div class="card-body">
<div class="media">
<span class="ti-pencil gradient-fill ti-3x mr-3"></span>
<div class="media-body">
<a href="file_case.php"><h4 class="card-title">Create Case</h4></a>
<p class="card-text">Judges, presently serving in High Courts of India with efficient work experience can be promoted/appointed as Judge to Supreme Court Of India! </p>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-4">
<div class="card2 features">
<div class="card-body">
<div class="media">
<!-- <span class="ti-user gradient-fill ti-3x mr-3"></span>
<div class="media-body">
<a href="appointjudges.php"><h4 class="card-title">Appoint Judges</h4></a>
<p class="card-text">Judges, presently serving in High Courts of India with efficient work experience can be promoted/appointed as Judge to Supreme Court Of India! </p>
</div> -->
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-4">
<div class="card features">
<div class="card-body">
<div class="media">
<span class="ti-pencil-alt gradient-fill ti-3x mr-3"></span>
<div class="media-body">
<a href="judge_case_records.php"><h4 class="card-title">Case Records</h4></a>
<p class="card-text">Case records can be viewed which include unscheduled, scheduled and past cases.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="container">
<div class="row">
<div class="col-12 col-lg-4">
<div class="card features">
<div class="card-body">
<div class="media">
<span class="ti-clipboard gradient-fill ti-3x mr-3"></span>
<div class="media-body">
<a href="court_schedule_form.php"><h4 class="card-title">Court Scheduler</h4></a>
<p class="card-text">Judge can create the schedule of his respective Judicial Court consisting of the daily routine court procedures using Court Scheduler.</p>
</div>
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-4">
<div class="card2 features">
<div class="card-body">
<div class="media">
<!-- <span class="ti-pencil gradient-fill ti-3x mr-3"></span>
<div class="media-body">
<a href="crud_laws.php"><h4 class="card-title">Modify Law</h4></a>
<p class="card-text">Laws can be modified persisting to present development and as approved by the passed by Parliament of India.</p>
</div> -->
</div>
</div>
</div>
</div>
<div class="col-12 col-lg-4">
<div class="card features">
<div class="card-body">
<div class="media">
<span class="ti-calendar gradient-fill ti-3x mr-3"></span>
<div class="media-body">
<a href="court_schedule_postlogin_judge.php"><h4 class="card-title">Court Schedule</h4></a>
<p class="card-text">Court Schedule gives a personalized schedule for the Judge consisting of the case slate that the respective Judge has to attend to at a Judicial Court in India.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<footer>
<div class="container">
<div class="row">
<div class="col-md-2">
<div class="widget">
<h5 class="widgetheading">Quick Links</h5>
<ul class="link-list">
<li><a href="logout.php"><i class="fa fa-chevron-right icred"></i> Logout</a></li>
<li><a href="admin_profile.php"><i class="fa fa-chevron-right icred"></i> Profile</a></li>
</ul>
</div>
</div>
<div class="col-md-2">
<div class="widget">
<h5 class="widgetheading">Contact dev</h5>
<ul class="link-list">
<li><a href="#"><i class="fa fa-phone icred"></i> +91 8296399994 <br><i class="fa fa-envelope"></i> <a href="mailto:[email protected]" >Mail:[email protected]</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-md-9">
<div class="copyright">
<p>
<span>Designed by T Naga Tarun, Ajay Vikram P, Aniketh Narayan Bellala</span>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<script>
window.onscroll = function () { myFunction() };
var header = document.getElementById("myheader");
var sticky = header.offsetTop;
function myFunction() {
if (window.pageYOffset > sticky) {
header.classList.add("sticky");
} else {
header.classList.remove("sticky");
}
}
</script>
<script src="js/main.js"></script>
<script src="js/font.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</body>
</html>