-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
423 lines (264 loc) · 10.7 KB
/
index.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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
<?php
session_start();
if(!isset($_SESSION['username'])) {
header('location:login.php');
# code...
}
?>
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Aleo" rel="stylesheet">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" rel="stylesheet">
<title>Flipr LMS</title>
<!----magnific popup css file for work section -->
<link rel="stylesheet" type="text/css" href="css/magnific-popup.css">
<!----owlcarousel css file for our team section -->
<link rel="stylesheet" type="text/css" href="css/owl.carousel.min.css">
<link rel="stylesheet" type="text/css" href="css/owl.theme.default.min.css">
<!----Linking google fonts-->
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">
<!----font-awsome start-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<!----font-awsome ends-->
<!----css file link-->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!----magnific popup js file for work section -->
<script type="text/javascript" src="js/jquery.magnific-popup.min.js"></script>
<!----owlcarousel js file for our team section -->
<script type="text/javascript" src="js/owl.carousel.min.js"></script>
<script type="text/javascript" src="js/owl.carousel.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!--google -->
<script src="https://apis.google.com/js/platform.js?onload=onLoad" async defer></script>
<!----------email notification-------->
<!-- <link rel="stylesheet" href="assets/tether/tether.min.css">
<link rel="stylesheet" href="assets/theme/css/style.css">
<link rel="stylesheet" href="assets/mobirise/css/mbr-additional.css" type="text/css"> -->
<style type="text/css">
.servicebody
{
}
html
{
scroll-behavior: smooth;
}
</style>
</head>
<body onload="myfunction()">
<!---preloader starts ----->
<div id="loading"></div>
<!---preloader Ends ----->
<!---Navigation Starts ----->
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<!------Responsive Button---->
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navi">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<h1 style="color: white;margin-top: 10px;" id="myhead">Flipr LMS</h1>
</div>
<div class="collapse navbar-collapse" id="navi">
<!------Navigation menus starts---->
<ul class="nav navbar-nav navbar-right">
<li> <a href="">Home</a></li>
<li> <a href="#myservice_section">COURSES</a></li>
<li> <a href="logout.php" id="our-location" class="btn-success" ><?php echo $_SESSION['username']; ?></a></li>
</ul>
<!------Navigation menus ends---->
</div>
</div>
</nav>
<!---Navigation Ends ----->
<!---Slider Section starts ------->
<section class="slider text-center" id="slider">
<div class="slider-overlay">
<div class="slider-content">
<div class="icons">
<i class="fa fa-apple"></i>
<i class="fa fa-android"></i>
<i class="fa fa-windows"></i>
</div>
<br>
<div class="text"> <!-- jquery typed effect -->
</div>
</div>
</div>
</section>
<!---Slider Section ends------->
<!---Login Start------->
<div class="modal fade modal-dialog-centered" id="mymodal">
<div class="modal-dialog ">
<div class="modal-content">
<h3 id="login-heading">Login</h3>
<div class="modal-body" >
<div class="left-box">
<form method="POST" action="validation.php">
<div class="form-group">
<label><i class="fa fa-user fa-2x"></i>Username :</label>
<input type="text" name="name" class="form-control">
<label><i class="fa fa-lock fa-2x"></i>Password :</label>
<input type="password" name="password" class="form-control">
<button id="btn-login" type="submit">Login</button>
</div>
<div class="register">
<h2>Don't have an account? <span id="create-account"><a href="signup.html">Create</span></a> </h2>
</div>
</form>
</div>
<div class="right-box">
<span class="signinwith">Sign in With <br> Social Networks</span>
<button class="social facebook">Log in with Facebook</button>
<button class="social twitter">Log in with twitter</button>
<button class="social google">Log in with gmail</button>
</div>
</div>
</div>
</div>
</div>
<!---Login Ends------->
<!---Our Services Section Start------->
<br><br>
<div class="container-fluid servicebody" id="myservice_section">
<div class="service-are" id="service">
<div class="row">
<div class="col-xs-12">
<div class="section-title text-center">
<h2><b>COURSES</b></h2>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="service-wrap text-center">
<div class="service-icon">
<i class="fa fa-leaf"></i>
</div>
<h3><a href="programmingdemo.php">PROGRAMMING LANGUAGE COURSES</a></h3>
<p>
Here you will find all the lecture tutorials related to programming languages
like JAVA,PYTHON,ANDROID etc
</p>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="service-wrap text-center">
<div class="service-icon">
<i class="fa fa-laptop"></i>
</div>
<h3><a href="video tutorials\java\display_video_courses.php">VIDEO TUTORIALS</a></h3>
<p>
Here you will find all the videos tutorials related to programming languages
like JAVA,PYTHON,ANDROID etc
</p>
</div>
</div>
<div class="col-md-4 col-sm-6 col-xs-12">
<div class="service-wrap text-center">
<div class="service-icon">
<i class="fa fa-laptop"></i>
</div>
<h3><a href="online_quize/quizhome.php">EXERCISE</a></h3> <!-- exercise/exercise.php -->
<p>
Here you will find problem programs for practice and their implementation also which will improve your coding skill
</p>
</div>
</div>
</div>
</div>
</div>
<!---Our Services Section Ends------->
<!---Emailnotification Section Start------->
<!---Emailnotification Section Start------->
<!---Our Services Section Ends------->
<!---second row ends-->
</div>
</section>
<!---Our Services Section Ends------->
<!-- introduction video section starts -->
<!-- <br><br><br><br>
<section class="header7 cid-rjrjygOfd1" id="header7-3">
<div class="container">
<div class="media-container-row">
<div class="media-content align-right">
<h1 class="mbr-section-title mbr-white pb-3 mbr-fonts-style display-1">
Intro with Video
</h1>
<div class="mbr-section-text mbr-white pb-3">
<p class="mbr-text mbr-fonts-style display-5">
Intro with background color, paddings and a video on the right. Mobirise helps you cut down development time by providing you with a flexible website editor with a drag and drop interface.
</p>
</div>
<div class="mbr-section-btn">
<a class="btn btn-md btn-primary display-4" href="https://mobirise.co">LEARN MORE</a>
<a class="btn btn-md btn-white-outline display-4" href="https://mobirise.co">LIVE DEMO</a>
</div>
</div>
<div class="mbr-figure" style="width: 100%;"><iframe class="mbr-embedded-video" src="https://www.youtube.com/embed/uNCr7NdOJgw?rel=0&amp;showinfo=0&autoplay=0&loop=0" width="1280" height="720" frameborder="0" allowfullscreen></iframe></div>
</div>
</div>
</section> -->
<!-- introduction video section ends -->
<!-- =============================================================================================================================== -->
<!---FAQs Section Start------->
<?php
$con=mysqli_connect('sql6.freesqldatabase.com','sql6435193','F3REjmVvVA');
if (!$con) {
die('connection failed'.mysqli_connect_error());
}
mysqli_select_db($con,'sql6435193');
$sql="select * from faq";
$result=mysqli_query($con,$sql);
while ($row=mysqli_fetch_array($result))
{
?>
<?php } ?>
<!---FAQs Section Ends------->
<!---Contact us Section Start------->
<!------ Include the above in your HEAD tag ---------->
<!---footer Section Start ----->
<!---footer Section Ends ----->
<!---This is script section------->
<script type="text/javascript">
var preloader=document.getElementById('loading');
function myfunction()
{
preloader.style.display='none';
}
function addButton() {
var body=document.getElementsByTagName('body')[0];
var myfaq1=document.getElementById('myfaq');
var btn=document.createElement('button');
btn.innerHTML='sunil';
myfaq1.appendChild(btn);
body.appendChild(myfaq);
}
</script>
<script src="js/jquery.ripples-min.js" type="text/javascript"></script>
<script src="js/typed.min.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<!-- <script src="assets/popper/popper.min.js"></script>
<script src="assets/tether/tether.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/smoothscroll/smooth-scroll.js"></script>
<script src="assets/theme/js/script.js"></script> -->
<br>
<br>
<br>
<br>
<br>
<br>
<?php
include "admin/includes/footer.php";
?>
</body>
</html>