<?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 memo-page'>
    <div class='page-title'>
        <h1><?php echo $g5['title'] ?></h1>
    </div>
    <div class="row">
        <div class='small-12 medium-10 large-8 medium-centered large-centered'>
            <div class="responsetable tb-even">
                <div class="tb-body">
                    <div class='tb-row'>
                        <div class='tb-cell tb-hd'>회원권한</div>
                        <div class='tb-cell'><?php echo $mb['mb_level'] ?> 레벨</div>
                    </div>
                    <div class='tb-row'>
                        <div class='tb-cell tb-hd'>포인트</div>
                        <div class='tb-cell'><?php echo number_format($mb['mb_point']) ?> Point</div>
                    </div>
                    <?php if ($mb_homepage) { ?>
                        <div class='tb-row'>
                            <div class='tb-cell tb-hd'>홈페이지</div>
                            <div class='tb-cell'><a href="<?php echo $mb_homepage ?>" target="_blank"><?php echo $mb_homepage ?></a></div>
                        </div>
                    <?php } ?>
                    <div class='tb-row'>
                        <div class='tb-cell tb-hd'>회원가입일</div>
                        <div class='tb-cell'><?php echo ($member['mb_level'] >= $mb['mb_level']) ? substr($mb['mb_datetime'], 0, 10) . " (" . number_format($mb_reg_after) . " 일)" : "알 수 없음"; ?></div>
                    </div>
                    <div class='tb-row'>
                        <div class='tb-cell tb-hd'>최종접속일</div>
                        <div class='tb-cell'><?php echo ($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음"; ?></div>
                    </div>
                </div>
            </div>

            <section class="jumbotron">
                <h2 class="sub-title">인사말</h2>
                <p class="text text-default"><?php echo $mb_profile ?></p>
            </section>
        </div>
    </div>
</div>
<?php
include G5_THEME_PATH . "/tail.php";
