YNICTE/FO/Views/Course/Exam.cshtml

59 lines
1.9 KiB
Plaintext

@model NP.Model.VMCourse
<div class="fairInfo thumbNo">
<h5>@Model.Exam.exname</h5>
<table>
<tr>
<td>
<ul>
<li>원서접수 : @Model.Exam.rstime.ToString("yy-MM-dd") ~ @Model.Exam.retime.ToString("yy-MM-dd")</li>
<li>시험일시 : <span>@Model.Exam.estime.ToString("yy-MM-dd HH:mm")</span></li>
<li>시험장소 : @Model.Exam.elocation</li>
</ul>
</td>
</tr>
</table>
<div class="fairCost">
<p>응시료 : <b>@Model.Exam.fee.ToString("#,0")</b><span>원</span></p>
</div>
@if (Model.FileList.Count() > 0)
{
<div class="lcnFile">
<span>첨부파일 </span>
<ul style="margin-left: 20px;font-size:12pt;">
@if (ViewBag.SSUserNo > 0)
{
foreach (var f in Model.FileList)
{
<li><a href="/focommon/downfile?fno=@f.fileno">@f.orgname</a></li>
<br />
}
}
else
{
foreach (var f in Model.FileList)
{
<li><a href="#" onclick="msg('로그인 후 다운로드할 수 있습니다.'); setTimeout(function () { location.href = '/Account/Index?ru='+location.href; }, 1000);">@f.orgname</a></li>
<br />
}
}
</ul>
</div>
}
</div><!-- fairInfo -->
<h4 class="clsTitle">공고내용</h4>
<div id="examfairintro" style="background:#fafafa; border:solid 1px #ddd; padding: 30px 40px;">@Html.Raw(Model.Exam.introhtml ?? "")</div>
@section styles{
<style type="text/css">
</style>
}
@section scriptsHeader{
}
@section scripts{
<script>
$(document).ready(function () {
});
</script>
}