('weight'),
                'keywordTypeId' => $this->input->get('keywordTypeId'),
                'keyword' => $this->input->get('keyword'),
                'typeId' => $this->input->get('typeId'),
               'statusId' => $this->input->get('statusId'),
                'closeDate' => $this->input->get('closeDate'),
                'departmentId' => $this->input->get('departmentId'),
                'closeDescription' => $this->input->get('closeDescription'),
                'closeInDate' => $this->input->get('closeInDate'),
                'closeOutDate' => $this->input->get('closeOutDate')));

            //get posts data
            $result = $this->profile->nifsEconomyLists_model(array(
                'catId' => $this->input->get('catId'),
                'createNumber' => $this->input->get('createNumber'),
               'researchTypeId' => $this->input->get('researchTypeId'),
                'isMixx' => $this->input->get('isMixx'),
               'motiveId' => $this->input->get('motiveId'),
                'inDate' => $this->input->get('inDate'),
                'outDate' => $this->input->get('outDate'),
                'questionId' => $this->input->get('questionId'),
                'partnerId' => $this->input->get('partnerId'),
                'expertId' => $this->input->get('expertId'),
                'protocolNumber' => $this->input->get('protocolNumber'),
                'protocolInDate' => $this->input->get('protocolInDate'),
                'protocolOutDate' => $this->input->get('protocolOutDate'),
               'solutionId' => $this->input->get('solutionId'),
                'closeTypeId' => $this->input->get('closeTypeId'),
                'weight' => $this->input->get('weight'),
                'keywordTypeId' => $this->input->get('keywordTypeId'),
                'keyword' => $this->input->get('keyword'),
                'typeId' => $this->input->get('typeId'),
               'statusId' => $this->input->get('statusId'),
                'closeDate' => $this->input->get('closeDate'),
                'departmentId' => $this->input->get('departmentId'),
                'closeDescription' => $this->input->get('closeDescription'),
                'closeInDate' => $this->input->get('closeInDate'),
                'closeOutDate' => $this->input->get('closeOutDate'),
                'rows' => $this->input->get('rows'),
                'page' => $this->input->get('page')));

            echo json_encode(array('total' => $totalRec, 'rows' => $result['data'],'search' => $result['search']));
        }
    }
    
    public function nifsFileFolderLists() {

        $this->urlString = '';
        if ($this->session->isLogin === TRUE) {

            //total rows count
            $totalRec = $this->profile->nifsFileFolderListsCount_model(array(
                'catId' => $this->input->get('catId'),
                'createNumber' => $this->input->get('createNumber'),
               'researchTypeId' => $this->input->get('researchTypeId'),
                'isMixx' => $this->input->get('isMixx'),
                'inDate' => $this->input->get('inDate'),
                'outDate' => $this->input->get('outDate'),
                'partnerId' => $this->input->get('partnerId'),
                'questionId' => $this->input->get('questionId'),
                'preCreateNumber' => $this->input->get('preCreateNumber'),
                'preExpertId' => $this->input->get('preExpertId'),
               'motiveId' => $this->input->get('motiveId'),
               'solutionId' => $this->input->get('solutionId'),
                'closeTypeId' => $this->input->get('closeTypeId'),
                'catId' => $this->input->get('catId'),
               'seniorExpertId' => $this->input->get('seniorExpertId'),
                'createExpertId' => $this->input->get('createExpertId'),
                'expertId' => $this->input->get('expertId'),
                'weight' => $this->input->get('weight'),
                'protocolNumber' => $this->input->get('protocolNumber'),
                'protocolInDate' => $this->input->get('protocolInDate'),
                'protocolOutDate' => $this->input->get('protocolOutDate'),
                'keywordTypeId' => $this->input->get('keywordTypeId'),
                'keyword' => $this->input->get('keyword'),
                'departmentId' => $this->input->get('departmentId'),
               'statusId' => $this->input->get('statusId'),
                'closeDescription' => $this->input->get('closeDescription'),
                'closeInDate' => $this->input->get('closeInDate'),
                'closeOutDate' => $this->input->get('closeOutDate'),
                'age1' => $this->input->get('age1'),
                'age2' => $this->input->get('age2'),
                'preCrime' => $this->input->get('preCrime')));



            //get posts data
            $result = $this->profile->nifsFileFolderLists_model(array(
                'catId' => $this->input->get('catId'),
                'createNumber' => $this->input->get('createNumber'),
               'researchTypeId' => $this->input->get('researchTypeId'),
                'isMixx' => $this->input->get('isMixx'),
                'inDate' => $this->input->get('inDate'),
                'outDate' => $this->input->get('outDate'),
                'partnerId' => $this->input->get('partnerId'),
                'questionId' => $this->input->get('questionId'),
                'preCreateNumber' => $this->input->get('preCreateNumber'),
                'preExpertId' => $this->input->get('preExpertId'),
               'motiveId' => $this->input->get('motiveId'),
               'solutionId' => $this->input->get('solutionId'),
                'closeTypeId' => $this->input->get('closeTypeId'),
                'catId' => $this->input->get('catId'),
               'seniorExpertId' => $this->input->get('seniorExpertId'),
                'createExpertId' => $this->input->get('createExpertId'),
                'expertId' => $this->input->get('expertId'),
                'weight' => $this->input->get('weight'),
                'protocolNumber' => $this->input->get('protocolNumber'),
                'protocolInDate' => $this->input->get('protocolInDate'),
                'protocolOutDate' => $this->input->get('protocolOutDate'),
                'keywordTypeId' => $this->input->get('keywordTypeId'),
                'keyword' => $this->input->get('keyword'),
                'departmentId' => $this->input->get('departmentId'),
               'statusId' => $this->input->get('statusId'),
                'closeDescription' => $this->input->get('closeDescription'),
                'closeInDate' => $this->input->get('closeInDate'),
                'closeOutDate' => $this->input->get('closeOutDate'),
                'age1' => $this->input->get('age1'),
                'age2' => $this->input->get('age2'),
                'preCrime' => $this->input->get('preCrime'),
                'rows' => $this->input->get('rows'),
                'page' => $this->input->get('page')));

            echo json_encode(array('total' => $totalRec, 'rows' => $result['data'],'search' => $result['search']));

            //load the view
            //$this->load->view(MY_ADMIN. '/nifsFileFolder/lists', $data, false);
        }
    }
    
    public function nifsAnatomyLists() {

