최근글 내용이 안잘리네요,,

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

<?
for ($i=0; $i<count($list); $i++)
{
$title = get_text($list[$i][wr_subject]);
$wr_content = cut_str(get_text($list[$i][wr_content]), 20, "…");

// 태그 웹표준으로 변경
$content = str_replace("<P>", "", $content);
$content = str_replace("</P>", "", $content);
$content = str_replace("<BR>", "", $content);



$upday = cut_str($list[$i][wr_datetime], 10, "");
$tmp = explode("-", $upday);
$upday = $tmp[0]."년 ".$tmp[1]."월 ".$tmp[2]."일";

echo "

<div style='float:left;'> <li STYLE='COLOR:282828;'>
<a href='{$list[$i]['href']}' class='ENT_latest'>{$list[$i][subject]} {$list[$i]['comment_cnt']}</A></div>
<div style='clear:both; margin:5px;'><TABLE CELLPADDING='0' CELLSPACING='0' WIDTH='98%'><TR HEIGHT='1'><TD WIDTH='98%' BACKGROUND='$latest_skin_path/img/dotline.gif'></TD></TR></TABLE>
{$list[$i][wr_content]}</div>";
}
?>

<? if (count($list) == 0) { ?>
<div>게시물이 없습니다.</div>
<? } ?>




정말 할수 있는거 다해보았네요..ㅡㅡ 왜 안잘릴까요..?
|

댓글 3개

<TD WIDTH='98%' BACKGROUND='$latest_skin_path/img/dotline.gif'></TD></TR></TABLE>
{$list[$i][wr_content]}</div>";

{$list[$i][wr_content]} ==>{$wr_content}
감사합니다. ^ ㅡ^;; 해결되었습니다.
별말씀을 차려진 밥상에 숫가락 얹어 놓은 기분^ ^
코딩하다보면 저도 저런일 있습니다.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고