최초커밋
This commit is contained in:
139
ess/inc_reply.asp
Normal file
139
ess/inc_reply.asp
Normal file
@@ -0,0 +1,139 @@
|
||||
<%
|
||||
'if tmp_admin_chk = "1" then
|
||||
'Response.Write Request.ServerVariables("PATH_INFO") & "<BR>"
|
||||
tmp_path = split(Request.ServerVariables("PATH_INFO"), "/")
|
||||
'Response.Write ubound(tmp_path) & "<BR>"
|
||||
'Response.Write tmp_path(ubound(tmp_path)) & "<BR>"
|
||||
%>
|
||||
<script>
|
||||
|
||||
function rep_work(a, b, c, d)
|
||||
{
|
||||
if (a == 1)
|
||||
{
|
||||
//alert(a + "\n" + b);
|
||||
if (confirm("<22><><EFBFBD><EFBFBD><EFBFBD>Ͻðڽ<C3B0><DABD>ϱ<EFBFBD>? <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20>ǻ츱 <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>"))
|
||||
{
|
||||
document.ess.action = "reply_work.asp?work_flag=" + a + "&d_no=" + b + "&target_sn=" + c + "&go_url=" + d;
|
||||
//alert("reply_work.asp?d_no=" + b + "&target_sn=" + c + "&go_url=" + d);
|
||||
document.ess.submit();
|
||||
}
|
||||
}
|
||||
else if (a == 2)
|
||||
{
|
||||
if (document.ess.reply.value == "")
|
||||
{
|
||||
alert("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>");
|
||||
document.ess.reply.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var txt = document.ess.reply.value.replace(/\n/g,"<br/>");
|
||||
txt = txt.replace(/\&/g,"%26");
|
||||
txt = txt.replace(/\"/g,""");
|
||||
txt = txt.replace(/\'/g,"'");
|
||||
txt = txt.replace(/\+/g,"%2B");
|
||||
txt = txt.replace(/\>/g,"%3E");
|
||||
txt = txt.replace(/\</g,"%3C");
|
||||
txt = txt.replace(/\?/g,"%3F");
|
||||
txt = txt.replace(/\\/g,"%5C");
|
||||
txt = txt.replace(/\[/g,"%5B");
|
||||
txt = txt.replace(/\]/g,"%5D");
|
||||
txt = txt.replace(/\//g,"%2F");
|
||||
txt = txt.replace(/\%/g,"%25");
|
||||
|
||||
for (var i=0;i<txt.length;i++)
|
||||
{
|
||||
var uniCode = txt.charCodeAt(i);
|
||||
if(uniCode == 13 && txt.charCodeAt(i+1) == 10){
|
||||
txt = txt.replace(txt.charAt(i)+txt.charAt(i+1),"<br>");
|
||||
}
|
||||
}
|
||||
document.ess.action = "reply_work.asp?work_flag=" + a + "&d_no=" + b + "&target_sn=" + c + "&go_url=" + d + "&modi_reply=" + txt;
|
||||
document.ess.submit();
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
<%
|
||||
if instr(1, title, "<22><><EFBFBD><EFBFBD>") then
|
||||
tmp_inc_colspan = "4"
|
||||
else
|
||||
tmp_inc_colspan = "2"
|
||||
end if
|
||||
|
||||
if rsc("target91") <> "" then
|
||||
if replace(replace(rsc("target91"), " ", ""), "^^", "") <> "" then
|
||||
|
||||
array_reply = split(rsc("target91"), "^^")
|
||||
'Response.Write rsc("target95") & "<BR>"
|
||||
%>
|
||||
<tr>
|
||||
<td colspan="<%=tmp_inc_colspan%>" style="padding:10 0 0 0">
|
||||
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<%
|
||||
for loop_i = 2 to 6
|
||||
if rsc("target9" & loop_i) <> "" then
|
||||
|
||||
array_tmp = split(array_reply(loop_i - 2), "-")
|
||||
%>
|
||||
<tr>
|
||||
<td width="20%" class="tit2" align="center"><%=array_tmp(0)%><3E><> <20>ڸ<EFBFBD>Ʈ</td>
|
||||
<td width="75%" class="tit12">
|
||||
<table border="0">
|
||||
<tr><td>
|
||||
<font class="tahoma"><%=ViewWord(rsc("target9" & loop_i))%></font>
|
||||
</td></tr>
|
||||
</table>
|
||||
</td>
|
||||
<td width="5%" class="tit13">
|
||||
<%
|
||||
if cstr(array_tmp(1)) = cstr(Session("User_Number")) then
|
||||
%>
|
||||
<table border="0" align="right">
|
||||
<tr><td>
|
||||
<img src="/images/common/btn_popclose.jpg" align="absmiddle" onClick="rep_work('1','<%=rsc("d_no")%>','<%=loop_i%>','<%=tmp_path(ubound(tmp_path))%>')" style="CURSOR:pointer;">
|
||||
</td></tr>
|
||||
</table>
|
||||
<%
|
||||
end if
|
||||
%>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
end if
|
||||
next
|
||||
%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
end if
|
||||
end if
|
||||
|
||||
|
||||
|
||||
if print_type <> "2" then
|
||||
if cstr(Session("User_Number")) = cstr(rsc("d_orders")) AND cstr(rsc("d_order_cnt")) <> "77" AND cstr(rsc("d_order_cnt")) <> "99" OR (tmp_admin_chk = "1") then
|
||||
%>
|
||||
<tr>
|
||||
<td colspan="<%=tmp_inc_colspan%>" style="padding:10 0 0 0">
|
||||
<table width="100%" cellpadding="5" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td width="10%" class="tit2" align="center"><3E>ڸ<EFBFBD>Ʈ <20>ޱ<EFBFBD></td>
|
||||
<td width="90%" class="tit7">
|
||||
<textarea cols="77" rows="3" name="reply" style='vertical-align:middle;'></textarea>
|
||||
<img src="/images/board/btn_write.jpg" align="absmiddle" style="CURSOR:pointer;" onClick="rep_work('2','<%=rsc("d_no")%>','<%=rsc("d_order_cnt")%>','<%=tmp_path(ubound(tmp_path))%>')">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<%
|
||||
end if
|
||||
end if
|
||||
%>
|
||||
|
||||
<%
|
||||
'end if
|
||||
%>
|
||||
Reference in New Issue
Block a user