diff --git a/html/exhi/application/views/general/v_general_home.php b/html/exhi/application/views/general/v_general_home.php index 14a03dd68caf0e51c38b241609cd8822d9c8425f..a1171553b6ce2a54287d92ee9032ac4df1eb4404 100644 --- a/html/exhi/application/views/general/v_general_home.php +++ b/html/exhi/application/views/general/v_general_home.php @@ -222,6 +222,9 @@ <div class="content" style="padding: 20px"> <div class="container-fluid"> <div class="row"> + <div class="container-fluid g-3"> + <button class="button button-mid" data-toggle="modal" data-target="#advanceSearcheModal">ค้นหาขั้นสูง</button><br><br><br><br> + </div> <div class="col-md-2 position-relative"> <div class="form-group"> <label for="year" class="form-label">ปี</label> diff --git a/html/exhi/application/views/general/v_search.php b/html/exhi/application/views/general/v_search.php index a8909dee3a21a2827c1d319d3b7e6e6b64770e6a..21dc6124ccfb92258396a5af8da060bca05a389d 100644 --- a/html/exhi/application/views/general/v_search.php +++ b/html/exhi/application/views/general/v_search.php @@ -148,6 +148,7 @@ $cluster = (!isset($cluster)) ? '' : $cluster; $team = (!isset($team)) ? '' : $team; $grade = (!isset($grade)) ? '' : $grade; $year = (!isset($year)) ? '' : $year; +$search = (!isset($search)) ? 'all' : $search; ?> <div class="wrapper"> <div class="container-fluid"> @@ -203,14 +204,13 @@ $year = (!isset($year)) ? '' : $year; </footer> <script> $(document).ready(function() { - if (<?php echo $tag; ?> != '') { + if ('<?php echo $search; ?>' == 'tag') { load_data_tag() load_num_project_tag() } else { load_data() load_num_project() } - }); let current_page = 1;