-
Notifications
You must be signed in to change notification settings - Fork 24
/
indexRenderEscritorio.php
257 lines (211 loc) · 10.1 KB
/
indexRenderEscritorio.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
<?php setcookie("modoEscritorio", "1")?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="cache-control" content="no-cache, must-revalidate, post-check=0, pre-check=0"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="pragma" content="no-cache"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"/>
<title><?php echo TXT_TITLE?> - DescargaVideos.TV<?php echo $seccion==""?"":" - ".$seccion?></title>
<meta property="fb:app_id" content="235486993147003"/>
<meta property="fb:admins" content="1133185967"/>
<meta name="RATING" content="GENERAL"/>
<meta name="advertising" content="ask"/>
<meta name="keywords" content="<?php echo $palabras_clave?>"/>
<meta name="description" content="<?php echo $descripcion?>"/>
<script>
/*Disable console clearing*/
console.clear=()=>{console.log("Console.clear attempted.")};
var adblock=true;
</script>
<script src="/ad-engine.js"></script>
<?php
if (defined('HAY_RESULTADO') && $R['MODO'] === 'BUSQUEDA') {
echo '<meta name="robots" content="noindex">';
}
/*? y un número es para forzar la actualización del script y del css tras cambios*/ ?>
<link href="/favicon.ico" rel="icon" type="image/x-icon"/>
<link rel="stylesheet" href="/css/cssfull.min.css?37"/>
<link rel="stylesheet" href="/css/modos/<?php echo $css_modo?>.css?1" id="css2"/>
<script src="/js/funciones.min.js?21"></script>
<script>
<?php if (!defined('DEBUG') && !isset($_GET['webdebug'])) { ?>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-29252510-1', 'auto'); // Replace with your property ID.
ga('send', 'pageview');
<?php } else {?>
ga = function(){}
<?php } ?>
</script>
<!--no se puede juntar por culpa de cloudflare-->
<script>
var css_user='<?php echo $css_modo?>';
var rtmpdownloader = false;
var EasyRtmpdump = false;
var jdownloader = false;
</script>
</head>
<body>
<div class="todo">
<div class="cabecera <?php if(defined('HAY_RESULTADO')) echo "conresultado";?>" id="cabecera">
<div class="minHeight">
<a href="/" title="Ir al inicio"><h1>DescargaVideos<span class="tv">.TV</span></h1></a>
<h2><?php echo TXT_SUBTITULO_CABECERA?></h2>
<div class="centro">
<form action="/" method="post" name="formCalculador" id="formCalculador">
<div class="fondo_input_web">
<input type="text" name="web" id="web" class="entrada" placeholder="Pega la URL del vídeo..." role="search" value="<?php if(isset($web) && $web!="")echo htmlentities2($web)?>" title="URL a obtener">
</div>
<input type="submit" id="submitBtn" value=" " class="boton" aria-label="Enviar el enlace">
<div id="ayuda1" class="letra_ayuda">
<div class="flechaIzq"></div>
<span id="ayuda1txt"><?php echo TXT_COPIA_URL_VIDEO?></span>
</div>
<div id="ayuda2" class="letra_ayuda invisible">
<div class="flechaDer"></div>
<span id="ayuda2txt"><?php echo TXT_BUSCA_URL_VIDEO?></span>
</div>
<!--<span style="background-color:#000;font-size:.8em">Aviso</span>-->
</form>
<div id="resultado">
<?php include_once 'plantillaResultado.php';?>
</div>
<script src="/js/ordenes1.min.js?1"></script>
<?php if (ADS/* && FALSE*//* && $R['MODO'] !== 'RESULTADO'*/) { ?>
<nav id="publi_cabecera" aria-label="Publicidad">
<style>
.adv-container {
position: unset !important;
top: unset !important;
left: unset !important;
padding: unset !important;
}
#publi_cabecera .adv-spacer,
.adv-close {
display: none !important;
}
.adperepe {
min-width: 450px;
min-height: 360px;
}
</style>
<?php
$genokids = mt_rand(0, 100) > 100; // 0%
$genokids = false;
?>
<center style="background-color:transparent">
<span class="adperepe" id="admidpagegoeshere" style="position:relative">
<?php if ($genokids) { ?>
<a class="actual_trailer ks" href="https://www.kickstarter.com/projects/nukefist/genokids-cooperative-hackandslash?ref=2ff7fy">
<video loop="" muted="" autoplay="" poster="https://genokids.com/vid/trailer_ks_thumbnail.jpg" width="100%" height="100%">
<source type="video/webm" src="https://genokids.com/vid/trailer_ks_preview.webm">
<img src="https://genokids.com/vid/trailer_ks_thumbnail.jpg" title="Your browser does not support the <video> tag">
</video>
</a>
<!--<script src="/genokids/genokids.js?v3"></script>-->
<?php } else { ?>
<script>
console.clear=()=>{console.log("Console.clear attempted.")};
atOptions = {
"key" : "d6e58797066b3d9d9ff05a16756f9c52",
"format" : "iframe",
"height" : 250,
"width" : 300,
"params" : {}
};
if (adblock) {
/*document.write('<scr' + 'ipt type="text/javascript" src="//kzt2afc1rp52.com/d6e58797066b3d9d9ff05a16756f9c52//invoke.js"></scr' + 'ipt>');*/
}
else {
document.write('<scr' + 'ipt type="text/javascript" src="//gatetodisplaycontent.com/d6e58797066b3d9d9ff05a16756f9c52/invoke.js"></scr' + 'ipt>');
}
</script>
<?php } ?>
</span>
</center>
</nav>
<?php } ?>
</div>
<nav id="esquina" class="esquina" aria-label="Elegir imágen de fondo" role="complementary">
<div class="interior_esquina"><div>
<a href="/cambiaCabecera.php?modo=1" id="prevpic1" aria-label="opción 1" ><span class="m1 img"></span></a><a
href="/cambiaCabecera.php?modo=2" id="prevpic2" aria-label="opción 2" ><span class="m2 img"></span></a><a
href="/cambiaCabecera.php?modo=3" id="prevpic3" aria-label="opción 3" ><span class="m3 img"></span></a><a
href="/cambiaCabecera.php?modo=4" id="prevpic4" aria-label="opción 4" ><span class="m4 img"></span></a></div><div><a
href="/cambiaCabecera.php?modo=5" id="prevpic5" aria-label="opción 5" ><span class="m5 img"></span></a><a
href="/cambiaCabecera.php?modo=6" id="prevpic6" aria-label="opción 6" ><span class="m6 img"></span></a><a
href="/cambiaCabecera.php?modo=7" id="prevpic7" aria-label="opción 7" ><span class="m7 img"></span></a></div><div><a
href="/cambiaCabecera.php?modo=8" id="prevpic8" aria-label="opción 8" ><span class="m8 img"></span></a><a
href="/cambiaCabecera.php?modo=9" id="prevpic9" aria-label="opción 9" ><span class="m9 img"></span></a></div><div><a
href="/cambiaCabecera.php?modo=10" id="prevpic10" aria-label="opción 10"><span class="m10 img"></span></a>
</div></div>
</nav>
<nav class="social" aria-label="Compartir en redes sociales">
<div class="elem">
<a target="_blank" class="tt" href="https://twitter.com/descargavids" aria-label="Twitter"></a>
</div>
<div class="elem">
<a target="_blank" class="fb" href="https://www.facebook.com/descargavids" aria-label="Facebook"></a>
</div>
</nav>
</div>
</div>
<div id="subir">Subir</div>
<div id="contenido">
<div class="menu_hueco">
<nav class="menu" id="menu_scroll" aria-label="Menú principal">
<a href="/" class="inicio"><?php echo TXT_MENU_INICIO?></a><a
href="/faq#contenido" class="preguntas_frecuentes"><?php echo TXT_MENU_FAQ?></a><a
target="_blank" href="http://descargavid.blogspot.com.es/" class="blog"><?php echo TXT_MENU_BLOG?></a><a
href="/lab#contenido" class="lab"><?php echo TXT_MENU_LAB?></a><a
href="/changelog#contenido" class="changelog"><?php echo TXT_MENU_CHANGELOG?></a><a
href="/agradecimientos#contenido" class="agradecimientos"><?php echo TXT_MENU_AGRADECIMIENTOS?></a><a
href="https://github.com/forestrf/Descargavideos" class="github">GitHub</a><a
href="/contacta#contenido" class="contacta"><?php echo TXT_MENU_CONTACTA?></a>
</nav>
</div>
<div class="wrapp">
<div class="interior">
<?php imprimePagina($pag)?>
</div>
</div>
</div>
<div class="hueco_pie"></div>
<div id="pie">
Descargavideos.tv |
Code by <b>Forest</b> - Design by <a target="_blank" href="http://www.fsdesign.es/"><b>FSdesign</b></a>
<div class="derecha" style="right:100px">
<div class="adv-consent-link-section" style="display:inline;">
<a href="#" class="adv-consent-link">Review Consent</a> |
</div>
<a href="/aviso_legal#contenido"><?php echo TXT_AVISO_LEGAL?></a>
| <a href="/privacidad#contenido"><?php echo TXT_POLITICA_PRIVACIDAD?></a>
| <a href="https://www.rarapercepcion.com">Rara Percepcion</a>
</div>
</div>
</div>
<div id="preloader"></div>
<script src="/js/ordenes2.min.js?1"></script>
<script>
setModoPic('<?php echo $modo?>');
function setModoPic(d){if(d==1){D.g('web').placeholder="<?php echo TXT_PEGA_URL_VIDEO?>";D.g('ayuda1txt').innerHTML="<?php echo TXT_COPIA_URL_VIDEO?>";D.g('ayuda2txt').innerHTML="<?php echo TXT_BUSCA_URL_VIDEO?>";}else{D.g('web').placeholder="<?php echo TXT_BUSCAR_CANCION?>";D.g('ayuda1txt').innerHTML="<?php echo TXT_ESCRIBE_NOMBRE_CANCION?>";D.g('ayuda2txt').innerHTML="<?php echo TXT_BUSCA_CANCION?>";}}
<?php if(defined('HAY_RESULTADO')){ ?>
scrollTo(D.g('formCalculador'), 20);
<?php } ?>
ga('send', 'event', "Interfaz modo","<?php echo $css_modo_cookie;?>");
</script>
<script>ga('send', 'event', "Adblock escritorio", adblock?"Con Adblock":"Sin Adblock");</script>
<?php if (!$genokids) { /*?>
<script>if (adblock) getScript("/genokids/genokids.js?v4");</script>
<?php*/ } ?>
<script>
/*Disable ajax*/
D.g("formCalculador").onsubmit = null;
</script>
<?php /*Adsterra Social bar intenta que instales extensiones en el navegador*/ ?>
</body>
</html>