File Manager
Back to List
| Current Directory: ~/
Editing: detail_course_lec.asp.bak
Full path: C:\ict\ICT\detail_course_lec.asp.bak
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#include file="connectdb.asp"--> <!--#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" --> <% '***************************************************************** session("tb_name")="lecturer" %> <% '***************************************************************** if session("tb_preview") <> 1 or session("id_lecturer1") = id_lecturer then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <table width="100%" border="0" cellspacing="0"> <tr> <td width="892" align="left" valign="top" ><div align="center"><font size=2><strong> <%if session("tb_edit") = 2 then%>[<a href=add_stu_form.asp>+��������������Ԫ�+</a>] [<a href=indexstudent.asp>�ʴ������Ź��Ե������</a>]<%end if%><br>�ʴ�����Ԫҷ���Դ�����л� <br><br> <table border=0> <% sqlall="select * from category_course " set orsall=server.createobject("adodb.recordset") orsall.open sqlall,conn,1,3 if not orsall.eof then do while not orsall.eof i=0 response.write "<tr><td><strong>"&orsall("id_category")&"</td><td colspan=7><strong>"&orsall("category_group") response.write " <strong> "&orsall("category")&""&orsall("category_group_name")&"</td>" response.write "<td>[<a href=detail_course_lec2.asp?id_category="&orsall("id_category")&">����Ԫҷ���������Ǵ </a>] </td></tr>" 'sqlc1="select * from course_category where id_category='"&orsall("id_category")&"'" 'set orsc1=server.createobject("adodb.recordset") 'orsc1.open sqlc1,conn,1,3 'if not orsc1.eof then ' orsc1.movefirst ' do while not orsc1.eof ' response.write "<tr>" ' response.write "<td><td>"&orsc1("id_course")&"</td>" 'sqlc="select * from course_schedule2 where id_course_eng='"&orsc1("id_course")&"'" 'set orsc=server.createobject("adodb.recordset") 'orsc.open sqlc,conn,1,3 'if not orsc.eof then ' do while not orsc.eof ' i=i+1 ' sqll="select * from lecturer where id_lecturer ='"&orsc("id_lecturer")&"'" ' set orsl=server.createobject("adodb.recordset") ' orsl.open sqll,conn,1,3 ' if not orsl.eof then ' response.write "<td>�."&orsl("name_lec")&" <br>"&orsl("sur_lec")&"</td>" ' end if ' orsc.movenext ' loop ' response.write "</tr>" ' ' end if ' orsc1.movenext ' loop ' end if 'response.write "<tr><td colspan =3><strong>��� "&i&" ����Ԫ�</td></tr>" orsall.movenext loop end if %> </div></td> </table> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =3;url=javascript:history.back();>" '���Է� end if '���Է� %> </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>