File Manager
Back to List
| Current Directory: ~/
Editing: academic_work.asp.bak
Full path: C:\ict\ICT\academic_work.asp.bak
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<%response.cachecontrol="private"%> <!--#INCLUDE FILE="ConnectDB.asp"--> <!--#include file="chk_login.asp"--> <% pern=session("username") per="2" tb="lecturer" 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><strong>�ѹ�֡�ŧҹ�ҧ�Ԫҡ��</strong></p> <form name="form1" method="post" action="add_aw.asp"> <table width="573" border="1" cellspacing="0"> <tr> <td colspan="2">[<a href="all_aw.asp">�ŧҹ�ҧ�Ԫҡ�÷�����</a>][���Ҽŧҹ�ҧ�Ԫҡ��][]</td> </tr> <tr> <td width="152">��Ңͧ�ŧҹ</td> <td width="411"><select name="id_staff" id="id_staff"> <% set orstcr=server.createobject("adodb.recordset") sqltcr="select * from lecturer where statusdel=1 order by name_lec" orstcr.open sqltcr,Conn,1,3 if not orstcr.eof then orstcr.movefirst do while not orstcr.eof response.write "<option value="&orstcr("id_lecturer")&">"&orstcr("name_lec")&" "&orstcr("sur_lec")&"</option>" orstcr.movenext loop end if %> </select></td> </tr> <tr> <td>�� �� ��� �Ӽŧҹ </td> <td><select name="month_aw" id="month_aw"> <option value="0">��</option> <option value="1">���Ҥ�</option> <option value="2">����Ҿѹ��</option> <option value="3">�չҤ�</option> <option value="4">����¹</option> <option value="5">����Ҥ�</option> <option value="6">�Զع�¹</option> <option value="7">�á�Ҥ�</option> <option value="8">�ԧ�Ҥ�</option> <option value="9">�ѹ��¹</option> <option value="10">���Ҥ�</option> <option value="11">��Ȩԡ�¹</option> <option value="12">�ѹ�Ҥ�</option> </select> �� <input name="year_aw" type="text" id="yp" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' size="10" maxlength="4"></td> </tr> <tr> <td>�������ŧҹ</td> <td><select name="type_aw" id="type_aw"> <% set ors1=server.createobject("adodb.recordset") sql1="select * from type_academicw" ors1.open sql1,Conn,1,3 if not ors1.eof then ors1.movefirst do while not ors1.eof response.write "<option value="&ors1("id_typeaw")&">"&ors1("type_aw")&"</option>" ors1.movenext loop end if %> </select></td> </tr> <tr> <td>�������´</td> <td><textarea name="name_aw" cols="60" rows="3" id="name_aw"></textarea></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Submit"></td> </tr> </table> <p> </p> <p> </p> </form> <p> </p> <p></p> <p></p> </div> <!-- InstanceEndEditable --></td> </tr> <tr> <td colspan="2" background="Image/bghead1.gif"> </td> </tr> </table> </body> <!-- InstanceEnd --></html> <% 'else ' response.write "No Permission" ' response.write "<a href=index_academic.asp>Return</a>" 'end if %>