$_LIST_LIMIT, "page_limit" => $_PAGE_LIMIT, "page" => $page); if(!empty($search_title)){ include_once($_PATH_MODULE."/solr_class.php"); $solr_class = new solr_class; $solr_query_string = "wt=json&indent=true&q.op=OR&q=is_del:0"; $match_field = "scontents"; $match_query = $search_title; $sphinx_where_arr = array(); $order_str = "order by idx desc"; $solr_order_str = "&sort=idx desc"; $search_data = $solr_class->getList_copyright("so_copyright_list", $match_field, $match_query, $solr_query_string, $_LIST_LIMIT, $page, $solr_order_str); $info["total"] = $solr_class->getList_copyright_cnt("so_copyright_list", $match_field, $match_query, $solr_query_string, $_LIST_LIMIT, $page, $solr_order_str); $notice_list = $search_data; $set_page = $dbconn_class->page($info); // 리스트의 총 수량에대한 순번 출력을 위해 for($i = 0; $i < count($notice_list); $i++){ $notice_list[$i]["pno"] = $info["total"] - (($info["list_limit"] * $info["page"]) + $i); } } else{ $notice_total = $bbs_class->get_copyright_care_total_count(""); $info["total"] = $notice_total; $notice_list = $bbs_class->get_copyright_care_list("", $info, "*"); $set_page = $dbconn_class->page($info); } $set_page_start = " href=\"/agreement/copyright_center_4.html?search_title=".$search_title."&page="; $set_page_end = "\""; /* page load */ // css file list $include_css = array(); $include_css[] = $_PATH_DESIGN_WEB."/css/contents/sub_page/infomation/infomation_list.css"; $include_css[] = $_PATH_DESIGN_WEB."/css/contents/sub_page/infomation/infomation3_4.css"; // Header include_once($_PATH_DESIGN."/html/head.html"); // Top include_once($_PATH_DESIGN."/html/top.html"); // Body include_once($_PATH_DESIGN."/html/agreement/copyright_center_4.html"); // Footer include_once($_PATH_DESIGN."/html/footer.html"); ?>