File Manager
Back to List
| Current Directory: ~/
Editing: add_course_form.asp.bak
Full path: C:\ict\ICT\add_course_form.asp.bak
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_course_th.value == "" ) { alert("��سҡ�͡�����Ԫ�������") document.form1.id_course_th.focus() return false; } if( document.form1.id_course_eng.value == "" ) { alert("��سҡ�͡�����Ԫ������ѧ���") document.form1.id_course_eng.focus() return false; } if( document.form1.course_th.value == "" ) { alert("��سҡ�͡��������Ԫ�������") document.form1.course_th.focus() return false; } if( document.form1.course_eng.value == "" ) { alert("��سҡ�͡��������Ԫ������ѧ���") document.form1.course_eng.focus() return false; } if ( document.form1.credit.value == "" ) { alert("��سҡ�͡˹��¡Ե") document.form1.credit.focus() return false; } if (document.form1.credit.value.length<6 || document.form1.credit.value.length>9){ alert('��سҡ�͡˹��¡Ե �� 2(2-0)'); document.form1.credit.focus(); return false; } if ( document.form1.credit_sum.value == "" ) { alert("��سҡ�͡˹��¡Ե�������ٻẺ") document.form1.credit_sum.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"> <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" %> <% '***************************************************************** if session("tb_edit") <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <form name="form1" method="post" action="add_course.asp"> <tr> <td width="892" align="left" valign="top"><div align="center"> <%if session("tb_edit")=2 then %>[ <a href="add_course_form.asp">+��������Ԫ�+</a>][<a href=study_plan.asp>+��˹�Ἱ������¹+</a>]<%end if%><br><strong>��������´����Ԫ�<br><br> <table align=center> <tr> <% response.write "<tr><td><div align=right>��������Ԫ�(��)::</td><td ><input type=text name=id_course_th>* </td></tr>" response.write "<tr><td><div align=right>��������Ԫ�(Eng)::</td><td><input type=text name=id_course_eng>* </td></tr>" response.write "<tr><td><div align=right>��������Ԫ�(��)::</td><td><input type=text name=course_th size=50>*</td></tr>" response.write "<tr><td><div align=right>��������Ԫ�(Eng)::</td><td><input type=text name=course_eng size=50>*</td></tr>" %> <tr><td><div align=right>˹��¡Ե::</td><td><input type=text name=credit onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;'>*</td></tr> <tr><td><div align=right>˹��¡ԵẺ���::</td><td><input type=text name=credit_sum onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;'>*</td></tr> <tr><td><div align=right>�շ���Ѻ��ا::</td><td><input type=text name=year_edu size=50 maxlength=4 onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;'>*</td></tr> <% response.write "<tr><td><div align=right>��Ժ������Ԫ�::</td><td><textarea cols=50 rows=8 name=detail_courset></textarea>*</td></tr>" response.write "<tr><td><div align=right>Course Description::</td><td><textarea cols=50 rows=8 name=detail_coursee></textarea>*</td></tr>" conn.close %> <tr><td colspan=2><input type="submit" name="Submit" value="Submit" onmousedown="doSubmit();"> <input type="reset" name="Submit2" value="Reset"></td></tr> </form> </div></td> <br> </tr></table> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =4;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>