학원강사소개에 적합한 최신글-게시판입니다 > 그누4 스킨

그누4 스킨

스킨의 저작권은 해당 스킨 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다.
스킨 다운로드시 좋아요와 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y
그누보드와 관련이 있지만 스킨과 빌더가 아니면 플러그인 게시판에 올려주세요.

학원강사소개에 적합한 최신글-게시판입니다 정보

갤러리 학원강사소개에 적합한 최신글-게시판입니다

첨부파일

sky.zip (318.6K) 591회 다운로드 2011-12-28 15:05:49

본문

학원강사소개에 적합한 최신글스킨과 게시판스킨입니다
추천
7
  • 복사

댓글 전체

아래는 첨부된 최신글 스킨인데요..
메인에 노출 하는데 예를 들어 출력수는 6개이고 한줄에 3개씩 두줄 출력하려면 어케 수정해야하나요?;;
부탁좀 드려용
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

?>

<table width=100% cellpadding=0 cellspacing=0>
<tr>

<?
for ($i=0; $i<count($list); $i++) {
$list[$i]['content']=eregi_replace("&nbsp;"," ",$list[$i]['content']);

 
if($list[$i][file][0][file]) {
$file = "<img src='".$list[$i][file][0][path] .'/'. $list[$i][file][0][file]."' align=absmiddle width=\"100\" height=\"100\">";
} else {
$file="";
}
?>
<td align=left>
<table width="230px">
<tr>

<td width="105" height="105" rowspan="4" align="center" style="border:2px solid #DDDDDD"><a href="<?=$list[$i]['href']?>"><?=$file?></a></td>
<td width="122" style="border:2px solid #DDDDDD">
  <a href="<?=$list[$i]['href']?>">&nbsp;[<?=$list[$i]['ca_name']?>]<?=$list[$i][wr_1]?></b></a></td>
</tr>
<tr>
  <td ><a href="<?=$list[$i]['href']?>"><span style="color:#666666;">
    &nbsp;<?=$list[$i][wr_2]?>
  </span></a></td>
  </tr>
  <tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<tr>
  <td >&nbsp;<?=$list[$i][wr_3]?></td>
  </tr>
  <tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<tr>
  <td colspan=2>&nbsp;<?=$list[$i][wr_4]?></td>
  </tr>
  <tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>

</table>
</td>
<?if($i!=count($list)-1) { ?>

<? } ?>
<? } ?>
</tr>

<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>

</table>
© SIRSOFT
현재 페이지 제일 처음으로