public function getList($author){
$sql="select ID,post_author,post_title,post_name from tt_posts where post_author='".$author."' or post_title LIKE '%".$author."%' order by ID desc limit 8";
$result=$this->db->query($sql);
return $result->result();
}