diff --git a/.DS_Store b/.DS_Store index cb59d0e..b390b6f 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/event.css b/event.css index a8e331a..73a9cfd 100755 --- a/event.css +++ b/event.css @@ -36,3 +36,12 @@ h1 img margin-right:100px; margin-bottom:-100px; } + +#map { + width: 100%; + height: 500px; + margin-bottom: -30px; + background-image: url("images/OSM.svg"); + background-repeat: no-repeat; + background-position: center; +} diff --git a/event.php b/event.php index 57d9c84..7a4ac62 100755 --- a/event.php +++ b/event.php @@ -22,29 +22,31 @@ $dtend = strtotime($event['event_dtend']); + + +

-

+

Date et lieu

- '.$event["event_localisation"].'
'; +
+'; - + $urlFrame = 'https://www.openstreetmap.org/export/embed.html?bbox='.$lng.','.$lat.','.$lng.','.$lat.'&layer=mapnik&floor&marker='.$lat.','.$lng; +?> + ; +

Description

'; if(isset($event["event_urlImage"])) @@ -58,11 +60,8 @@ $dtend = strtotime($event['event_dtend']); echo '
URL : '.$event["event_site"].'
'; if(isset($event["event_contact"])) echo '
Contact : '.$event["event_contact"].'
'; - ?> + ?> - - - diff --git a/images/OSM.svg b/images/OSM.svg new file mode 100644 index 0000000..c5e9a6a --- /dev/null +++ b/images/OSM.svg @@ -0,0 +1,316 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 010110010011010110010011 + 010110010011010110010011 + + +