-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview_trailer.php
121 lines (114 loc) · 2.51 KB
/
view_trailer.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
<?php
session_start();
if(!isset($_SESSION['userLoggedIn'])){
header('location: register.php');
}
if(isset($_POST['viewMore'])){
if(isset($_POST['more'])){
$_SESSION['id'] = $_POST['more'];
echo '<input type="hidden" value="'.$_POST['more'].'" id="movieid">';
}
}
?>
<!DOCTYPE html>
<html>
<head>
<title>View More</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css">
<style type="text/css">
html {
height: 100%;
}
body {
background: #000000;
color: white;
font-size: 1.3vw;
}
.more {
background-color: rgb(0, 0, 0,0.6);
width: 60%;
padding: 0;
margin-top: 100px;
}
.head {
letter-spacing: 4px;
text-transform: uppercase;
font-weight: bolder;
}
.heading {
width: 100%;
font-size: 2vw;
margin: 0;
background: rgba(0,0,0,0.8);
}
.content {
height: 400px;
width: 100%;
margin-top: 15px;
}
.subhead {
text-transform: uppercase;
letter-spacing: 1px;
}
.hidden {
display: none;
}
iframe {
border: 0;
}
ul {
list-style-type: none;
}
#fav i:hover {
color: #FF0000;
cursor: pointer;
}
.fas.fa-heart {
color: #FF0000;
}
.fas.fa-star {
color: #FFFF00;
}
.fas.fa-check-double{
color: #00FF00;
}
.btn:hover {
background: inherit;
}
.watchlist {
background: inherit;
border: 1px solid white;
}
button {
padding: 1px;
margin: 10px;
}
.navbar {
background: #000000;
}
</style>
</head>
<body>
<?php include('navbar.php'); ?>
<div class="container more rounded">
<div id="details">
</div>
<div>
<div class="col-md-12 text-center">
<button type="button" class="btn btn-primary" id="watched">Watched</button>
</div>
</div>
<div id="trailer" class="text-center">
</div>
<div id="watchlist">
<div class="col-md-12 text-center">
<button type="button" class="btn btn-primary" id="watch"></button>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<script type="text/javascript" src="view_trailer.js"></script>
</body>
</html>