접속자로그가 없을때 년도가 0부터 시작하는 것을 현재년도가 나오도록 수정 (다온테마님,211115)
This commit is contained in:
@ -13,6 +13,9 @@ $row = sql_fetch($sql);
|
|||||||
|
|
||||||
$min_year = (int)substr($row['min_date'], 0, 4);
|
$min_year = (int)substr($row['min_date'], 0, 4);
|
||||||
$now_year = (int)substr(G5_TIME_YMD, 0, 4);
|
$now_year = (int)substr(G5_TIME_YMD, 0, 4);
|
||||||
|
if (!$min_year) {
|
||||||
|
$min_year = $now_year;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="local_ov01 local_ov">
|
<div class="local_ov01 local_ov">
|
||||||
|
|||||||
Reference in New Issue
Block a user