MD en api

This commit is contained in:
humano 2018-11-28 05:40:43 -05:00
parent 153517f962
commit b0195711df
2 changed files with 3 additions and 2 deletions

View File

@ -4,9 +4,10 @@ ini_set('display_errors', 'On');
require ('xajax/xajax.inc.php');
$xajax = new xajax();
include ('librerias/parsedown/Parsedown.php');
require ('funciones/funciones.php');
require ('funciones/convert.php');
require ("includes/markdown.php");
//require ("includes/markdown.php");
require ("funciones/conex.php");
@$datos['id']=$_REQUEST['id'];
@$datos['identificador']=$_REQUEST['identificador'];

View File

@ -13691,7 +13691,7 @@ if (mysqli_num_rows($sql)!='0'){
$contenido = "
<img class='xx mapa_estatico lazy img img-rounded img-responsive' style='' src ='https://staticmap.openstreetmap.co/staticmap.php?center=$lon,$lat&zoom=$zoom&size=1000x100&maptype=mapnik&markers=$lon,$lat,red-pushpin' >
<a href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa xx</a>
<a href='https://www.openstreetmap.org/?mlat=$lon&mlon=$lat#map=$zoom/$lon/$lat' target='mapa'>Ampliar mapa </a>
"; }else{ $contenido ="<div class='alert alert-danger'>No se ha definido un token de mapbox</div>";}
}
}