@model NP.Model.VMUser @{ Layout = "~/Views/Shared/_PopupLayout.cshtml"; }
@Html.HiddenFor(m => m.User.usertype)
@Html.TextBoxFor(m => m.User.usertypename, new { @class = "form-control disp-init ff", @style = "width: 300px;", @maxlength = "50" })
@Html.TextBoxFor(m => m.User.userid, new { @class = "form-control disp-init ff", @style = "width: 300px;", @maxlength = "50" })
@Html.PasswordFor(m => m.User.userpass, new { @class = "form-control disp-init", @style = "width: 300px;", @maxlength = "20" })
@Html.TextBoxFor(m => m.User.username, new { @class = "form-control disp-init", @style = "width: 300px;", @maxlength = "50" })
@Html.TextBoxFor(m => m.User.email, new { @class = "form-control disp-init", @style = "width: 300px;", @maxlength = "50" })
@Html.TextBoxFor(m => m.User.mobile, new { @class = "form-control disp-init mobilefmt nocomma", @data_zero = "1", @style = "width: 300px;", @maxlength = "13" })
@(Model.User.asname) @Html.HiddenFor(m => m.User.asno)
@Html.TextBoxFor(m => m.User.depart, new { @class = "form-control disp-init", @style = "width: 300px;", @maxlength = "50" })
@*@if (Model.IsOutsider != 1) {*@
@Html.Partial("./Partial/Select", Model.ComCodes.Where(w => w.cgroup == "jobposition"), new ViewDataDictionary { { "special", "reg" }, { "name", "User.ccposition" }, { "selected", Model.User.ccposition }, { "df", ":-직급선택" }, { "class", "disp-init" } }) @Html.TextBoxFor(m => m.User.ccpositionetc, new { @class = "form-control disp-init", @style = "width: 100px;" + (Model.User.ccposition == null || (Model.ComCodes.Where(w => w.ccode == Model.User.ccposition).FirstOrDefault() ?? new NP.Model.ComCode()).refcode != "9" ? "display:none;" : ""), @maxlength = "40" })
@*}*@ @if (ViewBag.isprofessor) {
@Html.Partial("./Partial/File", Model.FileList, new ViewDataDictionary { { "name", "User.fgnoprofile" },{"value", Model.User.fgnoprofile },{ "fname", "file"}, {"width", null },{"table", "users" },{ "column", "fgnoprofile"},{"filecount", 1 }, {"readmode", 0 },{"hidemode", 0 }, { "isimage", 1 },{ "imageid", "imgprofile" },{ "dftsrc", "/img/common/profile_sample.jpg" }, { "fileext", "" }, { "loginfo",Model.User.userno+"|9"} })
@Html.TextBoxFor(m => m.User.post, new { @readonly = "readonly", @style = "width: 70px; background-color: #ddd;", @class = "postno form-control disp-init" }) 주소찾기(클릭 후 상단검색)
@Html.TextBoxFor(m => m.User.address1, new { @readonly = "readonly", @style = "background-color: #ddd; width: 300px;", @class = "postadr form-control disp-init", @placeholder = "주소" }) @Html.TextBoxFor(m => m.User.address2, new { @class = "postadrsub form-control disp-init", @placeholder = "상세주소", @style = "width: 400px;" })
@Html.HiddenFor(m => m.User.userpno) @Html.TextBox("userpno1", (Model.User.userpno ?? "").Length > 5 ? Model.User.userpno.Substring(0, 6) : Model.User.userpno, new { @class = "form-control disp-init int nocomma text-center", @data_zero = "1", @style = "width: 120px;", @maxlength = "6" }) - @Html.TextBox("userpno2", (Model.User.userpno ?? "").Length > 6 ? Model.User.userpno.Substring(6) : "", new { @class = "form-control disp-init int nocomma text-center", @data_zero = "1", @style = "width: 120px;", @maxlength = "7" })
@Html.TextBoxFor(m => m.User.bankname, new { @class = "form-control disp-init", @style = "width: 200px;", @maxlength = "50", @placeholder = "은행입력" }) @Html.TextBoxFor(m => m.User.bankno, new { @class = "form-control disp-init", @style = "width: 400px;", @maxlength = "30", @placeholder = "계좌번호입력" })
@Html.TextAreaFor(m => m.User.introhtml, new { @class = "form-control", @style = "resize: none; width: 90%; height: 80px; padding: 3px 5px;" })
}
 
@Html.HiddenFor(m => m.User.userno)
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
close
@section styles{ @Html.Partial("./Partial/Summernotestyle") } @section scriptsHeader{ @Html.Partial("./Partial/ScriptPost") @Html.Partial("./Partial/FileScript") @Html.Partial("./Partial/Summernote") } @section scripts{ }