최근게시물 내용 글자에 수식 주기 > 그누4 질문답변

그누4 질문답변

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

최근게시물 내용 글자에 수식 주기 정보

최근게시물 내용 글자에 수식 주기

본문

최근게시물에 제목과 내용이 노출되는 형태인데요
 ㅠㅜ내용글 폰트적용도 하고 링크도 달고 싶습니다.
내용글자수 제한 소스를 썼더니 다른 수식을 못하겠어요


<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<div style="height:5px; width:550px"></div>
<table width=560px cellpadding=0 cellspacing=0>
<tr>
    <td width='560px'>&nbsp;&nbsp;<strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
</tr><tr><td height="10">
</table>

<table width=530px cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr height="13">
   
       
        <tr>
            <td height=10>&nbsp;&nbsp;

          <?
            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:11pt; color:#6A6A6A;'><strong>{$list[$i]['subject']}</strong></font>";
            echo "</a>";

            if ($list[$i]['comment_cnt'])
                echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:11pt; color:#000;'>{$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'];
?> <tr><td>
<?
echo " " , cut_str(strip_tags($list[$i]['wr_content'] ), 200, "...");
            ?>
            <a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a>
            </td></tr>
        </td>
</tr>
<? } ?>

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

</table>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로