최신글에서요 dot 밑줄을 3줄 간격으로 넣구 싶은데요 > 그누4 질문답변

그누4 질문답변

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

최신글에서요 dot 밑줄을 3줄 간격으로 넣구 싶은데요 정보

최신글에서요 dot 밑줄을 3줄 간격으로 넣구 싶은데요

본문

안녕하세요 신입 디자이너 입니다

최신글 목록에서요 1줄에 하나씩 dot.gif로 나오는 경게선을

3줄에 하나씩 나오게 하고 싶은데요

어떻게 해야하는지 좀 알려주세요

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>

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

<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td align=center>
        <table width=99% cellpadding=0 cellspacing=0 border=0>
<colgroup>
<colgroup width='70'>
        <tr>
            <td height=24 style='padding-top:3px;padding-left:5px;'> <img src='<?=$latest_skin_path?>/img/latest_icon.gif' align=absmiddle>&nbsp;
<?
    $style = "font-family:돋움; font-size:9pt; color:#252525;";
    if ($list[$i][icon_new])
    $style = " style='font-family:돋움; font-size:9pt; color:#252525;' ";
$subject = "<span $style>".cut_str($list[$i][subject],85)."</span>"; //제목 글자수 자르기

echo $list[$i][icon_reply] . " ";
        echo "<a href='{$list[$i][href]}' title='{$list[$i][subject]}'><font style='font-family:돋움; font-size:9pt; color:#252525;'>{$subject}</font></a>";

if ($list[$i][comment_cnt])
            //echo " <span class=mw_basic_list_comment_count>{$list[$i][comment_cnt]}</span>";
            //echo " <a href=\"{$list[$i][comment_href]}\" class=mw_basic_list_comment_count>{$list[$i][comment_cnt]}</a>";
            echo " <a href=\"{$list[$i][comment_href]}\" class=mw_basic_list_comment_count><font style='font-family:돋움; font-size:9pt; background-color:#e8e8e8; color:#202e96; '>(+{$list[$i][wr_comment]})</font></a>";

echo " " . $list[$i][icon_new];
if ($list[$i][icon_file])
echo "<img src='{$latest_skin_path}/img/icon_file.png' />";

if ($list[$i][icon_link])
echo "<img src='{$latest_skin_path}/img/icon_link.png' />";

if ($list[$i][icon_hot])
echo "<img src='{$latest_skin_path}/img/icon_hot.png' />";
        ?>
</td>
<td align='right' style='padding-top:3px;padding-right:3px;'><span style='font-size:9pt; color:#313131;'><?=$list[$i][datetime2]?></span></td></tr>
        <tr><td height=1 colspan=2 background='<?=$latest_skin_path?>/img/dot.gif'></td></tr>
        </table></td>
</tr>
<? } ?>

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

</table>
  • 복사

댓글 전체

<td align='right' style='padding-top:3px;padding-right:3px;'><span style='font-size:9pt; color:#313131;'><?=$list[$i][datetime2]?></span></td></tr>
<?if($i % 3 == 0){?>
        <tr><td height=1 colspan=2 background='<?=$latest_skin_path?>/img/dot.gif'></td></tr>
        </table></td>
<?}?>
</tr>

이렇게 수정해보세요
© SIRSOFT
현재 페이지 제일 처음으로