<?
/**
 * Bechu-Basic Skin for Gnuboard4
 *
 * Copyright (c) 2008 Choi Jae-Young <www.miwit.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

include_once("_common.php");

if ($is_admin != "super") 
    alert_close("최고관리자만 접근 가능합니다.");

$mb = get_member($mb_id);
if (!$mb)
    alert_close("존재하지 않는 회원ID 입니다.");

$mb_name = get_sideview($mb[mb_id], $mb[mb_nick], $mb[mb_homepage], $mb[mb_email]);

include_once("$g4[path]/head.sub.php");
?>

<style type="text/css">
.container { padding:10px; text-align:center; } 
.title { font-weight:bold; font-size:13px; text-align:center; margin:20px 0 20px 0; }
.content { width:400px; margin:0 0 20px 0; text-align:left; }
.text {
    border-top:1px solid #9a9a9a;
    border-left:1px solid #9a9a9a;
    border-right:1px solid #d8d8d8;
    border-bottom:1px solid #d8d8d8;
    font-size:12px;
    padding:2px;
    width:400px;
    height:100px;
}
.buttons { text-align:center; }
.btn1 { background-color:#efefef; cursor:pointer; }
</style>

<script type="text/javascript">
function form_check() {
    if (!confirm("정말 접근차단 하시겠습니까?")) return false;
    return true;
}
</script>

<form name="fwrite" method="post" action="mw.intercept.update.php" onsubmit="return form_check()">
<input type="hidden" name="mb_id" value="<?=$mb_id?>">

<div class="container">
    <div class="title"> <?=$mb_name?> 회원을 접근차단하시겠습니까? </div>

    <div class="content">
    <div> 관리자 메모 </div>
    <textarea name="mb_memo" class="text"><?=$mb[mb_memo]?></textarea>
    </div>

    <div class="buttons">
    <input type="submit" value="확     인" class="btn1">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <input type="button" value="취     소" class="btn1" onclick="self.close()">
    </div>
</div>

</form>

<?
include_once("$g4[path]/tail.sub.php");
?>
