Full extension pt.1

got get_topic() up, get_posts() on pt.2 :D