20260907 :: 김현정 > 260824 PMS 개선 요청_경영문화본부 4차 반영
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
'--------------- <20>߰<EFBFBD>(20170306)<29><> ------------------------
|
||||
|
||||
dim xadmin : xadmin = request("xadmin") '-- <20><><EFBFBD><EFBFBD>(edit)
|
||||
dim attachClientIp, attachEditAllowed
|
||||
attachClientIp = Replace(Replace(Trim(Request.ServerVariables("REMOTE_ADDR")), "10.10.20.", "10.10.13."), "10.10.17.", "10.10.13.")
|
||||
attachEditAllowed = (attachClientIp = "10.10.13.47" Or attachClientIp = "10.10.13.105" Or attachClientIp = "10.10.13.48" Or attachClientIp = "10.10.13.6" Or attachClientIp = "10.10.13.29")
|
||||
'response.write "[" & xadmin & "]"
|
||||
|
||||
dim pay_type(4)
|
||||
@@ -915,7 +918,7 @@ if rsc.RecordCount > 0 then
|
||||
%>
|
||||
<div class="attach_preview">
|
||||
<img src="<%="/Upload/DOC_ATTACH/" & krc_no & "/" & attachFileMap(i)%>" />
|
||||
<% If xadmin = "edit" And Session("N_depart") = "M" And Session("N_team") = "101" Then %>
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<span class="attach_del_btn" data-idx="<%=i%>">×</span>
|
||||
<% End If %>
|
||||
</div>
|
||||
@@ -927,7 +930,7 @@ if rsc.RecordCount > 0 then
|
||||
<span class="attach_file_ext"><%=Ucase(Mid(attachFileMap(i), InStrRev(attachFileMap(i),".")+1))%></span>
|
||||
<span class="attach_file_name"><%=attachFileMap(i)%></span>
|
||||
</a>
|
||||
<% If xadmin = "edit" And Session("N_depart") = "M" And Session("N_team") = "101" Then %>
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<span class="attach_del_btn" data-idx="<%=i%>">×</span>
|
||||
<% End If %>
|
||||
</div>
|
||||
@@ -936,7 +939,7 @@ if rsc.RecordCount > 0 then
|
||||
End If
|
||||
Next
|
||||
%>
|
||||
<% If xadmin = "edit" And Session("N_depart") = "M" And Session("N_team") = "101" Then %>
|
||||
<% If xadmin = "edit" And attachEditAllowed Then %>
|
||||
<div class="attach_add_btn" id="attachAddBtn">+ <20>߰<EFBFBD></div>
|
||||
<input type="file" id="attachFileInput" accept="image/*,.zip,.pdf,.hwp,.doc,.docx,.xls,.xlsx,.ppt,.pptx" multiple style="display:none;" />
|
||||
<% End If %>
|
||||
|
||||
Reference in New Issue
Block a user