게시판설정 아이콘 출력 0입력시 새글 인기글 아이콘 출력되지 않도록 수정
This commit is contained in:
@ -386,11 +386,11 @@ function get_list($write_row, $board, $skin_url, $subject_len=40)
|
||||
$list['comment_href'] = $list['href'];
|
||||
|
||||
$list['icon_new'] = '';
|
||||
if ($list['wr_datetime'] >= date("Y-m-d H:i:s", G5_SERVER_TIME - ($board['bo_new'] * 3600)))
|
||||
if ($board['bo_new'] && $list['wr_datetime'] >= date("Y-m-d H:i:s", G5_SERVER_TIME - ($board['bo_new'] * 3600)))
|
||||
$list['icon_new'] = '<img src="'.$skin_url.'/img/icon_new.gif" alt="새글">';
|
||||
|
||||
$list['icon_hot'] = '';
|
||||
if ($list['wr_hit'] >= $board['bo_hot'])
|
||||
if ($board['bo_hot'] && $list['wr_hit'] >= $board['bo_hot'])
|
||||
$list['icon_hot'] = '<img src="'.$skin_url.'/img/icon_hot.gif" alt="인기글">';
|
||||
|
||||
$list['icon_secret'] = '';
|
||||
|
||||
Reference in New Issue
Block a user