한줄메모장을 최신글로 뽑으니까 숫자로 표시가 되는데요
왜이런건지 잘 모르겠어요.
basic도 그렇고 다른 최신글스킨으로도 똑같이해도 같은 증상이네요;;
ㅠㅠ
제가 또 알려드려야할께 뭔지..
썻던한줄메모장스킨두 첨부했어요~
basic도 그렇고 다른 최신글스킨으로도 똑같이해도 같은 증상이네요;;
ㅠㅠ
제가 또 알려드려야할께 뭔지..
썻던한줄메모장스킨두 첨부했어요~
첨부파일
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 7개
이모티콘 사용 번호를 불러오느거니 숫자로 나오는...^^
최신글스킨에서 해당 스킨만 내용을 불러오게하시면 될듯한데요.
이모티콘:wr_subject
내용:wr_content
$list[$i]['subject'] -->$list[$i]['wr_content']
확실히 힌트는 얻었는데.. 진짜루 이모티콘순을 불러들이는데염
바다로님 말대로 설명도 저대로 맞는데 저렇게 되야되는데 왜 안될까요 ㅠ.ㅠ;;;
아주 오래 전에 작업해 놓았던 것인데 아마도 해결이 되실 겁니다. 혹 변수명이 다르거든 해당 부분만 수정해 보십시오.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 이모티콘
function emoticon_html($str, $board_skin_path)
{
$emo_id = "$str";
$img_src = "<img src='./skin/board/check_memo/emoticons/$str.gif' width=18 height=18 border=0>";
$str = eregi_replace($emo_id, $img_src, $str);
return $str;
}
?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td height='50'><a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><img src='<?=$latest_skin_path?>/img/mt_hi.gif' border=0></a></td>
</tr>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align=center>
<table width=95% border='0' cellpadding='0' cellspacing='0'>
<tr>
<td height=25 align='bottom'>
<? $emolist[$i][subject] = emoticon_html($list[$i][subject], $board_skin_path);?>
<?=$emolist[$i][subject]?>
<?
echo $list[$i][reply];
echo $list[$i][icon_reply];
?>
<? $list[$i][wr_content] = conv_content($list[$i][wr_content], 0);?>
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><? if ($list[$i][wr_1] == '') { ?><font color="#666666"><?=cut_str($list[$i][wr_content],80,'...')?><? } else { ?><font color="#<?=$list[$i][wr_1]?>"><?=cut_str($list[$i][wr_content],80,'...')?></font><? } ?></a>
<?=$list[$i][icon_new];?>
</td>
<td width="90" align=center><?=$list[$i][name]?></td>
</tr>
<tr><td bgcolor=#EBEBEB height=1 colspan='2'></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
<? $list[$i][wr_content] = conv_content($list[$i][wr_content], 0);?>
<a href='<?=$g4[bbs_path]?>/board.php?bo_table=<?=$bo_table?>'><? if ($list[$i][wr_1] == '') { ?><font color="#666666"><?=cut_str($list[$i][wr_content],80,'...')?><? } else { ?><font color="#<?=$list[$i][wr_1]?>"><?=cut_str($list[$i][wr_content],80,'...')?></font><? } ?></a>
부분에서
$list[$i][wr_content -> $list[$i][content] 로 바꿔보세요.