File Manager
Back to List
| Current Directory: ~/
Editing: add_no_res_form.asp.bak
Full path: C:\ict\ICT\add_no_res_form.asp.bak
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 %> <!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"> </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">SWU</a> | <a href="http://bsri.swu.ac.th">BSRI</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") 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") %> </p> <table width="90%" border="1"> <tr> <td width="100%" align="center" valign="top" bgcolor="#CCFFFF"><p>�ѹ�֡�ӴѺ���ҹ�Ԩ��<br> <br> <% id_no=orsn("id_research") ' if id_no="0" then %> <form action="add_no_res.asp" method="post"> </p> <table width="200" border="1"> <tr> <td width="72"><strong>�Ţ����ѭ��</strong></td> <td width="112"><input name="id" type="text" value=<%=id%> size="15" readonly="true"></td> </tr> <tr> <td><strong>�ӴѺ���</strong></td> <td> <div align="left"> <input name="no_res" type="text" size="15" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' value=<%=orsn("id_research")%>> </div></td> </tr> <tr> <td><strong>�ӹǹ��������</strong></td> <td> <div align="left"> <input name="printnum" type="text" size="5" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' value=<%=orsn("printnum")%>> </div></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="Submit" value="Submit"> </div></td> </tr> </table> </form> <p> <% ' else %> <% ' end if %> </p> </td> </tr> </table> <p> </p> <p> <% end if %> </p> </div> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" background="Image/bghead1.gif"> </td> </tr> </table> </body> <!-- InstanceEnd --></html> <% else %> <SCRIPT LANGUAGE="JavaScript"> <% response.write "window.location.href='index.html';" %> --> </SCRIPT> <% end if %>