구매고객
판매자
솔루션별 질문
한개의 댓글을 쓰면 위에 1이라고 해야하는데 왜 2가 뜨고 이 댓글을 지우면 2에서 1로 내려가요
그래서 댓글을 달면 두배로 숫자가 늘어나요
이런건 어디서 수정해줘야해요?
별도로 설정할 수 있는 곳은 없으며 스킨 파일을 직접 봐야 알 것 같은데요.
답변을 작성하려면 로그인이 필요합니다.
광고가 아닌 글을 신고하면 회원님의 신고 권한이 제한될 수 있습니다. 신중하게 신고해 주세요.
<h2> <em><?php echo number_format($view['wr_comment']) ?></em></h2>
그리고 코멘트 관련 은 이게 다던데요...^^;;
<?php
$cmt_amt = count($list);
for ($i=0; $i<$cmt_amt; $i++) {
$comment_id = $list[$i]['wr_id'];
$list[$i][reply_cnt] = strlen($list[$i][wr_comment_reply]);
if($list[$i][reply_cnt]) $list[$i][indent] = "ico_ind".$list[$i][reply_cnt];
$comment = $list[$i]['content'];
/*
if (strstr($list[$i]['wr_option'], "secret")) {
$str = $str;
}
*/
$comment = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp|mms)\:\/\/([^[:space:]]+)\.(mp3|wma|wmv|asf|asx|mpg|mpeg)\".*\<\/a\>\]/i", "<script>doc_write(obj_movie('$1://$2.$3'));</script>", $comment);
$comment_2 = str_replace('{{','<img src=/board/mobile/skin/board/basic/img/emoticon/',$comment);
$comment_3 = str_replace('}}','>',$comment_2);
$cmt_sv = $cmt_amt - $i + 1; // 댓글 헤더 z-index 재설정 ie8 이하 사이드뷰 겹침 문제 해결
?>