Menu index.php

This commit is contained in:
fredyrivera 2016-11-26 16:43:28 -05:00
commit 0de880c57d
2 changed files with 57 additions and 113 deletions

142
index.php → index.php.paila Executable file → Normal file
View File

@ -17,7 +17,7 @@ if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
<head >
<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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -288,8 +288,8 @@ if ($variable !=''){
$mapa
<span>Powered by <a href='https://github.com/humano/milfs' target='milfs'>MILFS</a></span>
<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>
<p>Descarga una aplicación para leer este código
<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
<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>
</p>
@ -466,7 +466,11 @@ legend.legend-area {
}
else {
<<<<<<< HEAD
//$tema= "chamitrip";
=======
$tema= "magazine";
>>>>>>> d2f306f57cb37c50bd5e87d160fac4ccb2ca2663
$css ='
<!-- 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" >';
@ -682,7 +686,7 @@ function addLink() {
var body_element = document.getElementsByTagName('body')[0];
var selection;
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 newdiv = document.createElement('div');
newdiv.style.position='absolute';
@ -704,7 +708,7 @@ document.oncopy = addLink;
<a href="frida.php?redirect" >
<img class='center-block img img-responsive' src='https://tupale.co/milfs/images/frida.gif'>
</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> -->
<?php
//echo "<h1>$identificador</h1>";
@ -762,101 +766,49 @@ document.oncopy = addLink;
}
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>
<div class='container-fluid'>
<div class="col-sm-<?php echo $cols_interior; ?>">
<?php echo $menu_lateral ; ?>
<!-- END #fh5co-offcanvas -->
<header id="fh5co-header">
<div class="container-fluid">
<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>
<!-- /.navbar-collapse -->
</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 -->
<?php //if( isset($_REQUEST['asistento']) ) : ?>
<div id="fh5co-header">
<div class="container">
<div class="row">
</div>
<div class="col-lg-12 col-md-12 ">
<div class="row">
<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 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 class="col-md-12 text-center">
<?php
if(isset($_REQUEST['asistento'])) {
echo asistente_aplicaciones("",'','','');
}else {
echo "<a href='?asistento' class='btn btn-success'>Quiero crear una campaña </a>";
}
?>
@ -865,7 +817,7 @@ document.oncopy = addLink;
<a href="frida.php?redirect" >
<img class='center-block img img-responsive' src='https://tupale.co/milfs/images/frida.gif'>
</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 class="col-md-12">
<div class='center-block'>
@ -890,25 +842,21 @@ document.oncopy = addLink;
</div>
</div><?php // endif; // endif condicional del asistento ?>
<div class="container">
</header>
<div class="row fh5co-post-entry">
<?php
if($id_empresa=="") {
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
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 mas_visto("ultimos","4","");
echo "<div class='clearfix visible-lg-block visible-md-block visible-sm-block visible-xs-block'></div>";
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('',''); }
?>
</div>
</div>
<div class='container'><?php //echo $aleatorios ?> </div>
<!-- </div> // temporally disable to fit with bootstrap section styles-->
<?php echo $enable_menu ? $menu : ''; ?>
<!-- </div> // temporally disable to fit with bootstrap section styles-->
</section>
<div class='container-fluid'><?php //echo $aleatorios ?> </div>
<footer id="fh5co-footer">
<div class="footer-below">
<small>
<p class="">Tupale.co funciona gracias a <a href='https://QWERTY.co/milfs'>&copy; 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>
</small>
</div>
</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-dialog modal-lg' >