최신글에 태그 적용하려면...어케

· 2011-04-04 (월) 04:02:09 · 1955 · 2
아래코드는 최신글 내용중 일부입니다.
아래코드에서 태그가 적용되게 하려면 어케 하는지...좀...;;
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
<tr><td>
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<td width="1" bgcolor="#d9d9d9"></td>
<td width="5"></td>
<td height="21">
<?
$wr_content = preg_replace("/<(.*?)\>/"," ",$list[$i][wr_content]);
$wr_content = preg_replace("/ /"," ",$wr_content);
$wr_content = str_replace("//##", " ", $wr_content);
$wr_content1 = cut_str(get_text($wr_content), 100000, '…');
?>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td align="left">
<div style="border: 1px solid #eee; margin: 5px; padding: 8px;"><span style="color:#555555;"><?=$wr_content1?></span>
<span style="color:#eee;">|</span>
</div>
</td>
</tr>
</table></td>
<td width="1" bgcolor="#d9d9d9"></td>
</tr>
<? } ?>
</td></tr></table>
|

댓글 2개

태그가 뭐가 어떻게 적용되는건지 설명 해주셔야 할 것 같습니다
2011-04-04 (월) 21:50:55
네 글쓰기를 할 때 태그적용하게 되면 쓴 글 보면 태그가 적용되어서 보여지게됩니다.
최신글에도 똑 같이 보여지게 하고자합니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
11-04-04 조회 1,882
11-04-04 조회 1,570
11-04-04 조회 1,665
11-04-04 조회 4,675
11-04-04 조회 1,619
11-04-04 조회 1,653
11-04-04 조회 1,956
11-04-04 조회 1,638
11-04-03 조회 2,753
11-04-03 조회 1,643
11-04-03 조회 1,936
11-04-03 조회 2,260
11-04-03 조회 1,708
11-04-03 조회 1,682
11-04-03 조회 1,620
11-04-03 조회 1,125
11-04-03 조회 2,598
11-04-03 조회 2,236
11-04-03 조회 1,702
11-04-03 조회 2,963