<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>

<!-- 여기가 본 페이지이다 -->
<div class="row">
	<div class="col-lg-8">
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4><i class="fa fa-desktop fa-fw"></i> 게시판 글 열람</h4>
			</div>
			<div class="panel-body">
				<div class="input-group-btn">
					<a class="btn btn-default btn-outline" href="boardSearch.bor?searchOption=name&searchWord=${member.name }">목록으로</a>
				</div>
				<!-- row -->
	   			<div class="table-responsive">
					<table class="table table-bordered table-hover table-striped" style="margin:0px;">
						<thead>
						</thead>
						<tbody>
							<tr>
								<td>글 제목</td>
								<td colspan="3">
									<input type="text" name="subject" maxlength="50" size="50" value="${boardRead.subject}" disabled="disabled">
								</td>
							</tr>
							<tr>
								<td>작성자</td>
								<td>
									<input type="text" name="name" maxlength="20" size="20" value="${boardRead.name}" disabled="disabled">
								</td>
								<td>조회수:${boardRead.readCnt},</td>
								<td>답글수:${boardRead.childCnt}</td>			
							</tr>
							<tr>
								<td>본문</td>
								<td colspan="3"><textarea name="content" rows="30" class="form-control" disabled="disabled">${boardRead.content}</textarea></td>
							</tr>
						</tbody>
						<tfoot>
						</tfoot>
					</table>
				</div>
				<!-- table-responsive -->
				
				<div class="btn-group pull-right">
				<a class="btn btn-default btn-outline" href="boardSearch.bor?searchOption=name&searchWord=${member.name }">목록</a>
					<a class="btn btn-primary btn-outline" href="boardUpdateCheck.bor?num=${boardRead.num}&password=1234">수정</a>
					<a class="btn btn-danger btn-outline" href="boardDeletePassword.bor?num=${boardRead.num}&password=1234">삭제</a>
					<a class="btn btn-info btn-outline" href="boardReplyForm.bor?num=${boardRead.num}">답글</a>
				</div>
			</div>
			<!-- panel-body -->
		</div>
		<!-- panel panel-default -->
	</div>
	<!-- col-lg-12 -->
</div>
<!-- row -->
<!-- /#page-wrapper -->
