File Manager
Back to List
| Current Directory: ~/
Editing: del_extratime_res.asp
Full path: C:\ict\ICT\del_extratime_res.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="Connectdb.asp"--> <!--#include file="chk_login.asp"--> <% pern=session("username") per="2" tb="research" sqlnc="select * from tb_permission where id_staff='"&pern&"' and tb_edit='"&per&"' and tb_name='"&tb&"'" set orsnc=server.createobject("adodb.recordset") orsnc.open sqlnc,conn,1,3 if not orsnc.eof then %> <head> <body> <% dim ors id=request("id") id_n=request("id_n") set ors=server.createobject("adodb.recordset") sqlmark="Delete from extratime_res where id_contact= '"&id&"' and num_extra='"&id_n&"'" ors.Open sqlmark, conn, 1, 3 %> <SCRIPT LANGUAGE="JavaScript"> <% response.write"alert('ź���������º���¤��');" %> --> </SCRIPT> <% response.write "<meta http-equiv='refresh' content ='0;url=extratime_res_form.asp?id="&id&"'>" Conn.Close 'end if %> </FORM> </body> </head> <% else %> <SCRIPT LANGUAGE="JavaScript"> <% response.write "window.location.href='index.html';" %> --> </SCRIPT> <% end if %>