File Manager
Back to List
| Current Directory: ~/
Editing: add_curri_form.asp
Full path: C:\ict\ICT\add_curri_form.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"--> <script language="javascript"> function doSubmit() { if( document.form1.id_curriculum_manage.value == "" ) { alert("��سҡ�͡������ѡ�ٵ�") document.form1.id_curriculum_manage.focus() return false; } } </script> <!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"> </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">SWU</a> | <a href="http://bsri.swu.ac.th">BSRI</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" %> <% '***************************************************************** if session("tb_edit") <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <tr> <td width="892" align="left" valign="top"><br> <% if session("tb_edit")=2 then %> <div align="center"> [<a href=index_curriculum.asp>�ʴ���ѡ�ٵ÷�����</a>] <%end if%><br> <% sqlall="select * from curriculum_manage " set orsall=server.createobject("adodb.recordset") orsall.open sqlall,conn,1,3 if not orsall.eof then orsall.movelast idcm=orsall("id_curriculum_manage")+1 end if %> <form name="form1" method="post" action="add_curri_manage.asp"> <table width="75%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <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;' value=<%=idcm%>></td></tr> <tr> <td><div align="right">��ѡ�ٵ�</div></td><td> <select name="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 response.write "<option value="&ors_o("id_curriculum")&">"&ors_o("curriculum_full")&" </option>" ors_o.movenext loop %> </select> </tr> <tr> <td><div align="right">Ẻ</div></td><td> <select name="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 response.write "<option value="&ors_tc("id_type_curri")&">"&ors_tc("type_curri_th")&" </option>" ors_tc.movenext loop %> </select> </tr> <tr> <td><div align="right">�زԡ���֡��</div></td><td> <select name="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 response.write "<option value="&ors3("id_edu_bg")&">"&ors3("edu_th_full")&"</option>" ors3.movenext loop %> </select> </tr> <tr> <td><div align="right">�Ԫ��͡</div></td><td> <select name="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 response.write "<option value="&ors5("id_major")&">"&ors5("major_th")&"</option>" ors5.movenext loop %> </select> </tr> <tr> <td> </td><td><input type="submit" name="Submit" value="Submit" onmousedown="doSubmit();"> <input type="reset" name="Submit2" value="Reset"></td></tr> </form> </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> <tr> <td colspan="2" background="Image/bghead1.gif"> </td> </tr> </table> </body> <!-- InstanceEnd --></html>