최초커밋

This commit is contained in:
2025-09-29 17:55:08 +09:00
parent 90af30c0d0
commit e39813395a
3334 changed files with 338522 additions and 0 deletions

439
inspection/check_jumin.asp Normal file
View File

@@ -0,0 +1,439 @@
<!-- #include virtual = "lib/config.asp" -->
<OBJECT RUNAT=Server PROGID=ADODB.Recordset id=Rs></OBJECT>
<%
Response.Expires = 0
'Response.Buffer = false
dim jumin
dim jumin_chk
dim sql
dim err
dim re_Db_value
dim bank_name
dim gubun_name
dim m_grade_name
dim grade_name_1
dim grade_name_2
dim grade_name_3
dim grade_name_4
dim grade_name_5
dim grade_name_6
dim grade_name_7
dim new_id
dim web_posi
jumin = Request.QueryString("jumin")
web_posi = request("web_posi")
Dim j
Dim k
Dim t
Dim i
Dim e
Dim w
Dim w2
Dim d
Dim m
Dim mm
Dim dd
Dim yy
Dim o
j = Trim(Replace(jumin, "-", ""))
k = "234567892345"
e = ""
w2 = ""
w = ""
If Len(j) = 0 Then
e = "<22>߸<EFBFBD><DFB8><EFBFBD> <20>Է<EFBFBD>"
else
For i = 1 To Len(j) - 1
If Asc(Mid(j, i, 1)) < Asc("0") Or Asc(Mid(j, i, 1)) > Asc("9") Then
e = "<22>߸<EFBFBD><DFB8><EFBFBD> <20>Է<EFBFBD>"
exit for
end if
t = t + (clng(Mid(j, i, 1)) * clng(Mid(k, i, 1)))
Next
Select Case clng(Mid(j, 7, 1))
Case 1, 2, 3, 4
t = (11 - (t Mod 11)) Mod 10
Case 5, 6, 7, 8
t = (13 - (t Mod 11)) Mod 10
Case Else
e = "<22>߸<EFBFBD><DFB8><EFBFBD> <20><><EFBFBD><EFBFBD> ǥ<><C7A5>"
End Select
Select Case clng(Mid(j, 7, 1))
Case 1, 2, 5, 6
m = 1900
Case 3, 4, 7, 8
m = 2000
Case Else
e = "<22>߸<EFBFBD><DFB8><EFBFBD> <20><><EFBFBD><EFBFBD> ǥ<><C7A5>"
End Select
yy = clng(Mid(j, 1, 2)) + m
mm = clng(Mid(j, 3, 2))
dd = clng(Mid(j, 5, 2))
Select Case mm
Case 1, 3, 5, 7, 8, 10, 12
If clng(Mid(j, 5, 2)) > 31 Then
e = "<22>ִ<EFBFBD> <20><> <20>ʰ<EFBFBD>"
elseIf clng(Mid(j, 5, 2)) < 0 Then
e = "<22><><EFBFBD><EFBFBD> <20><> <20>ʰ<EFBFBD>"
end if
Case 4, 6, 9, 11
If clng(Mid(j, 5, 2)) > 30 Then
e = "<22>ִ<EFBFBD> <20><> <20>ʰ<EFBFBD>"
elseif clng(Mid(j, 5, 2)) < 0 Then
e = "<22><><EFBFBD><EFBFBD> <20><> <20>ʰ<EFBFBD>"
end if
Case 2
o = 28
If yy Mod 4 = 0 Then
o = 29
end if
If yy Mod 100 = 0 Then
o = 28
end if
If yy Mod 400 = 0 Then
o = 29
end if
If clng(Mid(j, 5, 2)) > o Then
e = "<22>ִ<EFBFBD> <20><> <20>ʰ<EFBFBD>"
elseif clng(Mid(j, 5, 2)) < 0 Then
e = "<22><><EFBFBD><EFBFBD> <20><> <20>ʰ<EFBFBD>"
end if
Case Else
e = "<22>ִ<EFBFBD> <20><> <20>ʰ<EFBFBD>"
End Select
d = cStr(yy) & "-" & cStr(mm) & "-" & cStr(dd)
' Response.Write yy & "<br>"
' Response.Write year(date)
If cint(yy) > cint(year(date)) Then
w = "<22><><EFBFBD><EFBFBD>:<3A><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ֹε<D6B9><CEB5>Ϲ<EFBFBD>ȣ"
end if
If clng(Mid(j, Len(j), 1)) <> t Then
e = "<22>߸<EFBFBD><DFB8><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
End If
end if
''/////////===============================
'//==============
'<27><>ȭ <20>ܱ<EFBFBD><DCB1><EFBFBD> <20>ֹι<D6B9>ȣ
''<27>ܱ<EFBFBD><DCB1><EFBFBD><EFBFBD>ֹι<D6B9>ȣ<EFBFBD≯<EFBFBD>
if mid(jumin,7,1) = "5" or mid(jumin,7,1) = "6" then
e = ""
w = ""
end if
'//==============
''/////////===============================
If e = "" Then
jumin_chk = "<22><><EFBFBD><EFBFBD>"
If w <> "" Then jumin_chk = "<22><><EFBFBD><EFBFBD>"
Else
jumin_chk = "<22><><EFBFBD><EFBFBD>"
End If
if web_posi = "fgi_jumin_chk" then
sql = "select * from man_fgi where m_jumin = '" & jumin & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordcount > 0 then
jumin_chk = "<22><><EFBFBD><EFBFBD>"
err = "<22>̹<EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20>ֹι<D6B9>ȣ <20>Դϴ<D4B4>."
end if
Rs.close
else
sql = "select * from man where m_jumin = '" & jumin & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordcount > 0 then
jumin_chk = "<22><><EFBFBD><EFBFBD>"
err = "<22>̹<EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20>ֹι<D6B9>ȣ <20>Դϴ<D4B4>."
end if
Rs.close
end if
%>
<html>
<head>
<script language=javascript>
function select_jumin(sel_myun)
{
//##### IE<49><45> <20>׿<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(showmodal <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ٸ<EFBFBD> -- <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2018-03-14)
var agent = navigator.userAgent.toLowerCase();
if ((navigator.appName == 'Netscape' && agent.indexOf('trident') != -1) || (agent.indexOf("msie") != -1)) {
window.returnValue = sel_myun;
window.close();
}else{
setReturnValue(sel_myun);
parent.window.returnValue = sel_myun;
parent.window.close();
}
//window.dialogArguments.re_value = sel_myun;
//self.close();
}
</script>
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
<meta http-equiv="content-type" content="text/html; charset=ks_c_5601-1987">
<link rel="stylesheet" type="text/css" href="/css/basic.css">
<script language="javascript" src="/js/common.js"></script>
<script src="../../js/showModalDialogCallee.js"></script>
<TITLE><3E>ֹι<D6B9>ȣ üũ</TITLE>
</head>
<body bgcolor='#FAFAD2'>
<br><br>
<form method=post name='go_pay'>
<!-- <20><><EFBFBD><EFBFBD><EFBFBD>ɰ͵<C9B0> -->
<div align=center>
<table cellpadding="3" cellspacing="0" border="0" style="border-collapse:collapse;" width=750>
<%if jumin_chk="<22><><EFBFBD><EFBFBD>" then %>
<tr>
<td >
<09>Է<EFBFBD><D4B7>Ͻ<EFBFBD> <20>ֹι<D6B9>ȣ <%=jumin%> <20><> <font color=red><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȣ</b></font> <20>Դϴ<D4B4>.
</td>
</tr>
<tr>
<td align=right>
<img src='/images/common/btn_input.jpg' title='<27><><EFBFBD><EFBFBD>' onclick="javascript:select_jumin('1')" style=" cursor:pointer">
</td>
</tr>
<% elseif err<>"" then %>
<%
if web_posi = "fgi_jumin_chk" then
sql = "select a.*, b.p_subject, b.p_intention from man_fgi as a "
sql = sql & " inner join project as b on a.p_sn = b.p_sn "
sql = sql & " where m_jumin = '" & jumin & "'"
'& _
' " and substring(b.p_field_end2,1,4) <> '2010'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
re_Db_value = ""
re_Db_value = re_Db_value & left(Rs("m_jumin"),6) & "$$$"
re_Db_value = re_Db_value & right(Rs("m_jumin"),7) & "$$$"
re_Db_value = re_Db_value & Rs("m_name") & "$$$"
re_Db_value = re_Db_value & Rs("m_tel") & "$$$"
re_Db_value = re_Db_value & Rs("m_mobile") & "$$$"
if isnull(Rs("m_note")) then
re_Db_value = re_Db_value & Rs("m_note") & "$$$"
else
tmpstr = Rs("m_note")
tmpstr = replace(Rs("m_note"),chr(10)+chr(13),"<br>")
tmpstr = replace(Rs("m_note"),chr(13),"<br>")
re_Db_value = re_Db_value & tmpstr & "$$$"
end if
re_Db_value = re_Db_value & Rs("m_filename") & "$$$"%>
<tr>
<td >
<09>Է<EFBFBD><D4B7>Ͻ<EFBFBD> <20>ֹι<D6B9>ȣ <%=jumin%> <20><> <br>
<%tmpstr = ""
do while not Rs.EOF
tmpstr = tmpstr & "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> : " & Rs("p_subject") & " ==> " & Rs("p_intention") & " ==> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : " & rs("insert_date") & "<br>"
Rs.MoveNext
loop
Rs.Close %>
<font color=red><b><%=tmpstr%></b></font> <br><br>
<09><> <20>̹<EFBFBD> <20>Է<EFBFBD><D4B7><EFBFBD> <20>Ǿ<EFBFBD> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>. "<22><><EFBFBD><EFBFBD>" <20><>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>"<br><br>
</td>
</tr>
<tr>
<td align=right>
<img src='/images/common/btn_cancel.jpg' title='<27><><EFBFBD><EFBFBD>' onclick='select_jumin("2");' style=" cursor:pointer">
</td>
</tr>
<% re_Db_value = re_Db_value & tmpstr & "$$$"
else%>
<tr>
<td >
<09>Է<EFBFBD><D4B7>Ͻ<EFBFBD> <20>ֹι<D6B9>ȣ <%=jumin%> <20><> <font color=red><b><3E>̹<EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20>ִ<EFBFBD> <20><>ȣ</b></font> <20>Դϴ<D4B4>.<br><br>
<09><><EFBFBD><EFBFBD><EFBFBD>ϽǷ<CFBD><C7B7><EFBFBD> "<22><><EFBFBD><EFBFBD>" <20><>ư<EFBFBD><C6B0> <20>ٸ<EFBFBD> <20><>ȣ<EFBFBD><C8A3> <20>Է<EFBFBD><D4B7>ϽǷ<CFBD><C7B7><EFBFBD> "<22>ݱ<EFBFBD>" <20><>ư<EFBFBD><C6B0> <20><><EFBFBD><EFBFBD><EFBFBD>ּ<EFBFBD><D6BC><EFBFBD>"<br><br>
</td>
</tr>
<%sql = "select * from man where m_jumin = '" & jumin & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
'm_jumin m_offer_date m_name, m_bank, m_b_no, m_addres, m_tel, m_mobile, m_gubun, m_note
bank_name = Rs("m_bank")
gubun_name = Rs("m_gubun")
m_grade_name = Rs("m_Grade")
grade_name_1 = Rs("grade_1")
grade_name_2 = Rs("grade_2")
grade_name_3 = Rs("grade_3")
grade_name_4 = Rs("grade_4")
grade_name_5 = Rs("grade_5")
grade_name_6 = Rs("grade_6")
grade_name_7 = Rs("grade_7")
m_id = Rs("id")
new_id = Rs("new_id")
re_Db_value = ""
re_Db_value = re_Db_value & left(Rs("m_jumin"),6) & "$$$"
re_Db_value = re_Db_value & right(Rs("m_jumin"),7) & "$$$"
re_Db_value = re_Db_value & Rs("m_offer_date") & "$$$"
re_Db_value = re_Db_value & Rs("m_name") & "$$$"
re_Db_value = re_Db_value & Rs("m_bank") & "$$$"
re_Db_value = re_Db_value & Rs("m_b_no") & "$$$"
re_Db_value = re_Db_value & Rs("m_addres") & "$$$"
re_Db_value = re_Db_value & Rs("m_tel") & "$$$"
re_Db_value = re_Db_value & Rs("m_mobile") & "$$$"
re_Db_value = re_Db_value & Rs("m_gubun") & "$$$"
' re_Db_value = re_Db_value & TransHTML(Rs("m_note")) & "$$$"
if isnull(Rs("m_note")) then
re_Db_value = re_Db_value & Rs("m_note") & "$$$"
else
tmpstr = Rs("m_note")
tmpstr = replace(Rs("m_note"),chr(10)+chr(13),"<br>")
tmpstr = replace(Rs("m_note"),chr(13)," ")
re_Db_value = re_Db_value & tmpstr & "$$$"
end if
re_Db_value = re_Db_value & Rs("m_Grade") & "$$$"
re_Db_value = re_Db_value & Rs("grade_1") & "$$$"
re_Db_value = re_Db_value & Rs("grade_2") & "$$$"
re_Db_value = re_Db_value & Rs("grade_3") & "$$$"
re_Db_value = re_Db_value & Rs("grade_4") & "$$$"
re_Db_value = re_Db_value & Rs("grade_5") & "$$$"
re_Db_value = re_Db_value & Rs("grade_6") & "$$$"
re_Db_value = re_Db_value & Rs("grade_7") & "$$$"
re_Db_value = re_Db_value & Rs("m_activity") & "$$$"
Rs.close
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20≯<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'work' and code = '" & gubun_name & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
re_Db_value = re_Db_value & Rs("name") & "$$$"
Rs.close
'<27><><EFBFBD><EFBFBD><EFBFBD≯<EFBFBD> <20><><EFBFBD>ٿ<EFBFBD><D9BF><EFBFBD>
sql = "select * from bank where b_code = '" & bank_name & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
re_Db_value = re_Db_value & Rs("b_name") & "$$$"
Rs.close
'Grade<64≯<EFBFBD> <20><><EFBFBD>ٿ<EFBFBD><D9BF><EFBFBD>
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & m_grade_name & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_1 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_2 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_3 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_4 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_5 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_6 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'grade' and code = '" & grade_name_7 & "'"
Rs.open sql, adoconn, adopenstatic, adlockreadonly
if Rs.recordCount > 0 then
re_Db_value = re_Db_value & Rs("name") & "$$$"
else
re_Db_value = re_Db_value & "$$$"
end if
Rs.close
re_Db_value = re_Db_value & m_id & "$$$"
re_Db_value = re_Db_value & new_id & "$$$"
%>
<tr>
<td align=right>
<img src='/images/common/btn_modify2.jpg' title='<27><><EFBFBD><EFBFBD>' onclick='select_jumin("<%=re_Db_value%>");' style=" cursor:pointer">
&nbsp;&nbsp;&nbsp;&nbsp;
<img src='/images/project/btn_sclose.gif' title='<27>ݱ<EFBFBD>' onclick='select_jumin("0");' style=" cursor:pointer">
</td>
</tr>
<%end if%>
<% else %>
<tr>
<td >
<09>Է<EFBFBD><D4B7>Ͻ<EFBFBD> <20>ֹι<D6B9>ȣ <%=jumin%> <20><> <font color=red><b><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȣ</b></font> <20>Դϴ<D4B4>.<br>
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> : <%=e%> <%=w%> <%=err%>
</td>
</tr>
<tr>
<td align=right>
<img src='/images/common/btn_cancel.jpg' onclick="select_jumin('2');" style='CURSOR:pointer;' title='<27><><EFBFBD><EFBFBD>'>
</td>
</tr>
<% end if %>
</table>
</div>
</form>
</body>
</html>