web_interface/astpp/application/modules/animap/controllers/animap.php 1 location
|
@@ 121-131 (lines=11) @@
|
118 |
|
$this->session->set_userdata('animap_list_search', ""); |
119 |
|
} |
120 |
|
|
121 |
|
function animap_detail() { |
122 |
|
$data['username'] = $this->session->userdata('user_name'); |
123 |
|
$data['page_title'] = 'Caller ID'; |
124 |
|
$data['search_flag'] = true; |
125 |
|
$this->session->set_userdata('advance_search', 0); |
126 |
|
$data['grid_fields'] = $this->animap_form->build_animap_list_for_admin(); |
127 |
|
$data["grid_buttons"] = $this->animap_form->build_grid_buttons(); |
128 |
|
$data['form_search'] = $this->form->build_serach_form($this->animap_form->get_animap_search_form()); |
129 |
|
|
130 |
|
$this->load->view('animap_view', $data); |
131 |
|
} |
132 |
|
|
133 |
|
function animap_detail_json() { |
134 |
|
$json_data = array(); |
web_interface/astpp/application/modules/charges/controllers/charges.php 1 location
|
@@ 132-142 (lines=11) @@
|
129 |
|
$this->session->set_userdata('charges_list_search', ""); |
130 |
|
} |
131 |
|
|
132 |
|
function periodiccharges() { |
133 |
|
$data['username'] = $this->session->userdata('user_name'); |
134 |
|
$data['page_title'] = 'Subscriptions'; |
135 |
|
$data['search_flag'] = true; |
136 |
|
$this->session->set_userdata('advance_search', 0); |
137 |
|
$data['grid_fields'] = $this->charges_form->build_charge_list_for_admin(); |
138 |
|
$data["grid_buttons"] = $this->charges_form->build_grid_buttons(); |
139 |
|
$data['form_search'] = $this->form->build_serach_form($this->charges_form->get_charges_search_form()); |
140 |
|
|
141 |
|
$this->load->view('view_charges_list', $data); |
142 |
|
} |
143 |
|
|
144 |
|
/** |
145 |
|
* -------Here we write code for controller accounts functions account_list------ |
web_interface/astpp/application/modules/freeswitch/controllers/freeswitch.php 1 location
|
@@ 431-440 (lines=10) @@
|
428 |
|
echo json_encode($json_data); |
429 |
|
} |
430 |
|
|
431 |
|
function fsgateway() { |
432 |
|
$data['username'] = $this->session->userdata('user_name'); |
433 |
|
$data['page_title'] = 'Gateways'; |
434 |
|
$data['search_flag'] = true; |
435 |
|
$this->session->set_userdata('advance_search', 0); |
436 |
|
$data['grid_fields'] = $this->freeswitch_form->build_fsgateway_list_for_admin(); |
437 |
|
$data["grid_buttons"] = $this->freeswitch_form->build_fdgateway_grid_buttons(); |
438 |
|
$data['form_search']=$this->form->build_serach_form($this->freeswitch_form->get_gateway_search_form()); |
439 |
|
$this->load->view('view_fsgateway_list', $data); |
440 |
|
} |
441 |
|
|
442 |
|
function fsgateway_json() { |
443 |
|
$json_data = array(); |
web_interface/astpp/application/modules/ipmap/controllers/ipmap.php 1 location
|
@@ 154-163 (lines=10) @@
|
151 |
|
$this->session->set_userdata('ipmap_list_search', ""); |
152 |
|
} |
153 |
|
|
154 |
|
function ipmap_detail() { |
155 |
|
$data['username'] = $this->session->userdata('user_name'); |
156 |
|
$data['page_title'] = 'IP Map(ACL)'; |
157 |
|
$data['search_flag'] = true; |
158 |
|
$this->session->set_userdata('advance_search', 0); |
159 |
|
$data['grid_fields'] = $this->ipmap_form->build_ipmap_list_for_admin(); |
160 |
|
$data["grid_buttons"] = $this->ipmap_form->build_grid_buttons(); |
161 |
|
$data['form_search'] = $this->form->build_serach_form($this->ipmap_form->get_ipmap_search_form()); |
162 |
|
$this->load->view('ipmap_view', $data); |
163 |
|
} |
164 |
|
|
165 |
|
/********************* |
166 |
|
ASTPP 3.0 |
web_interface/astpp/application/modules/opensips/controllers/opensips.php 2 locations
|
@@ 226-236 (lines=11) @@
|
223 |
|
redirect(base_url() . 'opensips/opensips_list/'); |
224 |
|
} |
225 |
|
|
226 |
|
function opensips_list() { |
227 |
|
|
228 |
|
$data['username'] = $this->session->userdata('user_name'); |
229 |
|
$data['page_title'] = 'Opensips Devices List'; |
230 |
|
$data['search_flag'] = true; |
231 |
|
$this->session->set_userdata('advance_search', 0); |
232 |
|
$data['grid_fields'] = $this->opensips_form->build_opensips_list(); |
233 |
|
$data["grid_buttons"] = $this->opensips_form->build_grid_buttons(); |
234 |
|
$data['form_search'] = $this->form->build_serach_form($this->opensips_form->get_search_opensips_form()); |
235 |
|
$this->load->view('view_opensips_list', $data); |
236 |
|
} |
237 |
|
|
238 |
|
/** |
239 |
|
* -------Here we write code for controller accounts functions account_list------ |
|
@@ 331-340 (lines=10) @@
|
328 |
|
redirect(base_url() . 'opensips/dispatcher_list/'); |
329 |
|
} |
330 |
|
|
331 |
|
function dispatcher_list() { |
332 |
|
$data['username'] = $this->session->userdata('user_name'); |
333 |
|
$data['page_title'] = 'Opensips Dispatcher List'; |
334 |
|
$data['search_flag'] = true; |
335 |
|
$this->session->set_userdata('advance_search', 0); |
336 |
|
$data['grid_fields'] = $this->opensips_form->build_opensipsdispatcher_list(); |
337 |
|
$data["grid_buttons"] = $this->opensips_form->build_grid_dispatcherbuttons(); |
338 |
|
$data['form_search'] = $this->form->build_serach_form($this->opensips_form->get_search_dispatcher_form()); |
339 |
|
$this->load->view('view_dispatcher_list', $data); |
340 |
|
} |
341 |
|
|
342 |
|
/** |
343 |
|
* -------Here we write code for controller accounts functions account_list------ |
web_interface/astpp/application/modules/package/controllers/package.php 1 location
|
@@ 42-51 (lines=10) @@
|
39 |
|
} |
40 |
|
|
41 |
|
|
42 |
|
function package_list() { |
43 |
|
$data['username'] = $this->session->userdata('user_name'); |
44 |
|
$data['page_title'] = 'Packages'; |
45 |
|
$data['search_flag'] = true; |
46 |
|
$this->session->set_userdata('advance_search', 0); |
47 |
|
$data['grid_fields'] = $this->package_form->build_package_list_for_admin(); |
48 |
|
$data["grid_buttons"] = $this->package_form->build_grid_buttons(); |
49 |
|
$data['form_search'] = $this->form->build_serach_form($this->package_form->get_package_search_form()); |
50 |
|
$this->load->view('view_package_list', $data); |
51 |
|
} |
52 |
|
|
53 |
|
/** |
54 |
|
* -------Here we write code for controller accounts functions account_list------ |
web_interface/astpp/application/modules/pricing/controllers/pricing.php 1 location
|
@@ 133-142 (lines=10) @@
|
130 |
|
$this->session->set_userdata('account_search', ""); |
131 |
|
} |
132 |
|
|
133 |
|
function price_list() { |
134 |
|
$data['username'] = $this->session->userdata('user_name'); |
135 |
|
$data['page_title'] = 'Rate Groups'; |
136 |
|
$data['search_flag'] = true; |
137 |
|
$this->session->set_userdata('advance_search', 0); |
138 |
|
$data['grid_fields'] = $this->pricing_form->build_pricing_list_for_admin(); |
139 |
|
$data["grid_buttons"] = $this->pricing_form->build_grid_buttons(); |
140 |
|
$data['form_search'] = $this->form->build_serach_form($this->pricing_form->get_pricing_search_form()); |
141 |
|
$this->load->view('view_price_list', $data); |
142 |
|
} |
143 |
|
|
144 |
|
/** |
145 |
|
* -------Here we write code for controller accounts functions account_list------ |
web_interface/astpp/application/modules/systems/controllers/systems.php 1 location
|
@@ 128-137 (lines=10) @@
|
125 |
|
echo json_encode($json_data); |
126 |
|
} |
127 |
|
|
128 |
|
function template() { |
129 |
|
$data['username'] = $this->session->userdata('user_name'); |
130 |
|
$data['page_title'] = 'Email Templates'; |
131 |
|
$data['search_flag'] = true; |
132 |
|
$this->session->set_userdata('advance_search', 0); |
133 |
|
$data['grid_fields'] = $this->system_form->build_template_list_for_admin(); |
134 |
|
$data["grid_buttons"] = $this->system_form->build_grid_buttons(); |
135 |
|
$data['form_search'] = $this->form->build_serach_form($this->system_form->get_template_search_form()); |
136 |
|
$this->load->view('view_template_list', $data); |
137 |
|
} |
138 |
|
|
139 |
|
function template_json() { |
140 |
|
$json_data = array(); |
web_interface/astpp/application/modules/trunk/controllers/trunk.php 1 location
|
@@ 39-48 (lines=10) @@
|
36 |
|
redirect(base_url() . '/astpp/login'); |
37 |
|
} |
38 |
|
|
39 |
|
function trunk_list() { |
40 |
|
$data['username'] = $this->session->userdata('user_name'); |
41 |
|
$data['page_title'] = 'Trunks'; |
42 |
|
$data['search_flag'] = true; |
43 |
|
$this->session->set_userdata('advance_search', 0); |
44 |
|
$data['grid_fields'] = $this->trunk_form->build_trunk_list_for_admin(); |
45 |
|
$data["grid_buttons"] = $this->trunk_form->build_grid_buttons(); |
46 |
|
$data['form_search'] = $this->form->build_serach_form($this->trunk_form->get_trunk_search_form()); |
47 |
|
$this->load->view('view_trunk_list', $data); |
48 |
|
} |
49 |
|
|
50 |
|
function trunk_list_json() { |
51 |
|
$json_data = array(); |
web_interface/astpp/application/modules/user/controllers/user.php 2 locations
|
@@ 305-315 (lines=11) @@
|
302 |
|
} |
303 |
|
} |
304 |
|
|
305 |
|
function user_rates_list() { |
306 |
|
$data['username'] = $this->session->userdata('user_name'); |
307 |
|
$data['page_title'] = 'My Rates'; |
308 |
|
$data['search_flag'] = true; |
309 |
|
$this->session->set_userdata('advance_search', 0); |
310 |
|
$this->load->module('rates/rates'); |
311 |
|
$data["grid_buttons"] = $this->user_form->user_rates_list_buttons(); |
312 |
|
$data['grid_fields'] = $this->user_form->user_rates_list(); |
313 |
|
$data['form_search'] = $this->form->build_serach_form($this->user_form->user_rates_list_search()); |
314 |
|
$this->load->view('view_user_rates_list', $data); |
315 |
|
} |
316 |
|
|
317 |
|
function user_rates_list_json() { |
318 |
|
$account_data = $this->session->userdata("accountinfo"); |
|
@@ 737-749 (lines=13) @@
|
734 |
|
$this->load->view('view_user_change_password', $data); |
735 |
|
} |
736 |
|
|
737 |
|
function user_refill_report() { |
738 |
|
$accountinfo=$this->session->userdata('accountinfo'); |
739 |
|
$data['page_title'] = 'Refill Report'; |
740 |
|
$data['search_flag'] = true; |
741 |
|
$this->session->set_userdata('advance_search', 0); |
742 |
|
$data['grid_fields'] = $this->user_form->build_user_refill_report(); |
743 |
|
$data['form_search'] = $this->form->build_serach_form($this->user_form->build_user_refill_report_search()); |
744 |
|
if($accountinfo['type'] == 1){ |
745 |
|
$this->load->view('view_reseller_refill_report', $data); |
746 |
|
}else{ |
747 |
|
$this->load->view('view_user_refill_report', $data); |
748 |
|
} |
749 |
|
} |
750 |
|
|
751 |
|
function user_refill_report_json() { |
752 |
|
$json_data = array(); |