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']; - */ ?>