Schwelm: 3 Events

Schwelm + 20 km  

17.7.2019 - 16.7.2020   change

3 dates for area km.  days from   right (i)

1
TID=27285

Sängerfest

Saturday, 27.07.2019  18:00   rollstuhlgerecht   free

  |   Shanty-Chor MGV Hasslinghausen 1895   mp3

D-58332 Schwelm  |  Haus Martfeld
up 0 km von 58332 Schwelm

2
TID=27919

Sommerfest

Sunday, 28.07.2019  15:00   rollstuhlgerecht   free

Shantys und maritime Lieder   |   Shanty-Chor Solingen e.V.

D-58332 Schwelm  |  Hagener Str. 1
up 0 km von 58332 Schwelm

3
TID=27288

Maritimer Frühschoppen der Krebshilfe

Sunday, 25.08.2019  11:00   free

Shantys und maritime Lieder   |   Shanty-Chor MGV Hasslinghausen 1895   mp3

D-45549 Sprockhövel  |  Uhlenbruchstraße 44
up 7 km von 58332 Schwelm

Enter new date for 58332 Schwelm

Seitenaufrufe «D-58332 Schwelm»

Jan 0%
Feb 0%
Mrz 0%
Apr 61% 27
Mai 77% 34
Jun 97% 44
Jul 39% 17
Aug 0%
Sep 0%
Okt 0%
Nov 0%
Dez 0%

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Termine ORT und Umkreis lesen
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SELECT
 SQL_CALC_FOUND_ROWS
 trm1.*
,trm1.id                        TID
,DATE_FORMAT(trm1.tag,'%w')     wotag
,DATE_FORMAT(trm1.tag_bis,'%w') wotag_bis
,IF ( trm1.festival_kz = '1', trm1.id, IF( trm1.gastgebende_TID IS NOT NULL AND trm1.gastgebende_TID > '0', gastgebende_TID +1, '99999' ) )  festival_id # 2017-05-27
,IF ( trm1.festival_kz = '1', '0', '1' )  festival_sort  # Festivals vor Teilnehmer

#,trm1.mp3_titel
#,trm1.mp3_url
,trm1.html_position_lang
,trm1.html_position_kurz

,ort1.land_kz
,ort1.plz
,ort1.name        ort_name
,ort1.geo_breite  ort_geo_breite
,ort1.geo_laenge  ort_geo_laenge

,ROUND( 6366.0 * ACOS( SIN(0.89511828682407) *SIN(RADIANS(ort1.geo_breite)) +COS(0.89511828682407) *COS(RADIANS(ort1.geo_breite)) *COS(RADIANS(ort1.geo_laenge) -0.12722507769243 ))) distanz_km
,adr1.id      VIP
,adr1.firma1
,trp1.id          TRP
,trp1.bild_url    trp_bild_url  -- fuer icon_webcam
,trp1.bild_titel  trp_bild_titel
,typ1.id          TYP
,typ1.name        typ_name
FROM        (bia_termine trm1
            ,bia_orte ort1 )

LEFT JOIN   bia_adressen adr1
ON          adr1.id = trm1.adress_id

LEFT JOIN   bia_treffpunkte trp1
ON          trp1.id = trm1.treffpunkt_id

LEFT JOIN   bia_termintypen typ1
ON          typ1.id = trm1.typ_id

WHERE       trm1.owner_id = '1'
AND         ort1.id = trm1.ort_id
# Filter:

AND        (trm1.gesperrt_bis IS NULL OR trm1.gesperrt_bis <= NOW())
AND         trm1.intern_kz = 0
AND         (trm1.tag >= '2019-07-17' OR  trm1.tag_bis >= '2019-07-17' )
AND         (trm1.tag <= '2020-07-16' OR  trm1.tag_bis <= '2020-07-16' )
AND          trm1.ort_id IN (8922,8922,7874,7859,8918,7858,7869,7864,7868,7875,8919,8006,7865,7866,7876,7899,7867,7873,7853,7855,7856,7857,7863,8916,8920,7854,8923,8004,7895,7898,7862,8005,7894,7881,8928,7860,7861,8909,7897,7882,7872,8003,7949,8910,8912,8913,7878,7896,8924,7870,7871,8921,7885,8925,7951,7959,7979,8935,7884,7880,8927,7877,7950,7984,8911,8914,8937,7888,7879,7948,7891,7900,8926)
ORDER BY  distanz_km, trm1.tag, festival_id, trm1.uhr 
LIMIT 0,25