Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
$sqry = "select t.topic_id from ".$faqsTopicTable." t,".$faqsStoreTable." s WHERE t.default='1' and t.topic_id = s.topic_id and s.store_id= ".Mage::app()->getStore()->getId()." order by update_time desc limit 1;";