Browse Source

incorporacion de vista presentacion al index con el prefijo 'c'

master
humano 2 years ago
parent
commit
48554ef060
19 changed files with 4107 additions and 124 deletions
  1. +87
    -14
      index.php
  2. +64
    -0
      librerias/carrusel.html
  3. BIN
      librerias/slick/ajax-loader.gif
  4. +10
    -0
      librerias/slick/config.rb
  5. BIN
      librerias/slick/fonts/slick.eot
  6. +14
    -0
      librerias/slick/fonts/slick.svg
  7. BIN
      librerias/slick/fonts/slick.ttf
  8. BIN
      librerias/slick/fonts/slick.woff
  9. +204
    -0
      librerias/slick/slick-theme.css
  10. +168
    -0
      librerias/slick/slick-theme.less
  11. +194
    -0
      librerias/slick/slick-theme.scss
  12. +119
    -0
      librerias/slick/slick.css
  13. +3004
    -0
      librerias/slick/slick.js
  14. +100
    -0
      librerias/slick/slick.less
  15. +1
    -0
      librerias/slick/slick.min.js
  16. +100
    -0
      librerias/slick/slick.scss
  17. +35
    -0
      librerias/slick/style.css
  18. +1
    -1
      milfs/funciones/funciones.php
  19. +6
    -109
      presentacion.php

+ 87
- 14
index.php View File

@@ -52,19 +52,28 @@ $cols_interior ="12";
$menu="";
$orden="";
$cantidad_registros ="10";
/// e = EMPRESA *
/// s= SET DE DATOS *
/// S= SET DE DATOS EMBEBIDO
/// i= IDENTIFICADOR *
/// I= IDENTIFICADOR EMBEBIDO*
$librerias_cabeza ="";
$librerias_pie ="";




/// a= Aplicacion
/// b = libro
/// c= Presentacion
/// d= IDENTIFICADOR EDITABLE *
/// e = EMPRESA *
/// f= FORMULARIO *
/// g=FORMULARIO EMBEBIDO *
/// h=ADDON *
/// i= IDENTIFICADOR *
/// I= IDENTIFICADOR EMBEBIDO*
/// j=ADDON EMBEBIDO *
/// a= Aplicacion
/// p= Planilla
/// l= Listado
/// p= Planilla
/// s= SET DE DATOS *
/// S= SET DE DATOS EMBEBIDO


//$destacados = mas_visto("ultimos","6","6");
//$aleatorios = mas_visto("aleatorios","6","6");
@@ -275,6 +284,72 @@ if ($variable !=''){
$form =$v[1];
$onload =" <script type=\"text/javascript\">xajax_formulario_embebido_ajax('$form','','nuevo')</script>";
}
elseif($v[0] =='c') {
/// f= FORMULARIO
$form =$v[1];
$presentacion = contenido_presentacion("$form");
$embebido = "1";
$no_mostrar ="display:none; ";
if($_REQUEST['tema'] !="") { $tema= "$_REQUEST[tema]";}
else {$tema="moon";}
$librerias_cabeza = "
<link rel='stylesheet' href='addon/reveal/css/reveal.css'>
<link rel='stylesheet' href='addon/reveal/css/theme/<?php echo $tema ?>.css' id='theme'>

<!-- Theme used for syntax highlighting of code -->
<link rel='stylesheet' href='addon/reveal/lib/css/zenburn.css'>

<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'addon/reveal/css/print/pdf.css' : 'addon/reveal/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>

<!--[if lt IE 9]>
<script src='lib/js/html5shiv.js'></script>
<![endif]-->

";
$librerias_pie="
<script src='addon/reveal/lib/js/head.min.js'></script>
<script src='addon/reveal/js/reveal.js'></script>

<script>

// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,

transition: 'slide', // none/fade/slide/convex/concave/zoom

// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'addon/reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'addon/reveal/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'addon/reveal/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'addon/reveal/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'addon/reveal/plugin/zoom-js/zoom.js', async: true },
{ src: 'addon/reveal/plugin/notes/notes.js', async: true }
]
});

</script>
";
$onload="
<div class='reveal'>
<div class='slides'>
$presentacion
</div>
</div>";
}
elseif($v[0] =='a') {
$form =$v[1];
$plantilla="carousel";
@@ -305,12 +380,8 @@ if ($variable !=''){
}else {$mapa = "";}
$estadisticas = portal_listado_campos("$form");
$acciones= formulario_acciones("$form","aplicacion");
$footer=" <style>
div.nomostrar{
display:none;
}
</style>
$no_mostrar="display:none; ";
$footer="
<nav class='navbar navbar-inverse navbar-fixed-bottom'>
<div class=''>

@@ -447,6 +518,7 @@ $uri = $_SERVER['REQUEST_URI'];


?>
<?php echo $librerias_cabeza; ?>
<meta NAME="Language" CONTENT="Spanish">
<meta NAME="Revisit" CONTENT="1 days">
<meta NAME="Distribution" CONTENT="Global">
@@ -569,7 +641,7 @@ legend.legend-area {
if($tema=="") {

$barra="
<div class='noprint nomostrar'>
<div class='noprint nomostrar' style=' $no_mostrar '>
<nav style='' class='navbar navbar-inverse navbar-fixed-top topnav navbar-principal ' role='navigation'>

<div style='padding:10px; ' class='container topnav '>
@@ -1107,5 +1179,6 @@ $(document).ready(function() {
</script>
<noscript><p><img src="//stats.tupale.co/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
<?php echo $librerias_pie; ?>
</body>
</html>

+ 64
- 0
librerias/carrusel.html View File

@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html>
<head>
<title>Slick Playground</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="./slick/slick.css">
<link rel="stylesheet" type="text/css" href="./slick/slick-theme.css">
<link rel="stylesheet" type="text/css" href="./slick/style.css">

<style type="text/css">



</style>
</head>
<body>
<hr/>
<h2>Slider Syncing</h2>
<div class="slider slider-for1">
<div><img data-lazy="http://placehold.it/350x300?text=1-350w" data-srcset="http://placehold.it/650x300?text=1-650w 650w, http://placehold.it/960x300?text=1-960w 960w" data-sizes="100vw"></div>
<div><h3>2</h3></div>
<div><h3>3</h3></div>
<div><h3>4</h3></div>
<div><h3>5</h3></div>
</div>
<div class="slider slider-nav1">
<div><img data-lazy="http://placehold.it/350x300?text=1-350w" data-srcset="http://placehold.it/650x300?text=1-650w 650w, http://placehold.it/960x300?text=1-960w 960w" data-sizes="100vw"></div>
<div><h3>2</h3></div>
<div><h3>3</h3></div>
<div><h3>4</h3></div>
<div><h3>5</h3></div>
</div>



<script src="https://code.jquery.com/jquery-2.2.0.min.js" type="text/javascript"></script>
<script src="./slick/slick.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).on('ready', function() {
$('.slider-for1').slick({
slidesToShow: 1,
slidesToScroll: 1,
arrows: false,
fade: true,
asNavFor: '.slider-nav1'
});
$('.slider-nav1').slick({
slidesToShow: 3,
slidesToScroll: 1,
asNavFor: '.slider-for1',
dots: true,
centerMode: true,
focusOnSelect: true
});

});
</script>

</body>
</html>

BIN
librerias/slick/ajax-loader.gif View File

Before After
Width: 32  |  Height: 32  |  Size: 4.1KB

+ 10
- 0
librerias/slick/config.rb View File

@@ -0,0 +1,10 @@
css_dir = "."
sass_dir = "."
images_dir = "."
fonts_dir = "fonts"
relative_assets = true

output_style = :compact
line_comments = false

preferred_syntax = :scss

BIN
librerias/slick/fonts/slick.eot View File


+ 14
- 0
librerias/slick/fonts/slick.svg
File diff suppressed because it is too large
View File


BIN
librerias/slick/fonts/slick.ttf View File


BIN
librerias/slick/fonts/slick.woff View File


+ 204
- 0
librerias/slick/slick-theme.css View File

@@ -0,0 +1,204 @@
@charset 'UTF-8';
/* Slider */
.slick-loading .slick-list
{
background: #fff url('./ajax-loader.gif') center center no-repeat;
}

/* Icons */
@font-face
{
font-family: 'slick';
font-weight: normal;
font-style: normal;

src: url('./fonts/slick.eot');
src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');
}
/* Arrows */
.slick-prev,
.slick-next
{
font-size: 0;
line-height: 0;

position: absolute;
top: 50%;

display: block;

width: 20px;
height: 20px;
padding: 0;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);

cursor: pointer;

color: transparent;
border: none;
outline: none;
background: transparent;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
color: transparent;
outline: none;
background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
opacity: .25;
}

.slick-prev:before,
.slick-next:before
{
font-family: 'slick';
font-size: 20px;
line-height: 1;

opacity: .75;
color: white;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
left: -25px;
}
[dir='rtl'] .slick-prev
{
right: -25px;
left: auto;
}
.slick-prev:before
{
content: '←';
}
[dir='rtl'] .slick-prev:before
{
content: '→';
}

.slick-next
{
right: -25px;
}
[dir='rtl'] .slick-next
{
right: auto;
left: -25px;
}
.slick-next:before
{
content: '→';
}
[dir='rtl'] .slick-next:before
{
content: '←';
}

/* Dots */
.slick-dotted.slick-slider
{
margin-bottom: 30px;
}

.slick-dots
{
position: absolute;
bottom: -25px;

display: block;

width: 100%;
padding: 0;
margin: 0;

list-style: none;

text-align: center;
}
.slick-dots li
{
position: relative;

display: inline-block;

width: 20px;
height: 20px;
margin: 0 5px;
padding: 0;

cursor: pointer;
}
.slick-dots li button
{
font-size: 0;
line-height: 0;

display: block;

width: 20px;
height: 20px;
padding: 5px;

cursor: pointer;

color: transparent;
border: 0;
outline: none;
background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
opacity: 1;
}
.slick-dots li button:before
{
font-family: 'slick';
font-size: 6px;
line-height: 20px;

position: absolute;
top: 0;
left: 0;

width: 20px;
height: 20px;

content: '•';
text-align: center;

opacity: .25;
color: black;

-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
opacity: .75;
color: black;
}

+ 168
- 0
librerias/slick/slick-theme.less View File

@@ -0,0 +1,168 @@
@charset "UTF-8";

// Default Variables

@slick-font-path: "./fonts/";
@slick-font-family: "slick";
@slick-loader-path: "./";
@slick-arrow-color: white;
@slick-dot-color: black;
@slick-dot-color-active: @slick-dot-color;
@slick-prev-character: "←";
@slick-next-character: "→";
@slick-dot-character: "•";
@slick-dot-size: 6px;
@slick-opacity-default: 0.75;
@slick-opacity-on-hover: 1;
@slick-opacity-not-active: 0.25;

/* Slider */
.slick-loading .slick-list{
background: #fff url('@{slick-loader-path}ajax-loader.gif') center center no-repeat;
}

/* Arrows */
.slick-prev,
.slick-next {
position: absolute;
display: block;
height: 20px;
width: 20px;
line-height: 0px;
font-size: 0px;
cursor: pointer;
background: transparent;
color: transparent;
top: 50%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
padding: 0;
border: none;
outline: none;
&:hover, &:focus {
outline: none;
background: transparent;
color: transparent;
&:before {
opacity: @slick-opacity-on-hover;
}
}
&.slick-disabled:before {
opacity: @slick-opacity-not-active;
}
}

.slick-prev:before, .slick-next:before {
font-family: @slick-font-family;
font-size: 20px;
line-height: 1;
color: @slick-arrow-color;
opacity: @slick-opacity-default;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
& when ( @slick-font-family = 'slick' ) {
/* Icons */
@font-face {
font-family: 'slick';
font-weight: normal;
font-style: normal;
src: url('@{slick-font-path}slick.eot');
src: url('@{slick-font-path}slick.eot?#iefix') format('embedded-opentype'), url('@{slick-font-path}slick.woff') format('woff'), url('@{slick-font-path}slick.ttf') format('truetype'), url('@{slick-font-path}slick.svg#slick') format('svg');
}
}
}

.slick-prev {
left: -25px;
[dir="rtl"] & {
left: auto;
right: -25px;
}
&:before {
content: @slick-prev-character;
[dir="rtl"] & {
content: @slick-next-character;
}
}
}

.slick-next {
right: -25px;
[dir="rtl"] & {
left: -25px;
right: auto;
}
&:before {
content: @slick-next-character;
[dir="rtl"] & {
content: @slick-prev-character;
}
}
}

/* Dots */

.slick-dotted .slick-slider {
margin-bottom: 30px;
}

.slick-dots {
position: absolute;
bottom: -25px;
list-style: none;
display: block;
text-align: center;
padding: 0;
margin: 0;
width: 100%;
li {
position: relative;
display: inline-block;
height: 20px;
width: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
button {
border: 0;
background: transparent;
display: block;
height: 20px;
width: 20px;
outline: none;
line-height: 0px;
font-size: 0px;
color: transparent;
padding: 5px;
cursor: pointer;
&:hover, &:focus {
outline: none;
&:before {
opacity: @slick-opacity-on-hover;
}
}
&:before {
position: absolute;
top: 0;
left: 0;
content: @slick-dot-character;
width: 20px;
height: 20px;
font-family: @slick-font-family;
font-size: @slick-dot-size;
line-height: 20px;
text-align: center;
color: @slick-dot-color;
opacity: @slick-opacity-not-active;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
&.slick-active button:before {
color: @slick-dot-color-active;
opacity: @slick-opacity-default;
}
}
}

+ 194
- 0
librerias/slick/slick-theme.scss View File

@@ -0,0 +1,194 @@
@charset "UTF-8";

// Default Variables

// Slick icon entity codes outputs the following
// "\2190" outputs ascii character "←"
// "\2192" outputs ascii character "→"
// "\2022" outputs ascii character "•"

$slick-font-path: "./fonts/" !default;
$slick-font-family: "slick" !default;
$slick-loader-path: "./" !default;
$slick-arrow-color: white !default;
$slick-dot-color: black !default;
$slick-dot-color-active: $slick-dot-color !default;
$slick-prev-character: "\2190" !default;
$slick-next-character: "\2192" !default;
$slick-dot-character: "\2022" !default;
$slick-dot-size: 6px !default;
$slick-opacity-default: 0.75 !default;
$slick-opacity-on-hover: 1 !default;
$slick-opacity-not-active: 0.25 !default;

@function slick-image-url($url) {
@if function-exists(image-url) {
@return image-url($url);
}
@else {
@return url($slick-loader-path + $url);
}
}

@function slick-font-url($url) {
@if function-exists(font-url) {
@return font-url($url);
}
@else {
@return url($slick-font-path + $url);
}
}

/* Slider */

.slick-list {
.slick-loading & {
background: #fff slick-image-url("ajax-loader.gif") center center no-repeat;
}
}

/* Icons */
@if $slick-font-family == "slick" {
@font-face {
font-family: "slick";
src: slick-font-url("slick.eot");
src: slick-font-url("slick.eot?#iefix") format("embedded-opentype"), slick-font-url("slick.woff") format("woff"), slick-font-url("slick.ttf") format("truetype"), slick-font-url("slick.svg#slick") format("svg");
font-weight: normal;
font-style: normal;
}
}

/* Arrows */

.slick-prev,
.slick-next {
position: absolute;
display: block;
height: 20px;
width: 20px;
line-height: 0px;
font-size: 0px;
cursor: pointer;
background: transparent;
color: transparent;
top: 50%;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
padding: 0;
border: none;
outline: none;
&:hover, &:focus {
outline: none;
background: transparent;
color: transparent;
&:before {
opacity: $slick-opacity-on-hover;
}
}
&.slick-disabled:before {
opacity: $slick-opacity-not-active;
}
&:before {
font-family: $slick-font-family;
font-size: 20px;
line-height: 1;
color: $slick-arrow-color;
opacity: $slick-opacity-default;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}

.slick-prev {
left: -25px;
[dir="rtl"] & {
left: auto;
right: -25px;
}
&:before {
content: $slick-prev-character;
[dir="rtl"] & {
content: $slick-next-character;
}
}
}

.slick-next {
right: -25px;
[dir="rtl"] & {
left: -25px;
right: auto;
}
&:before {
content: $slick-next-character;
[dir="rtl"] & {
content: $slick-prev-character;
}
}
}

/* Dots */

.slick-dotted.slick-slider {
margin-bottom: 30px;
}

.slick-dots {
position: absolute;
bottom: -25px;
list-style: none;
display: block;
text-align: center;
padding: 0;
margin: 0;
width: 100%;
li {
position: relative;
display: inline-block;
height: 20px;
width: 20px;
margin: 0 5px;
padding: 0;
cursor: pointer;
button {
border: 0;
background: transparent;
display: block;
height: 20px;
width: 20px;
outline: none;
line-height: 0px;
font-size: 0px;
color: transparent;
padding: 5px;
cursor: pointer;
&:hover, &:focus {
outline: none;
&:before {
opacity: $slick-opacity-on-hover;
}
}
&:before {
position: absolute;
top: 0;
left: 0;
content: $slick-dot-character;
width: 20px;
height: 20px;
font-family: $slick-font-family;
font-size: $slick-dot-size;
line-height: 20px;
text-align: center;
color: $slick-dot-color;
opacity: $slick-opacity-not-active;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
}
&.slick-active button:before {
color: $slick-dot-color-active;
opacity: $slick-opacity-default;
}
}
}

+ 119
- 0
librerias/slick/slick.css View File

@@ -0,0 +1,119 @@
/* Slider */
.slick-slider
{
position: relative;

display: block;
box-sizing: border-box;

-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;

-webkit-touch-callout: none;
-khtml-user-select: none;
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-tap-highlight-color: transparent;
}

.slick-list
{
position: relative;

display: block;
overflow: hidden;

margin: 0;
padding: 0;
}
.slick-list:focus
{
outline: none;
}
.slick-list.dragging
{
cursor: pointer;
cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

.slick-track
{
position: relative;
top: 0;
left: 0;

display: block;
margin-left: auto;
margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
display: table;

content: '';
}
.slick-track:after
{
clear: both;
}
.slick-loading .slick-track
{
visibility: hidden;
}

.slick-slide
{
display: none;
float: left;

height: 100%;
min-height: 1px;
}
[dir='rtl'] .slick-slide
{
float: right;
}
.slick-slide img
{
display: block;
}
.slick-slide.slick-loading img
{
display: none;
}
.slick-slide.dragging img
{
pointer-events: none;
}
.slick-initialized .slick-slide
{
display: block;
}
.slick-loading .slick-slide
{
visibility: hidden;
}
.slick-vertical .slick-slide
{
display: block;

height: auto;

border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
display: none;
}

+ 3004
- 0
librerias/slick/slick.js
File diff suppressed because it is too large
View File


+ 100
- 0
librerias/slick/slick.less View File

@@ -0,0 +1,100 @@
/* Slider */

.slick-slider {
position: relative;
display: block;
box-sizing: border-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-tap-highlight-color: transparent;
}
.slick-list {
position: relative;
overflow: hidden;
display: block;
margin: 0;
padding: 0;

&:focus {
outline: none;
}

&.dragging {
cursor: pointer;
cursor: hand;
}
}
.slick-slider .slick-track,
.slick-slider .slick-list {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

.slick-track {
position: relative;
left: 0;
top: 0;
display: block;
margin-left: auto;
margin-right: auto;

&:before,
&:after {
content: "";
display: table;
}

&:after {
clear: both;
}

.slick-loading & {
visibility: hidden;
}
}
.slick-slide {
float: left;
height: 100%;
min-height: 1px;
[dir="rtl"] & {
float: right;
}
img {
display: block;
}
&.slick-loading img {
display: none;
}

display: none;

&.dragging img {
pointer-events: none;
}

.slick-initialized & {
display: block;
}

.slick-loading & {
visibility: hidden;
}

.slick-vertical & {
display: block;
height: auto;
border: 1px solid transparent;
}
}
.slick-arrow.slick-hidden {
display: none;
}

+ 1
- 0
librerias/slick/slick.min.js
File diff suppressed because it is too large
View File


+ 100
- 0
librerias/slick/slick.scss View File

@@ -0,0 +1,100 @@
/* Slider */

.slick-slider {
position: relative;
display: block;
box-sizing: border-box;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-ms-touch-action: pan-y;
touch-action: pan-y;
-webkit-tap-highlight-color: transparent;
}
.slick-list {
position: relative;
overflow: hidden;
display: block;
margin: 0;
padding: 0;

&:focus {
outline: none;
}

&.dragging {
cursor: pointer;
cursor: hand;
}
}
.slick-slider .slick-track,
.slick-slider .slick-list {
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
-o-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}

.slick-track {
position: relative;
left: 0;
top: 0;
display: block;
margin-left: auto;
margin-right: auto;

&:before,
&:after {
content: "";
display: table;
}

&:after {
clear: both;
}

.slick-loading & {
visibility: hidden;
}
}
.slick-slide {
float: left;
height: 100%;
min-height: 1px;
[dir="rtl"] & {
float: right;
}
img {
display: block;
}
&.slick-loading img {
display: none;
}

display: none;

&.dragging img {
pointer-events: none;
}

.slick-initialized & {
display: block;
}

.slick-loading & {
visibility: hidden;
}

.slick-vertical & {
display: block;
height: auto;
border: 1px solid transparent;
}
}
.slick-arrow.slick-hidden {
display: none;
}

+ 35
- 0
librerias/slick/style.css View File

@@ -0,0 +1,35 @@
* {
box-sizing: border-box;
}

.slider {
width: 50%;
margin: 100px auto;
}

.slick-slide {
margin: 0px 20px;
}

.slick-slide img {
width: 100%;
}

.slick-prev:before,
.slick-next:before {
color: black;
}


.slick-slide {
transition: all ease-in-out .3s;
opacity: .2;
}
.slick-active {
opacity: .5;
}

.slick-current {
opacity: 1;
}

+ 1
- 1
milfs/funciones/funciones.php View File

@@ -4061,7 +4061,7 @@ if (mysqli_num_rows($sql)!='0'){
elseif($vista=='aplicacion') { $favorita="a$row[id]";}
elseif($vista=='set') { $favorita="s$row[id]";}
elseif($vista=='mapa') { $favorita="mapero.php?id=$row[id]";}
elseif($vista=='presentacion') { $favorita="presentacion.php?id=$row[id]";}
elseif($vista=='presentacion') { $favorita="c$row[id]";}
elseif($vista=='timeline') { $favorita="timeline.php?id=$row[id]";}
elseif($vista=='formulario') { $favorita="f$row[id]";}
elseif($vista=='informe') { $favorita="l$row[id]";}

+ 6
- 109
presentacion.php View File

@@ -1,115 +1,12 @@
<?php session_start();
//ini_set('display_errors', 'On');
if(isset($_REQUEST['debug'])) {ini_set('display_errors', 'On');}
require ('milfs/xajax/xajax.inc.php');
//$xajax = new xajax();
$xajax = new xajax("");
//$xajax = new xajax("https://tupale.co/index.php");
require ("milfs/funciones/conex.php");
require ('milfs/funciones/funciones.php');
include ('milfs/addon/funciones.php');
require ("milfs/includes/markdown.php");
require ("milfs/includes/parametrizacion.php");
require ("milfs/includes/simple_html_dom.php");
$xajax->processRequests();
if(isset($_REQUEST['tema'])) { $tema= "$_REQUEST[tema]";}
else {$tema="moon";}
if(isset($_REQUEST[id])) {$id=$_REQUEST[id];
$presentacion =contenido_presentacion("$id");}
?>
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">

<title>Tupale.co</title>

<meta name="description" content="Donde toda causa se gana">
<meta name="author" content="fredyrivera" >

<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">

<link rel="stylesheet" href="addon/reveal/css/reveal.css">
<link rel="stylesheet" href="addon/reveal/css/theme/<?php echo $tema ?>.css" id="theme">

<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="addon/reveal/lib/css/zenburn.css">

<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'addon/reveal/css/print/pdf.css' : 'addon/reveal/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>

<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["setDocumentTitle", document.domain + "/" + document.title]);
_paq.push(["setCookieDomain", "*.tupale.co"]);
_paq.push(["setDomains", ["*.tupale.co"]]);
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.tupale.co/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 1]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
</script>
<noscript><p><img src="//stats.tupale.co/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<!-- End Piwik Code -->
</head>

<body>
if(isset($_REQUEST['tema'])) { $tema= "&tema=$_REQUEST[tema]";}
else {$tema="";}
if(isset($_REQUEST['id'])) {$id=$_REQUEST['id'];
}

<div class="reveal">
header ("Location: c$_REQUEST[id]$tema");

<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<?php echo $presentacion ?>
</div>

</div>

<script src="addon/reveal/lib/js/head.min.js"></script>
<script src="addon/reveal/js/reveal.js"></script>

<script>

// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,

transition: 'slide', // none/fade/slide/convex/concave/zoom

// More info https://github.com/hakimel/reveal.js#dependencies
dependencies: [
{ src: 'addon/reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'addon/reveal/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'addon/reveal/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'addon/reveal/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'addon/reveal/plugin/zoom-js/zoom.js', async: true },
{ src: 'addon/reveal/plugin/notes/notes.js', async: true }
]
});

</script>

</body>
</html>
?>

Loading…
Cancel
Save