forked from qwerty/tupali
Menu index.php
This commit is contained in:
commit
0de880c57d
154
index.php → index.php.paila
Executable file → Normal file
154
index.php → index.php.paila
Executable file → Normal file
@ -6,18 +6,18 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
|||||||
$xajax = new xajax("");
|
$xajax = new xajax("");
|
||||||
//$xajax = new xajax("https://tupale.co/index.php");
|
//$xajax = new xajax("https://tupale.co/index.php");
|
||||||
require ("milfs/funciones/conex.php");
|
require ("milfs/funciones/conex.php");
|
||||||
require ('milfs/funciones/funciones.php');
|
require ('milfs/funciones/funciones.php');
|
||||||
include ('milfs/addon/funciones.php');
|
include ('milfs/addon/funciones.php');
|
||||||
require ("milfs/includes/markdown.php");
|
require ("milfs/includes/markdown.php");
|
||||||
require ("milfs/includes/parametrizacion.php");
|
require ("milfs/includes/parametrizacion.php");
|
||||||
require ("milfs/includes/simple_html_dom.php");
|
require ("milfs/includes/simple_html_dom.php");
|
||||||
$xajax->processRequests(); ?>
|
$xajax->processRequests(); ?>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head >
|
<head >
|
||||||
|
|
||||||
<meta http-equiv="Cache-control" content="public">
|
<meta http-equiv="Cache-control" content="public">
|
||||||
<meta charset="UTF-8">
|
<meta charset="ISO-8859-1">
|
||||||
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
<meta name="viewport" content="user-scalable=no, width=device-width, maximum-scale=1, initial-scale=1">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@ -288,8 +288,8 @@ if ($variable !=''){
|
|||||||
$mapa
|
$mapa
|
||||||
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
|
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
|
||||||
<div class='container' style='background-color:white' >
|
<div class='container' style='background-color:white' >
|
||||||
<h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2>
|
<h2><img src= 'https://qwerty.co/qr/?d=https://$web[0]/a$form'>Comparte nuestra aplicación</h2>
|
||||||
<p>Descarga una aplicación para leer este código
|
<p>Descarga una aplicación para leer este código
|
||||||
<a href='https://play.google.com/store/search?q=qr%20code%20reader&hl=es_419'><i class='fa fa-android'></i></a>
|
<a href='https://play.google.com/store/search?q=qr%20code%20reader&hl=es_419'><i class='fa fa-android'></i></a>
|
||||||
<a href='https://itunes.apple.com/us/app/qr-reader-for-iphone/id368494609?mt=8'><i class='fa fa-apple'></i></a>
|
<a href='https://itunes.apple.com/us/app/qr-reader-for-iphone/id368494609?mt=8'><i class='fa fa-apple'></i></a>
|
||||||
</p>
|
</p>
|
||||||
@ -466,7 +466,11 @@ legend.legend-area {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
//$tema= "chamitrip";
|
//$tema= "chamitrip";
|
||||||
|
=======
|
||||||
|
$tema= "magazine";
|
||||||
|
>>>>>>> d2f306f57cb37c50bd5e87d160fac4ccb2ca2663
|
||||||
$css ='
|
$css ='
|
||||||
<!-- incluir tema bootstrap por defecto -->
|
<!-- incluir tema bootstrap por defecto -->
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css?'.time().'" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous" >';
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css?'.time().'" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous" >';
|
||||||
@ -682,7 +686,7 @@ function addLink() {
|
|||||||
var body_element = document.getElementsByTagName('body')[0];
|
var body_element = document.getElementsByTagName('body')[0];
|
||||||
var selection;
|
var selection;
|
||||||
selection = window.getSelection();
|
selection = window.getSelection();
|
||||||
var pagelink = " /* <br /><br />Gracias por compartir, por favor citanos asÃ:<br/><a href='"+document.location.href+"'>"+document.location.href+"<br /><b>https://tupale.co</b> */";
|
var pagelink = " /* <br /><br />Gracias por compartir, por favor citanos así:<br/><a href='"+document.location.href+"'>"+document.location.href+"<br /><b>https://tupale.co</b> */";
|
||||||
var copytext = selection + pagelink;
|
var copytext = selection + pagelink;
|
||||||
var newdiv = document.createElement('div');
|
var newdiv = document.createElement('div');
|
||||||
newdiv.style.position='absolute';
|
newdiv.style.position='absolute';
|
||||||
@ -704,7 +708,7 @@ document.oncopy = addLink;
|
|||||||
<a href="frida.php?redirect" >
|
<a href="frida.php?redirect" >
|
||||||
<img class='center-block img img-responsive' src='https://tupale.co/milfs/images/frida.gif'>
|
<img class='center-block img img-responsive' src='https://tupale.co/milfs/images/frida.gif'>
|
||||||
</a>
|
</a>
|
||||||
<a href="frida.php" ><small class="center-block" >¿ Necesitas ayuda para apoyarnos ?</small></a>
|
<a href="frida.php" ><small class="center-block" >¿ Necesitas ayuda para apoyarnos ?</small></a>
|
||||||
</div> -->
|
</div> -->
|
||||||
<?php
|
<?php
|
||||||
//echo "<h1>$identificador</h1>";
|
//echo "<h1>$identificador</h1>";
|
||||||
@ -762,102 +766,50 @@ document.oncopy = addLink;
|
|||||||
|
|
||||||
}
|
}
|
||||||
else{ /* SI NO SE SOLICITA UN EMBEBIDO SE CONTINUA CON EL FLUJO DEL HTML */
|
else{ /* SI NO SE SOLICITA UN EMBEBIDO SE CONTINUA CON EL FLUJO DEL HTML */
|
||||||
|
|
||||||
$enable_menu = false;
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- Navigation -->
|
|
||||||
<nav id="mainNav" class="navbar navbar-default navbar-fixed-top navbar-custom">
|
|
||||||
<div class="container">
|
|
||||||
<!-- Brand and toggle get grouped for better mobile display -->
|
|
||||||
<div class="navbar-header page-scroll">
|
|
||||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
|
||||||
<span class="sr-only">Toggle navigation</span> Menu <i class="fa fa-bars"></i>
|
|
||||||
</button>
|
|
||||||
<a class="navbar-brand" href="<?php echo $link_empresa ?>">
|
|
||||||
<img class='img img-responsive main-logo' style="" src="milfs/images/secure/?file=300/<?php echo $logo[0]; ?>">
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
|
||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
|
||||||
<ul class="nav navbar-nav navbar-right">
|
|
||||||
<li><a class='' href='<?php echo $portal_url ?>'><i class='fa fa-home'></i> Portal</a></li>
|
|
||||||
<li><a class='' href='<?php echo $link_empresa ?>'><?php echo $sigla[0] ?> Inicio</a></li>
|
|
||||||
<li><a href='milfs/'>Administrador</a></li>
|
|
||||||
<li>
|
|
||||||
<a href='?asistento'>Quiero crear una campaña </a>
|
|
||||||
</li>
|
|
||||||
<li><?php echo milfs_session("$login_formulario","$login_campo_usuario","$login_campo_password","boton",""); ?>
|
|
||||||
<div id='formulario_login' class='' ></div>
|
|
||||||
</li>
|
|
||||||
|
|
||||||
</ul>
|
<div class='container-fluid'>
|
||||||
</div>
|
<div class="col-sm-<?php echo $cols_interior; ?>">
|
||||||
<!-- /.navbar-collapse -->
|
<?php echo $menu_lateral ; ?>
|
||||||
</div>
|
|
||||||
<!-- /.container-fluid -->
|
|
||||||
</nav>
|
|
||||||
<!-- Header -->
|
|
||||||
<!-- The background image URL should be editable -->
|
|
||||||
<?php
|
|
||||||
// if( !empty($_REQUEST) ) : // agregar aqui validacion para saber cuando se esta en el home y mostrar el header con el search-form ?>
|
|
||||||
<header class="bg-cover" style="background-image: url(http://i0.wp.com/chamitrip.com/wp-content/uploads/2016/05/wild-865151_1920.jpg?fit=1920%2C1280);">
|
|
||||||
<div class="container">
|
|
||||||
<div class="row">
|
|
||||||
<div class="col-lg-12">
|
|
||||||
<div class="intro-text">
|
|
||||||
<h1 class="name"><?php echo strlen($slogan[0])>0 ? $slogan[0] : '...Descubre - Vive - Comparte...'; ?></h1>
|
|
||||||
<div class="separator"> </div>
|
|
||||||
<form class="search-form col-xs-12 col-sm-8 col-sm-offset-2 col-md-6 col-md-offset-3">
|
|
||||||
<div class="input-group">
|
|
||||||
<input type="text" class="search-input form-control" placeholder="¿Qué estás buscando?">
|
|
||||||
<span class="input-group-btn">
|
|
||||||
<button class="btn btn-raised btn-primary" type="button">
|
|
||||||
<span class="glyphicon glyphicon-search"></span>
|
|
||||||
</button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<?php // endif; ?>
|
|
||||||
|
|
||||||
<section id="contenido">
|
|
||||||
<!-- <div class="row">
|
|
||||||
<div class="col-sm-<?php echo $enable_menu ? $cols_interior : '12'; ?>"> -->
|
|
||||||
<?php // echo $menu_lateral ; //temporally disabled for dev stage... ?>
|
|
||||||
<!-- END #fh5co-offcanvas -->
|
<!-- END #fh5co-offcanvas -->
|
||||||
|
<header id="fh5co-header">
|
||||||
|
|
||||||
<?php //if( isset($_REQUEST['asistento']) ) : ?>
|
<div class="container-fluid">
|
||||||
<div id="fh5co-header">
|
|
||||||
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class='pull-right'>
|
||||||
|
<a href="#" class="js-fh5co-nav-toggle fh5co-nav-toggle"><i></i></a>
|
||||||
|
<ul class="fh5co-social list-inline intro-social-buttons ">
|
||||||
|
|
||||||
|
<li><a href="https://twitter.com/<?php echo $twitter[0]; ?>"><i class="fa fa-twitter"></i></a></li>
|
||||||
|
<li><a href="<?php echo $facebook[0]; ?>"><i class="fa fa-facebook"></i></a></li>
|
||||||
|
<li><?php echo milfs_session("$login_formulario","$login_campo_usuario","$login_campo_password","boton",""); ?></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
<div class="col-lg-12 col-md-12 ">
|
<div class="col-lg-12 col-md-12 ">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
|
<div id='formulario_login' class='' ></div>
|
||||||
|
<img class='center-block img img-responsive' style="" src="milfs/images/secure/?file=300/<?php echo $logo[0]; ?>">
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12 text-center">
|
<div class="col-md-12 text-center">
|
||||||
<!-- <h1 id="fh5co-logo" data-toc-skip ><a href="./"><?php echo $titulo[0]; ?></a></h1> -->
|
<h1 id="fh5co-logo" data-toc-skip ><a href="./"><?php echo $titulo[0]; ?></a></h1>
|
||||||
|
<p><?php echo "$slogan[0] "; ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12 text-center">
|
<div class="col-md-12 text-center">
|
||||||
<?php
|
<?php
|
||||||
if(isset($_REQUEST['asistento'])) {
|
if(isset($_REQUEST['asistento'])) {
|
||||||
echo asistente_aplicaciones("",'','','');
|
echo asistente_aplicaciones("",'','','');
|
||||||
}
|
}else {
|
||||||
|
echo "<a href='?asistento' class='btn btn-success'>Quiero crear una campaña </a>";
|
||||||
|
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -865,7 +817,7 @@ document.oncopy = addLink;
|
|||||||
<a href="frida.php?redirect" >
|
<a href="frida.php?redirect" >
|
||||||
<img class='center-block img img-responsive' src='https://tupale.co/milfs/images/frida.gif'>
|
<img class='center-block img img-responsive' src='https://tupale.co/milfs/images/frida.gif'>
|
||||||
</a>
|
</a>
|
||||||
<a href="frida.php" ><small class="center-block" >¿ Necesitas ayuda para apoyarnos ?</small></a>
|
<a href="frida.php" ><small class="center-block" >¿ Necesitas ayuda para apoyarnos ?</small></a>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class='center-block'>
|
<div class='center-block'>
|
||||||
@ -890,25 +842,21 @@ document.oncopy = addLink;
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div><?php // endif; // endif condicional del asistento ?>
|
</header>
|
||||||
<div class="container">
|
|
||||||
<div class="row fh5co-post-entry">
|
<div class="row fh5co-post-entry">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if($id_empresa=="") {
|
if($id_empresa=="") {
|
||||||
|
|
||||||
|
|
||||||
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
|
echo mas_visto("aleatorios","4","");
|
||||||
echo mas_visto("formulario","4","");
|
|
||||||
|
|
||||||
echo mas_visto("aleatorios","4","");
|
|
||||||
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
|
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
|
||||||
echo mas_visto("ultimos","4","");
|
echo mas_visto("ultimos","4","");
|
||||||
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
|
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
|
||||||
echo mas_visto("identificador","4","");
|
echo mas_visto("identificador","4","");
|
||||||
|
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
|
||||||
|
echo mas_visto("formulario","4","");
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
@ -938,22 +886,18 @@ document.oncopy = addLink;
|
|||||||
}else{ echo multiempresa_listado('',''); }
|
}else{ echo multiempresa_listado('',''); }
|
||||||
?>
|
?>
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='container'><?php //echo $aleatorios ?> </div>
|
<div class='container-fluid'><?php //echo $aleatorios ?> </div>
|
||||||
<!-- </div> // temporally disable to fit with bootstrap section styles-->
|
<footer id="fh5co-footer">
|
||||||
<?php echo $enable_menu ? $menu : ''; ?>
|
|
||||||
<!-- </div> // temporally disable to fit with bootstrap section styles-->
|
|
||||||
</section>
|
|
||||||
<footer id="fh5co-footer">
|
|
||||||
<div class="footer-below">
|
|
||||||
<small>
|
<small>
|
||||||
<p class="">Tupale.co funciona gracias a <a href='https://QWERTY.co/milfs'>© MILFS Un proyecto de https://QWERTY.co</a> Se distribuye bajo licencia GPL V3
|
<p class="">Tupale.co funciona gracias a <a href='https://QWERTY.co/milfs'>© MILFS Un proyecto de https://QWERTY.co</a> Se distribuye bajo licencia GPL V3
|
||||||
<a href="milfs/?psi" ><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a></p>
|
<a href="milfs/?psi" ><i class="fa fa-smile-o "></i> Políticas de privacidad y protección de datos.</a></p>
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</footer>
|
||||||
</footer>
|
</div>
|
||||||
|
<?php echo $menu; ?>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
<div class='modal fade ' id='muestraInfo' tabindex='-1' role='dialog' aria-labelledby='myModalLabel' aria-hidden='true'>
|
||||||
<div class='modal-dialog modal-lg' >
|
<div class='modal-dialog modal-lg' >
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
if($_SESSION['grupo'] != "administrador") {
|
if($_SESSION['grupo'] != "administrador") {
|
||||||
// header("Location: ../");
|
// header("Location: ../");
|
||||||
}
|
}
|
||||||
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
|
||||||
|
Loading…
Reference in New Issue
Block a user