File Manager
Back to List
| Current Directory: ~/
Editing: edit_thesis_form.asp
Full path: C:\ict\ICT\edit_thesis_form.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="Connectdb.asp"--> <!--#include file="inc_cache_control.asp"--> <!--#include file="inc_access_control.asp"--> <!--#include file="chk_login.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" --> <% id_stu=request("id_stu") If id_stu="" Then id_stu=Request.form("id_stu") End if id_thesis=request("id_thesis") If id_thesis="" Then id_thesis=request.form("id_thesis") End If pern=session("username") per="2" tb="student" 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 Or pern=id_stu then %> <form name="form1" method="post" action="save_edit_thesis_stu.asp"> <table width="80%" border="0"> <tr bgcolor="#CCCCCC"> <td colspan="2"><div align="center"><strong>��䢻�ԭ�ҹԾ���</strong></div></td> </tr> <tr> <td width="23%"><strong>���Ե</strong></td> <td width="77%"> <% sqls="select * from student where id_stu='"&id_stu&"'" set orss=server.createobject("adodb.recordset") orss.open sqls,conn,1,3 if not orss.eof then response.write orss("id_stu")&"<strong> "&orss("name_stu")&" "&orss("sur_stu")&"</strong> " set ors4=server.createobject("adodb.recordset") sql4="select * from student_group where id_stugroup='"&orss("id_stugroup")&"'" ors4.open sql4,Conn,1,3 if not ors4.eof then sqlc="select * from curriculum where id_curriculum='"&ors4("id_curriculum")&"'" set orsc=server.createobject("adodb.recordset") orsc.open sqlc,conn,1,3 if not orsc.eof then sqlt="select * from type_curriculum where id_type_curri='"&ors4("id_type_curri")&"'" set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof then 'response.write ors4("id_stugroup") %> <% =orsc("curriculum_sum")%> Ẻ <%=orst("type_curri_th")%> ��� <%=ors4("no_stugroup")%> <% end if end if end if end if 'id_thesis=request("id_thesis") sqlstu="select * from thesis where id_thesis='"&id_thesis&"'" set orsstu=server.createobject("adodb.recordset") orsstu.open sqlstu,conn,1,3 if not orsstu.eof then %> </td> </tr> <tr bgcolor="#FCFCD9"> <td><strong></strong></td> <td><input type="hidden" name="id_thesis" value=<%=orsstu("id_thesis")%> readonly> �Ҥ <%=orsstu("id_academic_semeter")%> �ա���֡�� <%=orsstu("academic_year")%><input type="hidden" name="academic_year" value=<%=orsstu("academic_year")%>> </td> </tr> <tr> <td><strong>����������</strong></td> <td><textarea name="thesis_th" cols="60"><%=orsstu("thesis_th")%></textarea></td> </tr> <tr bgcolor="#FCFCD9"> <td><strong>���������ѧ���</strong></td> <td><textarea name="thesis_eng" cols="60" ><%=orsstu("thesis_eng")%></textarea></td> </tr> <tr> <td><input type="hidden" name="id_course" readonly value=<%=orsstu("id_course")%> ></td> </tr> <!-- <tr bgcolor="#FCFCD9"> <td><strong>�ѹ�����ѵ�</strong></td> <td>Pre <textarea name="date_approve_pre" > <%=orsstu("date_approve_pre")%></textarea><br>Pro <textarea name="date_approve_pro"> <%=orsstu("date_approve_pro")%></textarea><br>Oral<textarea name="date_approve_oral"> <%=orsstu("date_approve_oral")%></textarea></td> </tr> --> <tr> <td> </td> <td> </td> </tr> <tr bgcolor="#FCFCD9"> <td colspan="2"><div align="center"> <input name="id_stu" type="hidden" value=<%=orsstu("id_stu")%>> <input type="submit" name="Submit" value="Submit" > <%else response.write "<tr><td colspan =2>No Data" end if%> </div></td> </tr> </table> </form> <%end if%> <!-- 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>