-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.php
96 lines (95 loc) · 3.23 KB
/
index.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
<?php
# Planet VaSlibre
/* -------------------------------------------------------
Script bajo los términos y Licencia
GNU GENERAL PUBLIC LICENSE
Ver Terminos en:
http://www.gnu.org/copyleft/gpl.html
Desarrollo y Programacion: Hector A. Mantellini (Xombra)
Diseño: Angel Cruz (Abr4xas)
VASLIBRE
http://vaslibre.org.ve
-------------------------------------------------------- */
session_start();
include 'include/config.php';
include 'include/core.php';
if(!empty($_GET["r"]))
{ $urlsitio=trim($_GET["r"]);
echo '<html lang="'.$lenguaje.'">
<head><link href="css/redireccion.css" rel="stylesheet" type="text/css" media="all">';
GoogleAnalytics($UA);
$enlace=$urlsitio;
$enlace=$urlplanet.'index.php?r='.$enlace;
$urlsitio=base64_decode($urlsitio);
$tok=explode('|',$urlsitio);
$title=str_replace(' ','-',$tok[1]);
$urlsitio=$tok[0];
METAREDIRECCION($nombre_sitio,$descripcion,$latitud,$longitud,$urlplanet,$ExpStr,$glus,$twitter,$lenguaje,$urlsitio,$title,$theme,$enlace);
echo '
</head><body>';
flush();
VER_FEED($urlsitio,$urlplanet,$nombre_sitio,$title,$theme,$enlace);
echo '</body><html>';
BUFFER_FIN();
BORRAR_VARIABLES();
die();
}
if (!is_dir("themes/$theme"))
{ $theme='default'; }
$expira=time() - $timecache;
$vidafile = VERIFICA_CACHE($urlcache,$expira);
include 'sitemap.php';
echo '<!DOCTYPE html>
<html lang="'.$lenguaje.'">
<head>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" media="all">
<link href="themes/'.$theme.'/css/style.css" rel="stylesheet" type="text/css" media="all">
<title>'.$nombre_sitio.'</title>';
META($nombre_sitio,$descripcion,$latitud,$longitud,$urlplanet,$ExpStr,$glus,$activar,$twitter,$wot,$bing,$yahoo,$google,$alexa,$lenguaje,$theme);
echo '<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js">
</script> <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->';
GoogleAnalytics($UA);
?>
<script type="application/javascript">$(function(){$('[data-toggle="tooltip"]').tooltip()})</script>
<script type="application/javascript">
var auto_refresh=setInterval(
function () { $('#banner').load('i-publi.php').fadeIn("slow");},5000);</script>
</head>
<body>
<?php
flush();
echo '<noscript><p>Debe habilitar el uso de Javascript, para poder usar muchas de las funciones del sitio</p></noscript>
<div class="container-fluid">
<header>';
include "themes/$theme/header.php";
echo'
</header>
<section>';
if (!isset($_GET["d"])) {
include "themes/$theme/content.php"; }
else
{ include 'include/politicas.php'; }
echo'
</section>
<footer>';
include "themes/$theme/footer.php";
echo'
</footer>
<div id="end">';
COOKIES();
HCARD($latitud,$longitud,$nombre_sitio,$urlplanet,$ciudad,$provincia,$pais);
echo'
</div>
</div>
<script defer type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script defer type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script>
<script defer type="text/javascript" src="js/js.js"></script>
</body>
</html>';
BUFFER_FIN();
if ($expira >= $vidafile)
{ CREA_CACHE($urlcache,$buffer); }
BORRAR_VARIABLES();
?>