File Manager
Back to List
| Current Directory: ~/
Editing: attachment_file.asp.bak
Full path: C:\ict\ICT\attachment_file.asp.bak
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#include file="connectdb.asp"--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><!-- InstanceBegin template="/Templates/ict.dwt" codeOutsideHTMLIsLocked="false" --> <head> <!-- InstanceBeginEditable name="doctitle" --> <title>�к����ʹ�����͡�ú�����</title> <!-- InstanceEndEditable --> <meta http-equiv="Content-Type" content="text/html; charset=windows-874"> <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> <link href="bsri2006.css" rel="stylesheet" type="text/css"> <link href="image/favicon.ico" rel="shortcut icon" type="image/x-icon"> </head> <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" border="0"> <tr> <td colspan="2"><div align="right"><img src="Image/head1.gif" width="800" height="61"></div></td> </tr> <tr> <td colspan="2" background="Image/bghead1.gif"><div align="right"><font size="2" face="MS Sans Serif, Tahoma, sans-serif"><strong>| <a href="http://www.swu.ac.th" target=_blank>SWU</a> | <a href="http://bsri.swu.ac.th" target=_blank>BSRI</a> |<a href="chaPW.asp"><strong>Change Password</strong></a>|<a href="log_out.asp">Log Out </a></strong></font>|</div></td> </tr> <tr> <td width="20%" align="left" valign="top" bgcolor="#FFCCCC"><!-- InstanceBeginEditable name="EditRegion5" --><!--#include file="chk_menu.asp"--><!-- InstanceEndEditable --></td> <td width="77%" align="left" valign="top"><!-- InstanceBeginEditable name="EditRegion3" --> <div align="center"> <p>����͡��÷��Ṻ<br> ��������ͧ <% id=request("id") session("id")=id sqln="select * from research where id_contact='"&id&"'" set orsn=server.createobject("adodb.recordset") orsn.open sqln,conn,1,3 if not orsn.eof then response.write orsn("research_t") response.write "<br>"&orsn("research_e") Response.write "[<a href=detail_research.asp?id="&id&">"&id&"</a>]" %> </p> <table width="90%" border="1"> <tr> <td width="100%" align="center" valign="top" bgcolor="#CCFFFF">�͡���Ṻ<br> <br><table width="100%" border="1"> <tr> <td width="93"><div align="center"><strong>�Ţ����ѭ��</strong></div></td> <td width="265"><div align="center">������</div></td> <td width="265"><div align="center"><strong>�������</strong></div></td> <td width="234"><div align="center">Download</div></td> <% 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 %> <td><div align="center"><strong>Action </strong></div></td> <%end if%> </tr> <% sqlall="select * from attachment_res where id_contact='"&id&"'" set orsall=server.CreateObject("adodb.recordset") orsall.open sqlall,conn,1,3 if not orsall.eof then %> <br> <% orsall.movefirst do while not orsall.eof response.write "<tr><td>"&orsall("id_contact") response.write "<td>" idtypea=orsall("id_typeattach") sqltp="select * from type_attach where id_typeattach='"&idtypea&"'" set orstp=server.CreateObject("adodb.recordset") orstp.open sqltp,conn,1,3 if not orstp.eof then response.write orstp("type_attach") response.write "[<a href=change_resfa.asp?id="&orsall("id_attach")&"&idc="&orsall("id_contact")&">c</a>]" end if response.write "</td>" response.write "<td>"&orsall("file_name") id_attach=orsall("id_attach") response.Write "<td><a href=upload/"&orsall("file_name")&">Download</a>" if not orsnc.eof then response.write "<td>" ' response.write "[<a href=edit_attach_res_form.asp?id="&orsall("id_contact")&"&ida="&id_attach&">Edit</a>]" %> [<a href=del_attach_res.asp?id=<%=orsall("id_contact")%>&ida=<%=id_attach%> onClick="return confirm('�س��ͧ���ź?');">Del</a>] <% end if orsall.movenext loop %> <% else response.write "<tr><td colspan=6 align=center>No Data" end if %><form action="uploadtester.asp" method="post" enctype="multipart/form-data" name="form3"> <tr> <td><input name="id" type="text" value=<%=id%> size="15" readonly="true"> <td> <td><div align="center"></div> <td><div align="center"> <input type="file" name="attach1"> </div> <td><div align="center"> <input name="����" type="submit" id="����" value="Submit"> </div> </form> </table> </td> </tr> </table> <p> </p> <p> <% end if %> </p> </div> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" background="Image/bghead1.gif">Contact Admin:: wassanaw@swu.ac.th tel.02-649-5000 ext 17600</td> </tr> </table> </body> <!-- InstanceEnd --></html>