2022-09-17 20:50:50 +09:00
|
|
|
<?php
|
2024-09-23 11:45:33 +09:00
|
|
|
if (!defined('_GNUBOARD_'))
|
|
|
|
|
exit; // 개별 페이지 접근 불가
|
2022-09-17 20:50:50 +09:00
|
|
|
$delete_str = "";
|
2024-09-23 11:45:33 +09:00
|
|
|
if ($w == 'x')
|
|
|
|
|
$delete_str = "댓";
|
|
|
|
|
if ($w == 'u')
|
|
|
|
|
$g5['title'] = $delete_str . "글 수정";
|
|
|
|
|
else if ($w == 'd' || $w == 'x')
|
|
|
|
|
$g5['title'] = $delete_str . "글 삭제";
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
2024-09-23 11:45:33 +09:00
|
|
|
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
2022-09-17 20:50:50 +09:00
|
|
|
?>
|
|
|
|
|
<!-- 비밀번호 확인 시작 { -->
|
2024-10-05 07:34:26 +09:00
|
|
|
<div id="password_box">
|
|
|
|
|
<h1 class="ui-btn point">비밀번호 확인</h1>
|
|
|
|
|
<div class="descript theme-box">
|
2024-09-23 11:45:33 +09:00
|
|
|
<p>
|
|
|
|
|
<?php if ($w == 'u') { ?>
|
2024-10-05 07:34:26 +09:00
|
|
|
<strong>작성자만 글을 수정할 수 있습니다.</strong>
|
2024-09-23 11:45:33 +09:00
|
|
|
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 수정할 수 있습니다.
|
|
|
|
|
<?php } else if ($w == 'd' || $w == 'x') { ?>
|
2024-10-05 07:34:26 +09:00
|
|
|
<strong>작성자만 글을 삭제할 수 있습니다.</strong>
|
2024-09-27 17:34:22 +09:00
|
|
|
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 삭제할 수 있습니다.
|
2024-10-05 07:34:26 +09:00
|
|
|
<?php } else if ($w == 'bs') {
|
|
|
|
|
|
|
|
|
|
} else if ($w == 'p') { ?>
|
|
|
|
|
<strong>보호글입니다.</strong>
|
|
|
|
|
열람을 위해 비밀번호를 입력 해 주세요.
|
2024-09-23 11:45:33 +09:00
|
|
|
<?php } else { ?>
|
2024-10-05 07:34:26 +09:00
|
|
|
<strong>비밀글 기능으로 보호된 글입니다.</strong>
|
2024-09-27 17:34:22 +09:00
|
|
|
작성자와 관리자만 열람하실 수 있습니다. 본인이라면 비밀번호를 입력하세요.
|
2024-09-23 11:45:33 +09:00
|
|
|
<?php } ?>
|
|
|
|
|
</p>
|
|
|
|
|
<div class="pass-form">
|
|
|
|
|
<form name="fboardpassword" action="<?php echo $action; ?>" method="post">
|
|
|
|
|
<input type="hidden" name="w" value="<?php echo $w ?>">
|
|
|
|
|
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
|
|
|
|
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
|
|
|
|
<input type="hidden" name="comment_id" value="<?php echo $comment_id ?>">
|
|
|
|
|
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
|
|
|
|
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
|
|
|
|
<input type="hidden" name="page" value="<?php echo $page ?>">
|
|
|
|
|
<fieldset class="box-pw">
|
2024-10-05 07:34:26 +09:00
|
|
|
<?php if ($w == 'p') { ?>
|
|
|
|
|
<input type="text" name="wr_password" id="password_wr_password" required class="frm_input required" size="15"
|
|
|
|
|
maxlength="20">
|
|
|
|
|
<?php } else { ?>
|
|
|
|
|
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required"
|
|
|
|
|
size="15" maxlength="20">
|
|
|
|
|
<?php } ?>
|
2024-09-23 11:45:33 +09:00
|
|
|
</fieldset>
|
|
|
|
|
<fieldset class="box-btn">
|
2024-10-05 07:34:26 +09:00
|
|
|
<input type="submit" value="확인" class="btn_submit ui-btn">
|
2024-09-23 11:45:33 +09:00
|
|
|
</fieldset>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btn_confirm">
|
|
|
|
|
<a href="<?php echo $return_url ?>" class="ui-btn">이전으로 돌아가기</a>
|
|
|
|
|
</div>
|
2022-09-17 20:50:50 +09:00
|
|
|
</div>
|
2024-09-23 11:45:33 +09:00
|
|
|
<!-- } 비밀번호 확인 끝 -->
|