최초커밋
This commit is contained in:
646
approval/doc_prepayment2_print.asp
Normal file
646
approval/doc_prepayment2_print.asp
Normal file
@@ -0,0 +1,646 @@
|
||||
<!-- #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> <20>ۼ<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">
|
||||
<%
|
||||
dim tmpstr
|
||||
dim Query
|
||||
dim i
|
||||
dim user_name(4) '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,0:<3A><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD>, 1:<3A≯<EFBFBD>,2:<3A><><EFBFBD><EFBFBD>,3:<3A><>ȭ<EFBFBD><C8AD>ȣ, 4:<3A>μ<EFBFBD><CEBC>ڵ<EFBFBD>(<28><>)
|
||||
dim Max_Width
|
||||
dim title
|
||||
dim Curr_date '<27><><EFBFBD>ó<EFBFBD>¥
|
||||
dim Company(6)
|
||||
dim gap(23)'1:<3A><><EFBFBD><EFBFBD>ó, 2:<3A><><EFBFBD><EFBFBD>ó<EFBFBD><C3B3>ȭ<EFBFBD><C8AD>ȣ, 3:<3A><><EFBFBD><EFBFBD>ó<EFBFBD><C3B3><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 4:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 5:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 6:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>,
|
||||
'7:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱݳ<DEB1><DDB3><EFBFBD>, 8:<3A><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD>, 9:<3A>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD>, 10:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1>հ<EFBFBD><D5B0><EFBFBD>, 11:<3A><><EFBFBD>γ<EFBFBD><CEB3><EFBFBD>, 12:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE>, 13:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE>ȣ
|
||||
'14:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱݳ<DEB1><DDB3><EFBFBD><EFBFBD><EFBFBD> 1<><31>° <20><EFBFBD>, 15:1<><31>°<EFBFBD>ݾ<EFBFBD>
|
||||
'16:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱݳ<DEB1><DDB3><EFBFBD><EFBFBD><EFBFBD> 1<><31>° <20><EFBFBD>, 17:1<><31>°<EFBFBD>ݾ<EFBFBD>
|
||||
'18:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱݳ<DEB1><DDB3><EFBFBD><EFBFBD><EFBFBD> 1<><31>° <20><EFBFBD>, 19:1<><31>°<EFBFBD>ݾ<EFBFBD>
|
||||
'20:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱݳ<DEB1><DDB3><EFBFBD><EFBFBD><EFBFBD> 1<><31>° <20><EFBFBD>, 21:1<><31>°<EFBFBD>ݾ<EFBFBD>
|
||||
'22:<3A><><EFBFBD><EFBFBD><EFBFBD>ޱݳ<DEB1><DDB3><EFBFBD><EFBFBD><EFBFBD> 1<><31>° <20><EFBFBD>, 23:1<><31>°<EFBFBD>ݾ<EFBFBD>
|
||||
dim krc_no
|
||||
dim print_type '1:<3A><><EFBFBD><EFBFBD>, 2:<3A><>¥<EFBFBD><C2A5><EFBFBD><EFBFBD>Ʈ
|
||||
dim db_table_name
|
||||
|
||||
db_table_name = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
|
||||
title="<22><><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD><EFBFBD><EFBFBD>2"'<27><><EFBFBD>Ǽ<EFBFBD>"
|
||||
Max_Width =750
|
||||
Curr_date = year(date) & "<22><> " & month(date) & "<22><> " & day(date) & "<22><>"
|
||||
|
||||
set rsm = server.CreateObject("ADODB.RECORDSET")
|
||||
|
||||
''//===============
|
||||
''ȸ<><C8B8> ȸ<><C8B8><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5>Ϲ<EFBFBD>ȣ, <20><>ǥ<EFBFBD>ڸ<EFBFBD>, <20>ּ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
Query = "select * from company"
|
||||
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
||||
Company(1) = adors("com_name")
|
||||
Company(2) = adors("<22><><EFBFBD><EFBFBD><EFBFBD>ڵ<EFBFBD><DAB5>Ϲ<EFBFBD>ȣ")
|
||||
Company(3) = adors("<22><>ǥ<EFBFBD>ڸ<EFBFBD>")
|
||||
Company(4) = adors("<22>ּ<EFBFBD>")
|
||||
Company(5) = adors("<22><><EFBFBD>ε<EFBFBD><CEB5>Ϲ<EFBFBD>ȣ")
|
||||
Company(6) = adors("ȸ<><C8B8><EFBFBD><EFBFBD>ǥ<EFBFBD><C7A5>ȭ<EFBFBD><C8AD>ȣ")
|
||||
adoRs.close
|
||||
|
||||
''///===============
|
||||
''<27>α<EFBFBD><CEB1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
user_name(0) = Session("User_Number")
|
||||
Query = "SELECT p_name, p_team_name, p_rank_name, p_tel3 FROM project2.dbo.V_Person WHERE p_no = '" & user_name(0) & "'"
|
||||
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
||||
user_name(1) = adoRs("p_name") '<27≯<EFBFBD>
|
||||
user_name(2) = adoRs("p_rank_name") '<27><><EFBFBD><EFBFBD> <20>ڵ<EFBFBD>
|
||||
user_name(3) = adoRs("p_tel3") '<27><><EFBFBD><EFBFBD> <20><>ȭ
|
||||
user_name(4) = adoRs("p_team_name") '<27>μ<EFBFBD><CEBC>ڵ<EFBFBD>
|
||||
adoRs.close
|
||||
|
||||
|
||||
''////////========================
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
gap(1) = request("txt_target01")
|
||||
gap(2) = request("txt_tel_num_1") & "-" & request("txt_tel_num_2") & "-" & request("txt_tel_num_3")
|
||||
gap(3) = request("txt_target02")
|
||||
gap(4) = request("txt_date_1")
|
||||
gap(5) = request("txt_date_2")
|
||||
gap(6) = request("txt_target03")
|
||||
gap(7) = request("txt_target04")
|
||||
gap(8) = request("txt_target05")
|
||||
gap(9) = request("txt_target06")
|
||||
gap(10) = request("txt_target07")
|
||||
gap(11) = request("txt_target08")
|
||||
gap(12) = request("txt_target09")
|
||||
gap(13) = request("txt_target10")
|
||||
' Response.Write "'gap(11)" & replace(gap(11),chr(13),"<br>") & "<br>"
|
||||
|
||||
gap(14) =request("hangmok")(1)
|
||||
gap(15) = request("hangmok_money")(1)
|
||||
gap(16) = request("hangmok")(2)
|
||||
gap(17) = request("hangmok_money")(2)
|
||||
gap(18) = request("hangmok")(3)
|
||||
gap(19) = request("hangmok_money")(3)
|
||||
gap(20) = request("hangmok")(4)
|
||||
gap(21) = request("hangmok_money")(4)
|
||||
gap(22) = request("hangmok")(5)
|
||||
gap(23) = request("hangmok_money")(5)
|
||||
|
||||
|
||||
print_type = request("print_type")
|
||||
'Response.Write "gap : " & request("txt_target10") & "<BR>"
|
||||
tmp_txt1 = request("tmp_txt1")
|
||||
tmp_txt2 = request("tmp_txt2")
|
||||
tmp_txt3 = request("tmp_txt3")
|
||||
tmp_txt4 = request("tmp_txt4")
|
||||
tmp_txt5 = request("tmp_txt5")
|
||||
tmp_txt6 = request("tmp_txt6")
|
||||
tmp_txt7 = request("tmp_txt7")
|
||||
tmp_txt8 = request("tmp_txt8")
|
||||
tmp_txt9 = request("tmp_txt9")
|
||||
tmp_txt10 = request("tmp_txt10")
|
||||
tmp_txt11 = request("tmp_txt11")
|
||||
tmp_txt12 = request("tmp_txt12")
|
||||
|
||||
if cint(print_type) = 2 then
|
||||
'<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ǽ<EFBFBD><C7BC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ <20><><EFBFBD><EFBFBD>
|
||||
''///===============
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ <20><><EFBFBD><EFBFBD>
|
||||
Query = "select <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ as krc_no from " & db_table_name
|
||||
query = query & " where <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> = '" & replace(title, " ", "") & "' "
|
||||
query = query & " and substring(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ,5,4) = '" & year(date) & "' "
|
||||
query = query & " order by <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ"
|
||||
'Response.Write "query : " & query & "<BR>"
|
||||
|
||||
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
||||
if adoRs.recordcount <= 0 then
|
||||
krc_no = 0
|
||||
else
|
||||
adoRs.movelast
|
||||
tmpstr = split(trim(adoRs("krc_no")),"-")
|
||||
'alert(adors("krc_no"))
|
||||
krc_no = tmpstr(3)
|
||||
end if
|
||||
adoRs.close
|
||||
krc_no = int(krc_no) + 1
|
||||
tmpstr = "KRC-" & year(date) & "-"
|
||||
tmpstr = tmpstr & "4-"
|
||||
krc_no = tmpstr & ZeroFormat(krc_no,5)
|
||||
|
||||
target97 = user_name(1) & "^^" & user_name(2) & "^^" & user_name(3) & "^^" & user_name(4)
|
||||
target98 = Company(1) & "^^" & Company(2) & "^^" & Company(3) & "^^" & Company(4) & "^^" & Company(5) & "^^" & Company(6)
|
||||
tmp_money = int(replace(gap(8), ",", ""))
|
||||
%>
|
||||
<!-- #include file = "inc_payapproval.asp" -->
|
||||
<!-- #include file = "inc_payapproval_line.asp" -->
|
||||
<!-- #include file = "inc_preapproval.asp" -->
|
||||
<%
|
||||
target99 = tmp_txt1 & "^^" & tmp_txt2 & "^^" & tmp_txt3 & "^^" & tmp_txt4 & "^^" & tmp_txt5 & "^^" & tmp_txt6
|
||||
target100 = tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10 & "^^" & tmp_txt11 & "^^" & tmp_txt12
|
||||
|
||||
'Document table<6C><65> <20><><EFBFBD><EFBFBD>
|
||||
query = "INSERT INTO Document "
|
||||
query = query & " (d_no, d_name, d_write_name, d_write_date, d_flag, d_type, "
|
||||
query = query & " d_order_cnt, d_orders,"
|
||||
query = query & " d_order1, d_order2, d_order3, d_order4, d_order5, "
|
||||
query = query & " d_order6, d_order7, d_order8, d_order9, d_order10, "
|
||||
query = query & " d_view, d_delok) "
|
||||
query = query & "VALUES "
|
||||
query = query & " ('" & krc_no & "', '" & replace(title, " ", "") & "', '" & Session("loginuser") & "', '" & date() & "', '11', '" & d_type & "', "
|
||||
query = query & " '" & d_order_cnt & "', '" & d_orders & "', "
|
||||
query = query & " '" & d_order1 & "', '" & d_order2 & "', '" & d_order3 & "', '" & d_order4 & "', '" & d_order5 & "', "
|
||||
query = query & " '" & d_order6 & "', '" & d_order7 & "', '" & d_order8 & "', '" & d_order9 & "', '" & d_order10 & "', "
|
||||
query = query & " 'Y', 'N') "
|
||||
|
||||
'Response.Write query & "<BR>"
|
||||
adoconn.execute query
|
||||
'====================================================================
|
||||
|
||||
'//========================
|
||||
'<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϱ<EFBFBD>
|
||||
query = "insert into " & db_table_name & " (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, target1, target2, target3, target4, target5, "
|
||||
query = query & " target6, target7, target8, target9, target10, target11, target12, target13, "
|
||||
query = query & " target19, target20, target21, target22, target23, target24, target25, target26, target27, target28, "
|
||||
|
||||
query = query & " target97,target98,target99,target100, "
|
||||
query = query & " p_sn, <20>߱<EFBFBD><DFB1><EFBFBD>, <20>߱ð<DEBD>, login_p_no, login_<6E≯<EFBFBD>,login_ip) values ( "
|
||||
query = query & "'" & krc_no & "', "
|
||||
query = query & "'" & replace(title, " ", "") & "', "
|
||||
query = query & "'" & gap(1) & "', "
|
||||
query = query & "'" & gap(2) & "', "
|
||||
query = query & "'" & gap(3) & "', "
|
||||
query = query & "'" & gap(4) & "', "
|
||||
query = query & "'" & gap(5) & "', "
|
||||
query = query & "'" & gap(6) & "', "
|
||||
query = query & "'" & CheckWord(gap(7)) & "', "
|
||||
query = query & "'" & gap(8) & "', "
|
||||
query = query & "'" & gap(9) & "', "
|
||||
query = query & "'" & gap(10) & "', "
|
||||
query = query & "'" & gap(11) & "', "
|
||||
for i=12 to 23
|
||||
query = query & "'" & gap(i) & "', "
|
||||
next
|
||||
|
||||
query = query & "'" & target97 & "', "
|
||||
query = query & "'" & target98 & "', "
|
||||
query = query & "'" & target99 & "', "
|
||||
query = query & "'" & target100 & "', "
|
||||
|
||||
query = query & "'" & gap(13) & "', "
|
||||
query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', "
|
||||
query = query & "'" & time() & "', "
|
||||
query = query & "'" & user_name(0) & "', "
|
||||
query = query & "'" & user_name(1) & "', "
|
||||
query = query & "'" & Session("USERIP") & "') "
|
||||
' Response.Write query & "<br>"
|
||||
adoconn.execute query
|
||||
|
||||
''<27>α<EFBFBD><CEB1><EFBFBD><EFBFBD><EFBFBD>
|
||||
query = "insert into " & db_table_name & "_log (<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȣ, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_p_no, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD≯<EFBFBD>, <20><><EFBFBD><EFBFBD>,"
|
||||
query = query & " <20>߱<EFBFBD><DFB1><EFBFBD>, <20>߱ð<DEBD>, <20>߱<EFBFBD><DFB1><EFBFBD>_p_no, <20>߱<EFBFBD><DFB1><EFBFBD>_<EFBFBD≯<EFBFBD>, <20>߱<EFBFBD><DFB1><EFBFBD>_ip) values ( "
|
||||
query = query & "'" & krc_no & "', "
|
||||
query = query & "'" & replace(title, " ", "") & "', "
|
||||
query = query & "'" & user_name(0) & "', "
|
||||
query = query & "'" & user_name(1) & "', "
|
||||
query = query & "'" & replace(title, " ", "") & "<22>μ<EFBFBD>', "
|
||||
query = query & "'" & year(date) & "-" & zeroformat(month(date),2) & "-" & zeroformat(day(date),2) & "', "
|
||||
query = query & "'" & time() & "', "
|
||||
query = query & "'" & user_name(0) & "', "
|
||||
query = query & "'" & user_name(1) & "', "
|
||||
query = query & "'" &Session("USERIP") & "')"
|
||||
adoconn.execute query
|
||||
|
||||
|
||||
|
||||
''<27><><EFBFBD>ڸ<EFBFBD> '-'<27><><EFBFBD><EFBFBD> <20><>,<2C><><EFBFBD><EFBFBD> <20><>ü
|
||||
gap(4) = mid(gap(4),1,4) & "<22><> " & mid(gap(4),6,2) & "<22><> " & mid(gap(4),9,2) & "<22><>"
|
||||
gap(5) = mid(gap(5),1,4) & "<22><> " & mid(gap(5),6,2) & "<22><> " & mid(gap(5),9,2) & "<22><>"
|
||||
for i=1 to 11
|
||||
if trim(gap(i)) ="" then
|
||||
gap(i) = " "
|
||||
end if
|
||||
next
|
||||
''<27>ݾ<EFBFBD><DDBE><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
for i=8 to 10
|
||||
if gap(i) = " " then
|
||||
gap(i) = "0"
|
||||
end if
|
||||
next
|
||||
''<27>ݾ<EFBFBD><DDBE><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 0<><30><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
for i=15 to 23 step 2
|
||||
if gap(i) = " " then
|
||||
gap(i) = "0"
|
||||
end if
|
||||
next
|
||||
|
||||
end if
|
||||
|
||||
%>
|
||||
|
||||
<script language=javascript>
|
||||
|
||||
function win_close()
|
||||
{
|
||||
window.close();
|
||||
}
|
||||
function subit()
|
||||
{
|
||||
|
||||
var txt_date_1 = document.frm_estimate_moeny.txt_date_1.value;
|
||||
var txt_date_2 = document.frm_estimate_moeny.txt_date_2.value;
|
||||
var txt_target01 = document.frm_estimate_moeny.txt_target01.value;
|
||||
var txt_target02 = document.frm_estimate_moeny.txt_target02.value;
|
||||
var txt_target03 = document.frm_estimate_moeny.txt_target03.value;
|
||||
var txt_target04 = document.frm_estimate_moeny.txt_target04.value;
|
||||
var txt_target05 = document.frm_estimate_moeny.txt_target05.value;
|
||||
var txt_target06 = document.frm_estimate_moeny.txt_target06.value;
|
||||
var txt_target07 = document.frm_estimate_moeny.txt_target07.value;
|
||||
var txt_target08 = document.frm_estimate_moeny.txt_target08.value;
|
||||
var txt_tel_num_1 = document.frm_estimate_moeny.txt_tel_num_1.value;
|
||||
var txt_tel_num_2 = document.frm_estimate_moeny.txt_tel_num_2.value;
|
||||
var txt_tel_num_3 = document.frm_estimate_moeny.txt_tel_num_3.value;
|
||||
|
||||
var url = "doc_prepayment2_print.asp";
|
||||
url = url + "?print_type=2";
|
||||
|
||||
|
||||
document.frm_estimate_moeny.action=url;
|
||||
document.frm_estimate_moeny.submit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
function print_ie()
|
||||
{
|
||||
|
||||
//
|
||||
if(navigator.userAgent.toLowerCase().indexOf('chrome') > -1){ // Chrome Browser Detected?
|
||||
window.PPClose = false; // Clear Close Flag
|
||||
window.onbeforeunload = function(){ // Before Window Close Event
|
||||
if(window.PPClose === false){ // Close not OK?
|
||||
return 'Leaving this page will block the parent window!\nPlease select "Stay on this Page option" and use the\nCancel button instead to close the Print Preview Window.\n';
|
||||
}
|
||||
}
|
||||
window.print(); // Print preview
|
||||
window.PPClose = true; // Set Close Flag to OK.
|
||||
}else{
|
||||
window.print();
|
||||
window.close();
|
||||
}
|
||||
}
|
||||
|
||||
function clsit()
|
||||
{
|
||||
alert('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>û <20>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>');
|
||||
location.href = "doc_list.asp?title=<3D><><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD><DEB1><EFBFBD><EFBFBD><EFBFBD>2";
|
||||
|
||||
}
|
||||
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
|
||||
<%if cint(print_type) = 2 then%>
|
||||
<script>
|
||||
clsit();
|
||||
</script>
|
||||
<% end if %>
|
||||
|
||||
<form method='post' name='frm_estimate_moeny'>
|
||||
|
||||
<input type=hidden name = "txt_target01" value="<%=gap(1)%>">
|
||||
<%tmpstr = split(gap(2),"-")%>
|
||||
<input type=hidden name = "txt_tel_num_1" value="<%=tmpstr(0)%>">
|
||||
<input type=hidden name = "txt_tel_num_2" value="<%=tmpstr(1)%>">
|
||||
<input type=hidden name = "txt_tel_num_3" value="<%=tmpstr(2)%>">
|
||||
<input type=hidden name = "txt_target02" value="<%=gap(3)%>">
|
||||
<input type=hidden name = "txt_date_1" value="<%=gap(4)%>">
|
||||
<input type=hidden name = "txt_date_2" value="<%=gap(5)%>">
|
||||
|
||||
<input type=hidden name = "txt_target03" value="<%=gap(6)%>">
|
||||
<input type=hidden name = "txt_target04" value="<%=gap(7)%>">
|
||||
<input type=hidden name = "txt_target05" value="<%=gap(8)%>">
|
||||
<input type=hidden name = "txt_target06" value="<%=gap(9)%>">
|
||||
<input type=hidden name = "txt_target07" value="<%=gap(10)%>">
|
||||
<input type=hidden name = "txt_target08" value="<%=replace(gap(11),chr(13),"<br>")%>">
|
||||
<input type=hidden name = "txt_target09" value="<%=gap(12)%>">
|
||||
<input type=hidden name = "txt_target10" value="<%=gap(13)%>">
|
||||
|
||||
<%for i=1 to 5%>
|
||||
<input type=hidden name='hangmok' value='<%=gap(14+((i-1)*2))%>'>
|
||||
<input type=hidden name='hangmok_money' value='<%=gap(15+((i-1)*2))%>'>
|
||||
<%next%>
|
||||
|
||||
<td width="100%" valign="top">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<!-- Ȯ<><C8AE> -->
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="padding:20;">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<%if cint(print_type) = 1 then%>
|
||||
<tr>
|
||||
<td style="padding:0 0 5 0;">
|
||||
<img src="/images/common/btn_approve.jpg" onClick="subit()" style="CURSOR:pointer;">
|
||||
<img src="/images/common/btn_cancel.jpg" onClick="win_close();" style="CURSOR:pointer;">
|
||||
</td>
|
||||
</tr>
|
||||
<%end if%>
|
||||
<tr>
|
||||
<td><img src="/images/approval/docbg_top.jpg"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="710" align="center" style="padding:10;border-left:1px solid #dedede;border-right:1px solid #dedede;">
|
||||
<table width="95%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td colspan="5" style="padding:0 0 10 0">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td width="255"><img src="/images/approval/doc_stit13_3.jpg"></td>
|
||||
<td>
|
||||
<table width="100%" cellpadding="0" cellspacing="1" border="0" style="border-collapse:collapse;" bgcolor="#d8d8d8">
|
||||
<%if cdate(formatdatetime(date,2)) > "2014-01-07" then
|
||||
tmp_title = "<22><>ǥ<EFBFBD>̻<EFBFBD>"
|
||||
else
|
||||
tmp_title = "<22><>ȸ<EFBFBD><C8B8>"
|
||||
end if%>
|
||||
|
||||
<tr align="center">
|
||||
<td height=20 class="k_small" bgcolor="#F1F1F1" colspan=2 width=22% style="font-size:11px;"><3E><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>(<28>ǻ<EFBFBD>)</td>
|
||||
<td height=20 class="k_small" bgcolor="#F1F1F1" colspan=2 width=22% style="font-size:11px; display:none;"><3E><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD>)</td>
|
||||
<td height=20 class="k_small" bgcolor="#F1F1F1" colspan=2 width=22% style="font-size:11px;"><3E><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>(<28>ӿ<EFBFBD>)</td>
|
||||
<td colspan=4 class="k_small" bgcolor="#F1F1F1" width=44% style="font-size:11px;"><3E><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD>)</td>
|
||||
</tr>
|
||||
<tr align="center">
|
||||
<td height=20 class="k_small" bgcolor="#F1F1F1" width=10% style="font-size:11px;"><3E><><EFBFBD><EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><3E>μ<EFBFBD><CEBC><EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px; display:none;"><3E><><EFBFBD><EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px; display:none;"><3E>μ<EFBFBD><CEBC><EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><3E>ӿ<EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><%=tmp_title%></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><3E><><EFBFBD><EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><3E>μ<EFBFBD><CEBC><EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><3E>ӿ<EFBFBD></td>
|
||||
<td width=10% class="k_small" bgcolor="#F1F1F1" style="font-size:11px;"><%=tmp_title%></td>
|
||||
</tr>
|
||||
<%
|
||||
'my_pos = "3"
|
||||
'Response.Write "my_pos : " & my_pos & "<BR>"
|
||||
tmp_txt = "<p style='line-height:11pt;font-size:9pt;'>" & Session("loginuser") & "<BR>" & replace(date(), "-","") & "<BR>" & FormatDateTime(time,4)
|
||||
tmp_txt = Session("loginuser") & "<BR>" & replace(date(), "-","") & "<BR>" & Session("User_Number")
|
||||
if my_pos = 6 then '<27><><EFBFBD><EFBFBD>
|
||||
tmp_txt1 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt2 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt3 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt4 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt5 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt6 = tmp_txt
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
tmp_txt11 = "/"
|
||||
tmp_txt12 = month(now()) & " / " & day(now())
|
||||
elseif my_pos = 5 then '<27>ӿ<EFBFBD>
|
||||
tmp_txt1 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt2 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt3 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt4 = tmp_txt
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = " "
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
tmp_txt11 = month(now()) & " / " & day(now())
|
||||
tmp_txt12 = "/"
|
||||
elseif my_pos = 3 or my_pos = 4 then '<27>μ<EFBFBD><CEBC><EFBFBD>
|
||||
tmp_txt1 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt2 = tmp_txt
|
||||
tmp_txt3 = " "
|
||||
tmp_txt4 = " "
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = " "
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = month(now()) & " / " & day(now())
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
tmp_txt11 = "/"
|
||||
tmp_txt12 = "/"
|
||||
elseif my_pos = 1 OR my_pos = 2 then '<27><> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>
|
||||
tmp_txt1 = tmp_txt
|
||||
tmp_txt2 = " "
|
||||
tmp_txt3 = " "
|
||||
tmp_txt4 = " "
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = " "
|
||||
tmp_txt7 = month(now()) & " / " & day(now())
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
tmp_txt11 = "/"
|
||||
tmp_txt12 = "/"
|
||||
else '<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
tmp_txt1 = tmp_txt
|
||||
tmp_txt2 = " "
|
||||
tmp_txt3 = " "
|
||||
tmp_txt4 = " "
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = " "
|
||||
tmp_txt7 = month(now()) & " / " & day(now())
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
tmp_txt11 = "/"
|
||||
tmp_txt12 = "/"
|
||||
end if
|
||||
%>
|
||||
<input type="hidden" name="tmp_txt1" value="<%=tmp_txt1%>">
|
||||
<input type="hidden" name="tmp_txt2" value="<%=tmp_txt2%>">
|
||||
<input type="hidden" name="tmp_txt3" value="<%=tmp_txt3%>">
|
||||
<input type="hidden" name="tmp_txt4" value="<%=tmp_txt4%>">
|
||||
<input type="hidden" name="tmp_txt5" value="<%=tmp_txt5%>">
|
||||
<input type="hidden" name="tmp_txt6" value="<%=tmp_txt6%>">
|
||||
<input type="hidden" name="tmp_txt7" value="<%=tmp_txt7%>">
|
||||
<input type="hidden" name="tmp_txt8" value="<%=tmp_txt8%>">
|
||||
<input type="hidden" name="tmp_txt9" value="<%=tmp_txt9%>">
|
||||
<input type="hidden" name="tmp_txt10" value="<%=tmp_txt10%>">
|
||||
<input type="hidden" name="tmp_txt11" value="<%=tmp_txt11%>">
|
||||
<input type="hidden" name="tmp_txt12" value="<%=tmp_txt12%>">
|
||||
<tr height="35">
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt1%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt3%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"style="display:none;"><%=tmp_txt3%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"style="display:none;"><%=tmp_txt4%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt4%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt5%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"></td>
|
||||
</tr>
|
||||
<tr height="18">
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt7%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt9%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"style="display:none;"><%=tmp_txt9%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"style="display:none;"><%=tmp_txt10%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt11%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt12%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small">/</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="24">
|
||||
<td align="center" colspan="5" style="font-size:12px;"><3E><><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD>ó</td>
|
||||
<td width="35%" >
|
||||
<font class="tahoma">
|
||||
<%=gap(1)%>
|
||||
<%tmpstr = split(gap(2),"-")%>
|
||||
Tel.
|
||||
<%=tmpstr(0)%> - <%=tmpstr(1)%> - <%=tmpstr(2)%>
|
||||
</font>
|
||||
</td>
|
||||
<td width="15%" align="center" rowspan="4"><3E><><EFBFBD><EFBFBD><EFBFBD>ޱ<EFBFBD> <20><><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" align="center" rowspan="4">
|
||||
<%if not (trim(gap(7)) = " " or trim(gap(7)) = "") then%>
|
||||
<%=ViewWord(gap(7))%>
|
||||
<%else%>
|
||||
<table width="100%" cellpadding="3" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td width="60%" align="center"><3E><EFBFBD></td>
|
||||
<td width="40%" align="center"><3E>ݾ<EFBFBD></td>
|
||||
</tr>
|
||||
<%for i=1 to 5%>
|
||||
<tr>
|
||||
<%if trim(gap(14+((i-1)*2))) = "" then%>
|
||||
<td > </td>
|
||||
<td > </td>
|
||||
<% else %>
|
||||
<td ><%=gap(14+((i-1)*2))%></td>
|
||||
<td align="right">\ <%=gap(15+((i-1)*2))%></td>
|
||||
<% end if %>
|
||||
</tr>
|
||||
<%next%>
|
||||
</table>
|
||||
<%end if%>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD>ó <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<font class="tahoma">
|
||||
<%=gap(3)%>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<font class="tahoma">
|
||||
<%=gap(4)%>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<font class="tahoma">
|
||||
<%=gap(5)%>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="30">
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" >
|
||||
<font class="tahoma">
|
||||
<%=gap(6)%>
|
||||
</font>
|
||||
</td>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD></td>
|
||||
<td width="35%" align="right">
|
||||
<font class="tahoma">
|
||||
<%=gap(8)%> <20><>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="30">
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ</td>
|
||||
<td width="35%" >
|
||||
<%=gap(12)%>
|
||||
</td>
|
||||
<td width="15%" align="center" ><3E>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" align="right">
|
||||
<%=gap(9)%> <20><>
|
||||
</td>
|
||||
</tr>
|
||||
<tr height="30">
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="35%" align="center">
|
||||
<%=user_name(1)%>
|
||||
</td>
|
||||
<td width="15%" align="center" ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>հ<EFBFBD><D5B0><EFBFBD></td>
|
||||
<td width="35%" align="right">
|
||||
<%=gap(10)%> <20><>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" style="padding:10 0 0 0;">
|
||||
<textarea style="width:100%;height:200;"><%=replace(gap(11),"<br>",chr(13))%></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" style="padding:20 0 0 0" align="right">
|
||||
<pre><font class="tahoma"> <09><> <20><> <20><> <20><> : <20><> <20><> <20><></font></pre>
|
||||
<pre><font class="tahoma"> <09><> <20><> <20><> : (<28><>)</font></pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" align="center" style="padding:15 0 5 0"><!-- #include virtual= "approval/inc_logo.asp" --></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><img src="/images/approval/docbg_btm.jpg"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content -->
|
||||
<!-- REQUIRED SCRIPTS -->
|
||||
<script>
|
||||
|
||||
</script>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<!-- #include virtual = "include/footer.asp" -->
|
||||
Reference in New Issue
Block a user