FIX incomplete code on featured.tpl

Added the necessary code in order to get this module back to life.
Deleted debug code