최신글을 적용했는데latest.skin.php 에 글자 깨지는게 보입니다. > 그누4 질문답변

그누4 질문답변

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

최신글을 적용했는데latest.skin.php 에 글자 깨지는게 보입니다. 정보

최신글을 적용했는데latest.skin.php 에 글자 깨지는게 보입니다.

본문

안녕하세요~~^^

그누보드 처음 사용해서 게시판을 적용 중입니다.

최신글 스킨을 받아 메인화면에 적용을 시켰습니다.

공지사항 글은 정상적으로 나오는데. 소스상에는 추가된 문자열이 없는데

깨진 문자가 보입니다.


메인화면 공지사항 부분 html 소스 입니다.


혹시 왜그러신지 아시면 도움 부탁 드립니다...ㅠㅠ^^

-----------------------------------------------------------
<table cellspacing="0" cellpadding="0" height="173" width="340">
<tr>
<td><img src="images/notice_btn.gif" /><img src="images/notice_line.gif" width="186" height="30" /><img src="images/more_btn.gif" width="59" height="30" /></td>
</tr>
<tr>
<td align="left"><? echo latest("xe_latest_01", "yooill_farm_news", 5, 30); ?></td>
</tr>
</table>
-----------------------------------------------------------



last.skin.php의 전체 소스는 아래와 같습니다.

--------------------------------------------------------------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width='100%' cellpadding='0' cellspacing='0'>
<!--
<tr>
    <td width='14'><img src='<?=$latest_skin_path?>/img/xe_latest_left.gif'></td>
    <td width='100%' background='<?=$latest_skin_path?>/img/xe_latest_bg.gif' >&nbsp;&nbsp;<strong><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><?=$board[bo_subject]?></a></strong></td>
    <td width=37 background='<?=$latest_skin_path?>/img/xe_latest_bg.gif'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/xe_latest_right.gif' border='0'></a></td>
</tr>
-->
</table>

<table width='100%' cellpadding='0' cellspacing='0'>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
    <td colspan='4'>
        <table width='98%'>
        <tr>
            <td height='17' align="left" style='font-size:12px;color:#007727;'><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:12px; color:#f26522;'><strong>{$list[$i]['subject']}</strong></font>";
            else
                echo "<font style='font-family:돋움; font-size:12px; 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:12px; color:#777;'>{$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>
<td width='60' align='right' style='font-size:12px;color:#6A6A6A;'><?php echo $list[$i]['datetime']; ?></td></tr>
        </table></td>
</tr>
<? } ?>

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

</table>


-------------------------------------------

Fatal error: Uncaught TypeError: mysqli_fetch_assoc(): Argument #1 ($result) must be of type mysqli_result, null given in /home/kagla/new-sir/old/lib/common.lib.php:2339 Stack trace: #0 /home/kagla/new-sir/old/lib/common.lib.php(2339): mysqli_fetch_assoc() #1 /home/kagla/new-sir/old/skin/board/v16/view.skin.php(795): sql_fetch_array() #2 /home/kagla/new-sir/old/bbs/view.php(403): include_once('...') #3 /home/kagla/new-sir/old/bbs/board.php(300): include_once('...') #4 {main} thrown in /home/kagla/new-sir/old/lib/common.lib.php on line 2339