This commit is contained in:
parent
ca756461e8
commit
0d5561f28c
|
|
@ -54,7 +54,7 @@ namespace NP.FO.Controllers
|
|||
{
|
||||
vm.LectInnings = Dao.Get<LectInning>("cr.cminnings", new System.Collections.Hashtable() { { "lectno", vm.croomlectno }, { "userno", SUserInfo.UserNo } });
|
||||
ViewBag.Mobile = Dao.Get<Users>("users.users", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo } }).FirstOrDefault().mobile;
|
||||
if (vm.LectInnings.Count() > 0 && vm.LectInnings.First().isrebate == 1)
|
||||
if (!string.IsNullOrEmpty(vm.LectInnings.FirstOrDefault().existslectinning) && vm.LectInnings.Count() > 0 && vm.LectInnings.First().isrebate == 1)
|
||||
{
|
||||
vm.intval = Dao.Get<LectInning>("cr.lectinnings", new System.Collections.Hashtable() { { "lectno", vm.croomlectno }, { "isfinishtoday", 1 } }).Count();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -357,6 +357,7 @@
|
|||
<Content Include="img\common\professor_07.jpg" />
|
||||
<Content Include="img\common\professor_08.jpg" />
|
||||
<Content Include="img\common\professor_09.jpg" />
|
||||
<Content Include="img\common\profile_sample.jpg" />
|
||||
<Content Include="img\common\refund_ico01.png" />
|
||||
<Content Include="img\common\refund_ico02.png" />
|
||||
<Content Include="img\common\select_arrow.png" />
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@
|
|||
@foreach (var d in Model.LectInnings)
|
||||
{
|
||||
<tr>
|
||||
<th><em style="background:url(@(d.isonline == 0 ? "/img/lecture/week_thumb02.jpg" : (string.IsNullOrEmpty(d.tasteurl)?"/img/lecture/week_thumb01.jpg":(Model.Files + d.tasteurl))))no-repeat center center"></em></th>
|
||||
<th style="display:none"><em style="background:url(@(d.isonline == 0 ? "/img/lecture/week_thumb02.jpg" : (string.IsNullOrEmpty(d.tasteurl)?"/img/lecture/week_thumb01.jpg":(Model.Files + d.tasteurl))))no-repeat center center"></em></th>
|
||||
<td>
|
||||
<h5>[@(d.iseq)회] @d.ititle</h5>
|
||||
<dl>
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
@foreach (var d in Model.LectInnings)
|
||||
{
|
||||
<tr>
|
||||
<th><em style="background:url(@(d.isonline == 0 ? "/img/lecture/week_thumb02.jpg" : (string.IsNullOrEmpty(d.tasteurl)?"/img/lecture/week_thumb01.jpg":(Model.Files + d.tasteurl))))no-repeat center center"></em></th>
|
||||
<th style="display:none"><em style="background:url(@(d.isonline == 0 ? "/img/lecture/week_thumb02.jpg" : (string.IsNullOrEmpty(d.tasteurl)?"/img/lecture/week_thumb01.jpg":(Model.Files + d.tasteurl))))no-repeat center center"></em></th>
|
||||
<td>
|
||||
<h5>[@(d.iseq)회] @d.ititle</h5>
|
||||
<dl>
|
||||
|
|
|
|||
|
|
@ -10,13 +10,13 @@
|
|||
<table class="fairTch">
|
||||
@foreach (var p in Model.CMPRs)
|
||||
{
|
||||
<tr>
|
||||
<th style="vertical-align: top;"><em style="background:url('@(string.IsNullOrEmpty(p.fileurl) ? "/img/online/fair_teacher_sample01.jpg" : (Model.Files + p.fileurl))')no-repeat center center,url('/img/online/fair_teacher_sample01.jpg')no-repeat center center"></em></th>
|
||||
<td>
|
||||
<h5>@p.username 교수님</h5>
|
||||
<p>@Html.Raw(p.introhtml ?? "")</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th style="vertical-align: top;"><em style="background:url('@(string.IsNullOrEmpty(p.fileurl) ? "/img/common/profile_sample.jpg" : (Model.Files + p.fileurl))')no-repeat center center,url('/img/common/profile_sample.jpg')no-repeat center center"></em></th>
|
||||
<td>
|
||||
<h5>@p.username 교수님</h5>
|
||||
<p>@Html.Raw(p.introhtml ?? "")</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="2"> </td></tr>
|
||||
}
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
<h2 class="mpgName" style="@((ViewBag.ismypageindex ??false)?"display:none":"")">@ViewBag.Title</h2>
|
||||
@RenderBody()
|
||||
</div>
|
||||
<p id="lctFooter">COPYRIGHT korea fair competition federation. ALL RIGHTS RESERVED. </p>
|
||||
<p id="lctFooter" style="display:none">COPYRIGHT korea fair competition federation. ALL RIGHTS RESERVED. </p>
|
||||
<div id="moBotBtn">
|
||||
<a href="javascript:history.back();" id="mbbBack"><3E>ڷ<EFBFBD></a>
|
||||
<span id="mbbTop"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></span>
|
||||
|
|
|
|||
Loading…
Reference in New Issue