<?php
if (!defined('_GNUBOARD_')) {
    exit;
} // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . G5_THEME_CSS_URL . '/skin/asktheme.member.css">', 0);
include G5_THEME_PATH . "/head.php";
?>

<!-- 스크랩 시작 { -->
<div class='page-wrap scrap-page'>
    <div class='page-title'>
        <h1><?php echo $g5['title'] ?></h1>
    </div>

    <form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
        <input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
        <input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
        <div class='scrap-form'>

            <div class='row'>
                <div class='small-12 medium-12 large-2 columns'><label>제목</label></div>
                <div class='small-12 medium-12 large-10 columns'><?php echo get_text(cut_str($write['wr_subject'], 255)) ?></div>
            </div>
            <div class='row'>
                <div class='small-12 medium-12 large-2 columns'><label for="wr_content" class="middle">댓글</label></div>
                <div class='small-12 medium-12 large-10 columns'>
                    <textarea name="wr_content" class='textarea' id="wr_content"></textarea>
                    <span class="help-text">
                        스크랩을 하시면서 감사 혹은 격려의 댓글을 남기실 수 있습니다.
                    </span>
                </div>
            </div>
            <div class="button-group">
                <input type="submit" value="스크랩 확인" class="button primary">
            </div>
        </div>
    </form>
</div>
<?php
include G5_THEME_PATH . "/tail.php";
