Projekt Ekonom

Fotogalerie

SELECT p.url, p.type, id_photogalery AS folder, nazev, datum, g.popis, g.url AS galery FROM photo p INNER JOIN photogalery g ON g.id = id_photogalery WHERE g.visible = '1' GROUP BY id_photogalery ORDER BY g.datum DESC