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);
     }
 }
">
    <div style="float:left; padding-bottom:5px"><select class="kkb-input entry_filter_select" style="max-width:300px"><option><?php 
echo __('일괄작업', 'kingkongboard');
?>
</option><option value="remove-all"><?php 
echo __('선택된 게시글을 모두 삭제합니다.', 'kingkongboard');
?>
</option></select> <a class="button-kkb kkbblue proc-entry-all-remove"><?php 
echo __('적용', 'kingkongboard');
?>
</a></div>
    <div style="float:right; margin-right:5px; padding-bottom:5px"><?php 
echo __('등록된 총 글 수', 'kingkongboard');
?>
 : <span style="background:#616161; color:#fff; border-radius:10px; padding:0 5px"><?php 
echo $KKB_List->getCount($board_id, 'basic') + $KKB_List->getCount($board_id, 'notice');
?>
</span></div>
    <table class="wp-list-table widefat fixed unite_table_items">
      <tr>
<?php 
echo "<th class='entry-th-checkbox'><input type='checkbox' class='select-all-entry'></th>";
echo "<th class='entry-th-id'>" . __('번호', 'kingkongboard') . "</th>";
foreach ($entries as $entry) {
    echo "<th class='entry-th-" . $entry['value'] . "'>" . $entry['label'] . "</th>";
}
?>
      </tr>

<?php 
if (isset($_GET['pageid'])) {
?>
      </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);
    }
    ?>
      </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();
$config = new kkbConfig();
$config = $config->getBoard($this->board_id);
if ($keyword || $section) {
    $data['kkb_search_keyword'] = $keyword;
    $data['kkb_search_section'] = $section;
    $data['kkb_search_type'] = $search_type;
    $bResults = $kkb->searchResult($this->board_id, $data, $page, null);
    $totalCount = $kkb->getSearch($this->board_id, $data, $page, 'count');
} else {
    $bResults = $kkb->getBasic($this->board_id, $page);
    $totalCount = $kkb->getCount($this->board_id, 'basic');
}
$nResults = $kkb->getNotice($this->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);
    }
    ?>
      </tr>
<?php 
}