public function thongtinthanhvien() { if (!Session::has('customer')) { return Redirect::to('dang-ky.html'); } $this->data['pageTitle'] = "Thông tin thành viên"; $this->data['pageNote'] = CNF_APPNAME; $ses_cus = Session::get('customer'); $data['input'] = (array) DB::table('customer')->where("customer_id", '=', $ses_cus['id'])->first(); $data['input']['cmnd'] = SiteHelpers::getCMND($data['input']['cmnd']); /*if(Session::has('input_rd')){ $input = Session::get('input_rd'); } $data['input'] =(array) $input;*/ //$this->data['breadcrumb'] = 'inactive'; $page = 'pages.template.infocustomer'; $page = SiteHelpers::renderHtml($page); $this->layout->nest('content', $page, $data)->with('page', $this->data)->with('menu', 'infocustomer'); }