queryseznam: select * from telelzbozi where id_znacka='99' ORDER BY (pocetskladem='0'), pocetskladem DESC, pocet DESC
querypodkategorie: SELECT * FROM kategorie2 where id_kategorie='2' order by nazev
querypodkategoriepoc: SELECT * FROM telelzbozi WHERE zobrazeno!='0' and (date_upd>'2012-06-04 06:03:18' or pocetskladem>'0') and kategorie='2' and id_znacka='99'
queryznacky: