1$this->db->select('p.id, p.photo, p.desc, info.desc');
2$this->db->from('products as p');
3$this->db->join('lang_info as info', 'info.id=p.id and info.lang='.$this->lang, 'left');
4$this->db->where('p.id', $this->product_id);
5$this->db->where_in('info.name', ['good', 'bad']);