File Manager
Back to List
| Current Directory: ~/
Editing: edit_comment_stu_form.asp
Full path: C:\ict\ICT\edit_comment_stu_form.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#include file="inc_cache_control.asp"--> <!--#include file="inc_access_control.asp"--> <!--#include file="chk_login.asp"--> <script language="javascript"> function doSubmit() { if( document.form1.comments.value == "" ) { alert("��سҡ�͡�������������") document.form1.comments.focus() return false; } } </script> <!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_comment=request("id") id_stugroup=request("id_stugroup") session("tb_name")="student" %> <!--#include file="chk_permission.asp"--> <% '***************************************************************** tb_edit=session("tb_edit") if tb_edit <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <table width="100%" border="0" cellspacing="0"> <tr> <td width="892" align="left" valign="top"><br><div align="center"> <%if tb_edit=2 then sql_c="select * from student_comment where id_comment='"&id_comment&"'" set ors_c=server.createobject("adodb.recordset") ors_c.open sql_c,conn,1,3 if not ors_c.eof then id_stu=ors_c("id_student") %> ��䢢�������������ͧ���Ե(Comments) <form name="form1" method="post" action="edit_comment_stu.asp"> <table width="75%" border="0" align="center" cellpadding="0" cellspacing="0"> <% sqlall="select * from student where id_stu='"&ors_c("id_student")&"'" set orsall=server.createobject("adodb.recordset") orsall.open sqlall,conn,1,3 if not orsall.eof then response.write "<tr bgcolor=#FFFFCC><td colspan=2 align=center>"&orsall("name_stu")&" "&orsall("sur_stu") %> <tr><td><TEXTAREA NAME="comments" ROWS="3" COLS="50"><%=ors_c("comment")%></TEXTAREA><br><br><br> <input type=hidden name=id_comment value=<%=id_comment%>> <input type=hidden name=id_stugroup value=<%=id_stugroup%>> <td><input type="submit" name="Submit" value="Submit" onmousedown="doSubmit();"> <input type="reset" name="Submit2" value="Reset"></td> </tr> <%end if%> </table> </form> <% end if%> <% end if%> </table> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =3;url=javascript:history.back();>" '���Է� 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>