답변 1개
아무래도 그누보드 코어 파일 /bbs/list.php 를 조금 수정해야 될 듯 합니다.
ex)
1) list.skin.php
<form name="fsearch" method="get">
~
<input type="text" name="s_date">
<input type="text" name="e_date">
2) /bbs/list.php
if ($s_date)
$sql_search .= " and wr_datetime >= {$s_date} ";
if ($e_date)
$sql_search .= " and wr_datetime <= {$e_date} ";
식의 코드를..
Copy
// 분류 선택 또는 검색어가 있다면
$stx = trim($stx);
if ($sca || $stx) { // -> if ($sca || $stx || $s_date || $e_date) 로 수정
$sql_search = get_sql_search($sca, $sfl, $stx, $sop);
다음 라인에 넣으면 되지 않을까 합니다.
답변을 작성하려면 로그인이 필요합니다.