최신 게시물스킨 basic

한칸에 하나의 게시물을 뿌려오는 것을...

<table>
<tr>
<td>글입니다.......1</td>
<td>글입니다.......2</td>
</tr>
<tr>
<td>글입니다............3</td>
<td>글입니다............4</td>
</tr>
</table>

이렇게 뿌려지게 부탁합니다...

|

댓글 1개

basic 스킨 사용하신다는 가정하에
아래 소스를 찾아 변경해 주세요!

---원소스 ---
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";

if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1></td></tr>
</table></td>
</tr>
<? } ?>

---- 변경소스 ----

<tr>
<td colspan=4 align=center>
<table width=95%>
<tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<td height=25><img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>  
<?
echo $list[$i]['icon_reply'] . " ";
echo "<a href='{$list[$i]['href']}'>";
if ($list[$i]['is_notice'])
echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong>{$list[$i]['subject']}</strong></font>";
else
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$list[$i]['subject']}</font>";
echo "</a>";

if ($list[$i]['comment_cnt'])
echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$list[$i]['comment_cnt']}</span></a>";

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i]['icon_new'];
echo " " . $list[$i]['icon_file'];
echo " " . $list[$i]['icon_link'];
echo " " . $list[$i]['icon_hot'];
echo " " . $list[$i]['icon_secret'];
?></td>
<? if($i%2 == "0") { ?>
</tr>
<tr><td bgcolor=#EBEBEB height=1></td></tr></tr>
<? } else { ?>
</td>
<? } ?>
<? } ?>
</table></td>
</tr>
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
16년 전 조회 973
16년 전 조회 851
16년 전 조회 1,565
16년 전 조회 996
16년 전 조회 1,049
16년 전 조회 968
16년 전 조회 802
16년 전 조회 856
16년 전 조회 1,299
16년 전 조회 931
16년 전 조회 882
16년 전 조회 864
16년 전 조회 1,229
16년 전 조회 816
16년 전 조회 779
16년 전 조회 783
16년 전 조회 761
16년 전 조회 988
16년 전 조회 1,031
16년 전 조회 1,719