fixed SQL and refactored query out of teaser.tpl. removed unused hooks from node.inc