Files
sms_host20170829/ifr_restnum.asp
T
2026-02-23 10:01:00 +09:00

39 lines
1.4 KiB
Plaintext

<!--#include virtual = "/common/lib/dbcon.asp" -->
<!--#include virtual = "/common/lib/func.asp" -->
<%
newchk = UCase(Request("new"))
m_id = inputValue( Request("sms_m_id") )
sms_cnt = smsSelect2(m_id)
If m_id="dentis" Then
Response.write sms_cnt
Response.end
elseif m_id="dmcadmin" Or m_id="kbsjed" Or m_id ="cheongdo" Or m_id = "cprknuh" Or m_id = "dghousing" Or m_id = "elscem" Or m_id = "gimcheon" Or m_id = "starlightcamping" Or m_id= "kandh" Or m_id="100in" Or m_id="psy0229" Or m_id="emotionlms" Or m_id="dsmc" Or m_id="ikelighting" Or m_id="mjhorkr" Or m_id="nhiscenter" Or m_id="kinm" Or m_id="test2" Or m_id="bmriknuh" Then
newchk = "Y"
End If
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<title>문자잔여건수</title>
</head>
<body style="margin:0; padding:0; width:100%; text-align:right; font-size:8pt;">
<%
If newchk = "Y" Then ' 관리자디자인변경
Response.write "<p style='margin:0; padding:1px 0 0 0;width:100%;background-color:#3c3e43; color:#fff; font-weight:bold;font-size:9pt;'>"&FormatNumber(sms_cnt, 0)&" </p>"
else
Response.write "문자 잔여건수 : <strong>"&FormatNumber(sms_cnt, 0)&" </strong>건"
End if
Dbcon.close
Set Dbcon = Nothing
%>
</body>
</html>