function __construct($board_id)
 {
     $this->board_id = $board_id;
     isset($_GET['pageid']) ? $this->page = sanitize_text_field($_GET['pageid']) : ($this->page = 1);
     isset($_POST['kkb_keyword']) ? $this->keyword = sanitize_text_field($_POST['kkb_keyword']) : ($this->keyword = null);
     isset($_POST['kkb_section']) ? $this->section = sanitize_text_field($_POST['kkb_section']) : ($this->section = null);
     isset($_GET['kkb_keyword']) && empty($this->keyword) ? $this->keyword = sanitize_text_field($_GET['kkb_keyword']) : ($this->keyword = $this->keyword);
     isset($_GET['kkb_section']) && empty($this->section) ? $this->section = sanitize_text_field($_GET['kkb_section']) : ($this->section = $this->section);
     isset($_POST['srchtype']) ? $this->srctype = sanitize_text_field($_POST['srchtype']) : ($this->srctype = null);
     isset($_GET['srchtype']) && empty($this->srctype) ? $this->srctype = sanitize_text_field($_GET['srchtype']) : ($this->srctype = $this->srctype);
     if ($this->keyword || $this->section) {
         $data['kkb_search_keyword'] = $this->keyword;
         $data['kkb_search_section'] = $this->section;
         $data['kkb_search_type'] = $this->srctype;
         $this->totalCount = parent::getSearch($board_id, $data, $this->page, 'count');
         $this->pageCount = parent::searchCount($board_id, $data, $this->page);
     } else {
         $this->totalCount = parent::getCount($board_id, 'basic');
         $this->pageCount = parent::pageCount($board_id);
     }
 }
<?php 
    }
}
?>
      </tr>
    </thead>
<?php 
isset($_GET['pageid']) ? $page = sanitize_text_field($_GET['pageid']) : ($page = 1);
require_once KINGKONGBOARD_ABSPATH . 'class/class.list.php';
$kkb = new kkbList();
if ($keyword || $section) {
    $data['kkb_search_keyword'] = $keyword;
    $data['kkb_search_section'] = $section;
    $data['kkb_search_type'] = $search_type;
    $bResults = $kkb->searchResult($board_id, $data, $page, null);
    $totalCount = $kkb->getSearch($board_id, $data, $page, 'count');
} else {
    $bResults = $kkb->getBasic($board_id, $page);
    $totalCount = $kkb->getCount($board_id, 'basic');
}
!isset($data) ? $data = null : ($data = $data);
$bResults = apply_filters('kkb_list_basic_after', $bResults, $board_id, $data, $page);
$nResults = $kkb->getNotice($board_id);
foreach ($nResults as $nResult) {
    ?>
      <tr class="entry-notice">
<?php 
    foreach ($entries as $entry) {
        ?>
        <?php 
        echo apply_filters('kkb_loop_column_' . $entry['value'], $result = null, $entry, $nResult->post_id, $cn = null);