From 30f9f6fb7f5114a3b7435a19c1c191972dfae204 Mon Sep 17 00:00:00 2001 From: chicpro Date: Mon, 18 Feb 2013 18:30:53 +0900 Subject: [PATCH] =?UTF-8?q?#283=20=EC=9D=B4=EB=AF=B8=EC=A7=80=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/latest.lib.php | 4 ++-- skin/latest/basic/latest.skin.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/latest.lib.php b/lib/latest.lib.php index b8e536e16..d71e88cfe 100644 --- a/lib/latest.lib.php +++ b/lib/latest.lib.php @@ -21,14 +21,14 @@ function latest($skin_dir='', $bo_table, $rows=10, $subject_len=40) $sql = " select * from {$tmp_write_table} where wr_is_comment = 0 order by wr_num limit 0, {$rows} "; $result = sql_query($sql); for ($i=0; $row = sql_fetch_array($result); $i++) { - $list[$i] = get_list($row, $board, $latest_skin_path, $subject_len); + $list[$i] = get_list($row, $board, $latest_skin_url, $subject_len); } $handle = fopen($cache_file, 'w'); $cache_content = ""; fwrite($handle, $cache_content); fclose($handle); - } + } include_once($cache_file); diff --git a/skin/latest/basic/latest.skin.php b/skin/latest/basic/latest.skin.php index 67d10fa30..b014dab5b 100644 --- a/skin/latest/basic/latest.skin.php +++ b/skin/latest/basic/latest.skin.php @@ -23,13 +23,11 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가 // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; } // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; } - /* 아이콘 작업 전까지 주석처리 if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new']; if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot']; if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file']; if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link']; if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret']; - */ ?>