File Manager
Back to List
| Current Directory: ~/
Editing: other_res.asp
Full path: C:\ict\ICT\other_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 %> <!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> <% %> </p> <table width="70%" border="1" bgcolor="#99FF99"> <%if not orsnc.eof then%><tr> <td width="6%" align="center" valign="top" bgcolor="#FFCCFF"> </td> <td width="94%" bgcolor="#CCFF66"><form name="form1" method="post" action="add_other_reser.asp"> <table width="100%" border="1"> <tr> <td colspan="2"><div align="center">�����ѡ�Ԩ����¹͡</div></td> </tr> <tr> <td> <table width="100%" border="1"> <tr> <td width="28%"><div align="right">���˹����</div></td> <td width="72%"><input name="oname" type="text" id="oname"></td> </tr> <tr> <td height="29"><div align="right">�ӹ�˹��</div></td> <td><input name="bfname" type="text" id="bfname"></td> </tr> <tr> <td><div align="right">����</div></td> <td><input name="firstname" type="text" id="firstname"></td> </tr> <tr> <td><div align="right">ʡ��</div></td> <td><input name="lastname" type="text" id="lastname"></td> </tr> <tr> <td><div align="right">�ѧ�Ѵ </div></td> <td><textarea name="ori" cols="60" rows="3" id="ori"></textarea></td> </tr> </table> </td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="Submit" value="Submit"> </div></td> </tr> </table><%end if%></form> <br></td> </tr> <tr> <td colspan="2" align="center" valign="top" bgcolor="#CCFFFF">��ª��ѡ�Ԩ����¹͡<br> <% %> <br> <table width="100%" border="1"> <tr> <td><div align="center"><strong>�ӴѺ���</strong></div></td> <td><div align="center"><strong>����-ʡ��</strong></div></td> <td><div align="center"><strong>�ѧ�Ѵ</strong></div></td> <% if not orsnc.eof then %> <td><div align="center"><strong>Action</strong></div></td> <% end if %> </tr> <% sqlch2="select * from other_lec order by id_other_lec" set orsch2=server.CreateObject("adodb.recordset") orsch2.open sqlch2,conn,1,3 if not orsch2.eof then orsch2.movefirst do while not orsch2.eof response.write "<tr>" response.write "<td>" response.write orsch2("id_other_lec") response.write "<td>" response.Write orsch2("oname")&" "&orsch2("firstname")&" "&orsch2("lastname") response.write "<td>" response.write orsch2("ori") if not orsnc.eof then response.Write "<td>" %> [<a href=edit_other_res.asp?id=<%=orsch2("id_other_lec")%>>Edit</a>] [<a href=del_other_lec.asp?id=<%=orsch2("id_other_lec")%> onClick="return confirm('�����Ҩ�ź?');">Del</a>] <% end if orsch2.movenext loop end if %> </table> <% %> </td> </tr> </table> <p> </p> <p> </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> <% 'else %> <SCRIPT LANGUAGE="JavaScript"> <% 'response.write "window.location.href='index.html';" %> --> </SCRIPT> <% 'end if %>