블

최근코멘트게시판에 이모티콘 소스가 따라나옵니다.

11.jpg
이모티콘을 집어넣으면
맨위처럼 소스코드가 나옵니다. (http://......gif)


newcomment.skin 입니다.
------------------------------------------------

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

?>
<style type="text/css">
<!--
.latest_body {
line-height: 18px;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 15px;
}
.latest_file {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #CCCCCC;
padding-top: 10px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
}

.btn_more {
padding-right: 15px;
}
.line {
border-bottom-width: 1px;
border-bottom-style: dashed;
border-bottom-color: #efefef;
padding-top: 10px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
font-family: "굴림", "돋움";
font-size: 11px;
color: #999999;
}
-->
</style>


<table width="100%" cellpadding="0" cellspacing="0" background="<?=$comment_skin_path?>/img/title_bg.gif">
<tr>
<td width="1" height="30"><img src="<?=$comment_skin_path?>/img/title_left.gif" /></td>
<td>  <strong><a href="<?=$g4[bbs_path]?>/new.php?view=c"><?=$title?></a></strong></td>
<td align="right" class="btn_more"><a href="<?=$g4[bbs_path]?>/new.php?view=c"><img src="<?=$comment_skin_path?>/img/btn_more.gif" border="0" onmouseover="this.src = '<?=$comment_skin_path?>/img/btn_more_over.gif';" onmouseout="this.src = '<?=$comment_skin_path?>/img/btn_more.gif';" /></a></td>
<td width="1"><img src="<?=$comment_skin_path?>/img/title_right.gif" /></td>
</tr>
</table>
<table width=100% cellpadding=0 cellspacing=0>
<? for ($i=0; $i<count($comment); $i++) { ?>
<tr>
<td align=center>
<table width=100% border="0" cellpadding="0" cellspacing="0">
<tr onmouseover="this.style.bgcolor='#CCCCCC'">
<td height=25 class="line"><img src='<?=$comment_skin_path?>/img/icon.gif' id="commentnew[<?=$i?>]" align=absmiddle>
<?
echo "<a href='{$comment[$i]['href']}' onmouseover='document.getElementById(\"commentnew[$i]\").src = \"{$comment_skin_path}/img/icon_over.gif\";' onmouseout='document.getElementById(\"commentnew[$i]\").src = \"{$comment_skin_path}/img/icon.gif\";'>";
echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'>{$comment[$i]['content1']}</font>";
echo "</a> {$comment[$i]['icon_new']}";

?></td>
</tr>
</table></td>
</tr>
<? } ?>

<? if (!count($comment)) { ?><tr><td align=center height=50><font color=#6A6A6A>등록된 코멘트가 없습니다.</a></td></tr><? } ?>

</table>

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

이모티콘 소스코드 나오지 않게 하려면 어떻게 해야 하나요?

첨부파일

11.jpg (15.2 KB)
0회 2010-05-22 11:28

댓글 1개

{$comment[$i]['icon_new']}"; 가 문제인 거 같습니다.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
10-05-23 조회 1,647
10-05-23 조회 1,766
10-05-23 조회 1,598
10-05-23 조회 1,615
10-05-22 조회 1,745
10-05-22 조회 1,639
10-05-22 조회 3,130
10-05-22 조회 1,741
10-05-22 조회 1,500
10-05-22 조회 1,584
10-05-22 조회 1,672
10-05-22 조회 1,676
10-05-22 조회 1,600
10-05-22 조회 2,522
10-05-22 조회 1,698
10-05-21 조회 1,637
10-05-21 조회 1,603
10-05-21 조회 1,750
10-05-21 조회 1,633
10-05-21 조회 1,730