| @@ 200-204 (lines=5) @@ | ||
| 197 | $data['page_title'] = gettext('DIDs'); |
|
| 198 | $data['search_flag'] = true; |
|
| 199 | $this->session->set_userdata('did_search', 0); |
|
| 200 | if ($this->session->userdata('logintype') == 2) { |
|
| 201 | $data["grid_buttons"] = $this->did_form->build_grid_buttons(); |
|
| 202 | } else { |
|
| 203 | $data["grid_buttons"] = json_encode(array()); |
|
| 204 | } |
|
| 205 | ||
| 206 | if ($this->session->userdata['userlevel_logintype'] == '1') { |
|
| 207 | $drp_list=array(); |
|
| @@ 264-268 (lines=5) @@ | ||
| 261 | $data['cur_menu_no'] = 4; |
|
| 262 | $this->session->set_userdata('country_search', 0); |
|
| 263 | $data['grid_fields'] = $this->system_form->build_country_list_for_admin(); |
|
| 264 | if ($this->session->userdata('logintype') == 2) { |
|
| 265 | $data["grid_buttons"] = $this->system_form->build_admin_grid_buttons(); |
|
| 266 | } else { |
|
| 267 | $data["grid_buttons"] = json_encode(array()); |
|
| 268 | } |
|
| 269 | $data['form_search'] = $this->form->build_serach_form($this->system_form->get_search_country_form()); |
|
| 270 | $this->load->view('view_country_list', $data); |
|
| 271 | } |
|
| @@ 374-378 (lines=5) @@ | ||
| 371 | $data['cur_menu_no'] = 4; |
|
| 372 | $this->session->set_userdata('currency_search', 0); |
|
| 373 | $data['grid_fields'] = $this->system_form->build_currency_list_for_admin(); |
|
| 374 | if ($this->session->userdata('logintype') == 2) { |
|
| 375 | $data["grid_buttons"] = $this->system_form->build_admin_currency_grid_buttons(); |
|
| 376 | } else { |
|
| 377 | $data["grid_buttons"] = json_encode(array()); |
|
| 378 | } |
|
| 379 | $data['form_search'] = $this->form->build_serach_form($this->system_form->get_search_currency_form()); |
|
| 380 | $this->load->view('view_currency_list', $data); |
|
| 381 | } |
|