-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathloki.php
41 lines (39 loc) · 1.59 KB
/
loki.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
<?php
session_start();
$email = $_SESSION['email'];
$con = mysqli_connect('localhost','root','');
mysqli_select_db($con, 'webDev');
$s = "SELECT * FROM login WHERE Email = '$email'";
$result = mysqli_query($con, $s);
$num = mysqli_num_rows($result);
if($num == 1){
}
else{
header("Location: index.html");
}
?>
<html>
<head>
<link rel="icon" href="css/moviesLogo.jpg">
<link rel="stylesheet" href="css/MovieCSS.css">
<title>Loki</title>
</head>
<body>
<h1>Loki<br>Click on the Episode to watch</h1>
<div class="usrdet">
User: <?php echo $_SESSION['name'];?><br>
E-mail: <?php echo $_SESSION['email'];?><br>
Phone Number: <?php echo $_SESSION['phno'];?><br>
<a href="lgpg.php"> <input type="button" value="Logout"></a>
</div>
<div class="molist">
<a href="movis.php">Click here to go back to movies page</a>
<li><a href="VideoPlayer.php?movienm=videos/WebSeries/Loki/Loki_S01E01">Episode 1</a></li>
<li><a href="VideoPlayer.php?movienm=videos/WebSeries/Loki/Loki_S01E02">Episode 2</a></li>
<li><a href="VideoPlayer.php?movienm=videos/WebSeries/Loki/Loki_S01E03">Episode 3</a></li>
<li><a href="VideoPlayer.php?movienm=videos/WebSeries/Loki/Loki_S01E04">Episode 4</a></li>
<li><a href="VideoPlayer.php?movienm=videos/WebSeries/Loki/Loki_S01E05">Episode 5</a></li>
<li><a href="VideoPlayer.php?movienm=videos/WebSeries/Loki/Loki_S01E06">Episode 6</a></li>
</div>
</body>
</html>