-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathview-film.php
175 lines (149 loc) · 6.26 KB
/
view-film.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
<?php
// variabile player utilizzato
$v = $_GET['v']; // openload
$s = $_GET['s']; // streamango
$p = $_GET['p']; // speedvideo
$sv = $_GET['sv']; // speedvideo
$md = $_GET['md']; // mixdrop
$gu = $_GET['gu']; // gounl
include('functions.php');
$idutente = $_SESSION['user']['id'];
if(!empty($v)){
$filmdetailsquery = "SELECT id, titolo, descr, poster FROM film where link='$v'";
}
if(!empty($p)){
$filmdetailsquery = "SELECT id, titolo, descr, poster FROM film where linksv='$p'";
}
if(!empty($sv)){
$filmdetailsquery = "SELECT id, titolo, descr, poster FROM film where linksv='$sv'";
}
if(!empty($md)){
$filmdetailsquery = "SELECT id, titolo, descr, poster FROM film where linkmd='$md'";
}
if(!empty($gu)){
$filmdetailsquery = "SELECT id, titolo, descr, poster FROM film where linkgu='$gu'";
}
$filmdetailsresult = mysqli_query($db, $filmdetailsquery);
while($row = mysqli_fetch_assoc($filmdetailsresult)) {
$filmid = $row["id"];
$descr = $row["descr"];
$poster = $row["poster"];
$titolo = $row["titolo"];
}
?>
<!--
Fata Streaming 2018 / Made by www.sebastianoriva.it
ESKERE
!-->
<html>
<center>
<head>
<title><?php echo $titolo; ?> - Fata Streaming</title>
<link rel="icon" href="favicon.ico" type="image/png"/>
<link href="assets/css/fatastyle.css?1.2.1" rel="stylesheet" type="text/css">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Guarda online gratuitamente le tue serie preferite su Fata Streaming">
<meta http-equiv="Content-Language" content="it" />
<!-- Block Right
<script language="Javascript1.2">
function nrcIE(){
if (document.all){return false;}}
function nrcNS(e){
if(document.layers||(document.getElementById&&!document.all)){
if (e.which==2||e.which==3){
return false;}}}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=nrcNS;
}else{document.onmouseup=nrcNS;document.oncontextmenu=nrcIE;}
document.oncontextmenu=new Function("return false");
</script> -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-101768560-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-101768560-3');
</script>
</head>
<body >
<a href="/"><div style="max-width:400px"><br>
<img style="max-width: 100%; display:block; height: auto;" src="assets/img/FATASlogo.png" height="auto">
</div></a>
<h3 style="color:#d6d6d6; font-family: 'PT Sans', sans-serif;">LE TUE SERIE COME PER MAGIA</h3><br>
<div align="center"><script type="text/javascript">
/* <![CDATA[ */
document.write('<s'+'cript type="text/javascript" src="//ad.altervista.org/js.ad/size=300X250/?ref='+encodeURIComponent(location.hostname+location.pathname)+'&r='+new Date().getTime()+'"></s'+'cript>');
/* ]]> */
</script>
</div><br>
<div class="titlewrap">
<h1 style="color: darkgray"><?php echo $titolo ?></h2>
<p id="episodio" style="color: darkgray"></h2>
</div>
<div class="html5video lightsoff" style="width:100%;" >
<script type="text/javascript">//<![CDATA[
$(window).load(function(){
$('#fplay play a').on('click', function(){
$(this).addClass('disabled');
});
});//]]>
</script>
<?php
if(!empty($s || $v || $vs|| $md|| $gu)){
echo "<div class='main-container'>";
}
else{
echo "<div align='center''>";
}
?>
<!--<div class="play">
<a href="./HD/guarda.php?v=<?php //echo ($v); php?>" target="_blank" id="fplay" onclick="hide()">
<script type="text/javascript">
$(document).ready(function() {
$("#play1").click(function() {
$(this).hide()
});
});
</script>-->
<?php
if(!empty($s || $v || $p || $sv || $md || $gu)){
if(!empty($s)){
echo "<span class='play1' id='play1' onclick='hide()' ;>
</span><iframe src='https://streamango.com/embed/$s'/ scrolling='no' frameborder='0' width='100%' height='100%' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true'></iframe></a><bold></bold>";
}
if(!empty($p)){
echo "<span class='play1' id='play1' onclick='hide()' ;>
</span><iframe src='https://speedvideo.net/embed-$p-607x360.html' scrolling='no' frameborder='0' width='800px' height='400px' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true'></iframe></a><bold></bold>";
}
if(!empty($v)){ // openload
echo "<span class='play1' id='play1' onclick='hide()' ;>
</span><iframe src='https://supervideo.tv/embed-$v.html' scrolling='no' frameborder='0' width='100%' height='100%' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true'></iframe></a><bold></bold>";
}
if(!empty($sv)){ // speedvideo
echo "<span class='play1' id='play1' onclick='hide()' ;>
</span><iframe src='https://speedvideo.net/embed-$sv-607x360.html'/ scrolling='no' frameborder='0' width='100%' height='100%' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true' style='width:45%!important;height:50%!important'></iframe></a><bold></bold>";
}
if(!empty($md)){ //mixdrop
echo "<span class='play1' id='play1' onclick='hide()' ;>
</span><iframe src='https://mixdrop.co/e/$md'/ scrolling='no' frameborder='0' width='100%' height='100%' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true'></iframe></a><bold></bold>";
}
if(!empty($gu)){ // go unlimited
echo "<span class='play1' id='play1' onclick='hide()' ;>
</span><iframe src='https://gounlimited.to/embed-$gu.html'/ scrolling='no' frameborder='0' width='100%' height='100%' allowfullscreen='true' webkitallowfullscreen='true' mozallowfullscreen='true'></iframe></a><bold></bold>";
}}
else{
echo "</a><h1 style='color:fff'>Si è verificato un errore</h1>
<h3 style='color:fff'>Probabilmente hai seguito un collegamento sbagliato.</h3></div>";
}
?>
<!--</div>-->
<div class="footer" style="height: 200px;"> </div>
</div>
</body>
</center>
</html>