This commit is contained in:
kdh0120 2020-12-10 04:20:35 +00:00
parent 0036ad7fe6
commit 3a649d9e98
8 changed files with 9 additions and 8 deletions

View File

@ -287,8 +287,6 @@ namespace NP.BO.Controllers
m.Users.Add(new MemoUser()
{
userno = u.userno,
uno = SUserInfo.UserNo,
uip = GetUserIP(),
smstype = "A",
isok = string.IsNullOrEmpty(u.mobile) ? -1 : 1,
title = "[영남건설기술교육원] 진행평가 참여 알림",

View File

@ -27,7 +27,7 @@
<div class="container aside-xxl">
@*<a class="navbar-brand block" href="#">YOU & PARTNERS</a>
<a class="navbar-brand block" href="#" style="font-size: 11px; line-height: 20px;">(Career Consulting Group)</a>*@
<div class="text-center"><img src="/css/img/intranet_logo_b.png" alt="YNP" /></div>
<div class="text-center"><img src="~/Img/gnb_logo.png" alt="YNP" /></div>
<section class="panel panel-default bg-white m-t-lg" style="margin-top: 0px;">
<header class="panel-heading text-center">
<strong>이메일 수신거부</strong>

View File

@ -31,7 +31,7 @@
<div class="container aside-xxl">
@*<a class="navbar-brand block" href="#">YOU & PARTNERS</a>
<a class="navbar-brand block" href="#" style="font-size: 11px; line-height: 20px;">(Career Consulting Group)</a>*@
<div class="text-center"><img src="/css/img/intranet_logo_b.gif" style="max-width: 200px;" alt="YNP" /></div>
<div class="text-center"><img src="~/Img/gnb_logo.png" style="max-width: 200px;" alt="YNP" /></div>
<br />
<section class="panel panel-default bg-white m-t-lg" style="margin-top: 0px;">
<header class="panel-heading text-center">

View File

@ -62,7 +62,7 @@
<a class="btn btn-link visible-xs" data-toggle="class:nav-off-screen,open" data-target="#nav,html">
<i class="fa fa-bars"></i>
</a>
<a href="/" class="navbar-brand" data-toggle=""><img src="~/css/img/intranet_logo_b.gif" class="m-r-sm" style="max-height: 45px; max-width: 180px;"></a>
<a href="/" class="navbar-brand" data-toggle=""><img src="~/Img/gnb_logo.png" class="m-r-sm" style="max-height: 45px; max-width: 180px;"></a>
<a class="btn btn-link visible-xs" data-toggle="dropdown" data-target=".nav-user">
<i class="fa fa-cog"></i>
</a>

View File

@ -855,13 +855,14 @@ namespace NP.Base.Controllers
{
smstype = "A",
isok = 1,
title = "[영남건설기술교육원] 진행평가 참여 알림",
mobile = mobile,
mcontents = string.Format("영남건설기술교육원입니다.\n\n[{0}]님이 수강중인 [{1}] 강좌의 교육 종료일이 {2}일 남았습니다. 종료되기전에 서둘러 " +
(scdno < 3 ? "학습을 진행" : scdno == 3 ? "진행평가에" : scdno == 4 ? "최종평가에" : scdno == 5 ? "과제을 제출" : scdno == 6 ? "토론에 참여" : scdno == 7 ? "강의평가에 참여" : "-") + "해주세요.\n\n☞사이트 : https://edu.kfcf.or.kr",
"test", "테스트", 1)});
if (m.Users.Where(w => w.isok == 1).Count() > 0)
{
Talk(m.Users.Where(w => w.isok == 1).ToList(), "encourage1");
SaveTalk(m.Users.Where(w => w.isok == 1).ToList(), "encourage1");
m.Users.Clear();
}
@ -880,10 +881,11 @@ namespace NP.Base.Controllers
{
smstype = "A",
isok = 1,
title = "[영남건설기술교육원] 진행평가 참여 알림",
mobile = mobile,
mcontents = string.Format("영남건설기술교육원입니다.\n\n{0}님이 신청중인 [{1}] 강좌의 교육이 [{2}]에 {3}에서 시작됩니다.\n\n☞사이트 : https://edu.kfcf.or.kr",
"test", "테스트", DateTime.Now.ToString("yyyy-MM-dd"),"영남건설기술교육원 대회의실")});
Talk(m.Users.Where(w => w.isok == 1).ToList(), "encourage7");
SaveTalk(m.Users.Where(w => w.isok == 1).ToList(), "encourage7");
m.Users.Clear();
if (IsEmail(email))
{
@ -898,11 +900,12 @@ namespace NP.Base.Controllers
{
smstype = "A",
isok = 1,
title = "[영남건설기술교육원] 진행평가 참여 알림",
mobile = mobile,
mcontents = string.Format("영남건설기술교육원입니다.\n\n{0}님이 수강중인 [{1}] 자격검정이 [{2}]에 영남건설기술교육원 대회의실에서 이뤄질 예정입니다.\n\n☞사이트: https://edu.kfcf.or.kr",
"test", "테스트", DateTime.Now.ToString("yyyy-MM-dd HH:mm"))
});
Talk(m.Users.Where(w => w.isok == 1).ToList(), "encourage8");
SaveTalk(m.Users.Where(w => w.isok == 1).ToList(), "encourage8");
m.Users.Clear();
SendEmail(masteremail.Split(';')[1], GetInt(masteremail.Split(';')[2]), masteremail.Split(';')[3], masteremail.Split(';')[4], 999, email, senderemail, "[영남건설기술교육원]", "[영남건설기술교육원] 진행평가 참여 알림",
string.Format("영남건설기술교육원입니다.<br><br>{0}님이 수강중인 [{1}] 자격검정이 [{2}]에 영남건설기술교육원 대회의실에서 이뤄질 예정입니다.<br><br>☞사이트: https://edu.kfcf.or.kr",