<?
//관리자만 글쓰기 기능 체크
if($arrBoardInfo["list"][0]["useadminonly"] !="Y" || $_SESSION[$_SITE["DOMAIN"]]["ADMIN"]["ID"]):
?>
<!--// 비밀번호 입력 -->
<div class="board-password">
	<form name="form1" method="post" action="/module/board/board_evn.php">
	<?if($_REQUEST[mode]=="delete")://글 삭제하려고 할경우?>
	<input type="hidden" name="evnMode" value="delete">
	<input type="hidden" name="returnURL" value="<?=$_SERVER[PHP_SELF]?>?mNum=<?=$mNum?>&sNum=<?=$sNum?>&boardid=<?=$arrBoardInfo["list"][0]["boardid"]?>&mode=list&category=<?=$_GET[category]?>">

	<?elseif($_REQUEST[mode]=="unlock")://글 잠금해제 하려고 할경우?>
	<input type="hidden" name="evnMode" value="unlock">
	<input type="hidden" name="returnURL" value="<?=$_SERVER[PHP_SELF]?>?mNum=<?=$mNum?>&sNum=<?=$sNum?>&boardid=<?=$arrBoardInfo["list"][0]["boardid"]?>&mode=view&idx=<?=$_REQUEST["idx"]?>&category=<?=$_GET[category]?>">

	<?endif;?>

	<input type="hidden" name="boardid" value="<?=$arrBoardInfo["list"][0]["boardid"]?>">
	<input type="hidden" name="idx" value="<?=$_REQUEST["idx"]?>">
		<dl>
			<dt>최초 글 등록시에 입력하셨던 비밀번호를 입력하세요.</dt>
			<dd>
				<label for="pass">비밀번호</label>
				<input type="password" name="pass" id="pass" class="input" style="width:160px;">
				<input type="submit" value="확인" class="btn-pack medium">
			</dd>
		</dl>
	</form>
</div>
<!-- 비밀번호 입력// -->
<?
else:
jsMsg("관리자만 글을 쓸 수 있는 게시판 입니다.");
jsHistory("-1");
endif;
?>