최초커밋
This commit is contained in:
387
approval/doc_expense_approval_depart_print.asp
Normal file
387
approval/doc_expense_approval_depart_print.asp
Normal file
@@ -0,0 +1,387 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
dim Query
|
||||
dim i,j
|
||||
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()
|
||||
dim krc_no
|
||||
dim Max_length '<27>Է°<D4B7><C2B0><EFBFBD> <20>ټ<EFBFBD><D9BC><EFBFBD><EFBFBD><EFBFBD>
|
||||
dim print_type '1:<3A><><EFBFBD><EFBFBD>, 2:<3A><>¥<EFBFBD><C2A5><EFBFBD><EFBFBD>Ʈ
|
||||
dim db_table_name
|
||||
dim depart_cost_type
|
||||
dim cost_type(2) ''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
|
||||
dim groupfeeArr : groupfeeArr = "[]"
|
||||
|
||||
cost_type(1) = "<22><><EFBFBD>ι<EFBFBD><CEB9><EFBFBD>ī<EFBFBD><C4AB>"
|
||||
cost_type(2) = "<22><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>ī<EFBFBD><C4AB>"
|
||||
|
||||
db_table_name = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
||||
|
||||
title="<22>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>"
|
||||
Max_length = request("txt_Max_length")
|
||||
if cint(Max_length) = 0 then
|
||||
Max_length = 14
|
||||
end if
|
||||
|
||||
depart_cost_type = request("depart_cost_type")
|
||||
|
||||
Max_Width =750
|
||||
'//-- 20210428 hwkim
|
||||
'redim gap(Max_length,4) 'x:<3A><><EFBFBD><EFBFBD>, y:1:<3A><><EFBFBD><EFBFBD>, 2:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 3:<3A>ݾ<EFBFBD>, 4:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, (0,0) : <20>Ѿ<EFBFBD>
|
||||
redim gap(Max_length,6) 'x:<3A><><EFBFBD><EFBFBD>, y:1:<3A><><EFBFBD><EFBFBD>, 2:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 3:<3A>ݾ<EFBFBD>, 4:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 5:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ, 6:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, (0,0) : <20>Ѿ<EFBFBD>
|
||||
|
||||
Curr_date = year(date) & "<22><> " & zeroformat(month(date),2) & "<22><> " & zeroformat(day(date),2) & "<22><>"
|
||||
|
||||
dim use_cost
|
||||
use_cost = request("use_cost")
|
||||
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>
|
||||
for i = 1 to Max_length
|
||||
gap(i, 1) = request("txt_date")(i)
|
||||
gap(i, 2) = request("txt_HangMok")(i)
|
||||
gap(i, 3) = request("txt_cost")(i)
|
||||
gap(i, 4) = trim(Request("cost_type")(i))
|
||||
|
||||
gap(i, 5) = request("txt_pjt")(i) '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ
|
||||
gap(i, 6) = request("txt_bigo")(i) '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
next
|
||||
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")
|
||||
|
||||
if cint(print_type) = 2 then
|
||||
''<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 & "w-"
|
||||
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>
|
||||
%>
|
||||
<!-- #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 & "', '<27>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD>û<EFBFBD><C3BB>', '" & Session("loginuser") & "', '" & date() & "', '14', '" & 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>, "
|
||||
for i=1 to Max_length
|
||||
'if gap(i,4) <> "<22><><EFBFBD><EFBFBD>" then
|
||||
if gap(i,3) <> "" then
|
||||
query =query & "target" & trim(i) & ", "
|
||||
end if
|
||||
next
|
||||
query = query & " target20, target21, "
|
||||
query = query & " target29, target30,"
|
||||
query = query & " target97, target98, target99, target100, "
|
||||
query = query & " <20>߱<EFBFBD><DFB1><EFBFBD>, <20>߱ð<DEBD>, login_p_no, login_<6E≯<EFBFBD>, login_ip) values ( "
|
||||
query = query & "'" & krc_no & "', "
|
||||
query = query & "'" & replace(title, " ", "") & "', "
|
||||
for i=1 to Max_length
|
||||
'if gap(i,4) <> "<22><><EFBFBD><EFBFBD>" then
|
||||
if gap(i,3) <> "" then
|
||||
gap(i,3) = replace(gap(i,3),",","")
|
||||
gap(i,3) = replace(gap(i,3),"\","")
|
||||
'''''query = query & "'" & gap(i,1) & "^^<5E>Ϲݾ<CFB9><DDBE><EFBFBD> - <20><>Ÿ^^" & gap(i,2) & "^^" & gap(i,3) & "^^99999^^" & gap(i,4) & "', "
|
||||
'//-- 5:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ, 2:<3A><EFBFBD>, 6:<3A><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 3: <20>ݾ<EFBFBD>
|
||||
'query = query & "'" & gap(i,1) & "^^<5E>Ϲݾ<CFB9><DDBE><EFBFBD> - <20><>Ÿ^^" & gap(i,5) & "^^" & gap(i,2) & "^^" & gap(i,6) & "^^" & gap(i,3) & "^^99999^^" & gap(i,4) & "', "
|
||||
query = query & "'" & gap(i,1) & "^^<5E>Ϲݾ<CFB9><DDBE><EFBFBD> - <20><>Ÿ^^" & gap(i,2) & "^^" & gap(i,3) & "^^99999^^" & gap(i,4) & "^^" & gap(i,5)& "^^" & gap(i,6) & "', "
|
||||
end if
|
||||
next
|
||||
if depart_cost_type = "1" then ' <20><EFBFBD>Ȱ<EFBFBD><C8B0><EFBFBD><EFBFBD>
|
||||
query = query & " '<27><>' , "
|
||||
Elseif depart_cost_type = "2" then ' <20><EFBFBD><D7B7><EFBFBD>Ȱ<EFBFBD><C8B0><EFBFBD><EFBFBD>
|
||||
query = query & " '<27><>' , "
|
||||
end if
|
||||
query = query & "'" & session("Depart_Code") & "' ,"
|
||||
query = query & "'" & Max_length & "', "
|
||||
query = query & "'0', "
|
||||
|
||||
query = query & "'" & target97 & "', "
|
||||
query = query & "'" & target98 & "', "
|
||||
query = query & "'" & target99 & "', "
|
||||
query = query & "'" & target100 & "', "
|
||||
|
||||
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
|
||||
|
||||
|
||||
groupfeeArr = "["
|
||||
for i=1 to Max_length
|
||||
'if gap(i,4) <> "<22><><EFBFBD><EFBFBD>" then
|
||||
if gap(i,3) <> "" then
|
||||
groupfeeArr = groupfeeArr & "{"
|
||||
groupfeeArr = groupfeeArr & """d_no"":""" & krc_no & ""","
|
||||
groupfeeArr = groupfeeArr & """hangmok"":""target" & cstr(i) & ""","
|
||||
groupfeeArr = groupfeeArr & """gubun"":""" & "<22><EFBFBD>" & iif(depart_cost_type = "2", "<22><>", "") & "Ȱ<><C8B0><EFBFBD><EFBFBD>" & ""","
|
||||
groupfeeArr = groupfeeArr & """cost_date"":""" & gap(i,1) & ""","
|
||||
|
||||
groupfeeArr = groupfeeArr & """p_cd"":""" & gap(i,5) & ""","
|
||||
groupfeeArr = groupfeeArr & """p_hangmok"":""" & gap(i,2) & ""","
|
||||
groupfeeArr = groupfeeArr & """contents"":""" & gap(i,6) & ""","
|
||||
|
||||
groupfeeArr = groupfeeArr & """cost"":""" & gap(i,3) & """"
|
||||
groupfeeArr = groupfeeArr & "},"
|
||||
end if
|
||||
next
|
||||
groupfeeArr = mid(groupfeeArr, 1, len(groupfeeArr)-1)
|
||||
groupfeeArr = groupfeeArr & "]"
|
||||
|
||||
'''////======================
|
||||
for i = 1 to Max_length
|
||||
if trim(gap(i, 1)) <> "" then
|
||||
gap(i, 1) = mid(gap(i, 1),1,4) & "<22><> " & mid(gap(i, 1),6,2) & "<22><> " & mid(gap(i, 1),9,2) & "<22><>"
|
||||
end if
|
||||
for j=1 to 4
|
||||
if trim(gap(i, j)) = "" then
|
||||
gap(i, j) = " "
|
||||
end if
|
||||
next
|
||||
|
||||
next
|
||||
end if'''if cint(print_type) = 2 then
|
||||
|
||||
|
||||
%>
|
||||
<script language=javascript>
|
||||
var groupfeeArr = <%=groupfeeArr%>;
|
||||
function win_close()
|
||||
{
|
||||
history.go(-1);
|
||||
}
|
||||
function subit()
|
||||
{
|
||||
var txt_Max_length = document.frm_money_clean.txt_Max_length.value;
|
||||
var url = "doc_expense_approval_depart_print.asp";
|
||||
url = url + "?txt_Max_length=" + txt_Max_length;
|
||||
url = url + "&print_type=2";
|
||||
url = url + "&depart_cost_type=" + document.frm_money_clean.depart_cost_type.value;
|
||||
|
||||
document.frm_money_clean.action = url;
|
||||
document.frm_money_clean.submit();
|
||||
|
||||
}
|
||||
|
||||
function clsit()
|
||||
{
|
||||
alert('<27><><EFBFBD><EFBFBD> <20>Ǿ<EFBFBD><C7BE><EFBFBD><EFBFBD>ϴ<EFBFBD>');
|
||||
|
||||
if(parent.group_dialog != undefined){
|
||||
parent.prevGroupfeeArr = parent.prevGroupfeeArr.concat(groupfeeArr);
|
||||
parent.group_dialog.dialog("close");
|
||||
}else{
|
||||
opener.location.reload();
|
||||
window.close();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<%if cint(print_type) = 1 then%>
|
||||
<script>
|
||||
window.onload = function () { subit(); };
|
||||
</script>
|
||||
<% end if %>
|
||||
<%if cint(print_type) = 2 then%>
|
||||
<script>
|
||||
window.onload = function () { clsit(); };
|
||||
</script>
|
||||
<% end if %>
|
||||
<form method='post' name='frm_money_clean'>
|
||||
<td>
|
||||
<input type="hidden" name="cutmenu" value="1" />
|
||||
<input type=hidden name="txt_Max_length" value="<%=Max_length%>">
|
||||
<%for i=1 to Max_length%>
|
||||
<input type=hidden name="txt_date" value="<%=gap(i,1)%>">
|
||||
<input type=hidden name="txt_HangMok" value="<%=gap(i,2)%>">
|
||||
<input type=hidden name="txt_cost" value="<%=gap(i,3)%>">
|
||||
<input type=hidden name="cost_type" value="<%=gap(i,4)%>">
|
||||
|
||||
<input type=hidden name="txt_pjt" value="<%=gap(i,5)%>">
|
||||
<input type=hidden name="txt_bigo" value="<%=gap(i,6)%>">
|
||||
<%next%>
|
||||
<input type=hidden name="txt_cost_sum" value="<%=gap(0,0)%>">
|
||||
<input type=hidden name="depart_cost_type" value="<%=depart_cost_type%>">
|
||||
<input type=hidden name="use_cost" value="<%=use_cost%>">
|
||||
<%
|
||||
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>
|
||||
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><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 = 2 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 = "/"
|
||||
elseif my_pos = 1 then '<27><> <20><><EFBFBD><EFBFBD>
|
||||
tmp_txt1 = tmp_txt
|
||||
tmp_txt2 = " "
|
||||
tmp_txt3 = " "
|
||||
tmp_txt4 = " "
|
||||
tmp_txt5 = " "
|
||||
tmp_txt6 = month(now()) & " / " & day(now())
|
||||
tmp_txt7 = "/"
|
||||
tmp_txt8 = "/"
|
||||
tmp_txt9 = "/"
|
||||
tmp_txt10 = "/"
|
||||
else '<27><><EFBFBD><EFBFBD> <20><><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%>">
|
||||
</td>
|
||||
</form>
|
||||
Reference in New Issue
Block a user