최초커밋

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

View File

@@ -0,0 +1,650 @@
<!-- #include virtual = "include/header.asp" -->
<!-- #include virtual = "include/left.asp" -->
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<div class="content-header">
<h1><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD></h1>
</div>
<!-- /.content-header -->
<!-- Main content -->
<div class="content-body">
<div class="content">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<%
Response.Expires = 0
dim Jumin_Num(2)
dim txt_title
Jumin_Num(1) = mid(Request.QueryString("Jumin"),1,6)
Jumin_Num(2) = mid(Request.QueryString("Jumin"),7,7)
txt_title = Request.QueryString("txt_title")
dim myun_name
myun_name = request("myun_name")
Dim txtHtml
Dim sql
Dim i
Dim tmpAge
dim ConDate
dim isSaved
isSaved = Request.QueryString("isSaved")
if isSaved = "true" then
alert ("<22><><EFBFBD><EFBFBD> <20>Ϸ<EFBFBD>")
end if
ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2)
%>
<% Dim f_menu : f_menu = "my" %>
<!-- #include file = "f_menu.asp" -->
<form name="frm_man" method="post" >
<input type=hidden name="m_id" >
<input type=hidden name="chk_jumin" value='no' >
<input type=hidden name='txt_bank_code' >
<input type=hidden name='txt_gubun_code' >
<input type=hidden name='txt_m_grade_code' >
<input type=hidden name='txt_grade_1_code' >
<input type=hidden name='txt_grade_2_code' >
<input type=hidden name='txt_grade_3_code' >
<input type=hidden name='txt_grade_4_code' >
<input type=hidden name='txt_grade_5_code' >
<input type=hidden name='txt_grade_6_code' >
<input type=hidden name='txt_grade_7_code' >
<input type=hidden name='txt_kpc_grade_code' >
<input type=hidden name='txt_activity_code' >
<input type=hidden name='txt_web_posi' value = '<%=web_posi%>'>
<table width="1200px" class="table table-sm table-sm2 table-bordered table-head tr-colors">
<tr>
<td colspan="3">
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ű<EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
<br>* <20>ֹι<D6B9>ȣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ø<EFBFBD>, <20>Է<EFBFBD><D4B7><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.
<br><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20>׸<EFBFBD><D7B8><EFBFBD> <20>ʼ<EFBFBD> <20>Է<EFBFBD> <20>׸<EFBFBD><D7B8>Դϴ<D4B4>.
</td>
<td align="right" class="align-middle pr-2">
<button type="button" class="btn btn-warning" onclick="work_day();" style="display:none;" id="work_day_btn">2017<31><37> <20><><EFBFBD><EFBFBD> <20>ٹ<EFBFBD><D9B9><EFBFBD><EFBFBD><EFBFBD> <20><>ȸ</button>
</td>
</tr>
<tr>
<td width="15%" align="center"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID</td>
<td width="35%" >
<input type="text" style="width:150" id="new_id" name='new_id' maxlength=20 onkeyup='if(event.keyCode==13){search_Name(this.form,"id");}' value='<%=new_id%>'>
<img src="/images/common/btn_smallsrch2.gif" align="absmiddle" style="cursor:pointer;" onclick="search_Name(this.form,'id');">
</td>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20>ֿ<EFBFBD><D6BF><EFBFBD><EFBFBD><EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150;CURSOR: pointer" id=Text3 name='txt_gubun' onclick="showHideLayersAll(work);" readonly>
</td>
</tr>
<tr>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20≯<EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150" id='important' name='txtName' maxlength=20 onkeyup='if(event.keyCode==13){search_Name(this.form,"name");}' value='<%=myun_name%>'>
<img src="/images/common/btn_smallsrch2.gif" align="absmiddle" style="cursor:pointer;" onclick="search_Name(this.form,'name');">
</td>
<td width="15%" align="center" >
<i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i>
<09>ֹι<D6B9>ȣ
</td>
<td width="35%" >
<input type="text" id=important name='txtJumin1' OnKeyPress='onlyNum_chk_jumin();' style="width:100" size='6' maxlength=6 value='<%=Jumin_Num(1)%>' > -
<input type="text" id=important name='txtJumin2' OnKeyPress='onlyNum_chk_jumin();' style="width:100" size='7' maxlength=7 value='<%=Jumin_Num(2)%>' onkeyup='if(event.keyCode==13){Check_Jumin_Name();}'>
<button type="button" class='btn btn-sm btn-app m-0' onclick="Check_Jumin_Name();"><3E><><EFBFBD><EFBFBD></button>
</td>
</tr>
<tr>
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD></td>
<td colspan="3">
<input type="text" style="width:100%" name=txt_note>
</td>
</tr>
<tr>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150;CURSOR: pointer" id="m_grade" name='txt_m_grade' onclick="showHideLayersAll(mgrade);" readonly>
</td>
<td width="15%" align="center" > KPC <20><><EFBFBD><EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150;CURSOR: pointer" id="txt_kpc_grade" name='txt_kpc_grade' onclick="showHideLayersAll(kgrade);" readonly>
</td>
</tr>
<tr>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD></td>
<td width="35%" colspan="3" style="margin:0 0 0 0;">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<%
sql = " SELECT d_cost_code, d_cost_name FROM direct_costcode "
sql = sql & " WHERE d_cost_useyn = 'Y' AND d_cost_kind in ('field','dp') AND d_cost_parents = '2' AND d_cost_code NOT IN (8, 9) "
adoRs.open sql, adoconn, adopenstatic, adlockreadonly
%>
<tr>
<% For i = 1 To adoRs.recordCount %>
<td align="center" ><%= adors("d_cost_name") %></td>
<%
adoRs.MoveNext
Next
adoRs.MoveFirst
%>
</tr>
<tr>
<% For i = 1 To adoRs.recordCount %>
<td align="center" >
<input type="text" style="width:30;CURSOR: pointer;text-align:center;" id="grade_<%=adors("d_cost_code") %>" name='txt_grade_<%=adors("d_cost_code") %>' onclick="showHideLayersAll(grade<%=adors("d_cost_code") %>);" readonly><br />
</td>
<%
adoRs.MoveNext
Next
adoRs.MoveFirst
%>
</tr>
<tr>
<% For i = 1 To adoRs.recordCount %>
<td align="center" >
<09><><EFBFBD>޺<EFBFBD><DEBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><input type="checkbox" value="1" name="grade_yn_<%=adors("d_cost_code") %>" id="grade_yn_<%=adors("d_cost_code") %>" style="vertical-align:middle;"/>
<input type="text" style="width:60;text-align:center;CURSOR: pointer;" value="<%=ConDate %>" class='selectDate' name='grade_date_<%=adors("d_cost_code") %>' readonly />
</td>
<%
adoRs.MoveNext
Next
%>
</tr>
<%
adoRs.Close
%>
</table>
</td>
</tr>
<tr>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150;text-align:center" id='important' name='txt_date' value='<%=ConDate%>' readonly>
</td>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> Ȱ<><C8B0> <20><><EFBFBD><EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150;CURSOR: pointer" id='important' name='txt_activity' onclick="showHideLayersAll(activity);" readonly>
</td>
</tr>
<tr>
<td width="15%" align="center" ><3E><>ȭ<EFBFBD><C8AD>ȣ</td>
<td width="35%" >
<input type="text" style="width:60;ime-mode:inactive" name='txtTel1' size=3 maxlength=3 OnKeyPress='onlyNum();' > -
<input type="text" style="width:60;ime-mode:inactive" name='txtTel2' size=4 maxlength=4 OnKeyPress='onlyNum();' > -
<input type="text" style="width:60;ime-mode:inactive" name='txtTel3' size=4 maxlength=4 OnKeyPress='onlyNum();' >
</td>
<td width="15%" align="center" ><3E>޴<EFBFBD><DEB4><EFBFBD>ȭ<EFBFBD><C8AD>ȣ</td>
<td width="35%" >
<input type="text" style="width:60;ime-mode:inactive" name='txtMobile1' size=3 maxlength=3 OnKeyPress='onlyNum();' > -
<input type="text" style="width:60;ime-mode:inactive" name='txtMobile2' size=4 maxlength=4 OnKeyPress='onlyNum();' > -
<input type="text" style="width:60;ime-mode:inactive" name='txtMobile3' size=4 maxlength=4 OnKeyPress='onlyNum();' >
</td>
</tr>
<tr>
<td width="15%" align="center" ><3E>ּ<EFBFBD></td>
<td colspan="3">
<input type="text" style="width:100%" name='txtaddress' >
</td>
</tr>
<tr>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20><><EFBFBD><EFBFBD></td>
<td width="35%" >
<input type="text" style="width:150;CURSOR: pointer" id='important' name='txt_bank' onclick="showHideLayersAll(bank);" readonly>
</td>
<td width="15%" align="center" ><i class="fas fa-asterisk" style="font-size:8px;color:#ff5555;"></i> <20><><EFBFBD>¹<EFBFBD>ȣ(<28><><EFBFBD>ڸ<EFBFBD> <20>Է<EFBFBD>)</td>
<td width="35%" >
<input type="text" style="width:150;ime-mode:inactive" id='important' name='txt_bank_no' OnKeyPress='onlyNum();' >
</td>
</tr>
<%if session("Depart_Code") = "12" or tmp_admin_chk = "1" then %>
<tr>
<td colspan="4" style="padding:10 0 0 0" align="center">
<button type="button" class="btn btn-primary" onclick='go_Save();'><3E><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD></button>
</td>
</tr>
<tr>
<td colspan="4" style="padding:10 0 0 0" align="left">
<font color=blue><3E><> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>] <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> - <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> [<5B><><EFBFBD>޺<EFBFBD><DEBA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>] üũ <20><>, <20><>¥<EFBFBD><C2A5> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ּž<D6BC> <20>ش<EFBFBD><D8B4><EFBFBD><EFBFBD>ڷ<EFBFBD> <20><><EFBFBD><EFBFBD> <20>˴ϴ<CBB4><br>
<09><> [<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ٹ<EFBFBD> Ȯ<><C8AE>] <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> - <20><><EFBFBD>߽<EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>Ǹ<EFBFBD>, <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͻ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>. <20>ʿ信 <20><><EFBFBD><EFBFBD> <20>ݷ<EFBFBD><DDB7><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20>Ͻñ<CFBD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>
</font>
</td>
</tr>
<tr>
<td colspan="4" style="padding:10 0 0 0" align="left" >
<input type="button" value=" <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>޺<EFBFBD><DEBA><EFBFBD> >>>>> " name="btn01" class="button black medium" onclick='javascript:js_greade_view(frm_man);' >
</td>
</tr>
<%
end if
%>
</table>
<%
sql = "select * from bank where chk = 0 order by b_fullname"
adoRs.open sql, adoconn, adopenstatic, adlockreadonly
%>
<div id="bank" style="Z-INDEX:1; top:312px; left:495px; position:absolute; visibility: hidden;">
<table border=0 cellspacing=0 cellpadding=5>
<tr>
<td bgcolor=#0099ff>
<table border=1 bordercolor="#D5D3EF" bordercolorlight="#D5D3EF" cellspacing=0 cellpadding=3 bgcolor=white>
<tr>
<td bgcolor=white colspan=2 align=center>
<font color=#000000>
<b>== <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ==</b><br>
</td>
</tr>
<% i=0 %>
<% do until adoRs.eof %>
<% if i=1 then
i=0
%>
<td align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'">
<a href="javascript:select_bank('<%=adoRs("b_name")%>','<%=adoRs("b_code")%>')"><%=adoRs("b_fullname")%></a>
</td>
</tr>
<% else %>
<tr>
<td align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'">
<a href="javascript:select_bank('<%=adoRs("b_name")%>','<%=adoRs("b_code")%>')"><%=adoRs("b_fullname")%></a>
</td>
<% i=i+1 %>
<% end if %>
<% adoRs.movenext %>
<% loop
adoRs.close
%>
</font>
</table>
</td>
</tr>
</table>
</div>
<%
sql = "select * from category a join (select * from t_neakeun_pay_COST where type='cost' and use_end_dt = '') b on a.code = b.grade where <20><><EFBFBD><EFBFBD>='grade' order by code"
adoRs.open sql, adoconn, adopenstatic, adlockreadonly
%>
<div id="mgrade" style="Z-INDEX:1; top:339px; left:495px; position:absolute; visibility: hidden;">
<table border=0 cellspacing=0 cellpadding=5>
<tr>
<td bgcolor=#0099ff>
<table border=0 cellspacing=0 cellpadding=5 bgcolor=white>
<tr>
<td bgcolor=white>
<font color=#000000>
<b>== <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ==</b><br>
<hr height=1></hr>
<% do until adoRs.eof %>
<a href="javascript:select_grade('<%=adoRs("name")%>','<%=adoRs("code")%>','m')"><%=adoRs("name")%> - <%=adoRs("cost")%></a><br>
<% adoRs.movenext %>
<% loop %>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<% for i = 1 TO 7 %>
<%
left_val = 320
%>
<div id="grade<%=i %>" style="Z-INDEX:1; top:370px; left:<%= left_val + (i * 120)%>px; position:absolute; visibility: hidden;">
<table border=0 cellspacing=0 cellpadding=5>
<tr>
<td bgcolor=#0099ff>
<table border=0 cellspacing=0 cellpadding=5 bgcolor=white>
<tr>
<td bgcolor=white>
<font color=#000000>
<b>== <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ==</b><br>
<hr height=1></hr>
<% adoRs.movefirst %>
<% do until adoRs.eof %>
<a href="javascript:select_grade('<%=adoRs("name")%>','<%=adoRs("code")%>','<%=i %>')"><%=adoRs("name")%> - <%=adoRs("cost")%></a><br>
<% adoRs.movenext %>
<% loop %>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<% Next %>
<div id="kgrade" style="Z-INDEX:1; top:339px; left:920px; position:absolute; visibility: hidden;">
<table border=0 cellspacing=0 cellpadding=5>
<tr>
<td bgcolor=#0099ff>
<table border=0 cellspacing=0 cellpadding=5 bgcolor=white>
<tr>
<td bgcolor=white>
<font color=#000000>
<b>== <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ==</b><br>
<hr height=1></hr>
<% adoRs.movefirst %>
<% do until adoRs.eof %>
<a href="javascript:select_grade('<%=adoRs("name")%>','<%=adoRs("code")%>','kpc')"><%=adoRs("name")%> - <%=adoRs("cost")%></a><br>
<% adoRs.movenext %>
<% loop
adoRs.close
%>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="activity" style="Z-INDEX:1; top:390px; left:920px; position:absolute; visibility: hidden;">
<table border=0 cellspacing=0 cellpadding=5>
<tr>
<td bgcolor=#0099ff>
<table border=1 bordercolor="#D5D3EF" bordercolorlight="#D5D3EF" cellspacing=0 cellpadding=3 bgcolor=white>
<tr>
<td bgcolor=white align=center>
<font color=#000000>
<b>== Ȱ<><C8B0> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ==</b><br>
</td>
</tr>
<tr>
<td align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'">
<a href="javascript:select_activity('Ȱ<><C8B0>','1')">Ȱ<><C8B0></a>
</td>
</tr>
<tr>
<td align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'">
<a href="javascript:select_activity('<27><>Ȱ<EFBFBD><C8B0>','2')"><3E><>Ȱ<EFBFBD><C8B0></a>
</td>
</tr>
<tr>
<td align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'">
<a href="javascript:select_activity('<27><><EFBFBD><EFBFBD>','3')"><3E><><EFBFBD><EFBFBD></a>
</td>
</tr>
<tr>
<td align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'">
<a href="javascript:select_activity('<27>ҷ<EFBFBD>','4')"><3E>ҷ<EFBFBD></a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<%
sql = "select * from category where <20><><EFBFBD><EFBFBD> = 'work' and code <> '99' order by sort_key"
adoRs.open sql, adoconn, adopenstatic, adlockreadonly
%>
<div id="work" style="Z-INDEX:1; top:240px; left:920px; position:absolute; visibility: hidden;">
<table border=0 cellspacing=0 cellpadding=5>
<tr>
<td bgcolor=#0099ff>
<table border=0 cellspacing=0 cellpadding=5 bgcolor=white>
<tr>
<td bgcolor=white>
<font color=#000000>
== <20>ֿ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> ==<br>
<hr height=1></hr>
<% do until adoRs.eof %>
<a href="javascript:select_work('<%=adoRs("name")%>','<%=adoRs("code")%>')"><%=adoRs("name")%></a><br>
<% adoRs.movenext %>
<% loop
adoRs.close
%>
</font>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- /.content -->
<!-- REQUIRED SCRIPTS -->
<script>
var old_menu = "";
$(function(){
$(".selectDate").datepicker();
});
function go_Save(){
var x = document.frm_man;
if (x.chk_jumin.value=="no"){
alert ("<22>ֹι<D6B9>ȣ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ž<EFBFBD> <20>մϴ<D5B4>.");
return false;
}
for (var i=0;i<x.elements.length;i++){
if (x.elements[i].type=="text"){
if (x.elements[i].id=="important"){
if (x.elements[i].value==""){
alert(x.elements[i].name + "<22><> <20>ʼ<EFBFBD> <20>Է<EFBFBD><D4B7>׸<EFBFBD><D7B8><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.");
return false;
}
}
}
}
if (x.txt_bank_code.value==""){
alert ("<22><><EFBFBD><EFBFBD><EFBFBD>ڵ尡 <20><><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.");
return false;
}
if (x.txt_gubun_code.value==""){
alert ("<22>ֿ<EFBFBD><D6BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ֽ<EFBFBD><D6BD>ϴ<EFBFBD>.");
return false;
}
if (x.txt_gubun_code.value == "99" && x.txt_activity.value == "Ȱ<><C8B0>"){
alert("<22>ֿ<EFBFBD><D6BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>.");
return false;
}
if (confirm){
x.action = "interviewer_regist_ok.asp";
x.submit();
}
}
function showHideLayersAll(submenu){
if(old_menu != submenu){
if(old_menu !=""){
old_menu.style.visibility = "hidden";
}
submenu.style.visibility = "visible";
old_menu = submenu;
}else{
submenu.style.visibility = "hidden";
old_menu = "";
}
}
function select_grade(xname, xcode, kind){
if (kind == "m") {
document.frm_man.txt_m_grade.value = xname;
document.frm_man.txt_m_grade_code.value = xcode;
showHideLayersAll(mgrade);
} else if (kind == "kpc") {
document.frm_man.txt_kpc_grade.value = xname;
document.frm_man.txt_kpc_grade_code.value = xcode;
showHideLayersAll(kgrade);
} else {
var tmp_grade = 0;
var tmp_xcode = 0;
var tgc = eval("document.frm_man.txt_grade_" + kind + "_code").value;
if (tgc == "10") {tmp_grade = 1; }
else if (tgc == "01") {tmp_grade = 2; }
else if (tgc == "09") {tmp_grade = 3; }
else if (tgc == "02") {tmp_grade = 4; }
else if (tgc == "08") {tmp_grade = 5; }
else if (tgc == "03") {tmp_grade = 6; }
else if (tgc == "04") {tmp_grade = 7; }
else if (tgc == "05") {tmp_grade = 8; }
else if (tgc == "06") {tmp_grade = 9; }
else if (tgc == "07") {tmp_grade = 10; }
if (xcode == "10") {tmp_xcode = 1; }
else if (xcode == "01") {tmp_xcode = 2; }
else if (xcode == "09") {tmp_xcode = 3; }
else if (xcode == "02") {tmp_xcode = 4; }
else if (xcode == "08") {tmp_xcode = 5; }
else if (xcode == "03") {tmp_xcode = 6; }
else if (xcode == "04") {tmp_xcode = 7; }
else if (xcode == "05") {tmp_xcode = 8; }
else if (xcode == "06") {tmp_xcode = 9; }
else if (xcode == "07") {tmp_xcode = 10; }
eval("document.frm_man.grade_" + kind).value = xname;
eval("document.frm_man.txt_grade_" + kind + "_code").value = xcode;
showHideLayersAll(eval("grade" + kind));
}
}
function select_work(xname, xcode){
document.frm_man.txt_gubun.value = xname;
document.frm_man.txt_gubun_code.value = xcode;
showHideLayersAll(work);
}
function select_bank(xname, xcode){
document.frm_man.txt_bank.value = xname;
document.frm_man.txt_bank_code.value = xcode;
showHideLayersAll(bank);
}
function select_activity(xname, xcode){
if (!(('<%= session("Depart_Code")%>' == '12' && '<%= session("teamplace")%>' == '5') || '<%= session("Depart_Code")%>' == '18')) {
if (document.frm_man.txt_activity.value == "<22>ҷ<EFBFBD>" || document.frm_man.txt_activity.value == "<22><><EFBFBD><EFBFBD>") {
alert("<22><><EFBFBD><EFBFBD> <20>Ǵ<EFBFBD> <20>ҷ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Ȱ<><C8B0> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>\n<><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ο<EFBFBD><CEBF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>. (DIN <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> or <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/HR)");
showHideLayersAll(activity);
return;
}
}
document.frm_man.txt_activity.value = xname;
document.frm_man.txt_activity_code.value = xcode;
showHideLayersAll(activity);
}/*##### <20>ֹε<D6B9><CEB5><EFBFBD> <20><><EFBFBD><EFBFBD> return value callback <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 2018-03-09 #####*/
function Check_Jumin_Name(){
var x = document.frm_man;
var koreaName = new RegExp(/^[<5B><>-<2D>R]+$/);
if (x.txtJumin1.value=="" || x.txtJumin2.value==""){
alert ("<22>ֹι<D6B9>ȣ / <20>ܱ<EFBFBD><DCB1>ι<EFBFBD>ȣ<EFBFBD><C8A3> <20>Է<EFBFBD><D4B7><EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>");
return false;
}
var ssn1 = x.txtJumin1.value,
ssn2 = x.txtJumin2.value,
ssn = ssn1+''+ssn2,
arr_ssn = [],
compare = [2,3,4,5,6,7,8,9,2,3,4,5],
sum = 0;
// <20>ڸ<EFBFBD><DAB8><EFBFBD> üũ
if (ssn.length != 13){
alert("<22>ùٸ<C3B9> <20>ֹε<D6B9><CEB5><EFBFBD> <20><>ȣ / <20>ܱ<EFBFBD><DCB1>ε<EFBFBD><CEB5><EFBFBD> <20><>ȣ<EFBFBD><C8A3> <20>Է<EFBFBD><D4B7>Ͽ<EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>.");return false;
}
//<2F>ܱ<EFBFBD><DCB1><EFBFBD> <20><><EFBFBD><EFBFBD>ó<EFBFBD><C3B3>
if(koreaName.test(x.txtName.value) == false && confirm("<22>ܱ<EFBFBD><DCB1><EFBFBD><EFBFBD><EFBFBD> <20>½<EFBFBD><C2BD>ϱ<EFBFBD>? (<28≯<EFBFBD> : "+x.txtName.value+")")){
x.chk_jumin.value="yes";
alert("Ȯ<><C8AE> <20>ƽ<EFBFBD><C6BD>ϴ<EFBFBD>.");
return true;
}
// <20><><EFBFBD><EFBFBD>: M = (11 - ((2<><32>A + 3<><33>B + 4<><34>C + 5<><35>D + 6<><36>E + 7<><37>F + 8<><38>G + 9<><39>H + 2<><32>I + 3<><33>J + 4<><34>K + 5<><35>L) % 11)) % 10
for (var i = 0; i<13; i++) {
arr_ssn[i] = ssn.substring(i,i+1);
}
for (var i = 0; i<12; i++){
sum = sum + (arr_ssn[i] * compare[i]);
}
sum = (11 - (sum % 11)) % 10;
if (sum != arr_ssn[12]){
alert("<22>ùٸ<C3B9> <20>ֹε<D6B9><CEB5><EFBFBD> <20><>ȣ<EFBFBD><C8A3> <20>Է<EFBFBD><D4B7>Ͽ<EFBFBD> <20>ּ<EFBFBD><D6BC><EFBFBD>.");
x.chk_jumin.value="no";
return false;
}else{
alert("<22><><EFBFBD><EFBFBD><EFBFBD>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>.");
x.chk_jumin.value="yes";
}
}
function search_Name(x, txt){
x = document.frm_man;
var url = "/project_list/myun_search.asp?cutmenu=1&part=myun_input";
if (txt == "name") {
var m_name = x.txtName.value;
if (m_name == "") {
alert("ã<><C3A3><EFBFBD><EFBFBD> <20>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20≯<EFBFBD><CCB8><EFBFBD> <20>Է<EFBFBD><D4B7><EFBFBD> <20><> ã<><C3A3> <20><>ư<EFBFBD><C6B0> <20>̿<EFBFBD><CCBF>Ͽ<EFBFBD> <20>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>.");
x.txtName.focus();
return false;
}
url = url + "&m_name=" + m_name;
} else if (txt == "id") {
var new_id = x.new_id.value;
if (new_id == "") {
alert("ã<><C3A3><EFBFBD><EFBFBD> <20>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID<49><44> <20>Է<EFBFBD><D4B7><EFBFBD> <20><> ã<><C3A3> <20><>ư<EFBFBD><C6B0> <20>̿<EFBFBD><CCBF>Ͽ<EFBFBD> <20>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>.");
x.new_id.focus();
return false;
}
url = url + "&new_id=" + new_id;
}
window.open (url,"", "left=0, top=5, width=500, height=500, scrollbars=yes, statbar=no" );
}
function onlyNum(){
if ((event.keyCode < 48) || (event.keyCode > 57)){
event.returnValue = false;
}
}
function onlyNum_chk_jumin(){
document.frm_man.chk_jumin.value="no";
if ((event.keyCode < 48) || (event.keyCode > 57)){
event.returnValue = false;
}
}
function init(){
var tmpstr = document.frm_man.txtJumin1.value;
if (tmpstr == ""){
document.frm_man.txtJumin1.focus();
}else{
document.frm_man.txtName.focus();
}
}
function work_day(){
var new_id = document.getElementById("new_id").value;
if(new_id == ""){
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>õ<EFBFBD><C3B5><EFBFBD> <20>ʾҽ<CABE><D2BD>ϴ<EFBFBD>.");
return;
}
window.open("./interviewer_work_day.asp?new_id=" + new_id, "<22>ٹ<EFBFBD><D9B9><EFBFBD><EFBFBD><EFBFBD> <20><>ȸ", "left=0, top=5, width=500, height=500, scrollbars=yes, statbar=no" );
}
function js_greade_view(x){
var xid=x.new_id.value; // <20><><EFBFBD>̵<EFBFBD>
var xname=x.txtName.value; // <20≯<EFBFBD>
var xjumin=x.txtJumin1.value; // <20>ֹι<D6B9>ȣ(<28><>6<EFBFBD>ڸ<EFBFBD>)
if((xid=="")||(xname=="")||(xjumin=="")){
alert("[<5B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ID],[<5B≯<EFBFBD>],[<5B>ֹι<D6B9>ȣ] <20><> <20><><EFBFBD><EFBFBD> <20>־<EFBFBD><D6BE><EFBFBD> <20><><EFBFBD><EFBFBD>Ȯ<EFBFBD><C8AE><EFBFBD><EFBFBD> <20>ϽǼ<CFBD> <20>ֽ<EFBFBD><D6BD>ϴ<EFBFBD> ");
return;
}
var url = "interviewer_grade_info.asp?xid="+xid+"&xname="+xname+"&xjumin="+xjumin;
var pwidth=1000;
var pheight=500;
var tleft=(screen.width-pwidth)/2;
var ttop=(screen.height-pheight)/2;
winObj=window.open(url, "wins", "left="+tleft+", top="+ttop+", menubar=no, location=no, status=no, toolbar=no, width="+pwidth+", height="+pheight+", scrollbars=yes ,resizable=no");
}
</script>
</div>
<!-- /.content-wrapper -->
<!-- #include virtual = "include/footer.asp" -->