최초커밋
This commit is contained in:
564
approval/doc_consultation_print.asp
Normal file
564
approval/doc_consultation_print.asp
Normal file
@@ -0,0 +1,564 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
dim doc_type : doc_type = "doc_consultation_print"
|
||||
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 target_name '<27>߱<DFB1><DEB4><EFBFBD><EFBFBD><EFBFBD> <20≯<EFBFBD>
|
||||
dim Curr_date '<27><><EFBFBD>ó<EFBFBD>¥
|
||||
dim Company(6)
|
||||
dim Gap(10) '1:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20>ڵ<EFBFBD>, 2:ǰ<>Ǹ<EFBFBD><C7B8><EFBFBD>, 3:<3A><>ǰ<EFBFBD><C7B0><EFBFBD><EFBFBD>, 4:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 5:<3A><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD>, 6:<3A>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD>, 7:<3A>Ѿ<EFBFBD>, 8:<3A>ŷ<EFBFBD>ó, 9:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD>ڵ<EFBFBD>, 10:ǰ<><C7B0>
|
||||
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="ǰ <20><> <20><>"
|
||||
Max_Width =750
|
||||
Curr_date = year(date) & "<22><> " & zeroformat(month(date),2) & "<22><> " & zeroformat(day(date),2) & "<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_prj_name")
|
||||
gap(2) = request("txt_pay_target")
|
||||
gap(3) = request("txt_date")
|
||||
gap(4) = request("txt_date2")
|
||||
gap(5) = request("txt_pay")
|
||||
gap(6) = request("txt_pay_vat")
|
||||
gap(7) = request("txt_pay_tot")
|
||||
gap(8) = request("txt_client")
|
||||
gap(9) = request("txt_p_sn")
|
||||
gap(10) = request("txt_name")
|
||||
print_type = request("print_type")
|
||||
|
||||
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")
|
||||
|
||||
'Response.Write "no : " & krc_no & "<BR>"
|
||||
|
||||
if cint(print_type) = 2 then
|
||||
'<27><><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>ȣ"
|
||||
adoRs.open Query, adoconn,adopenstatic, adlockreadonly
|
||||
if adoRs.recordcount <= 0 then
|
||||
krc_no = 0
|
||||
else
|
||||
adoRs.movelast
|
||||
tmpstr = split(trim(adoRs("krc_no")),"-")
|
||||
krc_no = tmpstr(3)
|
||||
end if
|
||||
adoRs.close
|
||||
krc_no = int(krc_no) + 1
|
||||
tmpstr = "KRC-" & year(date) & "-"
|
||||
tmpstr = tmpstr & "0-"
|
||||
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)
|
||||
'====================================================================
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>ȸ<EFBFBD><C8B8>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
|
||||
%>
|
||||
<!-- #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
|
||||
target100 = tmp_txt6 & "^^" & tmp_txt7 & "^^" & tmp_txt8 & "^^" & tmp_txt9 & "^^" & tmp_txt10
|
||||
|
||||
'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 & "', 'ǰ<>Ǽ<EFBFBD>', '" & Session("loginuser") & "', '" & date() & "', '10', '" & 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,target97,target98,target99,target100,p_sn,target9, <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 & "'" & CheckWord(gap(2)) & "', "
|
||||
query = query & "'" & gap(3) & "', "
|
||||
query = query & "'" & gap(4) & "', "
|
||||
query = query & "'" & gap(5) & "', "
|
||||
query = query & "'" & gap(6) & "', "
|
||||
query = query & "'" & gap(7) & "', "
|
||||
query = query & "'" & gap(8) & "', "
|
||||
|
||||
query = query & "'" & target97 & "', "
|
||||
query = query & "'" & target98 & "', "
|
||||
query = query & "'" & target99 & "', "
|
||||
query = query & "'" & target100 & "', "
|
||||
|
||||
query = query & "'" & gap(9) & "', "
|
||||
query = query & "'" & gap(10) & "', "
|
||||
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") & "')"
|
||||
if Request.ServerVariables("REMOTE_ADD") = "10.10.17.52" OR Request.ServerVariables("REMOTE_ADD") = "10.10.17.51" then
|
||||
else
|
||||
adoconn.execute query
|
||||
end if
|
||||
''<27><><EFBFBD>ڸ<EFBFBD> '-'<27><><EFBFBD><EFBFBD> <20><>,<2C><><EFBFBD><EFBFBD> <20><>ü
|
||||
gap(3) = mid(gap(3),1,4) & "<22><> " & mid(gap(3),6,2) & "<22><> " & mid(gap(3),9,2) & "<22><>"
|
||||
for i=1 to 9
|
||||
if trim(gap(i)) = "" then
|
||||
gap(i) = " "
|
||||
end if
|
||||
next
|
||||
for i=5 to 7
|
||||
if gap(i) = " " then
|
||||
gap(i) = "0"
|
||||
end if
|
||||
next
|
||||
|
||||
|
||||
'<27><><EFBFBD>簡 <20><>û<EFBFBD>Ǹ<EFBFBD> <20><><EFBFBD>ε<EFBFBD><CEB5><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ִ<EFBFBD><D6B4><EFBFBD> üũ<C3BC>ϰ<EFBFBD> <20>ִٸ<D6B4> <20>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
'--------------------------------------------------------
|
||||
'<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'set fso = server.createobject("scripting.filesystemobject")
|
||||
|
||||
'tmp_y = right(year(date), 2)
|
||||
|
||||
'upd = "D:\project_db\data\" & tmp_y & "\Document\consultation_" & Session("User_Number")
|
||||
'upd2 = "D:\project_db\data\" & tmp_y & "\Document\consultation\" & krc_no
|
||||
'upd0 = "D:\project_db\data\" & tmp_y & "\Document\consultation"
|
||||
'upd00 = "D:\project_db\data\" & tmp_y & "\Document"
|
||||
'Response.Write upd00 & "<Br>"
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'If (fso.FolderExists(upd00)) Then
|
||||
'
|
||||
'else
|
||||
' '<27>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
' fso.CreateFolder upd00
|
||||
'End If
|
||||
'
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'If (fso.FolderExists(upd0)) Then
|
||||
'
|
||||
'else
|
||||
' '<27>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
' fso.CreateFolder upd0
|
||||
'End If
|
||||
'
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'If (fso.FolderExists(upd)) Then
|
||||
' fso.MoveFolder upd, upd2
|
||||
'else
|
||||
' '<27>ش<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'End If
|
||||
'--------------------------------------------------------
|
||||
|
||||
|
||||
end if
|
||||
|
||||
%>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title><%=GNB_TITLE%></title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/basic.css">
|
||||
</head>
|
||||
|
||||
<script language=javascript>
|
||||
function win_close()
|
||||
{
|
||||
window.close();
|
||||
}
|
||||
function subit()
|
||||
{
|
||||
var txt_name = document.frm_money.txt_name.value;
|
||||
var txt_prj_name = document.frm_money.txt_prj_name.value;
|
||||
var txt_pay_target = document.frm_money.txt_pay_target.value;
|
||||
var txt_date = document.frm_money.txt_date.value;
|
||||
var txt_date2 = document.frm_money.txt_date2.value;
|
||||
var txt_pay = document.frm_money.txt_pay.value;
|
||||
var txt_pay_vat = document.frm_money.txt_pay_vat.value;
|
||||
var txt_pay_tot = document.frm_money.txt_pay_tot.value;
|
||||
var txt_client = document.frm_money.txt_client.value;
|
||||
var txt_p_sn = document.frm_money.txt_p_sn.value;
|
||||
|
||||
var url = "doc_consultation_print.asp"
|
||||
url = url + "?txt_prj_name=" + txt_prj_name;
|
||||
url = url + "&txt_pay_target=" + txt_pay_target;
|
||||
url = url + "&txt_date=" + txt_date;
|
||||
url = url + "&txt_date2=" + txt_date2;
|
||||
url = url + "&txt_pay=" + txt_pay;
|
||||
url = url + "&txt_pay_vat=" + txt_pay_vat;
|
||||
url = url + "&txt_pay_tot=" + txt_pay_tot;
|
||||
url = url + "&txt_client=" + txt_client;
|
||||
url = url + "&print_type=2";
|
||||
url = url + "&txt_p_sn=" + txt_p_sn;
|
||||
url = url + "&txt_name=" + txt_name;
|
||||
document.frm_money.action=url;
|
||||
document.frm_money.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>');
|
||||
self.close();
|
||||
opener.location.href = "doc_list.asp?title=ǰ<>Ǽ<EFBFBD>";
|
||||
}
|
||||
|
||||
//-->
|
||||
|
||||
</script>
|
||||
|
||||
<body topmargin="10" leftmargin="10" <%if cint(print_type) = 2 then%> onLoad="clsit();" <% end if %>>
|
||||
|
||||
<form method='post' name='frm_money'>
|
||||
<input type=hidden name = "txt_name" value="<%=gap(10)%>">
|
||||
<input type=hidden name = "txt_prj_name" value="<%=gap(1)%>">
|
||||
<input type=hidden name = "txt_pay_target" value="<%=gap(2)%>">
|
||||
<input type=hidden name = "txt_date" value="<%=gap(3)%>">
|
||||
<input type=hidden name = "txt_date2" value="<%=gap(4)%>">
|
||||
<input type=hidden name = "txt_pay" value="<%=gap(5)%>">
|
||||
<input type=hidden name = "txt_pay_vat" value="<%=gap(6)%>">
|
||||
<input type=hidden name = "txt_pay_tot" value="<%=gap(7)%>">
|
||||
<input type=hidden name = "txt_client" value="<%=gap(8)%>">
|
||||
<input type=hidden name="txt_p_sn" value='<%=gap(9)%>'>
|
||||
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<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="2" 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_stit20.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>
|
||||
<td colspan="5" class="k_small" align="center" bgcolor="#F1F1F1"><3E><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>(<28>ҼӺμ<D3BA>)</td>
|
||||
<td colspan="4" class="k_small" align="center" bgcolor="#F1F1F1"><3E><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD>)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E><><EFBFBD><EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E><><EFBFBD><EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E>μ<EFBFBD><CEBC><EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E>ӿ<EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><%=tmp_title%></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E><><EFBFBD><EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E>μ<EFBFBD><CEBC><EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><3E>ӿ<EFBFBD></td>
|
||||
<td width="11%" class="k_small" align="center" bgcolor="#F1F1F1"><%=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 = tmp_txt
|
||||
tmp_txt6 = "/"
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = month(now()) & " / " & day(now())
|
||||
elseif my_pos = 5 then '<27>ӿ<EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><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 = month(now()) & " / " & day(now())
|
||||
tmp_txt10 = "/"
|
||||
elseif my_pos = 3 or my_pos = 4 then '<27><><EFBFBD><EFBFBD>(<28>μ<EFBFBD><CEBC><EFBFBD>)
|
||||
tmp_txt1 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt2 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt3 = tmp_txt
|
||||
tmp_txt4 = " "
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = "/"
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = month(now()) & " / " & day(now())
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
elseif my_pos = 0 or my_pos = 1 then '<27><><EFBFBD><EFBFBD>
|
||||
tmp_txt1 = tmp_txt
|
||||
tmp_txt2 = "<22><><EFBFBD><EFBFBD>"
|
||||
tmp_txt3 = " "
|
||||
tmp_txt4 = " "
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = month(now()) & " / " & day(now())
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
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%>">
|
||||
<tr height="35">
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt1%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt2%> </td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt3%> </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_txt6%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt7%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt8%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt9%></td>
|
||||
<td bgcolor="#FFFFFF" align="center" class="k_small"><%=tmp_txt10%></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>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><> <3B><> <3B><></b></td>
|
||||
<td width="80%" class="tahoma"><%=Curr_date%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><></b></td>
|
||||
<td width="80%"><%=user_name(1)%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><></b></td>
|
||||
<td width="80%"><%=user_name(4)%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" style="padding:7 0 7 20"><b><3E><> <3B><></b></td>
|
||||
<td width="80%"><%=user_name(2)%></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#d8d8d8" height="1"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center" style="padding:10 0 10 0;font-size:14;font-family:dotum;"><b><3E>ϱ<EFBFBD><CFB1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ(<28><><EFBFBD><EFBFBD>)<29><> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD>, ǰ<>Ǹ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD><CFBF><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Ͽ<EFBFBD> <20>ֽñ<D6BD> <20>ٶ<EFBFBD><D9B6>ϴ<EFBFBD>.</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center" style="padding:10 0 0 0">
|
||||
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td width="20%" class="tit2" align="center"><3E><> <3B><></td>
|
||||
<td width="80%" class="tit7"><font class="tahoma"><%=gap(10)%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="tit2" align="center"><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><>(<28><><EFBFBD><EFBFBD>)</td>
|
||||
<td width="80%" class="tit7"><font class="tahoma"><%=gap(1)%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center" style="padding:10 0 0 0">
|
||||
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td width="20%" class="tit2" align="center">ǰ<>Ǹ<EFBFBD><C7B8><EFBFBD> <20><> <20><>Ÿ<EFBFBD><C5B8><EFBFBD><EFBFBD></td>
|
||||
<td width="80%" class="tit7"><font class="tahoma"><%=ViewWord(gap(2))%></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" align="center" style="padding:10 0 0 0">
|
||||
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td width="20%" class="tit2" align="center"><3E><><EFBFBD><EFBFBD><E0BFB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="30%" class="tit7"><font class="tahoma"><%=gap(3)%></font></td>
|
||||
<td class="tit2" align="center"><3E>ŷ<EFBFBD>ó</td>
|
||||
<td class="tit7"><font class="tahoma"><%=gap(8)%></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tit2" align="center"><3E><><EFBFBD>ް<EFBFBD><DEB0><EFBFBD></td>
|
||||
<td class="tit7"><font class="tahoma"><%=gap(5)%> <20><></font></td>
|
||||
<td class="tit2" align="center" rowspan="2"><3E><><EFBFBD><EFBFBD><EFBFBD>Ѿ<EFBFBD></td>
|
||||
<td class="tit7" rowspan="2"><font class="tahoma"><%=gap(7)%> <20><></font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td width="20%" class="tit2" align="center"><3E>ΰ<EFBFBD><CEB0><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td width="30%" class="tit7"><font class="tahoma"><%=gap(6)%> <20><></font></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<!--tr>
|
||||
<td colspan="2" align="" style="padding:10 0 0 0">
|
||||
<img src="/images/common/upload/btn_fileadd_over.gif" style="CURSOR:pointer;" onClick="javascript:window.open('Dfile.asp','','left=0,top=0,width=100,height=100,scrollbars=yes,resizable=yes')">
|
||||
</td>
|
||||
</tr-->
|
||||
|
||||
<tr>
|
||||
<td colspan="2" style="padding:20 0 0 0" align="right">
|
||||
<pre><font class="tahoma"> </font></pre>
|
||||
<pre><font class="tahoma"> </font></pre>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" 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>
|
||||
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user