File Manager
Back to List
| Current Directory: ~/
Editing: thesis_progress_student-2css.asp.bak
Full path: C:\ict\ICT\thesis_progress_student-2css.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"> <% '***************************************************************** '#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 id_stu=session("id_stu1") 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"> <i class="fa fa-times"></i> <div class="media"> </div> <div class="media-body"> <h2 class="media-heading text-uppercase"><%=ors_data("name_stu")%>    <%=ors_data("sur_stu")%> (<%=ors_data("name_eng")%>  <%=ors_data("sur_eng")%>)<%'=id_stu%></h2> <% ' 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 %>   <p><% 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 '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"> <i class="fa fa-times"></i> <div class="media"> <div class="media-body"> <h2 class="media-heading text-uppercase">��§ҹ��������˹��<%%></h2> </div> </div> </div> </div> <%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;">��Ѻ˹����§ҹ��������˹��</button></div> <!-- <input type="submit" name="edit" value="Edit"> --> </form> <%End if%> </td></tr> <!--<tr bgcolor=#FFCC00><td align=center valign=middle><h3>��§ҹ��������˹��</h3></td></tr>--> <tr><td> <div class="templatemo-content-widget white-bg "> <i class="fa fa-times"></i> <p>Works on all major browsers. IE 10+. Visual Admin is free responsive admin template for everyone. Feel free to use this template for your backend user interfaces. Please tell your friends about templatemo.com website. You may contact us if you have anything to say.</p> <p>Nunc placerat purus eu tincidunt consequat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus dapibus nulla quis risus auctor, non placerat augue consectetur. Fusce mi lacus, semper sit amet mattis eu.</p> </div> <table id="customers" border="0" cellspacing="0" align="center" width="100%"> <tr bgcolor=#FFFFCC><td align=center width="5%"><strong>���<td align=center width="17%"><strong>���Ѿ�����ͧ��ú����<td align=center width="17%"><strong>�Ԩ��������ͧ��<td align=center width="17%"><strong>�ѹ�ش���¢ͧ�����<br>��§ҹ�š�÷ӡԨ����<br>��Ш��Ҥ���¹<td align=center width="17%"><strong>�š�÷ӡԨ����<td align=center width="17%"><strong>�ѭ������ػ��ä<td align=center width="10%"><strong>��ѡ�ҹ<br>��Сͺ�����§ҹ��<!--<td align=center><strong>ʶҹ�--> <% status_del="1" '������ʴ�Ἱ������¹ Set ors_plan=server.createobject("adodb.recordset") sql_plan="select * from thesis_plan_activity where id_stu='"&id_stu&"' and status_del='"&status_del&"' order by year_end, month_end desc" ors_plan.open sql_plan,conn,1,3 If Not ors_plan.eof then ors_plan.movefirst noa=0 Do while Not ors_plan.eof noa=noa+1 if noa mod 2 = 0 then bgp="#e9e9e9" else bgp="#FFFFFF" end If %> <h2 class="templatemo-inline-block"><%=noa%></h2><hr> 'Response.write "<tr bgcolor="&bgp&">" 'Response.write "<tr>" 'Response.write "<td align=center valign=top>"&noa&".</td>" <p>���Ѿ�����ͧ��ú����:: <%=ors_plan("expect_result")%></p> <p>�Ԩ��������ͧ��:: <%=ors_plan("activity_name")%></p> <% set ors_o=server.createobject("adodb.recordset") sqlmark_o="select * from progress_report_thesis where id_progress_report ='"&ors_plan("id_progress_report")&"' order by datebegin asc, year_edu desc, semeter desc" ors_o.open sqlmark_o,Conn,1,3 If Not ors_o.eof then %> 'Response.write ors_o("date_begin")&"/"&ors_o("month_begin")&"/"&ors_o("year_begin")&"-"&ors_o("date_end")&"/"&ors_o("month_end")&"/"&ors_o("year_end") Response.write "<td align=center valign=top>"&ors_o("date_end")&"/"&ors_o("month_end")&"/"&ors_o("year_end")&"<br>" Response.write "("&ors_o("semeter")&"/"&ors_o("year_edu")&")" End if 'Response.write "<td align=center>"&ors_plan("month_begin")&"/"&ors_plan("year_begin")&" �֧ "&ors_plan("month_end")&"/"&ors_plan("year_end") Response.write "<td valign=top>"&ors_plan("activity_result") Response.write "<td valign=top>"&ors_plan("activity_problem") Response.write "<td valign=top>" Set ors_file=server.createobject("adodb.recordset") sql_file="select * from thesis_report_file2 where id_activity='"&ors_plan("id_activity")&"' and id_status='1'" ors_file.open sql_file,conn,1,3 If Not ors_file.eof Then ors_file.movefirst n=1 Do While Not ors_file.eof Response.write "[<a href=../fileprogress/"&ors_file("file_name")&">File"&n&"</a>]<br>" n=n+1 ors_file.movenext loop Else Response.write "No file" End If If ors_plan("id_status")=1 Then %><!--<td>�����ѹ��--> <%If id_type <>"teacher" Then Response.write id_type %> <tr bgcolor=<%=bgp%>><td colspan=7 align=center> <table><tr><td> <form name="form4" class="form-horizontal" style="padding:10px;" method="post" action="edit_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%>> <input type="hidden" name="id_activity" value=<%=ors_plan("id_activity")%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;">2.��§ҹ�š�÷ӡԨ����</button></div> <!-- <input type="submit" name="edit" value="Edit"> --> </form> <!--<td> <form name="form5" class="form-horizontal" style="padding:10px;" method="post" action="del_thesis_progress_student.asp"> <%'���ʶҹС�����������ǻ������� disable ����ѧ������� enable 'If ors_r("id_status")="0" then 'Response.write id_thesis %> <input type="hidden" name="id" value=<%=id_thesis%>> <input type="hidden" name="id_activity" value=<%=ors_plan("id_activity")%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;" onclick="return confirm('�س��ͧ���ź?');">Remove</button></div> <input type="submit" name="Del" value="Del"> </form>--> <td> <form name="form7" class="form-horizontal" style="padding:10px;" method="post" action="upload_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%>> <input type="hidden" name="id_stu" value=<%=id_stu%>> <input type="hidden" name="id_activity" value=<%=ors_plan("id_activity")%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;">3.�Ѿ��Ŵ���</button></div> <!--<input type="submit" name="Del" value="Del"> --> </form> <td> <form name="form6" method="post" action="confirm_thesis_progress_student.asp"> <%'���ʶҹС�����������ǻ������� disable ����ѧ������� enable 'If ors_r("id_status")="0" then 'Response.write id_thesis %> <input type="hidden" name="id" value=<%=id_thesis%>> <input type="hidden" name="id_activity" value=<%=ors_plan("id_activity")%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;" onclick="return confirm('����ͷ�ҹ��ѹ��������� ��ҹ�������ö��Ѻ������§ҹ��<br> ��ѹ�����?');">4.����§ҹ</button></div> <!--<input type="submit" name="send" value="Send">--> </form></table> <% 'Response.write "<td>[<a href=edit_thesis_progress_student_form.asp?id_activity="&ors_plan("id_activity")&">Edit</a>]" 'Response.write "[<a href=del_thesis_progress_student_form.asp?id_activity="&ors_plan("id_activity")&">Del</a>]" 'Response.write "[<a href=confirm_thesis_progress_student_form.asp?id_activity="&ors_plan("id_activity")&">Send</a>]" Else Response.write "<tr bgcolor="&bgp&"><td colspan=7 align=center><div class=col-xs-12>"%> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;" readonly>���������ҧ�����§ҹ</button></div> <% End If Else 'Response.write "<td>�٤�����finished" Response.write "<tr bgcolor="&bgp&"><td colspan=7 align=center><div class=col-xs-12>" Response.write "<button class=btn-oth type=submit role=button style=margin-left:10px;>��ѹ�����§ҹ���� ������ѹ��� "&ors_plan("date_report")&"</button></div>" If id_type="teacher" Then Response.write "<tr bgcolor="&bgp&"><td colspan=7 align=center><div class=col-xs-12>" Response.write "��ѹ�����§ҹ���� ������ѹ��� "&ors_plan("date_report") End if End if ors_plan.movenext Loop Else Response.write "<tr><td colspan=7>No Plan</td></tr>" End if %> <%If id_type<>"teacher" then%> <form name="form3" method="post" action="add_thesis_progress_student_form.asp"> <tr><td colspan=7 align=right> <%'���ʶҹС�����������ǻ������� disable ����ѧ������� enable 'If ors_r("id_status")="0" then 'Response.write id_thesis %> <input type="hidden" name="id" value=<%=id_thesis%>> <input type="submit" name="Submit" value="1.���ҧἹ������¹/��ԭ�ҹԾ���"> </form><% Else '�к͡ʶҹСѺ�Ҩ������� �Ԩ�������֧����˹���� End if%> </td></tr> </table> </table> <% end if %> </div></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>