select texte.titlu as text_title, texte.tip, texte.id as text_id, membri.id as author_id, membri.nume as author_name, concat('/index.php/', texte.tip, '/', texte.id, '/') AS url from texte force index(primary), membri where (texte.status in (1) or (texte.rank>2 and status in (1,2))) AND texte.tip NOT IN ('article', 'community') and membri.id=texte.ref_user_id and texte.lang='fra' order by texte.id desc limit 16