File Manager
Back to List
| Current Directory: ~/
Editing: indexadvisor.asp.bak
Full path: C:\ict\ICT\indexadvisor.asp.bak
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"--> <!--#include file="chk_permission.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" --> <table width="100%" border="0" cellspacing="0"> <% '***************************************************************** session("tb_name")="lecturer" %> <% '***************************************************************** if session("tb_preview") <> 1 or session("id_lecturer1") = id_lecturer then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <tr> <td width="892" align="left" valign="top"><div align="center"><%if session("tb_edit") = 2 then%> [ <a href="add_advisor_form.asp">+�����������Ҩ�������֡��+</a>]<%end if%></div><br> <table border=0 align=center> <tr><td colspan=4>����֡���Ԫҡ��</td></tr> <tr bgcolor="#CCCCCC"><td><div align=center>�Ҩ����</td><td>���ʡ�������Ե</td><td>�ա���֡��</td><td><div align=center>Action</td></tr> <% sqlt="select * from lecturer where id_status=1 order by name_lec" set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof then orst.movefirst do while not orst.eof response.write "<tr>" response.write "<td colspan=4><strong>�."&orst("name_lec")&" "&orst("sur_lec") response.write "</td>" sqlall="select * from advisor_student where id_lecturer='"&orst("id_lecturer")&"' order by id_year" set orsall=server.createobject("adodb.recordset") orsall.open sqlall,conn,1,3 if not orsall.eof then orsall.movefirst do while not orsall.eof sqls="select * from student_group where id_stugroup='"&orsall("id_stugroup")&"'" set orss=server.createobject("adodb.recordset") orss.open sqls,conn,1,3 if not orss.eof then sqlc="select * from curriculum where id_curriculum='"&orss("id_curriculum")&"'" set orsc=server.createobject("adodb.recordset") orsc.open sqlc,conn,1,3 if not orsc.eof then sql_t="select * from type_curriculum where id_type_curri='"&orss("id_type_curri")&"'" set ors_t=server.createobject("adodb.recordset") ors_t.open sql_t,conn,1,3 if not ors_t.eof then response.write"<tr><td></td><td>[<a href=detail_stugroup.asp?id_stugroup="&orsall("id_stugroup")&">"&orsc("curriculum_sum")&" "&ors_t("type_curri_th")&" ��� "&orss("no_stugroup")&"</a>]" end if end if end if response.write "<td>"&orsall("id_year")&"</td>" if session("tb_edit")=2 then response.write "<td>" %>[<a href=del_advisor.asp?id_stugroup=<%=orsall("id_stugroup")%>&id_lecturer=<%=orsall("id_lecturer")%> onclick="return confirm('Are you sure');">ź</a>] <%end if response.write "</tr>" orsall.movenext loop else response.write "<tr><td colspan=3><div align=center>No Data" response.write "</tr>" end if orst.movenext loop end if %> </table></td></tr> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =3;url=javascript:history.back();>" '���Է� end if '���Է� %></td></tr> </table> <!-- 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>