member->is_login() ) { alert(langs('회원/login/already'), base_url("members/info")); exit; } $form_attributes['id'] = "form-login"; $form_attributes['autocomplete'] = "off"; $form_attributes['name'] = "form_login"; $form_attributes['data-role'] = "form-login"; $form_hidden_inputs['reurl'] = set_value('reurl', $this->input->get("reurl", TRUE, base_url())); $action_url = base_url( 'admin/members/login', SSL_VERFIY ? 'https' : 'http' ); $this->data['form_open'] = form_open($action_url, $form_attributes, $form_hidden_inputs); $this->data['form_close'] = form_close(); $this->site->meta_title = "관리자 로그인"; $this->theme = "admin"; $this->theme_file = "iframe"; $this->view = "members/login"; } /***************************************************************** * 회원 목록 *****************************************************************/ public function lists() { $this->load->model('member_model'); $this->data['sdate'] = $this->input->get('sdate', TRUE); $this->data['startdate'] = $this->input->get('startdate', TRUE); $this->data['enddate'] = $this->input->get('enddate', TRUE); if( $this->data['sdate'] && $this->data['startdate'] ) $param['where']['mem_' . $this->data['sdate'] . ' >=' ] = $this->data['startdate'] . " 00:00:00"; if( $this->data['sdate'] && $this->data['enddate'] ) $param['where']['mem_' . $this->data['sdate'] . ' <=' ] = $this->data['enddate'] . " 23:59:59"; // 정보 넣기 $param['page'] = $this->input->get('page', TRUE, 1); $param['page_rows'] = 20; $param['limit'] = TRUE; // 회원목록 가져오기 $this->data['member_list'] = $this->member_model->member_list($param); // 페이지네이션 세팅 $this->load->library('paging'); $this->paging->initialize(array( "page" => $param['page'], "page_rows" => $param['page_rows'], "total_rows" => $this->data['member_list']['total_count'], "fixe_nums" => 10, 'full_tag_open' => '