This commit is contained in:
hyunho 2020-11-27 05:01:16 +00:00
parent 2506c8eef7
commit 9bf9eb12bb
1 changed files with 9 additions and 3 deletions

View File

@ -1,16 +1,17 @@
@model NP.Model.VMMy @model NP.Model.VMMy
@{ @{
var a = Model.Assign; var a = Model.Assign;
var u = Model.User;
} }
<form id="mform" method="post" enctype="multipart/form-data"> <form id="mform" method="post" enctype="multipart/form-data">
<ul class="mpgTab col2"> <ul class="mpgTab col2">
<li class="current"><a href="#">회원정보수정</a></li> <li class="current"><a href="#">회원정보수정</a></li>
<li><a href="#">SNS연동</a></li> <li><a href="#">SNS연동</a></li>
</ul> </ul>
<table class="clsTable">
<tbody>
<input type="hidden" name="username" id="username" value="@u.username" /> <input type="hidden" name="username" id="username" value="@u.username" />
<input type="hidden" name="birthday" id="birthday" value="@u.birthday" /> <input type="hidden" name="birthday" id="birthday" value="@u.birthday" />
<table class="clsTable">
<tbody>
<tr><th>ID</th><td><p>@u.userid</p></td></tr> <tr><th>ID</th><td><p>@u.userid</p></td></tr>
<tr><th>이름(한글)</th><td><p>@u.username</p></td></tr> <tr><th>이름(한글)</th><td><p>@u.username</p></td></tr>
<tr><th>비밀번호</th><td><input type="password" class="min230" id="userpass" name="userpass" /></td></tr> <tr><th>비밀번호</th><td><input type="password" class="min230" id="userpass" name="userpass" /></td></tr>
@ -62,7 +63,12 @@
</tr> </tr>
<tr> <tr>
<th>생년월일</th> <th>생년월일</th>
<td><p>@(u.birthday.Replace("-","."))</p></td> <td>
@if (!string.IsNullOrEmpty(u.birthday))
{
<p>u.birthday.Replace("-", ".")</p>
}
</td>
</tr> </tr>
<tr> <tr>
<th>연락처</th> <th>연락처</th>