/*------------------------------------------------------------------------ 게시판 상세보기에서 인클루드되는 덧글파일입니다. ------------------------------------------------------------------------*/ if(!$ps_mode){$ps_mode = "comment_write";} if($cf_board[use_comment] == "1") { if($g_check_id) { $show_comment_type = " 이름 : $g_check_name "; } else { $show_comment_type = " "; } ?> if($ps_mode == "comment_modify"){ ?>
} ?>if($g_check_rank >= $cf_board[class_comment]) { ?> } ?> |
if($cf_board[comment_num] > "0") { if ($ps_page_ == "") $ps_page_ = 1; $from_record = ($ps_page_ - 1) * $cf_board[comment_num]; $query_limit = "limit $from_record,$cf_board[comment_num]"; } $total_count = morning_counter("$morning_bcomment_table"," where buid='$ps_boid'"); // 전체 페이지 계산 $total_pagec = ceil($total_count / $cf_board[comment_num]); $query = "select * from $morning_bcomment_table where buid='$ps_boid' order by uid desc $query_limit"; $result = hd_query($query); while($co_list = hd_fetch($result)) { $num++; $co_list[comment_body] = make_br($co_list[comment_body]); if($g_check_id == $co_list[comment_id] or $g_check_rank > 6) { $show_del = ""comment_delete","ps_bcid"=>$co_list[uid]))."\" onClick=\"if(confirm('삭제하시겠습니까?')){return true;}else{return false;}\" class='bts fontsize11 black'>삭제"; $show_modify = ""comment_modify","ps_bcid"=>$co_list[uid]))."\" class='bts fontsize11 black'>수정"; } else { $show_del = ""comment_delete","ps_mode2"=>"bcomment","ps_mode3"=>"board","url"=>"m_board_ok.php","ps_bcid"=>$co_list[uid]))."\" class='bts fontsize11 black'>삭제"; $show_modify = ""comment_modify","ps_bcid"=>$co_list[uid]))."\" class='bts fontsize11 black'>수정"; } ?>-
=name_popup("namecom_$co_list[uid]","$co_list[comment_id]","10","10","$co_list[comment_name]","")?>
=$co_list[comment_name]?>
=autolink($co_list[comment_body])?>
=date("Y-m-d [H:i]",$co_list[register_date])?>
=$show_del?>
=$show_modify?>
} ?>
if(!$num){ ?>
-
등록된 내용이 없습니다.
} ?>