select f.*, m.real_name, m.url from smf_fotos f, smf_members m where m.id_member=f.id_member and f.estado=3 order by f.fecha desc limit 5370, 36