SELECT id,name FROM yarm_katalog WHERE top=0 AND type>0 AND hide=0 ORDER BY ord,id
SELECT t.id topid, t.name topname, c.id id, c.name name, c.link link FROM yarm_katalog t LEFT JOIN yarm_katalog c ON c.top=t.id WHERE t.top=0 AND t.type=0 AND t.hide=0 AND c.hide=0 ORDER BY t.ord,t.id,c.ord,c.id


SELECT name, content FROM yarm_katalog WHERE id=101208Service Temporary unavailable