Code Duplication    Length = 9-9 lines in 3 locations

web_interface/astpp/application/modules/user/controllers/user.php 3 locations

@@ 1426-1434 (lines=9) @@
1423
		}
1424
	}
1425
    
1426
	function user_cdrs_report() {
1427
		$accountinfo=$this->session->userdata('accountinfo');
1428
		$data['page_title'] = 'CDRs';
1429
		$data['search_flag'] = true;
1430
		$data["grid_buttons"] = $this->user_form->build_cdrs_report_buttons();
1431
		$data['grid_fields'] = $this->user_form->build_cdrs_report($accountinfo['type']);
1432
		$data['form_search'] = $this->form->build_serach_form($this->user_form->build_cdrs_report_search($accountinfo['type']));
1433
		$this->load->view('view_user_cdrs_report', $data);
1434
	}
1435
1436
	function user_cdrs_report_json() {
1437
		$accountinfo=$this->session->userdata('accountinfo');
@@ 1646-1654 (lines=9) @@
1643
		}
1644
		$this->load->view('view_user_fund_transfer', $data);
1645
	}
1646
	function user_opensips() {
1647
		$data['username'] = $this->session->userdata('user_name');
1648
		$data['page_title'] = 'Opensips List';
1649
		$data['search_flag'] = true;
1650
		$data["fs_grid_buttons"] = $this->user_form->build_user_opensips_buttons();
1651
		$data['grid_fields'] = $this->user_form->build_user_opensips();
1652
		$data['form_search'] = $this->form->build_serach_form($this->user_form->build_user_opensips_search());
1653
		$this->load->view('view_opensips_list', $data);
1654
	}
1655
1656
	function user_opensips_json() {
1657
		$accountinfo = $this->session->userdata("accountinfo");
@@ 1822-1830 (lines=9) @@
1819
	}
1820
    
1821
    
1822
	function user_provider_cdrs_report() {
1823
		$accountinfo=$this->session->userdata('accountinfo');
1824
		$data['page_title'] = 'Provider CDRs Report';
1825
		$data['search_flag'] = true;
1826
		$data["grid_buttons"] = $this->user_form->build_provider_report_buttons();
1827
		$data['grid_fields'] = $this->user_form->build_provider_report($accountinfo['type']);
1828
		$data['form_search'] = $this->form->build_serach_form($this->user_form->build_provider_report_search($accountinfo['type']));
1829
		$this->load->view('view_provider_cdrs_report', $data);
1830
	}
1831
1832
	function user_provider_cdrs_report_json() {
1833
		$accountinfo=$this->session->userdata('accountinfo');