This commit is contained in:
parent
91cec89731
commit
b0f9576bac
|
|
@ -154,6 +154,7 @@ namespace NP.FO.Controllers
|
|||
}
|
||||
public ActionResult Lecture(VMMy vm)
|
||||
{
|
||||
ViewBag.reporturl = GetConfig("reporturl");
|
||||
vm.Lects = Dao.Get<Lect>("lect.mylectures", new System.Collections.Hashtable() { { "userno", SUserInfo.UserNo }, { "cgcode", vm.intval > 0 ? TestCode3 : null }, { "cshape", vm.stringval } });
|
||||
return View(vm);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -91,7 +91,8 @@
|
|||
{
|
||||
if (d.iscomplete == 1)
|
||||
{
|
||||
<dl><dd class="blu"><a href="#" onclick="pc(@d.lectno,@d.userno)">수료</a></dd></dl>
|
||||
@*<dl><dd class="blu"><a href="#" onclick="pc(@d.lectno,@d.userno)">수료</a></dd></dl>*@
|
||||
<dl><dd class="blu"><a href="#" onclick="javascript: certification(@(d.lectno));">수료</a></dd></dl>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -124,7 +125,7 @@
|
|||
if (u.iscomplete == 1)
|
||||
{
|
||||
@*<dd class="blu"><a href="#" onclick="pc(@(u.userno == ViewBag.SSUserNo? u.lectno : 0))">수료</a></dd>*@
|
||||
<dd class="blu"><a href="#" onclick="pc(@(u.lectno),@(u.userno))">수료</a></dd>
|
||||
<dd class="blu"><a href="#" onclick="javascript: certification(@(d.lectno))">수료</a></dd>
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -268,5 +269,14 @@
|
|||
return;
|
||||
}
|
||||
}
|
||||
function certification(lectno) {
|
||||
if (lectno < 1) {
|
||||
msg('본인의 수료증만 확인할 수 있습니다.');
|
||||
}
|
||||
var pop = window.open('@ViewBag.reporturl/certification.aspx?lectno='+lectno, "certprint", "width=" + (screen.availWidth) + ", height=" + (screen.availHeight) + ", scrollbars=yes, resizable=yes, status=no, location=no, left=0, top=0");
|
||||
if (pop == null) {
|
||||
msg("팝업이 차단되어 있습니다. 차단을 해제해 주세요.");
|
||||
}
|
||||
}
|
||||
</script>
|
||||
}
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
<add key="reporturl" value="http://ynicter.nptc.kr" />
|
||||
<!--<add key="masteremail" value="edu@ynicte.or.kr;mail.ynicte.or.kr;25;ynicte@ynicte.or.kr;k7758870!%" />-->
|
||||
<add key="masteremail" value="yicte@cte.or.kr;smtp.daum.net;465;yicte2020;yicte04003" />
|
||||
<add key="usessl" value="N" />
|
||||
<add key="usessl" value="Y" />
|
||||
<add key="ssonoauth" value="Y" />
|
||||
<add key="daokey" value="ynictelms2020" />
|
||||
<!--<add key="configpath" value="Product" />-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue