File Manager
Back to List
| Current Directory: ~/
Editing: edit_detail_sp.asp
Full path: C:\ict\ICT\edit_detail_sp.asp
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> <!-- 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")="course" %> <% '***************************************************************** if session("tb_edit") <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <table width="100%" border="0" cellspacing="0"> <tr> <td width="892" align="center" valign="top"><% if session("tb_edit") =2 then %>[ <a href="add_course_form.asp">+��������Ԫ�+</a>]<%end if%><br><strong>�����������´��Ժ����Ǵ��л�����<br><br> <table align=center> <tr> <% '027891000 id_curriculum_manage=request("id_curriculum_manage") id_category=request("id_category") session("id_curriculum_manage")=id_curriculum_manage session("id_category")=id_category sql_all="select * from study_plan where id_curriculum_manage='"&id_curriculum_manage&"'and id_category='"&id_category&"'" set ors_all=server.createobject("adodb.recordset") ors_all.open sql_all,conn,1,3 if not ors_all.eof then %> <form name="form1" method="post" action="save_edit_detail_sp.asp"> <% sqlall="select * from curriculum_manage where id_curriculum_manage='"&id_curriculum_manage&"'" set orsall=server.createobject("adodb.recordset") orsall.open sqlall,conn,1,3 id_curriculum=orsall("id_curriculum") sql_o_po="select * from curriculum where id_curriculum='"&id_curriculum&"'" set ors_o_po=server.createobject("adodb.recordset") ors_o_po.open sql_o_po,conn,1,3 response.write "<tr><td colspan=4><strong>"&id_curriculum_manage&"�дѺ"&ors_o_po("curriculum_full")&"" response.write " Ẻ " id_type_curr=orsall("id_type_curri") set ors_tc=server.createobject("adodb.recordset") sqlmark_tc="select * from type_curriculum where id_type_curri='"&id_type_curr&"'" ors_tc.open sqlmark_tc,Conn,1,3 response.write ors_tc("type_curri_th") id_edu_bg=orsall("id_edu_bg") sql_pre="select * from education_bg where id_edu_bg='"&id_edu_bg&"'" set ors_pre=server.createobject("adodb.recordset") ors_pre.open sql_pre,conn,1,3 response.write " �زԡ���֡�� "&ors_pre("edu_th_full") id_major=orsall("id_major") sql_sta="select * from major where id_major='"&id_major&"'" set ors_sta=server.createobject("adodb.recordset") ors_sta.open sql_sta,conn,1,3 response.write " �Ң� "&ors_sta("major_th")&"</td></tr>" '����ش����ʴ���������´��ѡ�ٵ� '������鹡���ʴ���Ǵ��л����� sql_a="select * from category_course where id_category='"&id_category&"'" set ors_a=server.createobject("adodb.recordset") ors_a.open sql_a,conn,1,3 if not ors_a.eof then ors_a.movefirst do while not ors_a.eof response.write "<tr><td colspan=4>-"&ors_a("category_group")&""&ors_a("category_group_name")&" �Ԫ�"&ors_a("category")&" <br> " ors_a.movenext loop else response.write "<tr><td>No Course</td></tr>" end if 'detail_studyplan=ors_all("detail_studyplan") response.write "��Ժ��<textarea name=detail_studyplan cols=60 rows=4>"&ors_all("detail_studyplan")&"</textarea></td></tr>" conn.close %> <tr><td colspan=4><div align=center><input type="submit" name="Submit" value="Save" ></td></tr> </form></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 '���Է� 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>