@model NP.Model.VMCM
@Html.TextBoxFor(m => m.Book.bkname, new { @class = "form-control ff", @style = "width: 500px;", @maxlength = "50" })
@Html.TextBoxFor(m => m.Book.author, new { @class = "form-control disp-init", @style = "width: 200px;", @maxlength = "50" })
@Html.TextBoxFor(m => m.Book.publisher, new { @class = "form-control disp-init", @style = "width: 200px;", @maxlength = "50" })
@Html.Partial("./Partial/Date", Model.Book.pubdate == null ? (DateTime?)null : Convert.ToDateTime(Model.Book.pubdate), new ViewDataDictionary { { "name", "Book.pubdate" } })
@Html.Partial("./Partial/File", Model.FileList.Where(w => w.fgno == Model.Book.fgnothumb).ToList(), new ViewDataDictionary { { "name", "Book.fgnothumb" },{"value", Model.Book.fgnothumb },{ "fname", "fgnothumb"}, {"width", null },{"table", "book" },{ "column", "fgnothumb"},{"filecount", 1 }, {"readmode", 0 },{"hidemode", 1 }, { "isimage", 1 },{ "imageid", "fgnothumb" },{ "dftsrc", "/img/common/fair_book_sample01.jpg" }, { "fileext", "" }, { "loginfo",Model.Book.bkno+"|9"} })
w.fgno == Model.Book.fgnothumb).First().fileurl) : "/img/common/fair_book_sample01.jpg")" style="max-width: 135px; max-height: 135px; border-radius: 5px;" />
@Html.Partial("./Partial/File", Model.FileList.Where(w => w.fgno == Model.Book.fgno).ToList(), new ViewDataDictionary { { "name", "Book.fgno" },{"value", Model.Book.fgno },{ "fname", "fgno"}, {"width", null },{"table", "book" },{ "column", "fgno"},{"filecount", 10 }, {"readmode", 0 },{"hidemode", 0 }, { "isimage", 1 }, { "fileext", "" } })
@Html.TextBoxFor(m => m.Book.price, new { @class = "form-control int disp-init text-right", @style = "width: 200px;", @maxlength = "15" })
@Html.TextAreaFor(m => m.Book.introhtml, new { @class = "form-control", @style = "resize: none; width: 90%; height: 80px; padding: 3px 5px;" })
@Html.TextAreaFor(m => m.Book.contents, new { @class = "form-control", @style = "resize: none; width: 90%; height: 80px; padding: 3px 5px;" })
@Html.Partial("./Partial/Radio", null, new ViewDataDictionary() { { "valuetext", "1:사용;0:사용안함" }, { "checked", Model.Book.isuse }, { "name", "Book.isuse" } })
@Html.HiddenFor(m => m.intval) @Html.HiddenFor(m => m.Book.bkno)
 
저장 @if (Model.Book.bkno > 0) { 삭제 } 목록
@Html.Partial("./Partial/DForm", Model, new ViewDataDictionary { { "preform", 1 } })
@section styles{ @Html.Partial("./Partial/Summernotestyle") } @section scriptsHeader{ @Html.Partial("./Partial/ScriptDate") @Html.Partial("./Partial/FileScript") @Html.Partial("./Partial/Summernote") } @section scripts{ }