글 4개 나오기? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

글 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>&nbsp;<font color="#bbbbbb">I</font>&nbsp;<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$list[$i][bo_table]?>'><?=$list[$i][bo_subject]?></a>&nbsp;<font color="#bbbbbb">I</font>&nbsp;<?=$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>&nbsp;&nbsp;<a href='<?=$list[$i][href]?>'><?=$list[$i][subject]?></a>
</td>
<td width="26%" class="Num_swrite">
<?=$list[$i][wr_name]?>&nbsp;<font color="#cccccc">I</font>&nbsp;<?=$list[$i][datetime2]?>
</td>
</tr>
  <? } ?>
  <? } ?>
  <? if (count($list) == 0) { echo "<tr><td colspan=3 align=center height=100>자료가 없습니다.</td></tr>"; } ?>
</table>
<!-- 게시판 목록 끝 -->

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT