File Manager
Back to List
| Current Directory: ~/
Editing: all_lecturer.asp
Full path: C:\ict\ICT\all_lecturer.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"--> <!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" --> <% '***************************************************************** session("tb_name")="lecturer" %> <!--#include file="chk_permission.asp"--> <% '***************************************************************** if session("tb_preview") <> 1 or session("id_lecturer1") = id_lecturer then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <table width="100%" border="0" cellspacing="0"> <tr> <td colspan="3"> </td> </tr> <tr> <td width="892" align="left" valign="top"><div align="center"><font size=2><strong> <%if session("tb_edit") = 2 then %>[<a href=add_lec_form.asp>+�����������Ҩ����+</a>] <%end if%><br> <br> �������Ҩ���������<br> <% year_retire=request("sortt") sortname=request("sortname") if year_retire=1 then sqlall="select * from lecturer where statusdel='1' order by year_retire desc" year_retire=2 sortname=2 elseif year_retire=2 then sqlall="select * from lecturer where statusdel='1' order by year_retire asc" year_retire=1 sortname=1 elseif sortname=2 then sqlall="select * from lecturer where statusdel='1' order by name_lec desc" sortname=1 year_retire=1 else sqlall="select * from lecturer where statusdel='1' order by name_lec asc" sortname=2 year_retire=2 end if%> <br> <table border="0"> <tr bgcolor=#FFFFCC><td><strong>�ӴѺ���</strong></td> <td><strong>���ʻ�Шӵ��</td> <td><div align=center><strong><a href=all_lecturer.asp?sortname=<%=sortname%>>����-ʡ��</a></td> <td><strong><a href=all_lecturer.asp?sortt=<%=year_retire%>>�շ�����³</a></td></div> <% ' if session("tb_edit")=2 then '<td><div align=center><strong>����ѵ���ǹ���</td><td><strong>����ѵԡ���֡��<td><strong> ���˹觷ҧ������<td><strong> �ҹ�Ԩ�� %> <%'end if%> </tr> <%'sqlall="select * from lecturer where statusdel='1' order by name_lec" set orsall=server.createobject("adodb.recordset") orsall.open sqlall,conn,1,3 if not orsall.eof then orsall.movefirst noo=0 do while not orsall.eof noo=noo+1 if noo mod 2 = 0 then bg1="#EBEBEB" else bg1="#ffffff" end if response.write "<tr bgcolor="&bg1&"><td>"&noo&"<td>[<a href=detail_lec.asp?id_lecturer="&orsall("id_lecturer")&">"&orsall("id_lecturer")&"</a>]</td><td>"&orsall("name_lec")&" "&orsall("sur_lec")&"</td><td>"&orsall("year_retire") response.write "</tr>" 'end if orsall.movenext loop else response.write "<tr><td colspan=4>No Lecturer</td></tr>" end if %> </table></div> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =4;url=javascript:history.back();>" '���Է� end if '���Է� %> </td> </tr> <tr> <td colspan="3"></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>