SELECT id FROM tmax_strony WHERE mainpage=1
SELECT * FROM tmax_panels WHERE on_main=1 ORDER BY kolejnosc
SELECT * FROM tmax_settings WHERE id=1
SELECT * FROM tmax_menu WHERE group_id=0 ORDER BY kolejnosc
SELECT * FROM tmax_menu
SELECt * FROM tmax_stopka ORDER BY kolejnosc ASC