답변만 최근게시물에 제외시키고 싶은데 채택완료
초코밥
9년 전
조회 5,120

Re: 답변만 최근게시물에 제외시키고 싶은데 어떻게 해야하나요 ?ㅠㅠ
</p><p><li>
<span style="font-size:14px; color:#bab9b9; padding-right:7px;">+</span> <?php
//echo $list[$i]['icon_reply']." ";
echo "<a href=\"".$list[$i]['href']."\">";
if ($list[$i]['is_notice'])
echo "<strong>".$list[$i]['subject']."</strong>";
else
echo $list[$i]['subject'];</p><p> if ($list[$i]['comment_cnt'])
echo $list[$i]['comment_cnt'];</p><p> echo "</a>";</p><p> // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }</p><p> if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
?><span style="float:right;"><?=$list[$i][datetime]?></span>
</li></p><p>
스킨은 그누보드 기본 상태 그대로 사용하고 있어요 ~
댓글을 작성하려면 로그인이 필요합니다.
답변 2개
채택된 답변
+20 포인트
9년 전
/lib/latest.lib.php 파일에서
$sql = " select * from {$tmp_write_table} where wr_is_comment = 0 order by wr_num limit 0, {$rows} ";
여기를 이렇게 수정.
$sql = " select * from {$tmp_write_table} where wr_is_comment = 0 and wr_reply = '' order by wr_num limit 0, {$rows} ";
이거 쓰셔도 되고요.
로그인 후 평가할 수 있습니다
답변에 대한 댓글 3개
�
초코밥
9년 전
위처럼 수정했는데 안 없어져요 ~ 뭐가 잘못된걸까요..
�
작은별
9년 전
환경설정 > 캐시파일 일괄삭제
�
초코밥
9년 전
너무 좋아요!! 해결이 단번에 되다니 ㅠ.ㅠ 감사합니다!!! 작은별님 !!
댓글을 작성하려면 로그인이 필요합니다.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인