This commit is contained in:
fredyrivera 2017-08-21 11:07:03 -05:00
commit 37fd72f178
26 changed files with 1540 additions and 540 deletions

View File

@ -125,7 +125,7 @@ if ($variable !=''){
$background_imagen = buscar_imagen("$set","","","$id_empresa");
$uri_set = "";
$cantidad_registros="";
$orden="ASC";
$orden="DESC";
$menu ="
<div class='col-sm-2 hidden-xs hidden-sm'>
@ -673,7 +673,7 @@ $menu_lateral = "
<script type="text/javascript" src="href="./librerias/codemirror/xml.js"></script>
<script type="text/javascript" src="href="./librerias/codemirror/formatting.js"></script>
<!-- wysiwyg -->
<script src="href="./librerias/summernote/summernote.js"></script>
<script src="./librerias/summernote/summernote.js"></script>
<!-- include summernote css/js-->
<link href="./librerias/summernote/summernote.css" rel="stylesheet">

View File

@ -1,6 +1,6 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
.btn-default,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@ -1106,7 +1106,6 @@ a:focus {
text-decoration: underline;
}
a:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
@ -2537,7 +2536,6 @@ select[size] {
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
@ -3029,7 +3027,6 @@ select[multiple].input-lg {
.btn.focus,
.btn:active.focus,
.btn.active.focus {
outline: thin dotted;
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*!
* Bootstrap v3.3.6 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the MIT license
*/
@ -11,16 +11,16 @@ if (typeof jQuery === 'undefined') {
+function ($) {
'use strict';
var version = $.fn.jquery.split(' ')[0].split('.')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 2)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 3')
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) {
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4')
}
}(jQuery);
/* ========================================================================
* Bootstrap: transition.js v3.3.6
* Bootstrap: transition.js v3.3.7
* http://getbootstrap.com/javascript/#transitions
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -77,10 +77,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: alert.js v3.3.6
* Bootstrap: alert.js v3.3.7
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -96,7 +96,7 @@ if (typeof jQuery === 'undefined') {
$(el).on('click', dismiss, this.close)
}
Alert.VERSION = '3.3.6'
Alert.VERSION = '3.3.7'
Alert.TRANSITION_DURATION = 150
@ -109,7 +109,7 @@ if (typeof jQuery === 'undefined') {
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}
var $parent = $(selector)
var $parent = $(selector === '#' ? [] : selector)
if (e) e.preventDefault()
@ -172,10 +172,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: button.js v3.3.6
* Bootstrap: button.js v3.3.7
* http://getbootstrap.com/javascript/#buttons
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -192,7 +192,7 @@ if (typeof jQuery === 'undefined') {
this.isLoading = false
}
Button.VERSION = '3.3.6'
Button.VERSION = '3.3.7'
Button.DEFAULTS = {
loadingText: 'loading...'
@ -214,10 +214,10 @@ if (typeof jQuery === 'undefined') {
if (state == 'loadingText') {
this.isLoading = true
$el.addClass(d).attr(d, d)
$el.addClass(d).attr(d, d).prop(d, true)
} else if (this.isLoading) {
this.isLoading = false
$el.removeClass(d).removeAttr(d)
$el.removeClass(d).removeAttr(d).prop(d, false)
}
}, this), 0)
}
@ -281,10 +281,15 @@ if (typeof jQuery === 'undefined') {
$(document)
.on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) {
var $btn = $(e.target)
if (!$btn.hasClass('btn')) $btn = $btn.closest('.btn')
var $btn = $(e.target).closest('.btn')
Plugin.call($btn, 'toggle')
if (!($(e.target).is('input[type="radio"]') || $(e.target).is('input[type="checkbox"]'))) e.preventDefault()
if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) {
// Prevent double click on radios, and the double selections (so cancellation) on checkboxes
e.preventDefault()
// The target component still receive the focus
if ($btn.is('input,button')) $btn.trigger('focus')
else $btn.find('input:visible,button:visible').first().trigger('focus')
}
})
.on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) {
$(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))
@ -293,10 +298,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: carousel.js v3.3.6
* Bootstrap: carousel.js v3.3.7
* http://getbootstrap.com/javascript/#carousel
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -324,7 +329,7 @@ if (typeof jQuery === 'undefined') {
.on('mouseleave.bs.carousel', $.proxy(this.cycle, this))
}
Carousel.VERSION = '3.3.6'
Carousel.VERSION = '3.3.7'
Carousel.TRANSITION_DURATION = 600
@ -531,13 +536,14 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: collapse.js v3.3.6
* Bootstrap: collapse.js v3.3.7
* http://getbootstrap.com/javascript/#collapse
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
/* jshint latedef: false */
+function ($) {
'use strict';
@ -561,7 +567,7 @@ if (typeof jQuery === 'undefined') {
if (this.options.toggle) this.toggle()
}
Collapse.VERSION = '3.3.6'
Collapse.VERSION = '3.3.7'
Collapse.TRANSITION_DURATION = 350
@ -743,10 +749,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: dropdown.js v3.3.6
* Bootstrap: dropdown.js v3.3.7
* http://getbootstrap.com/javascript/#dropdowns
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -763,7 +769,7 @@ if (typeof jQuery === 'undefined') {
$(element).on('click.bs.dropdown', this.toggle)
}
Dropdown.VERSION = '3.3.6'
Dropdown.VERSION = '3.3.7'
function getParent($this) {
var selector = $this.attr('data-target')
@ -909,10 +915,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: modal.js v3.3.6
* Bootstrap: modal.js v3.3.7
* http://getbootstrap.com/javascript/#modals
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -943,7 +949,7 @@ if (typeof jQuery === 'undefined') {
}
}
Modal.VERSION = '3.3.6'
Modal.VERSION = '3.3.7'
Modal.TRANSITION_DURATION = 300
Modal.BACKDROP_TRANSITION_DURATION = 150
@ -1050,7 +1056,9 @@ if (typeof jQuery === 'undefined') {
$(document)
.off('focusin.bs.modal') // guard against infinite focus loop
.on('focusin.bs.modal', $.proxy(function (e) {
if (this.$element[0] !== e.target && !this.$element.has(e.target).length) {
if (document !== e.target &&
this.$element[0] !== e.target &&
!this.$element.has(e.target).length) {
this.$element.trigger('focus')
}
}, this))
@ -1247,11 +1255,11 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: tooltip.js v3.3.6
* Bootstrap: tooltip.js v3.3.7
* http://getbootstrap.com/javascript/#tooltip
* Inspired by the original jQuery.tipsy by Jason Frame
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -1274,7 +1282,7 @@ if (typeof jQuery === 'undefined') {
this.init('tooltip', element, options)
}
Tooltip.VERSION = '3.3.6'
Tooltip.VERSION = '3.3.7'
Tooltip.TRANSITION_DURATION = 150
@ -1565,9 +1573,11 @@ if (typeof jQuery === 'undefined') {
function complete() {
if (that.hoverState != 'in') $tip.detach()
if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.
that.$element
.removeAttr('aria-describedby')
.trigger('hidden.bs.' + that.type)
}
callback && callback()
}
@ -1610,7 +1620,10 @@ if (typeof jQuery === 'undefined') {
// width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
}
var elOffset = isBody ? { top: 0, left: 0 } : $element.offset()
var isSvg = window.SVGElement && el instanceof window.SVGElement
// Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.
// See https://github.com/twbs/bootstrap/issues/20280
var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())
var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
@ -1726,6 +1739,7 @@ if (typeof jQuery === 'undefined') {
that.$tip = null
that.$arrow = null
that.$viewport = null
that.$element = null
})
}
@ -1762,10 +1776,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: popover.js v3.3.6
* Bootstrap: popover.js v3.3.7
* http://getbootstrap.com/javascript/#popovers
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -1782,7 +1796,7 @@ if (typeof jQuery === 'undefined') {
if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')
Popover.VERSION = '3.3.6'
Popover.VERSION = '3.3.7'
Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {
placement: 'right',
@ -1871,10 +1885,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: scrollspy.js v3.3.6
* Bootstrap: scrollspy.js v3.3.7
* http://getbootstrap.com/javascript/#scrollspy
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -1900,7 +1914,7 @@ if (typeof jQuery === 'undefined') {
this.process()
}
ScrollSpy.VERSION = '3.3.6'
ScrollSpy.VERSION = '3.3.7'
ScrollSpy.DEFAULTS = {
offset: 10
@ -2044,10 +2058,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: tab.js v3.3.6
* Bootstrap: tab.js v3.3.7
* http://getbootstrap.com/javascript/#tabs
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -2064,7 +2078,7 @@ if (typeof jQuery === 'undefined') {
// jscs:enable requireDollarBeforejQueryAssignment
}
Tab.VERSION = '3.3.6'
Tab.VERSION = '3.3.7'
Tab.TRANSITION_DURATION = 150
@ -2200,10 +2214,10 @@ if (typeof jQuery === 'undefined') {
}(jQuery);
/* ========================================================================
* Bootstrap: affix.js v3.3.6
* Bootstrap: affix.js v3.3.7
* http://getbootstrap.com/javascript/#affix
* ========================================================================
* Copyright 2011-2015 Twitter, Inc.
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@ -2229,7 +2243,7 @@ if (typeof jQuery === 'undefined') {
this.checkPosition()
}
Affix.VERSION = '3.3.6'
Affix.VERSION = '3.3.7'
Affix.RESET = 'affix affix-top affix-bottom'

File diff suppressed because one or more lines are too long

5
librerias/jquery/jquery-1.11.3.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -137,8 +137,11 @@
history: {
undo: 'Annuler la dernière action',
redo: 'Restaurer la dernière action annulée'
},
specialChar: {
specialChar: 'CARACTÈRES SPÉCIAUX',
select: 'Choisir des caractères spéciaux'
}
}
});
})(jQuery);

View File

@ -0,0 +1,118 @@
// Starsoft Mongolia LLC Temuujin Ariunbold
(function ($) {
$.extend($.summernote.lang, {
'mn-MN': {
font: {
bold: 'Тод',
italic: 'Налуу',
underline: 'Доогуур зураас',
clear: 'Цэвэрлэх',
height: 'Өндөр',
name: 'Фонт',
superscript: 'Дээд илтгэгч',
subscript: 'Доод илтгэгч',
strikethrough: 'Дарах',
size: 'Хэмжээ'
},
image: {
image: 'Зураг',
insert: 'Оруулах',
resizeFull: 'Хэмжээ бүтэн',
resizeHalf: 'Хэмжээ 1/2',
resizeQuarter: 'Хэмжээ 1/4',
floatLeft: 'Зүүн талд байрлуулах',
floatRight: 'Баруун талд байрлуулах',
floatNone: 'Анхдагч байрлалд аваачих',
shapeRounded: 'Хүрээ: Дугуй',
shapeCircle: 'Хүрээ: Тойрог',
shapeThumbnail: 'Хүрээ: Хураангуй',
shapeNone: 'Хүрээгүй',
dragImageHere: 'Зургийг энд чирч авчирна уу',
selectFromFiles: 'Файлуудаас сонгоно уу',
maximumFileSize: 'Файлын дээд хэмжээ',
maximumFileSizeError: 'Файлын дээд хэмжээ хэтэрсэн',
url: 'Зургийн URL',
remove: 'Зургийг устгах'
},
video: {
video: 'Видео',
videoLink: 'Видео холбоос',
insert: 'Видео оруулах',
url: 'Видео URL?',
providers: '(YouTube, Vimeo, Vine, Instagram, DailyMotion болон Youku)'
},
link: {
link: 'Холбоос',
insert: 'Холбоос оруулах',
unlink: 'Холбоос арилгах',
edit: 'Засварлах',
textToDisplay: 'Харуулах бичвэр',
url: 'Энэ холбоос хаашаа очих вэ?',
openInNewWindow: 'Шинэ цонхонд нээх'
},
table: {
table: 'Хүснэгт'
},
hr: {
insert: 'Хэвтээ шугам оруулах'
},
style: {
style: 'Хэв маяг',
p: 'p',
blockquote: 'Иш татах',
pre: 'Эх сурвалж',
h1: 'Гарчиг 1',
h2: 'Гарчиг 2',
h3: 'Гарчиг 3',
h4: 'Гарчиг 4',
h5: 'Гарчиг 5',
h6: 'Гарчиг 6'
},
lists: {
unordered: 'Эрэмбэлэгдээгүй',
ordered: 'Эрэмбэлэгдсэн'
},
options: {
help: 'Тусламж',
fullscreen: 'Дэлгэцийг дүүргэх',
codeview: 'HTML-Code харуулах'
},
paragraph: {
paragraph: 'Хэсэг',
outdent: 'Догол мөр хасах',
indent: 'Догол мөр нэмэх',
left: 'Зүүн тийш эгнүүлэх',
center: 'Төвд эгнүүлэх',
right: 'Баруун тийш эгнүүлэх',
justify: 'Мөрийг тэгшлэх'
},
color: {
recent: 'Сүүлд хэрэглэсэн өнгө',
more: 'Өөр өнгөнүүд',
background: 'Дэвсгэр өнгө',
foreground: 'Үсгийн өнгө',
transparent: 'Тунгалаг',
setTransparent: 'Тунгалаг болгох',
reset: 'Анхдагч өнгөөр тохируулах',
resetToDefault: 'Хэвд нь оруулах'
},
shortcut: {
shortcuts: 'Богино холбоос',
close: 'Хаалт',
textFormatting: 'Бичвэрийг хэлбэржүүлэх',
action: 'Үйлдэл',
paragraphFormatting: 'Догол мөрийг хэлбэржүүлэх',
documentStyle: 'Бичиг баримтын хэв загвар'
},
history: {
undo: 'Буцаах',
redo: 'Дахин хийх'
},
specialChar: {
specialChar: 'Тусгай тэмдэгт',
select: 'Тусгай тэмдэгт сонгох'
}
}
});
})(jQuery);

View File

@ -41,7 +41,13 @@
openInNewWindow: 'Abrir em uma nova janela'
},
table: {
table: 'Tabela'
table: 'Tabela',
addRowAbove: 'Adicionar linha acima',
addRowBelow: 'Adicionar linha abaixo',
addColLeft: 'Adicionar coluna a esquerda',
addColRight: 'Adicionar coluna a direita',
delRow: 'Excluir linha',
delCol: 'Excluir coluna'
},
hr: {
insert: 'Inserir linha horizontal'

View File

@ -51,7 +51,14 @@
openInNewWindow: 'Yeni pencerede aç'
},
table: {
table: 'Tablo'
table: 'Tablo',
addRowAbove: 'Yukarı satır ekle',
addRowBelow: 'Aşağı satır ekle',
addColLeft: 'Sola sütun ekle',
addColRight: 'Sağa sütun ekle',
delRow: 'Satırı sil',
delCol: 'Sütunu sil',
delTable: 'Tabloyu sil'
},
hr: {
insert: 'Yatay çizgi ekle'

View File

@ -38,7 +38,7 @@
videoLink: '视频链接',
insert: '插入视频',
url: '视频地址',
providers: '(优酷, Instagram, DailyMotion, Youtube等)'
providers: '(优酷, 腾讯, Instagram, DailyMotion, Youtube等)'
},
link: {
link: '链接',

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -552,7 +552,7 @@ $acciones="<div class='btn-group' role='group' aria-label='...'>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/milfs/api.php?id=$id&tipo=simple'> {json simple}</a>
$mapa
<a class='btn btn-info ' target='api' href='$_SESSION[site]/b$id?registros=10'>Mostrar</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/s$id?registros=10'>Mostrar</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/f$id?registros=10'>Llenar</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/g$id?registros=10'>Embeber</a>
<a class='btn btn-info ' target='api' href='$_SESSION[site]/opendata.php?tipo=documento&id=$id'>Doc</a>
@ -3281,7 +3281,7 @@ $acciones="
$nombre = remplacetas('form_id','id',$id_form,'nombre','') ;
$resultado = "
<a name='cabecera'></a>
<h1><a href='b$id_form'>$nombre[0]</a></h1>
<h1><a href='s$id_form'>$nombre[0]</a></h1>
<h2>$descripcion[0]</h2>
$acciones
<div id='mostrar_resultado' class='mostrar_resultado_landingpage'>
@ -3781,7 +3781,7 @@ if (mysqli_num_rows($sql)!='0'){
$contenido = "";
if(!isset($mapbox_token)) { include("milfs/includes/datos.php"); if(!isset($mapbox_token)) {$error_token = 1; } else {$error_token = "";}}
while( $row = mysqli_fetch_array( $sql ) ) {
//$link = "<a href='b$row[id]?registros=10'> Consultar <i class='glyphicon glyphicon-external-link-square'></i></a>";
//$link = "<a href='s$row[id]?registros=10'> Consultar <i class='glyphicon glyphicon-external-link-square'></i></a>";
$imagen = buscar_imagen($row['id'],'','','');
$geo = buscar_campo_tipo($row['id'],"14");
$ultimo_mapa = remplacetas('form_datos','form_id',$row['id'],'contenido'," id_campo = '$geo[0]'") ;
@ -3808,13 +3808,14 @@ if (mysqli_num_rows($sql)!='0'){
}else{ $miniatura ="<div class='alert alert-danger'>No se ha definido un token de mapbox</div>";}
}
if($geo[0] !='') { $mapa= "<a href='mapero.php?id=$row[id]' target='mapa'>$miniatura Ver mapa</a>";}else {$mapa='';}
//if($geo[0] !='') { $mapa= "<a href='mapero.php?id=$row[id]' target='mapa'> $miniatura </i>Ver mapa</a>";}else {$mapa='';}
if($geo[0] !='') { $mapa= "<a class='boton_land btn btn-default ' href='mapero.php?id=$row[id]' target='mapa'><i class='glyphicon glyphicons-globe'></i>Mapa</a>";}else {$mapa='';}
$descripcion_limpia = strip_tags($row['descripcion']);
if($imagen !="") {
$imagen ="
<figure>
<a href='b$row[id]?registros=10'>
<a href='s$row[id]?registros=10'>
<img style='max-height:170px; ' class='img img-rounded img-responsive' src='milfs/images/secure/?file=300/$imagen' alt='$row[nombre]'>
<!-- <figcaption class='articulo_caption' >$row[nombre]</figcaption> -->
</a>
@ -3822,7 +3823,7 @@ if (mysqli_num_rows($sql)!='0'){
";
}
$contenido ="
<h2 class='text-center titulo_formulario section-heading'><a href='b$row[id]?registros=10'>$row[nombre] <i class='glyphicon glyphicon-external-link-square'></i></a></h2>
<h2 class='text-center titulo_formulario section-heading'><a href='s$row[id]?registros=10'>$row[nombre] <i class='glyphicon glyphicon-external-link-square'></i></a></h2>
$imagen
<p class='descripcion_formulario text-left'>$descripcion_limpia </p>";
@ -3830,9 +3831,9 @@ if (mysqli_num_rows($sql)!='0'){
if($llenar[0] !="0") {$boton_agregar =" <div class='btn btn-default btn-block ' onclick=\"xajax_formulario_embebido_ajax('$row[id]','','nuevo');\"> <i class='glyphicon glyphicon-plus-sign'></i> Agregar </div>";}
if($llenar[0] !="0") {$boton_agregar =" <div class='boton_land btn btn-default ' onclick=\"xajax_formulario_embebido_ajax('$row[id]','','nuevo');\"> <i class='glyphicon glyphicon-plus-sign'></i> Agregar </div>";}
else{$boton_agregar = "";}
if($ver_data[0] !="0") {$boton_ver_data =" <a target='datos'class='btn btn-default btn-block ' href= 'opendata.php?id=$row[id]'> <i class='glyphicon glyphicons-charts'></i> Ver datos</a>";}
if($ver_data[0] !="0") {$boton_ver_data =" <a target='datos'class='boton_land btn btn-default ' href= 'opendata.php?id=$row[id]'> <i class='glyphicon glyphicons-stats'></i> OpenData</a>";}
else{$boton_ver_data = "";}
if($mostrar[0] !="0") {
@ -3854,13 +3855,10 @@ if($publico[0] =='1') {
</div>
</div>
<div class='row'>
<div class='col-md-12 animate-box'>
$mapa
<div class= 'botonera_landing btn-group.btn-group-justified btn-group-sm' role='group' >
$boton_agregar $mapa $boton_ver_data
</div>
</div>
$boton_agregar $boton_ver_data
</div>
</div>
";
@ -3900,7 +3898,7 @@ if($publico[0] =='1') {
<div class='col-lg-4 col-md-12 animate-box'>
<br>
<figure>
<a href='b$row[id]?registros=10'>
<a href='s$row[id]?registros=10'>
$imagen
</a>
<figcaption>$row[nombre]</figcaption>
@ -14668,4 +14666,3 @@ $xajax->registerFunction("XXX");
?>

View File

@ -1,3 +1,4 @@
<?php
session_start();
if($_SESSION['grupo'] != "administrador") {

4
milfs/js/jquery-3.2.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long