typo: execute instead of Execute
db_connect to return bool
public function getNearPost (get previous or next post)
public function getNearPost (get previous or next post)
add parameter $popular to getPosts()
add parameter $popular to getPosts()
add parameter $popular to getPosts()