if ($this->request->get['route']==' account/login') {
return $this->load->view('common/login_header', $data);
} else {
return $this->load->view('common/header', $data);
}
if (strpos($this->request->get['route'], 'account/' === 0)) {
...
}