chyba v sql dotazu:
SELECT * FROM rs_clanky WHERE `link` = '' and `visible` = '1'