PIRMDIENA 22.12.2025.
6:00
7:00
8:00
9:00
10:00
11:00
12:00
13:00
14:00
15:00
16:00
17:00
18:00
19:00
20:00
21:00
22:00
23:00
24:00
array(2) {
  [0]=>
  string(721) "prepare() failed: (1064) 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 ') AND u.date IN('2025-12-22') AND u.time_from>=? AND u.time_from<=?  
	ORDER...' at line 4 (SELECT u.time_from, u.notes_tv,u.time_to,r.short,r.name,TIME_TO_SEC(TIMEDIFF(u.time_to,u.time_from))/60 as duration,TIME_TO_SEC(TIMEDIFF(u.time_from,'06:00:00'))/60 as start  ,u.room_id ,u.date,'' as usage_info 
	FROM usagee u 
	INNER JOIN room r ON r.id=u.room_id 
	WHERE (u.usagee_status_id IN(2,3,4,5,8) OR u.technical=1) AND u.room_id IN() AND u.date IN('2025-12-22') AND u.time_from>=? AND u.time_from<=?  
	ORDER BY u.date ASC, r.name ASC, u.time_from ASC)"
  [1]=>
  string(260) "prepare() failed: (1064) 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 ') ORDER BY name ASC' at line 1 (SELECT id,short,name,nr FROM room WHERE id IN() ORDER BY name ASC)"
}