최신 게시물스킨 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>&#160;&#160;
<?
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>&#160;&#160;
<?
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년 전 조회 948
16년 전 조회 820
16년 전 조회 1,525
16년 전 조회 969
16년 전 조회 1,021
16년 전 조회 938
16년 전 조회 776
16년 전 조회 827
16년 전 조회 1,258
16년 전 조회 897
16년 전 조회 850
16년 전 조회 820
16년 전 조회 1,194
16년 전 조회 774
16년 전 조회 749
16년 전 조회 746
16년 전 조회 727
16년 전 조회 956
16년 전 조회 1,001
16년 전 조회 1,683
🐛 버그신고