<%@ 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">
			<form action="IdcShareBoardModifyForm.main" method="POST">
				<div class="row">
					<div class="form-group">
						<!-- 
						<label class="col-lg-1 col-md-1 col-sm-1 control-label" style="margin-top:5px;">번호 ${shareboardDB.num }</label>
						 -->
						<label class="col-lg-1 col-md-1 col-sm-1 control-label" style="margin-top:5px;">제목</label>
						<div class="col-lg-6 col-md-6 col-sm-6">
							<input type="text" class="form-control" name="title" value="${shareboardDB.title }" readonly="readonly">
						</div>
						<label class="col-lg-2 col-md-1 col-sm-1 control-label" style="margin-top:5px;" >작성자</label>
						<label class="col-lg-2 col-md-1 col-sm-1 control-label" style="margin-top:5px;">${shareboardDB.id }</label>
						<label class="col-lg-2 col-md-1 col-sm-1 control-label" style="margin-top:5px;">작성시간</label>
						<label class="col-lg-2 col-md-1 col-sm-1 control-label" style="margin-top:5px;">${shareboardDB.write_date }</label>
						<input type="hidden" name="num" value="${shareboardDB.num }">
						<input type="hidden" name="id" value="${shareboardDB.id }">
						<input type="hidden" name="write_date" value="${shareboardDB.write_date }">
					</div>
				</div>
				<!-- title row -->
				<div class="row" style="margin-top:7px;">
					<div class="col-lg-12">
						<textarea class="form-control" rows="15" name="content" readonly="readonly">${shareboardDB.content }</textarea>
					</div>
				</div>
				<!-- body row -->
				<div class="row">
					<div class="col-lg2 col-md-2 col-sm-2">
						<a href="IdcShareBoardDown.down?num=${shareboardDB.num }" class="btn btn-default btn-outlint">${shareboardDB.filename }</a>
					</div>
					<div class="col-lg-2 col-md-2 col-sm-2 col-lg-offset-8 col-md-offset-8 col-sm-offset-8">
						<div class="input-group-btn">
							<input type="submit" class="btn btn-info btn-outline" value="수정">
							<a href="IdcShareBoardListForm.main" class="btn btn-default btn-outline">목록</a>
						</div>
					</div>
				</div>
			</form>
			</div>
			<!-- panel-body -->
		</div>
		<!-- panel panel-default -->
	</div>
	<!-- col-lg-12 -->
</div>
<!-- row -->
<!-- /#page-wrapper -->
