글 4개 나오기? 정보
글 4개 나오기?본문
불량감자님의 그룹탭 최신글 중에요 스킨 상단에 섬네일과 본문 내용까지 나오는 부분을 4개까지 나오게 하려고 하는데요 어디를 만져야 하나요? 도와주세요
출처 http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=121955&sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&page=8
<table width="100%" cellpadding=0 cellspacing=0 border=0>
<tr>
<td valign="top">
<div class="Num_title"><a href='<?=$list[$i][href]?>'><b><?=$list[$i][subject]?></b></a></div>
<div class="Num_content"><?=cut_str(strip_tags($list[$i][wr_content]),200,"..")?></div>
<div class="Num_write">
<b><?=$list[$i][wr_name]?></b> <font color="#bbbbbb">I</font> <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>'><?=$list[$i][bo_subject]?></a> <font color="#bbbbbb">I</font> <?=$list[$i][datetime]?>
</div>
</td>
<td width="<?=$img_width?>" valign=top>
<a href='<?=$list[$i][href]?>'><?=$thumfile?></a>
</td></tr>
<tr><td colspan="2" height=12></td></tr>
<tr><td colspan="2" height=1 bgcolor='#ffffff'></td></tr>
<tr><td colspan="2" height=19></td></tr>
</table>
</td></tr>
<? }else{ ?>
<tr><td width="74%"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>'><span class="Num_stitle">[<?=$list[$i][bo_subject]?>]</span></a> <a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
</td>
<td width="26%" class="Num_swrite">
<?=$list[$i][wr_name]?> <font color="#cccccc">I</font> <?=$list[$i][datetime2]?>
</td>
</tr>
<? } ?>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=100>자료가 없습니다.</td></tr>"; } ?>
</table>
<!-- 게시판 목록 끝 -->
출처 http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=121955&sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&page=8
<table width="100%" cellpadding=0 cellspacing=0 border=0>
<tr>
<td valign="top">
<div class="Num_title"><a href='<?=$list[$i][href]?>'><b><?=$list[$i][subject]?></b></a></div>
<div class="Num_content"><?=cut_str(strip_tags($list[$i][wr_content]),200,"..")?></div>
<div class="Num_write">
<b><?=$list[$i][wr_name]?></b> <font color="#bbbbbb">I</font> <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>'><?=$list[$i][bo_subject]?></a> <font color="#bbbbbb">I</font> <?=$list[$i][datetime]?>
</div>
</td>
<td width="<?=$img_width?>" valign=top>
<a href='<?=$list[$i][href]?>'><?=$thumfile?></a>
</td></tr>
<tr><td colspan="2" height=12></td></tr>
<tr><td colspan="2" height=1 bgcolor='#ffffff'></td></tr>
<tr><td colspan="2" height=19></td></tr>
</table>
</td></tr>
<? }else{ ?>
<tr><td width="74%"><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>'><span class="Num_stitle">[<?=$list[$i][bo_subject]?>]</span></a> <a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
</td>
<td width="26%" class="Num_swrite">
<?=$list[$i][wr_name]?> <font color="#cccccc">I</font> <?=$list[$i][datetime2]?>
</td>
</tr>
<? } ?>
<? } ?>
<? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=100>자료가 없습니다.</td></tr>"; } ?>
</table>
<!-- 게시판 목록 끝 -->
댓글 전체
상기 내용만으로는 확인해 드리기 힘들것 같습니다.