SELECT id,tipo FROM contenuti WHERE permalink='chalet-fontino.html'