File Manager
Back to List
| Current Directory: ~/
Editing: thesis_progress_student-1.asp.bak
Full path: C:\ict\ICT\thesis_progress_student-1.asp.bak
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"--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><!-- InstanceBegin template="/Templates/ict.dwt" codeOutsideHTMLIsLocked="false" --> <head> <!-- InstanceBeginEditable name="doctitle" --> <title>�к����ʹ�����͡�ú�����</title> <style> #customers { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; border-collapse: collapse; width: 100%; } #customers td, #customers th { border: 0px solid #ddd; padding: 8px; } #customers th { padding-top: 12px; padding-bottom: 12px; text-align: left; background-color: #4CAF50; color: white; } </style> <!-- 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"> <!-- Icomoon Icon Fonts--> <link rel="stylesheet" href="./css/icomoon.css"> <link rel="stylesheet" href="./css/style.css"> <link href="./css/font-awesome.min.css" rel="stylesheet"> <link href="./css/bootstrap.min.css" rel="stylesheet"> <link href="./css/templatemo-style.css" rel="stylesheet"> <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" --> <table width="100%" border="0" cellspacing="0"> <tr> <td width="892" align="left" valign="top"> <% date1=datepart("d",date) month1=month(now()) y=year(now()) y=543+y y=right(y,2) if date1=1 then date1="01" elseif date1=2 then date1="02" elseif date1=3 then date1="03" elseif date1=4 then date1="04" elseif date1=5 then date1="05" elseif date1=6 then date1="06" elseif date1=7 then date1="07" elseif date1=8 then date1="08" elseif date1=9 then date1="09" end if if month1=1 then month1="01" elseif month1=2 then month1="02" elseif month1=3 then month1="03" elseif month1=4 then month1="04" elseif month1=5 then month1="05" elseif month1=6 then month1="06" elseif month1=7 then month1="07" elseif month1=8 then month1="08" elseif month1=9 then month1="09" end if dcheck=y&""&month1&""&date1 '***************************************************************** '#customers tr:nth-child(even){background-color: #f2f2f2;} '#customers tr:hover {background-color: #ddd;} session("tb_name")="student" id_type=request.form("id_type") %> <% id_stu=request("id_stu") 'response.write session("id_stu1") &"aaa" 'response.write "bbb"&id_stu '***************************************************************** 'if session("tb_preview") =2 or session("id_stu1") = id_stu then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ 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 %> <!--<div align="left">--> <%'if session("tb_edit") = 2 then %> <!--Ἱ������¹/�ӻ�ԭ�ҹԾ���--> <%'end if%><br> <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%"> <tr > <td> <table border=0 width="100%"><!--<tr> <td colspan=5 bgcolor=#FFCC00>�����Ź��Ե</td> --> <% id_stu=request("id_stu") if id_stu="" Then 'If id_stu="" Then ' id_stu=request.form("id_stu") ' Response.write id_stu 'else id_stu=session("id_stu1") 'End if end If id_thesis=request("id_thesis") If id_thesis="" Then id_thesis=request.form("id") End if sql_data="select * from student where id_stu='"&id_stu&"' " set ors_data=server.createobject("adodb.recordset") ors_data.open sql_data,conn,1,3 if not ors_data.eof then %> </tr> <tr> <td colspan=3> <div class="col-1"> <div class="templatemo-content-widget white-bg"> <div class="media"> </div> <div class="media-body"> <h2 class="media-heading text-uppercase"><%=id_stu%>  <%=ors_data("name_stu")%>    <%=ors_data("sur_stu")%> (<%=ors_data("name_eng")%>  <%=ors_data("sur_eng")%>)</h2><p> <% ' response.write id_stu&" " %> <%'=ors_data("email_stu")%> <% id_status_edu=ors_data("id_status_edu") set ors3=server.createobject("adodb.recordset") sql3="select * from status_edu where id_status_edu='"&id_status_edu&"'" ors3.open sql3,Conn,1,3 if not ors3.eof then 'response.write ors3("status_edu") end if %> <% id_stugroup=ors_data("id_stugroup") sql_all="select * from student_group where id_stugroup='"&ors_data("id_stugroup")&"' " set ors_all=server.createobject("adodb.recordset") ors_all.open sql_all,Conn,1,3 if not ors_all.eof Then ys_semeter=ors_all("id_begin_semeter") ys_year_edu=ors_all("id_begin_year") 'response.write "" sql_curri="select * from curriculum where id_curriculum='"&ors_all("id_curriculum")&"'" set ors_curri=server.createobject("adodb.recordset") ors_curri.open sql_curri,conn,1,3 if not ors_curri.eof then id_curriculum=ors_all("id_curriculum") response.write ors_curri("curriculum_full")&" " end If id_type_curri=ors_all("id_type_curri") sqlt="select * from type_curriculum where id_type_curri='"&ors_all("id_type_curri")&"'" set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof then response.write orst("type_curri_th") end if response.write " ��� "&ors_all("no_stugroup")&" " id_major=ors_all("id_major") sql_major="select * from major where id_major='"&id_major&"'" set ors_major=server.createobject("adodb.recordset") ors_major.open sql_major,conn,1,3 if not ors_major.eof then response.write ors_major("major_th") end if end if %></p> </div> </div> </div> </td></tr> <% response.write "<tr >" '���ͻ�ԭ�ҹԾ��� sqlt="select * from thesis where id_thesis='"&id_thesis&"'" set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof then 'response.write "<td>"&orst("id_thesis") 'response.write "<td>���ͻ�ԭ�ҹԾ���::"&orst("thesis_th")&"<br>Thesis name::"&orst("thesis_eng") Else 'response.write "<td>����բ�����" End if %> <tr><td></td></tr> </table> <div class="templatemo-content-widget orange-bg"> <div class="media"> <div class="media-body"> <h2 class="media-heading text-uppercase">��§ҹ��������˹��</h2> </div> </div> </div> <tr><td align=left> <%If id_type<>"teacher" then%> <div align=center> <form name="form3" method="post" action="add_thesis_progress_student_form.asp"> <%'���ʶҹС�����������ǻ������� disable ����ѧ������� enable 'If ors_r("id_status")="0" then 'Response.write id_thesis %> <input type="hidden" name="id" value=<%=id_thesis%>> <div class="form-group"> <button type="submit" class="templatemo-blue-button">���ҧἹ������¹/��ԭ�ҹԾ���</button> </div> <!--<input type="submit" name="Submit" value="1.���ҧἹ������¹/��ԭ�ҹԾ���"> --> </form></div><% Else '�к͡ʶҹСѺ�Ҩ������� �Ԩ�������֧����˹���� End if%> </td></tr> <%If id_type="teacher" then%> <tr><td align=right> <form name="form13" class="form-horizontal" style="padding:10px;" method="post" action="thesis_progress_lecturer.asp"> <%'���ʶҹС�����������ǻ������� disable ����ѧ������� enable 'If ors_r("id_status")="0" then 'Response.write id_thesis %> <input type="hidden" name="c1" value=<%=id_curriculum%>> <input type="hidden" name="t1" value=<%=id_type_curri%>> <input type="hidden" name="m" value=<%=id_major%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;"><<Previous Page</button></div> <!-- <input type="submit" name="edit" value="Edit"> --> </form> <%End if%> </td></tr> <!--�ʴ��������ͧ��§ҹ ��駤����� 5 �� 10 ����--> <tr><td align=left>�ͺ��§ҹ��������˹�� <table class="table table-striped table-bordered"> <tr><td align=left>���駷�� <% ys=1 ys1=1 Do While ys <= 12 If ys=1 Or ys=2 Or ys=3 Or ys = 4 Then bgcolor1="#009900" ElseIf ys=5 Or ys = 6 Then bgcolor1="#99ff00" Elseif ys = 7 Or ys= 8 Then bgcolor1="#ffff99" Else bgcolor1="#cc0000" End if Response.write "<td align=center bgcolor="&bgcolor1&">"&ys ys=ys+1 Loop Response.write "<tr><td>�Ҥ���¹���" 'Response.write "<td>"&ys_semeter&"/"&Right(ys_year_edu,2) Do While ys1 <=12 '��ҵ�Ǩ�Progress_report_thesis ���� �� sql_ys1="select * from progress_report_thesis where semeter='"&ys_semeter&"' and year_edu='"&ys_year_edu&"' and id_curriculum='"&id_curriculum&"'and id_type_curri='"&id_type_curri&"' and id_major='"&id_major&"'" set ors_ys1=server.createobject("adodb.recordset") ors_ys1.open sql_ys1,conn,1,3 if not ors_ys1.eof Then 'Response.write sql_ys1&"<br>" Response.write ys_year_edu&"/"&ys_semeter sql_ys2="select * from thesis_plan_activity where id_progress_report='"&ors_ys1("id_progress_report")&"' and status_del=1 and id_stu='"&id_stu&"'" set ors_ys2=server.createobject("adodb.recordset") ors_ys2.open sql_ys2,conn,1,3 'Response.write ys_year_edu&"/"&ys_semeter Response.write sql_ys2 if not ors_ys2.eof Then %><td> <form name="form30" method="post" action="detail_thesis_progress_ys.asp"> <input type="hidden" name="ids" value=<%=id_stu%>> <input type="hidden" name="semeter" value=<%=ys_semeter%>> <input type="hidden" name="year_edu" value=<%=ys_year_edu%>> <div class="form-group"> <button type="submit" class="templatemo-blue-button"> <% Response.write "["&ys_semeter&"/"&Right(ys_year_edu,2)&"]" %> </button> </div> </form> <%else '����ҵ�Ǩ� progress_report_thesis ������辺�Ҥ����֡�� Response.write "<td>"&ys_semeter&"/"&Right(ys_year_edu,2) End if else '����ҵ�Ǩ� progress_report_thesis ������辺�Ҥ����֡�� Response.write "<td>"&ys_semeter&"/"&Right(ys_year_edu,2) End if If ys_semeter/1=1 Then ys_semeter=ys_semeter+1 ys_year_edu=ys_year_edu Else'If ys_semeter/1=1 then ys_semeter=ys_semeter-1 ys_year_edu=ys_year_edu+1 End If ys1=ys1+1 loop %> </tr> <tr><td>ʶҹ�<td> </table> </td></tr> <!--������ʴ���ǵ��ҧ�����§ҹ��������˹������Ҥ <!--<tr bgcolor=#FFCC00><td align=center valign=middle><h3>��§ҹ��������˹��</h3></td></tr>--> <tr><td> <div class="templatemo-content-widget white-bg "> �Ըա�������ͧ�� <br> 1. ��ԡ����Ҥ���¹�Ѩ�غѹ ������§ҹ�š�ô��Թ�ҹ <br>2.��ԡ��� ���� "���ҧἹ������¹/��ԭ�ҹԾ���" �������ҧἹ����Ѻ�Ҥ���¹�Ѵ� </div> <% '<!--#include file="thesis_progress_student_list_ext.asp"--> %> </table> <% end if %> </td> </tr> </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>