organizacion librerias
This commit is contained in:
parent
3d1ebd0dab
commit
75ce4e2163
115
index.php
115
index.php
@ -446,11 +446,18 @@ if ($variable !=''){
|
||||
|
||||
$registros=1;
|
||||
$plantilla="landingpage";
|
||||
$librerias_cabeza ="$presentacion_cabeza $librerias_galeria
|
||||
$librerias_cabeza ="
|
||||
<script src='./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js'></script>
|
||||
<script src='./librerias/charts/Chart.bundle.js'></script>
|
||||
<script src='./librerias/charts/utils.js'></script>
|
||||
$presentacion_cabeza $librerias_galeria
|
||||
|
||||
|
||||
";
|
||||
$librerias_pie ="$aplicacion_pie
|
||||
$librerias_pie ="
|
||||
|
||||
|
||||
$aplicacion_pie
|
||||
<!-- <script>
|
||||
if('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker
|
||||
@ -962,10 +969,11 @@ $uri = $_SERVER['REQUEST_URI'];
|
||||
<script type='text/javascript' src='librerias/exif/exif.js'></script>
|
||||
<link rel="apple-touch-icon-precomposed" href="<?php echo "milfs/images/secure/?file=150/$logo[0]"; ?>">
|
||||
<title><?php echo @$titulo[0]; ?> <?php echo strip_tags($slogan[0]); ?> Tupale.co </title>
|
||||
<link href="./librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" >
|
||||
<!--
|
||||
|
||||
<link href="./librerias/sidebar/css/simple-sidebar.css" rel="stylesheet" >
|
||||
|
||||
|
||||
-->
|
||||
<?php $xajax->printJavascript("milfs/xajax/");
|
||||
|
||||
$xajax->statusMessagesOn();
|
||||
@ -1025,19 +1033,20 @@ $uri = $_SERVER['REQUEST_URI'];
|
||||
echo $css; ?>
|
||||
<script src="./librerias/jquery/jquery-2.1.4.min.js" ></script>
|
||||
<script src="./librerias/bootstrap/js/bootstrap.min.js" ></script>
|
||||
<script src="./librerias/charts/Chart.bundle.js"></script>
|
||||
<script src="./librerias/charts/utils.js"></script>
|
||||
<!-- <script src="./librerias/charts/Chart.bundle.js"></script>
|
||||
<script src="./librerias/charts/utils.js"></script> -->
|
||||
<script src="./librerias/lazy/jquery.lazy.min.js"></script>
|
||||
<script>
|
||||
|
||||
$(function() {
|
||||
$('.lazy').lazy({
|
||||
// your configuration goes here
|
||||
combined: true,
|
||||
//combined: true,
|
||||
delay: 1000,
|
||||
scrollDirection: 'vertical',
|
||||
effect: 'fadeIn',
|
||||
visibleOnly: true,
|
||||
// scrollDirection: 'vertical',
|
||||
//effect: 'fadeIn',
|
||||
//visibleOnly: true,
|
||||
|
||||
onError: function(element) {
|
||||
console.log('error loading ' + element.data('src'));
|
||||
}
|
||||
@ -1122,32 +1131,62 @@ $menu_lateral = "
|
||||
|
||||
?>
|
||||
|
||||
<link href="./milfs/css/style.css" rel="stylesheet">
|
||||
<script src="milfs/js/scripts.js"></script>
|
||||
|
||||
|
||||
|
||||
<!-- include codemirror (codemirror.css, codemirror.js, xml.js, formatting.js) -->
|
||||
<link rel="stylesheet" type="text/css" href="./librerias/codemirror/codemirror.css">
|
||||
<!-- <link rel="stylesheet" type="text/css" href="./librerias/codemirror/codemirror.css">
|
||||
<link rel="stylesheet" type="text/css" href="./librerias/codemirror/monokai.css">
|
||||
<script type="text/javascript" src="./librerias/codemirror/codemirror.js"></script>
|
||||
<script type="text/javascript" src="./librerias/codemirror/xml.js"></script>
|
||||
<script type="text/javascript" src="./librerias/codemirror/formatting.js"></script>
|
||||
|
||||
->
|
||||
<!-- wysiwyg -->
|
||||
<!--
|
||||
<script src="./librerias/summernote/summernote.js"></script>
|
||||
<!-- include summernote css/js-->
|
||||
<link href="./librerias/summernote/summernote.css" rel="stylesheet">
|
||||
<link href="./milfs/css/style.css" rel="stylesheet">
|
||||
|
||||
<!-- add after bootstrap.min.js -->
|
||||
<script src="milfs/js/scripts.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
//// wysiwyg
|
||||
var edit = function() {
|
||||
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true});
|
||||
};
|
||||
|
||||
var save = function() {
|
||||
var makrup = $('.wysiwyg').summernote('code');
|
||||
$('.wysiwyg').summernote('destroy');
|
||||
};
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.wysiwyg_auto').summernote({dialogsInBody: true});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-->
|
||||
<!-- tabla de contenido -->
|
||||
<!--
|
||||
<link rel="stylesheet" href="./librerias/bootstrap-toc/bootstrap-toc.min.css">
|
||||
|
||||
<script src="./librerias/bootstrap-toc/bootstrap-toc.min.js"></script>
|
||||
<script src="./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js"></script>
|
||||
<link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet' />
|
||||
<link href='librerias/calendar/fullcalendar.print.min.css' rel='stylesheet' media='print' />
|
||||
<script src='librerias/calendar/lib/moment.min.js'></script>
|
||||
<script src='librerias/calendar/fullcalendar.min.js'></script>
|
||||
<script src='librerias/calendar/locale/es.js'></script>
|
||||
-->
|
||||
<!-- <script src="./librerias/ekko-lightbox/4.0.1/ekko-lightbox.min.js"></script> -->
|
||||
|
||||
<!--firma -->
|
||||
<!--
|
||||
<script src="librerias/firma/signature_pad.js"></script>
|
||||
|
||||
<!-- firma pie -->
|
||||
<!--
|
||||
<script src="librerias/firma/app.js"></script>
|
||||
-->
|
||||
|
||||
<?php echo $css_adicional;
|
||||
if(!isset($_SESSION['id']) ){ ?>
|
||||
@ -1187,6 +1226,17 @@ document.oncopy = addLink;
|
||||
if(isset($_SESSION['id'])) {$id_empresa_portada='1'; echo "<span style=' $no_mostrar '>".panel_aplicaciones('1',"$_SESSION[id_empresa]","")."</span>"; }
|
||||
if(isset($_REQUEST['eventos'])) {
|
||||
//$embebido='1';
|
||||
$librerias_pie="
|
||||
|
||||
<link href='librerias/calendar/fullcalendar.min.css' rel='stylesheet' />
|
||||
<link href='librerias/calendar/fullcalendar.print.min.css' rel='stylesheet' media='print' />
|
||||
|
||||
|
||||
|
||||
<script src='librerias/calendar/lib/moment.min.js'></script>
|
||||
<script src='librerias/calendar/fullcalendar.min.js'></script>
|
||||
<script src='librerias/calendar/locale/es.js'></script>
|
||||
";
|
||||
$empresa = remplacetas('form_id','id',$_REQUEST['eventos'],'id_empresa',"") ;
|
||||
$css_adicional = remplacetas('form_parametrizacion','campo',"index",'descripcion'," tabla='css' and opcion = 'adicional' and id_empresa = '$empresa[0]'") ;
|
||||
if($css_adicional[0] !="") {
|
||||
@ -1519,10 +1569,7 @@ echo $css_adicional;
|
||||
|
||||
|
||||
<?php echo $onload; } ?>
|
||||
<script src="librerias/firma/app.js"></script>
|
||||
<script type="text/javascript" >
|
||||
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@ -1532,20 +1579,6 @@ $(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
|
||||
$(this).ekkoLightbox();
|
||||
});
|
||||
|
||||
//// wysiwyg
|
||||
var edit = function() {
|
||||
$('.wysiwyg').summernote({height: 250, codemirror: { theme: 'default' },dialogsInBody: true});
|
||||
};
|
||||
|
||||
var save = function() {
|
||||
var makrup = $('.wysiwyg').summernote('code');
|
||||
$('.wysiwyg').summernote('destroy');
|
||||
};
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.wysiwyg_auto').summernote({dialogsInBody: true});
|
||||
});
|
||||
|
||||
$(".menu-toggle").click(function(e) {
|
||||
e.preventDefault();
|
||||
@ -1570,7 +1603,7 @@ $(document).ready(function() {
|
||||
<noscript><p><img src="//stats.tupale.co/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
|
||||
<!-- End Piwik Code -->
|
||||
<?php echo $librerias_pie; ?>
|
||||
|
||||
<link href="./librerias/font-awesome/css/font-awesome.min.css" rel="stylesheet" >
|
||||
<style>
|
||||
|
||||
|
||||
|
@ -5381,12 +5381,14 @@ while( $row = mysqli_fetch_array( $sql ) ) {
|
||||
}
|
||||
$i++;
|
||||
if($row['imagen'] !="") {
|
||||
$logo="<img class='lazy img img-responsive img-rounded' alt='$row[razon_social]' data-src='milfs/images/secure/?file=300/$row[imagen]' src='milfs/images/secure/?file=150/$row[imagen]' >";
|
||||
$logo="<img class='lazy img-responsive img-rounded' alt='$row[razon_social]' src='milfs/images/loading.gif' data-src='milfs/images/secure/?file=300/$row[imagen]' style='width:300px; display:block; background-image: url(\"\");
|
||||
background-repeat: no-repeat;
|
||||
background-position: 50% 50%;' >";
|
||||
}
|
||||
else {
|
||||
$logo_empresa = remplacetas('empresa','id',"1",'imagen','');
|
||||
//$logo="<img class=' lazy img img-responsive' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
|
||||
$logo="<img class=' lazy img img-responsive' style='max-width:300px;' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
|
||||
$logo="<img class=' lazy img img-responsive' style='width:300px; display:block;' data-src='milfs/images/sinimagen.jpg' alt='$row[razon_social]'>";
|
||||
}
|
||||
// $slogan= substr($row[slogan],0, $length = 100)."";
|
||||
$slogan = $row['slogan'];
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 78 KiB |
Loading…
Reference in New Issue
Block a user