From b6f76f888539793bfd0a0b3d3717cf80b157c8c5 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 3 Feb 2014 11:18:32 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=EC=84=A4=EC=A0=95?= =?UTF-8?q?=20=EC=95=84=EC=9D=B4=EC=BD=98=20=EC=B6=9C=EB=A0=A5=200?= =?UTF-8?q?=EC=9E=85=EB=A0=A5=EC=8B=9C=20=EC=83=88=EA=B8=80=20=EC=9D=B8?= =?UTF-8?q?=EA=B8=B0=EA=B8=80=20=EC=95=84=EC=9D=B4=EC=BD=98=20=EC=B6=9C?= =?UTF-8?q?=EB=A0=A5=EB=90=98=EC=A7=80=20=EC=95=8A=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- adm/board_form.php | 4 ++-- lib/common.lib.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adm/board_form.php b/adm/board_form.php index ce801d45e..86497f74d 100644 --- a/adm/board_form.php +++ b/adm/board_form.php @@ -1066,7 +1066,7 @@ $frm_submit .= ''; - + @@ -1079,7 +1079,7 @@ $frm_submit .= ''; - + diff --git a/lib/common.lib.php b/lib/common.lib.php index c32b97f4e..c4f3f73b9 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -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'] = '새글'; $list['icon_hot'] = ''; - if ($list['wr_hit'] >= $board['bo_hot']) + if ($board['bo_hot'] && $list['wr_hit'] >= $board['bo_hot']) $list['icon_hot'] = '인기글'; $list['icon_secret'] = '';