#283 이미지 경로 수정
This commit is contained in:
@ -21,7 +21,7 @@ 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} ";
|
$sql = " select * from {$tmp_write_table} where wr_is_comment = 0 order by wr_num limit 0, {$rows} ";
|
||||||
$result = sql_query($sql);
|
$result = sql_query($sql);
|
||||||
for ($i=0; $row = sql_fetch_array($result); $i++) {
|
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');
|
$handle = fopen($cache_file, 'w');
|
||||||
|
|||||||
@ -23,13 +23,11 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
|
||||||
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['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_new'])) echo " " . $list[$i]['icon_new'];
|
||||||
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
|
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_file'])) echo " " . $list[$i]['icon_file'];
|
||||||
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
|
||||||
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
|
||||||
*/
|
|
||||||
?>
|
?>
|
||||||
</li>
|
</li>
|
||||||
<? } ?>
|
<? } ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user