Terminarz
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'offset, tz.offset_dst AS offset_dst, tz.dst_region, tz.is_dst, e.event_start ...' at line 1
query: SELECT DISTINCT n.nid, n.uid, n.title, n.type, e.event_start, e.event_start AS event_start_orig, e.event_end, e.event_end AS event_end_orig, e.timezone, e.has_time, e.has_end_date, tz.offset AS offset, tz.offset_dst AS offset_dst, tz.dst_region, tz.is_dst, e.event_start - INTERVAL IF(tz.is_dst, tz.offset_dst, tz.offset) HOUR_SECOND AS event_start_utc, e.event_end - INTERVAL IF(tz.is_dst, tz.offset_dst, tz.offset) HOUR_SECOND AS event_end_utc, e.event_start - INTERVAL IF(tz.is_dst, tz.offset_dst, tz.offset) HOUR_SECOND + INTERVAL 0 SECOND AS event_start_user, e.event_end - INTERVAL IF(tz.is_dst, tz.offset_dst, tz.offset) HOUR_SECOND + INTERVAL 0 SECOND AS event_end_user, e.event_start - INTERVAL IF(tz.is_dst, tz.offset_dst, tz.offset) HOUR_SECOND + INTERVAL 3600 SECOND AS event_start_site, e.event_end - INTERVAL IF(tz.is_dst, tz.offset_dst, tz.offset) HOUR_SECOND + INTERVAL 3600 SECOND AS event_end_site, tz.name as timezone_name FROM node n INNER JOIN event e ON n.nid = e.nid INNER JOIN event_timezones tz ON tz.timezone = e.timezone INNER JOIN node_access na ON na.nid = n.nid WHERE ((n.moderate != 1)) AND (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'flag_friend') OR (na.gid = 1 AND na.realm = 'forum_access'))) AND (n.language ='pl' OR n.language ='' OR n.language IS NULL) AND ( n.status = 1 AND ((e.event_start >= '2017-03-31 00:00:00' AND e.event_start <= '2017-05-21 23:59:59') OR (e.event_end >= '2017-03-31 00:00:00' AND e.event_end <= '2017-05-21 23:59:59') OR (e.event_start <= '2017-03-31 00:00:00' AND e.event_end >= '2017-05-21 23:59:59')) )GROUP BY n.nid HAVING (event_start >= '2017-04-01 00:00:00' AND event_start <= '2017-05-20 23:59:59') OR (event_end >= '2017-04-01 00:00:00' AND event_end <= '2017-05-20 23:59:59') OR (event_start <= '2017-04-01 00:00:00' AND event_end >= '2017-05-20 23:59:59') ORDER BY event_start ASC in /home/peron/domains/zperonowki.com/public_html/site/sites/all/modules/event/event_database.mysql.inc on line 104.
« kwiecień 20 2017 - maj 20 2017 »
|
04 / 20
|
04 / 21
|
04 / 22
|
04 / 23
|
04 / 24
|
04 / 25
|
04 / 26
|
04 / 27
|
04 / 28
|
04 / 29
|
04 / 30
|
05 / 1
|
05 / 2
|
05 / 3
|
05 / 4
|
05 / 5
|
05 / 6
|
05 / 7
|
05 / 8
|
05 / 9
|
05 / 10
|
05 / 11
|
05 / 12
|
05 / 13
|
05 / 14
|
05 / 15
|
05 / 16
|
05 / 17
|
05 / 18
|
05 / 19
|
05 / 20
|