최근 게시물 가져오기 이미지가 안 나옵니다.
본문
최근 게시물 가져오기 이미지가 안 나옵니다.
어디를 수정해야 하는 지요. 배추빌더 사용중 입니다.
<index.main.php> ---------------------
<div class="latest-block"><?=mw_latest("mw.index.list", "sellleads", 5, 35, 1, $mw[config][cf_index_cache])?></div>
<latest 소스>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$style_name = "mw-latest-list-$bo_table-$rows-$subject_len";
?>
<style type="text/css">
.<?=$style_name?> { border:1px solid #e1e1e1; text-align:left; }
.<?=$style_name?> .subject { background:url(<?=$latest_skin_path?>/img/box-bg.gif); height:24px; margin:0 0 7px 0; }
.<?=$style_name?> .subject .bo_table { margin:5px 0 0 5px; float:left; }
.<?=$style_name?> .subject .bo_table a { font-size:12px; color:#555; font-weight:bold; letter-spacing:-1px; text-decoration:none; }
.<?=$style_name?> .subject .list { margin:5px 5px 0 0; float:right; }
.<?=$style_name?> .subject .list a { font-weight:normal; font-size:11px; letter-spacing:-1px; color:#555; }
.<?=$style_name?> ul { margin:0 0 5px 7px; padding:0; list-style:none; }
.<?=$style_name?> ul li { margin:0; padding:0 0 0 7px; background:url(<?=$latest_skin_path?>/img/dot.gif) no-repeat 0 5px; height:20px; }
.<?=$style_name?> ul li a:hover { color:#438A01; text-decoration:underline; }
.<?=$style_name?> .file-img { width:100px; height:65px; border:1px solid #e2e2e2; }
.<?=$style_name?> .file-subject { line-height:15px; font-size:11px; letter-spacing:-1px; width:100px; height:28px; margin:3px 0 0 0; overflow:hidden; }
.<?=$style_name?> .file a:hover { color:#438A01; text-decoration:underline; }
.<?=$style_name?> .comment { font-size:11px; color:#FF6600; font-family:dotum; letter-spacing:-1px; }
</style>
<div class="<?=$style_name?>">
<div style="border:1px solid #fff">
<div class="subject">
<div class="bo_table"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><?=$board[bo_subject]?></a></div>
<div class="list"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>"><img src="<?=$latest_skin_path?>/img/l.gif" aling="absmiddle"> List</a></div>
</div>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
<? if ($is_img && $file[0]) { ?>
<td width=120 align=center class=file>
<a href="<?=$file[0][href]?>"><div><img src="<?=$file[0][path]?>" class="file-img"></div>
<div class="file-subject"><?=$file[0][subject]?>
<span class='comment'><?=$file[0][wr_comment]?'+'.$file[0][wr_comment]:''?></div></a>
</td>
<? } ?>
<td valign=top>
<ul>
<?
$r = rand(0, $rows-1);
for ($i=0; $i<$rows; $i++) {
if ($r == $i) $list[$i][subject] = "<strong>".$list[$i][subject]."</strong>";
if ($list[$i][icon_secret]) $list[$i][subject] .= " " . $list[$i][icon_secret];
if ($list[$i][icon_file]) $list[$i][subject] .= " " . $list[$i][icon_file];
if ($list[$i][icon_new]) $list[$i][subject] .= " " . $list[$i][icon_new];
//if ($list[$i][icon_hot]) $list[$i][subject] .= " " . $list[$i][icon_hot];
$list[$i][subject] = mw_builder_reg_str($list[$i][subject]);
$list[$i]['title'] = mw_title_tag(mw_builder_reg_str($list[$i]['wr_subject']));
?>
<li><a href="<?=$list[$i][href]?>" title="<?=$list[$i][title]?>"><?=$list[$i][subject]?></a>
<span class='comment'><?=$list[$i][wr_comment]?'+'.$list[$i][wr_comment]:''?></span>
</li>
<? } ?>
</ul>
</td>
</tr>
</table>
</div>
</div>
답변 2
배추빌더,배추스킨에 관한 질문은 해당 빌더를 배포하는 마이위트의 질문답변 게시판에 문의하면
개발자님이거나 사용자분들이 빠르게 답장 드립니다.
마이위트 주소입니다.
내일을위하여님, 답변 감사합니다.
답변을 작성하시기 전에 로그인 해주세요.