-
Notifications
You must be signed in to change notification settings - Fork 1
/
info.php
140 lines (125 loc) · 7 KB
/
info.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="A mediacenter for home">
<meta name="author" content="DangerBlack">
<link rel="apple-touch-icon" sizes="120x120" href="css/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" href="css/icons/favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="css/icons/favicon-16x16.png" sizes="16x16">
<link rel="manifest" href="css/icons/manifest.json">
<link rel="mask-icon" href="css/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="css/icons/favicon.ico">
<meta name="msapplication-config" content="css/icons/browserconfig.xml">
<meta name="theme-color" content="#000000">
<title>HomeFlix</title>
<link rel="stylesheet" href="css/default.css" />
<link rel="stylesheet" href="css/info.css" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script type="text/javascript" src="js/default.js" ></script>
<script type="text/javascript" src="js/info.js" ></script>
<script type="text/javascript" >
$(document).ready(function(){
isLogged();
loadInfo("<?php echo $_GET['movie'];?>");
});
</script>
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid shorten">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">HomeFlix</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="isloadinginfo" class="loading-tab">
<a href="#" class="label-warning">Loading <span class="glyphicon glyphicon-refresh"></span></a>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" >Utility <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="settings.html"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Settings</a></li>
</ul>
</li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container-fluid shorten">
<div class="starter-template">
<div class="row">
<div class="col-md-4 description">
<button id="edittitle" class="btn btn-xs btn-primary right" data-toggle="modal" data-target="#myModal" data-whatever="@Title" alt="edit" title="edt"><span class="glyphicon glyphicon-pencil"></span></button><h1 id="title">Title </h1>
<p>
<span id="stars">
<span class="glyphicon glyphicon-star" aria-hidden="true"></span>
<span class="glyphicon glyphicon-star" aria-hidden="true"></span>
<span class="glyphicon glyphicon-star" aria-hidden="true"></span>
<span class="glyphicon glyphicon-star-empty" aria-hidden="true"></span>
<span class="glyphicon glyphicon-star-empty" aria-hidden="true"></span>
</span>
<span id="year">year</span> - <span id="runtime">?h ??m</span>
<article id="overview">
<p >A lot of interesting stuff!</p>
</article>
<p ><span id="favorite"><span class="glyphicon glyphicon-heart-empty" aria-hidden="true"></span> Favorite</span> <span id="mylist"><span class="glyphicon glyphicon-plus" aria-hidden="true"></span> MyList</span></p>
<p id="moviequality"></p>
<p><a href="#" class="youtube" target="_blank"><span class="glyphicon glyphicon-facetime-video" aria-hidden="true"></span> TRAILER</a></p>
<p><a href="#" class="details" target="_blank"><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> DETAILS</a></p>
<p><a href="#" class="comment addComment" data-toggle="modal" data-target="#myModal" data-whatever="@Commento"><span class="glyphicon glyphicon-comment" aria-hidden="true"></span> COMMENTS</a></p>
</p>
</div>
<div class="col-md-8 bgwide" style="background-image:url('archive/<?php echo $_GET['movie'];?>.jpg')">
<p class="full"><a id="watch" href="#"><span class="play glyphicon glyphicon-play-circle"></span></a></p>
</div>
</div>
<div class="row">
<div class="col-md-12">
<h3 id="lastseen">Last seen from:</h3>
<ul id="watched"></ul>
</div>
</div>
<div class="row">
<div id="postlist" class="col-md-12">
</div>
</div>
</div>
</div><!-- /.container -->
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Modal title</h4>
</div>
<div class="modal-body">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button id="send" type="button" class="btn btn-primary">Send</button>
</div>
</div>
</div>
</div>
</body>
</html>