메인 겔러리 최신글 보이게 하고싶은데^^ 채택완료
이미지 경로에 } 문자가 뒤에 붙어나옵니다 ㅠㅠ 어디서 붙는지 찾기가 힘드네요..
아시는분 좀알려주세요^^


----------------아래 최신글 스킨 소스 입니다 (mw5-gallery)
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$css_name = "gallery-{$bo_table}-{$rows}-{$subject_len}";
$css = "{$latest_skin_url}/style.php?bo_table={$bo_table}&rows={$rows}&subject_len={$subject_len}";
add_stylesheet("");
if (function_exists("mw_seo_url"))
$bo_url = mw_seo_url($bo_table);
else
$bo_url = G5_BBS_URL."/board.php?bo_table=".$bo_table;
// $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);
// mw_get_thumb_path
// function mw_get_thumb_path($bo_table, $wr_id, $file=null, $thumb_number=null)
global $g4;
?>
echo "
- ";
- ";
echo "";
echo '
'.$img.'';echo '
'.$list[$i]['subject']."";';echo "{$list[$i]['comment_cnt']}";
echo '
echo "";
echo "
\n";
for ($i=0; $i<$rows; $i++) {
$thumb = mw_get_thumb_path($bo_table, $list[$i]['wr_id']);
$img = '';
if ($member['mb_id']) {
$list[$i]['subject'] = str_replace("{닉네임}", $member['mb_nick'], $list[$i]['subject']);
$list[$i]['subject'] = str_replace("{별명}", $member['mb_nick'], $list[$i]['subject']);
}
else {
$list[$i]['subject'] = str_replace("{닉네임}", "회원", $list[$i]['subject']);
$list[$i]['subject'] = str_replace("{별명}", "회원", $list[$i]['subject']);
}
$class = '';
if ($list[$i]['icon_secret'])
$class.= "secret";
if ($list[$i]['icon_new'])
$class.= "new";
if (function_exists("mw_seo_url"))
$href = mw_seo_url($bo_table, $list[$i]['wr_id']);
else
$href = $list[$i]['href'];
echo "
}
echo "
?>
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인