File Manager
Back to List
| Current Directory: ~/
Editing: edit_curri_h_form.asp
Full path: C:\ict\ICT\edit_curri_h_form.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" --> <table width="100%" border="0" cellspacing="0"> <% '***************************************************************** session("tb_name")="course" %> <!--#include file="chk_permission.asp"--> <% '***************************************************************** if session("tb_preview") <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <tr> <td colspan="3"> </td> </tr> <tr> <td width="892" align="left" valign="top"><% if session("tb_edit") =2 then %> <div align="center">[<a href=index_curriculum.asp>�ʴ���ѡ�ٵ÷�����</a>]<%end if%><br><strong>������ѡ�ٵ�</strong> <form name="form1" method="post" action="save_edit_curri_manage.asp"> <table width="75%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td> </td> </tr> <tr> <% id_curriculum_manage=request("id_curriculum_manage") 'response.write id_curriculum_manage sql_ec="select * from curriculum_manage where id_curriculum_manage='"&id_curriculum_manage&"'" set ors_ec=server.createobject("adodb.recordset") ors_ec.open sql_ec,conn,1,3 if not ors_ec.eof then %> <td height="20"><div align="right">������ѡ�ٵ�</div></td> <td> <input type="text" name="id_curriculum_manage" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' readonly value=<%=ors_ec("id_curriculum_manage")%>></td> </tr> <tr> <td><div align="right">��ѡ�ٵ�</div></td> <td> <select name="curriculum"> <% id_curriculum=ors_ec("id_curriculum") set ors_o=server.createobject("adodb.recordset") sqlmark_o="select * from curriculum" ors_o.open sqlmark_o,Conn,1,3 ors_o.movefirst do while not ors_o.eof %><option <% if cint(ors_o("id_curriculum")) = cint(ors_ec("id_curriculum")) then %> value=<%=ors_ec("id_curriculum")%> selected <%else%> value=<%=ors_o("id_curriculum")%> <%end if%>> <%=ors_o("curriculum_full")%> </option> <% ors_o.movenext loop %> </select> <%=ors_ec("id_curriculum")%> </td> </tr> <tr> <td><div align="right">Ẻ</div></td> <td> <select name="type_curri"> <% id_type_curri=ors_ec("id_type_curri") set ors_tc=server.createobject("adodb.recordset") sqlmark_tc="select * from type_curriculum" ors_tc.open sqlmark_tc,Conn,1,3 ors_tc.movefirst do while not ors_tc.eof %><option <% if ors_ec("id_type_curri")=ors_tc("id_type_curri") then %> value=<%=ors_ec("id_type_curri")%> selected <%else%> value=<%=ors_tc("id_type_curri")%> <%end if%>> <%=ors_tc("type_curri_th")%> </option> <% ors_tc.movenext loop %> </select> <%=ors_ec("id_type_curri")%> </td> </tr> <tr> <td><div align="right">�زԡ���֡��</div></td> <td> <select name="edu_bg"> <% id_edu_bg=ors_ec("id_edu_bg") set ors3=server.createobject("adodb.recordset") sql3="select * from education_bg" ors3.open sql3,Conn,1,3 ors3.movefirst do while not ors3.eof %><option <% if ors_ec("id_edu_bg")=ors3("id_edu_bg") then %> value=<%=ors_ec("id_edu_bg")%> selected <%else%> value=<%=ors3("id_edu_bg")%> <%end if%>> <%=ors3("edu_th_full")%> </option> <% ors3.movenext loop %> </select> <%=ors_ec("id_edu_bg")%> </td> </tr> <tr> <td><div align="right">�Ԫ��͡</div></td> <td> <select name="major"> <% id_major=ors_ec("id_major") set ors5=server.createobject("adodb.recordset") sql5="select * from major" ors5.open sql5,Conn,1,3 ors5.movefirst do while not ors5.eof %><option <% if cint(ors_ec("id_major"))=cint(ors5("id_major")) then %> value=<%=ors_ec("id_major")%> selected <%else%> value=<%=ors5("id_major")%> <%end if%>> <%=ors5("major_th")%> </option> <% ors5.movenext loop %> </select> <%=ors_ec("id_major")%> </td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Submit" > <input type="reset" name="Submit2" value="Reset"></td> </tr> <%end if%> </form> </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 '���Է� %> </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>