90 lines
3.8 KiB
Plaintext
90 lines
3.8 KiB
Plaintext
@model NP.Model.VMCM
|
|
@{
|
|
ViewBag.Title = "exelboard";
|
|
}
|
|
|
|
|
|
|
|
<form id="mform" method="post">
|
|
<section class="panel panel-default clearfix devsearch" data-cleartbody="tbody1">
|
|
@Html.Partial("./Partial/SearchCaption")
|
|
<div class="step-content">
|
|
<div class="step-pane active form-inline">
|
|
<div class="form-group">
|
|
|
|
다운로드 기간 @Html.Partial("./Partial/Date", string.IsNullOrEmpty(Model.stringval5) ? (DateTime?)null : Convert.ToDateTime(Model.stringval5), new ViewDataDictionary { { "name", "stringval5" } }) ~ @Html.Partial("./Partial/Date", string.IsNullOrEmpty(Model.stringval6) ? (DateTime?)null : Convert.ToDateTime(Model.stringval6), new ViewDataDictionary { { "name", "stringval6" } })
|
|
@Html.Partial("./Partial/Text", Model.stringval4, Helpers.DicText(new NP.Model.TextDic() { Name = "stringval4", Value = Model.stringval4, PH = "회원아이디를 입력하세요.", CssClass = "ff" }))
|
|
@Html.Partial("./Partial/Button", new NP.Model.Button() { Special = "search" })
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<div class="tar buttonbox">
|
|
@Html.Partial("./Partial/pagerow", new ViewDataDictionary { { "tbodyid", "tbody1" }, { "searchmethod", "submit()" }, { "pagesize", Model.pagerowcount } })
|
|
</div>
|
|
<section class="panel panel-default">
|
|
<div class="table-responsive" id="excel1">
|
|
<table class="table table-striped b-t b-light">
|
|
<thead>
|
|
<tr>
|
|
<th>No</th>
|
|
<th>회원번호</th>
|
|
<th>회원아이디</th>
|
|
<th>회원성함</th>
|
|
<th>다운로드 시간</th>
|
|
<th>위치</th>
|
|
<th>IP</th>
|
|
<th>사유</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody class="data" id="tbody1">
|
|
@foreach (var el in Model.excelloglook)
|
|
{
|
|
<tr>
|
|
<td width="5%">@el.edno</td>
|
|
<td width="6%">@el.userno</td>
|
|
<td>@el.userid</td>
|
|
<td>@el.username</td>
|
|
<td>@el.actiontime</td>
|
|
<td>@el.position</td>
|
|
<td>@el.userip</td>
|
|
<td style="text-align:left;" width="45%"><a href="#" onclick="reg(@(el.edno))">@el.comment</a></td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
@Html.Pager((int)Model.pagenum, 10, Model.pagerowcount, Model.pagetotalcount)
|
|
</section>
|
|
</form>
|
|
<form id="dform" method="post" action="/cc/exelboard">
|
|
@Html.Partial("./Partial/dform", Model, new ViewDataDictionary { { "preform", 1 } })
|
|
</form>
|
|
|
|
@section scriptsHeader{
|
|
@Html.Partial("./Partial/ScriptDate")
|
|
}
|
|
@section scripts{
|
|
<script>
|
|
|
|
$(document).ready(function () {
|
|
$("#stringval").on("change", function () {
|
|
$("#stringval2 option:gt(0)").remove();
|
|
var y = $(this).val();
|
|
if (y != "") {
|
|
$.each(terms.split(';'), function (i, t) {
|
|
if (t.split(':')[1] == y) {
|
|
$("#stringval2").append("<option value=\"" + t.split(':')[0] + "\">" + t.split(':')[2] + " 기</optoin>");
|
|
}
|
|
});
|
|
}
|
|
});
|
|
});
|
|
function reg(no) {
|
|
setv("dform_intval", no);
|
|
bglayer();
|
|
$("#dform").submit();
|
|
}
|
|
</script>
|
|
}
|