GNU4 글내용보기에서 코멘트 열기-닫기
페이지 정보
작성자 IN-BEST 댓글 0건 조회 12,160회 작성일 12-11-13 23:49본문
$cotime = date("Y-m-d H:i:s", time()-3600*$board['bo_new']);
$sql = " select * from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 and wr_datetime >= '$cotime' ";
$result = sql_query($sql);
$total_cnts = mysql_num_rows($result);
$sql2 = " select * from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 ";
$result2 = sql_query($sql2);
$total_cnts2 = mysql_num_rows($result2);
?>
| ☞ 코멘트 열기(=$total_cnts?>/=$total_cnts2?>개) |
댓글목록
등록된 댓글이 없습니다.







