@@ 253-259 (lines=7) @@ | ||
250 | ||
251 | /* * ************************************************************************ */ |
|
252 | ||
253 | function edit_account($accountinfo, $edit_id) { |
|
254 | unset($accountinfo['action']); |
|
255 | unset($accountinfo['onoffswitch']); |
|
256 | $this->db->where('id', $edit_id); |
|
257 | $result = $this->db->update('accounts', $accountinfo); |
|
258 | return true; |
|
259 | } |
|
260 | ||
261 | function bulk_insert_accounts($add_array) { |
|
262 | $logintype = $this->session->userdata('logintype'); |
@@ 64-69 (lines=6) @@ | ||
61 | $this->db->update('accounts', array('password' => $update)); |
|
62 | } |
|
63 | ||
64 | function edit_account($accountinfo, $edit_id) { |
|
65 | unset($accountinfo['action']); |
|
66 | $this->db->where('id', $edit_id); |
|
67 | $result = $this->db->update('accounts', $accountinfo); |
|
68 | return true; |
|
69 | } |
|
70 | ||
71 | function get_user_packages_list($flag, $start = 0, $limit = 0) { |
|
72 | $this->db_model->build_search('package_list_search'); |