<? require_once ("./static_data/code.php");?>


<form name="input_form" id="input_form" method="post" action="/admin/member/member_comment_list/4">
<input type="hidden" id="page" name="page" value="<?=$page?>">
<input type="hidden" id="member_idx" name="member_idx">
<input type="hidden" id="member_id" name="member_id">


<div class="common_table" style="width:600px">
<h2 class="subtitle">회원별 전체 댓글리스트</h2>
<table style="width:600px">
<thead>
	<th>번호</th>
	<th>게시판명</th>
	<th>내용</th>
	<th>좋아요</th>
	<th>별로에요</th>
	<th>등록일</th>

</thead>
<tbody>


<?
	if(count($list)==0) {
?>
		<tr>
			<td colspan="6">등록된 내용이 없습니다.</td>
		</tr>
<?
	} else {

	    $dataNumber = ($total_count + $limit)-($page*$limit);
		foreach($list as $val) {
            $idx                = $val['idx'];
			$content_type 	    = $val['content_type'];
			$comment 	        = $val['comment'];
			$like_count 	    = $val['like_count'];
			$bad_count 	        = $val['bad_count'];
			$reg_date 	        = $val['reg_date'];

            $content_type_name = $def_arr_content[$content_type];



?>

		<tr>
			<td style="width:50px"><?=number_format($dataNumber)?></td>
			<td style="width:50px"><?=$content_type_name?></td>
			<td><?=$comment?></td>
			<td style="width:50px"><?=number_format($like_count, 0);?></td>
			<td style="width:50px"><?=number_format($bad_count, 0);?></td>
			<td style="width:100px"><?=$reg_date?></td>
		</tr>

<?
		    $dataNumber--;
		}
	}
?>



	</tbody>
	</table>
</div>


<div class="pasing_wrap">
	<?=$pagination?>
</div>

<style>
	BODY {
        scrollbar-face-color:#FFFFFF;
        scrollbar-highlight-color: #6365CE;
        scrollbar-3dlight-color: #FFFFFF;
        scrollbar-shadow-color: #6365CE;
        scrollbar-darkshadow-color: #FFFFFF;
        scrollbar-track-color: #FFFFFF;
        scrollbar-arrow-color: #6365CE;
        overflow-x:hidden
}
</style>
