<nav class="search nav justify-content-center">
  검색어:<?= form_input('index_word', $viewDatas['index_word'] ?? "") ?>
  검색일:<?= form_input('index_start', $viewDatas['index_start'] ?? "", ["class" => "calender"]) ?>~<?= form_input('index_end', $viewDatas['index_end'] ?? "", ["class" => "calender"]) ?>
  <button class="btn btn-outline-primary" type="submit">검색</button>
  <?php $queryString = $_SERVER['QUERY_STRING'] ?? ''; ?>
  <?= anchor(current_url() . '/download/excel' . ($queryString ? '?' . $queryString : ''), icon('EXCEL'), ["target" => "_self", "class" => "excel"]) ?>
</nav>
<nav class="pageinfo nav justify-content-end">
  Page:<?= $viewDatas['page'] ?? 1 ?>/<?= $viewDatas['index_totalpage'] ?>
  <?= form_dropdown('perpage', $viewDatas['index_pagination_options'], $viewDatas['perpage'], ['onChange' => 'this.form.submit()']) ?>
  / 총:<?= $viewDatas['index_totalcount'] ?>
</nav>