예제 #1
0
                        apms_alert('1|비밀글은 본인과 관리자만 볼 수 있습니다.');
                    }
                }
            }
        }
    }
    // 보드설정
    $boset = array();
    $boset = apms_boset();
}
// 신고
$is_shingo = $board['as_shingo'] > 0 ? true : false;
include_once G5_CAPTCHA_PATH . '/captcha.lib.php';
$captcha_html = "";
if ($is_guest && $board['bo_comment_level'] < 2) {
    $captcha_html = captcha_html('_comment');
}
if ($is_view_comment) {
    @(include_once $board_skin_path . '/view_comment.head.skin.php');
}
// 코멘트를 새창으로 여는 경우 세션값이 없으므로 생성한다.
if ($is_admin && !$token) {
    set_session("ss_delete_token", $token = uniqid(time()));
}
$list = array();
$is_comment_write = false;
if ($member['mb_level'] >= $board['bo_comment_level']) {
    $is_comment_write = true;
}
// 코멘트 출력
$sql_commnet = '';
예제 #2
0
        }
    } else {
        $content = get_text($write['wr_content'], 0);
    }
}
$upload_max_filesize = number_format($board['bo_upload_size']) . ' 바이트';
$width = $board['bo_table_width'];
if ($width <= 100) {
    $width .= '%';
} else {
    $width .= 'px';
}
$captcha_html = '';
$captcha_js = '';
if ($is_guest) {
    $captcha_html = captcha_html();
    $captcha_js = chk_captcha_js();
}
$is_dhtml_editor = false;
$is_dhtml_editor_use = false;
$editor_content_js = '';
if (!is_mobile() || defined('G5_IS_MOBILE_DHTML_USE') && G5_IS_MOBILE_DHTML_USE) {
    $is_dhtml_editor_use = true;
}
// 모바일에서는 G5_IS_MOBILE_DHTML_USE 설정에 따라 DHTML 에디터 적용
if ($config['cf_editor'] && $is_dhtml_editor_use && $board['bo_use_dhtml_editor'] && $member['mb_level'] >= $board['bo_html_level']) {
    $is_dhtml_editor = true;
    if (is_file(G5_EDITOR_PATH . '/' . $config['cf_editor'] . '/autosave.editor.js')) {
        $editor_content_js = '<script src="' . G5_EDITOR_URL . '/' . $config['cf_editor'] . '/autosave.editor.js"></script>' . PHP_EOL;
    }
}
예제 #3
0
" id="me_recv_mb_id" required class="frm_input required" size="47">
                <span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
            </td>
        </tr>
        <tr>
            <th scope="row"><label for="me_memo">내용</label></th>
            <td><textarea name="me_memo" id="me_memo" required class="required"><?php 
echo $content;
?>
</textarea></td>
        </tr>
        <tr>
            <th scope="row">자동등록방지</th>
            <td>
                <?php 
echo captcha_html();
?>
            </td>
        </tr>
        </tbody>
        </table>
    </div>

    <div class="win_btn">
        <input type="submit" value="보내기" id="btn_submit" class="btn_submit">
        <button type="button" onclick="window.close();">창닫기</button>
    </div>
    </form>
</div>

<script>