File Manager
Back to List
| Current Directory: ~/
Editing: confirm_thesis_progress_student.asp
Full path: C:\ict\ICT\confirm_thesis_progress_student.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#include file="chk_permission.asp"--> <!--#include file="inc_cache_control.asp"--> <!--#include file="inc_access_control.asp"--> <!--#include file="chk_login.asp"--> <% '***************************************************************** session("tb_name")="student" %> <% '***************************************************************** ' if session("tb_edit") <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ if session("tb_edit")=2 or session("id_stu1") = id_stu then %> <% id_activity=request.form("id_activity") id_thesis=request.form("id") id_stu=request.form("id_stu") id_status="0" date_save=Date sql_c="select * from thesis_plan_activity where id_thesis='"&id_thesis&"' and id_activity='"&id_activity&"' " Set ors_c=server.createobject("adodb.recordset") ors_c.open sql_c,conn,1,3 'Response.write sql_c If not ors_c.eof then sqldata="update thesis_plan_activity set id_status='"&id_status&"', date_stu_confirm='"&date_save&"' where id_activity="&id_activity&"" set orsdata = Server.CreateObject("adodb.recordset") orsdata.open sqldata,conn,1,3 'response.write sqldata Else End if 'response.write "<meta http-equiv='refresh' content ='0;url=thesis_progress_student.asp?id_thesis="&id_thesis&"'>" 'end if 'set conn = nothing '0 ��ѹ����� 1 �ѧ�����ѹ %> <form name="form7" class="form-horizontal" style="padding:10px;" method="post" action="report_thesis_progress_student_form.asp"> <input type="hidden" name="id" value=<%=id_thesis%>> <%=id_thesis%> <input type="hidden" name="id_stu" value=<%=id_stu%>> <input type="hidden" name="id_activity" value=<%=id_activity%>> </form> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =3;url=javascript:history.back();>" '���Է� end if '���Է� %> <script language='javascript'> document.form7.submit(); </script> </body> </html>