<?php if (!defined('_GNUBOARD_')) exit;
add_stylesheet('<link rel="stylesheet" href="../../../plugins/font-awesome/css/font-awesome.min.css" type="text/css" media="screen">',0);
add_stylesheet('<link rel="stylesheet" href="../../../css/style.css" type="text/css" media="screen">',0);
add_stylesheet('<link rel="stylesheet" href="../../../css/custom.css" type="text/css" media="screen">',0);
?>

<div class="member-profile">
	<div class="headline"><h4><i class="fa fa-info-circle"></i> {=eb_nameview('basic', mb.mb_id, mb.mb_nick, mb.mb_email, mb.mb_homepage)}님의 프로필</h4></div>
    <div class="tab-e1">
        <ul class="nav nav-tabs">
            <li class="active"><a>프로필</a></li>
        </ul>
        <div class="tab-content">
			<div class="margin-bottom-10"></div>
            <section class="left width-30">
                {_mb_photo}
            </section>
            <section class="right width-70">
				<div class="table-list-eb">
			        <table class="eb-table eb-table-hover eb-table-bordered">
				        <tbody>
					        <tr>
					            <th>회원권한</th>
					            <td>{mb.mb_level}</td>
					        </tr>
					        <tr>
					            <th>포인트</th>
					            <td>{=number_format(mb.mb_point)}</td>
					        </tr>
							<!--{? _mb_homepage}-->
					        <tr>
					            <th>홈페이지</th>
					            <td><a href="{_mb_homepage}" target="_blank">{_mb_homepage}</a></td>
					        </tr>
							<!--{/}-->
					        <tr>
					            <th>회원가입일</th>
					            <td>
								  <!--{? member.mb_level >= mb.mb_level}-->
								  {=substr(mb.mb_datetime,0,10)} ({=number_format(_mb_reg_after)}일)
								  <!--{:}-->
								  알 수 없음
								  <!--{/}-->
								</td>
					        </tr>
					        <tr>
					            <th>최종접속일</th>
					            <td>
								  <!--{? member.mb_level >= mb.mb_level}-->
								  {mb.mb_today_login}
								  <!--{:}-->
								  알 수 없음
								  <!--{/}-->
								</td>
					        </tr>
				        </tbody>
			        </table>
				</div>
            </section>
            <div class="clear"></div>
            <div class="margin-hr-10"></div>
            <section>
		        <h4 class="margin-bottom-10">인사말</h4>
		        <div class="member-profile-box">
		        	<p>{_mb_profile}</p>
		        </div>
            </section>
			<div class="margin-hr-10"></div>
		    <div class="t-center">
		        <button type="button" onclick="window.close();" class="eb-button eb-button-dark">창닫기</button>
		    </div>
        </div>
    </div>
</div>

<style>
.margin-hr-10 {height:1px;border-top:1px dotted #ddd;margin:10px 0}
.member-profile {padding:15px}
.member-profile .tab-e1 .tab-content img {width:80px;margin-right:10px}
.member-profile .member-profile-box {border:1px solid #e5e5e5;margin-bottom:10px;padding:10px}
</style>
<!--{# tail_sub}-->