Список мероприятий в рамках акции `Выходи в интернет`

Warning: ociexecute(): ORA-01427: single-row subquery returns more than one row in /home/html/db2.projectharmony.ru/lib/lib_oracle.php on line 451 Fatal error: Error: from /home/html/db2.projectharmony.ru/lib/lib_oracle.php:452 call func error('') from /home/html/www.it4youth.ru/vin2016_events.php:91 call func select(' SELECT * FROM ( SELECT t.*, CASE WHEN t.id_site > 0 THEN t.event_city_site WHEN t.id_application_school > 0 THEN t.event_city_school ELSE t.event_city_user END AS event_city, CASE WHEN t.id_site > 0 THEN t.event_org_site WHEN t.id_application_school > 0 THEN t.event_org_school ELSE t.event_org_user END AS event_org, CASE WHEN LENGTH(t.event_org_user) > 0 THEN (SELECT id FROM ph.survey_data_header WHERE id_survey = 516 AND id_individual = t.idAuthor AND del = 0) ELSE 0 END AS id_user_application, CASE WHEN t.event_date >= '14.03.2016' AND t.event_date <= '30.03.2016' THEN 1 ELSE 0 END AS is_action_time FROM ( /* эта обертка размножает событие на все дни, в которые оно проходит */ SELECT everyday.*, d_s+level-1 AS event_date, level FROM ( SELECT e.id AS event_id, TRUNC(e.dateS in /home/html/db2.projectharmony.ru/lib/lib_base.php on line 36