File Manager
Back to List
| Current Directory: ~/
Editing: edit_thesis_progress_form.asp
Full path: C:\ict\ICT\edit_thesis_progress_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"--> <script language="javascript"> function doSubmit() { if( document.form1.noofreport.value == "" ) { alert("��س����͡�ͺ�����§ҹ") document.form1.noofreport.focus() return false; } if( document.form1.year_edu.value == "" ) { alert("��سҡ�͡�ա���֡��") document.form1.year_edu.focus() return false; } if( document.form1.semeter.value == "" ) { alert("��سҡ�͡�Ҥ���¹") document.form1.semeter.focus() return false; } if( document.form1.id_curriculum.value == "" ) { alert("��سҡ�͡��ѡ�ٵ�") document.form1.id_curriculum.focus() return false; } if( document.form1.id_type_curri.value == "" ) { alert("��سҡ�͡�ٻẺ����֡��") document.form1.id_type_curri.focus() return false; } if( document.form1.id_major.value == "" ) { alert("��سҡ�͡�Ң��Ԫ�") document.form1.id_major.focus() return false; } if( document.form1.datebegin.value == "" ) { alert("��سҡ�͡�ѹ���������§ҹ") document.form1.datebegin.focus() return false; } if( document.form1.dateend.value == "" ) { alert("��سҡ�͡�ѹ�ش���¢ͧ�����§ҹ") document.form1.dateend.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"> <link type="text/css" href="css/ui-lightness/jquery-ui-1.8.10.custom.css" rel="stylesheet" /> <script type="text/javascript" src="js/jquery-1.4.4.min.js"></script> <script type="text/javascript" src="js/jquery-ui-1.8.10.offset.datepicker.min.js"></script> <script type="text/javascript"> $(function () { var d = new Date(); var toDay = d.getDate() + '/' + (d.getMonth() + 1) + '/' + (d.getFullYear() + 543); // �óյ�ͧ�����軯ԷԹŧ��ҡ���� 1 �ѹ���˹�� ����������� Code ����÷Ѵ��ҹ��ҧ���¤�Ѻ (1 �ش = 1 ��ԷԹ) $("#datepicker-th").datepicker({ dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay, dayNames: ['�ҷԵ��', '�ѹ���', '�ѧ���', '�ظ', '����ʺ��', '�ء��', '�����'], dayNamesMin: ['��.','�.','�.','�.','��.','�.','�.'], monthNames: ['���Ҥ�','����Ҿѹ��','�չҤ�','����¹','����Ҥ�','�Զع�¹','�á�Ҥ�','�ԧ�Ҥ�','�ѹ��¹','���Ҥ�','��Ȩԡ�¹','�ѹ�Ҥ�'], monthNamesShort: ['�.�.','�.�.','��.�.','��.�.','�.�.','��.�.','�.�.','�.�.','�.�.','�.�.','�.�.','�.�.']}); $("#datepicker-th-2").datepicker({ changeMonth: true, changeYear: true,dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay,dayNames: ['�ҷԵ��','�ѹ���','�ѧ���','�ظ','����ʺ��','�ء��','�����'], dayNamesMin: ['��.','�.','�.','�.','��.','�.','�.'], monthNames: ['���Ҥ�','����Ҿѹ��','�չҤ�','����¹','����Ҥ�','�Զع�¹','�á�Ҥ�','�ԧ�Ҥ�','�ѹ��¹','���Ҥ�','��Ȩԡ�¹','�ѹ�Ҥ�'], monthNamesShort: ['�.�.','�.�.','��.�.','��.�.','�.�.','��.�.','�.�.','�.�.','�.�.','�.�.','�.�.','�.�.']}); $("#datepicker-th-3").datepicker({ changeMonth: true, changeYear: true,dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay,dayNames: ['�ҷԵ��','�ѹ���','�ѧ���','�ظ','����ʺ��','�ء��','�����'], dayNamesMin: ['��.','�.','�.','�.','��.','�.','�.'], monthNames: ['���Ҥ�','����Ҿѹ��','�չҤ�','����¹','����Ҥ�','�Զع�¹','�á�Ҥ�','�ԧ�Ҥ�','�ѹ��¹','���Ҥ�','��Ȩԡ�¹','�ѹ�Ҥ�'], monthNamesShort: ['�.�.','�.�.','��.�.','��.�.','�.�.','��.�.','�.�.','�.�.','�.�.','�.�.','�.�.','�.�.']}); $("#datepicker-en").datepicker({ dateFormat: 'dd/mm/yy'}); $("#inline").datepicker({ dateFormat: 'dd/mm/yy', inline: true }); }); </script> </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="1"> <% '***************************************************************** session("tb_name")="thesis" %> <!--#include file="chk_permission.asp"--> <% '***************************************************************** if session("tb_preview") <> 1 or session("id_lecturer1") = id_lecturer then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %><tr><td>[<a href=http://bsris.swu.ac.th/indexstudent.asp>��ԭ�ҹԾ���</a>][<a href=http://bsris.swu.ac.th/thesis_progress.asp>��§ҹ��������˹��</a>][<a href=http://bsris.swu.ac.th/list_status_stu.asp?c1=1&t1=2>Thesis�¡����дѺ</a>] <tr> <td width="892" align="left" valign="top"><div align="center"> <br><strong>�����������´�����§ҹ��������˹�ҡ�÷ӻ�ԭ�ҹԾ���</strong> <% id=request.form("id") If id="" Then id=request("id") End if sql_all="select * from progress_report_thesis where id_progress_report='"&id&"'" 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_thesis_progress.asp"> <table width="75%" border="0" align="center" cellpadding="3" cellspacing="0"> <tr bgcolor=#FFFFCC><td colspan=2 align=center></td></tr> <% %> <tr> <td height="20"><div align="right">���駷��</div></td> <td> <input type="text" name="noofreport" onkeypress='if (event.keyCode < 46 || event.keyCode >57) event.returnValue=false;' style="font-size:16px" value =<%=ors_all("id_progress_report")%>></td> </tr> <tr> <td><div align="right">�ա���֡��</div></td><td> <select name="year_edu" style="font-size:16px"> <% mydate=date myyear=year(mydate) yearbegin=myyear+536 myyear=myyear+543 'response.write "<tr><td>"&yearbegin&"</td></tr>" i=0 do while i<10 %> <option <% if CInt(yearbegin)=CInt(ors_all("year_edu")) then %> value=<%=ors_all("year_edu")%> selected <%else%> value=<%=yearbegin%> <%end if%>> <%=yearbegin%> </option> <%i=i+1 yearbegin=yearbegin+1 loop %> </select>�Ҥ <select name="semeter" style="font-size:16px"> <% set ors_=server.createobject("adodb.recordset") sqlmark_="select * from academic_semeter" ors_.open sqlmark_,Conn,1,3 If Not ors_.eof then ors_.movefirst 'Response.write "<option>"&ors_("id_academic_semeter")&"+"&ors_all("semeter")&"</option>" do while not ors_.eof %> <option <%if cint(ors_("id_academic_semeter"))=cint(ors_all("semeter")) then%> value = <%=cint(ors_all("semeter"))%> selected <%else%> value = <%=ors_("id_academic_semeter") %> <%end if%>> <%=ors_("academic_semeter")%><%=ors_("id_academic_semeter")%> </option> <% 'response.write "<option value="&ors_("id_academic_semeter")&">"&ors_("academic_semeter")&"</option>" ors_.movenext Loop End if %> </select> </tr> <tr> <td><div align="right">��ѡ�ٵ�</div></td><td> <select name="id_curriculum" style="font-size:16px""> <% 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_all("id_curriculum")) then%> value = <%=cint(ors_all("id_curriculum"))%> selected <%else%> value = <%=ors_o("id_curriculum") %> <%end if%>> <%=ors_o("curriculum_full")%> </option> <% '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" style="font-size:16px""> <% 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 cint(ors_tc("id_type_curri"))=cint(ors_all("id_type_curri")) then%> value = <%=cint(ors_all("id_type_curri"))%> selected <%else%> value = <%=ors_tc("id_type_curri") %> <%end if%>> <%=ors_tc("type_curri_th")%> </option> <% 'response.write "<option value="&ors_tc("id_type_curri")&">"&ors_tc("type_curri_th")&" </option>" ors_tc.movenext loop %> </select> <tr> <td><div align="right">�Ң�</div></td><td> <select name="id_major" style="font-size:16px""> <% set ors5=server.createobject("adodb.recordset") sql5="select * from major where own='1'" ors5.open sql5,Conn,1,3 If Not ors5.eof then ors5.movefirst do while not ors5.eof %> <option <% If CInt(ors5("id_major")) =CInt(ors_all("id_major")) Then %> value=<%=ors_all("id_major")%> selected <%else%> value=<%=ors5("id_major")%> <%End if%>> <%=ors5("major_th")%></option> <% ors5.movenext Loop End if %> </select> </tr> <tr> <td align=right>�ѹ�������§ҹ<td> <% numday=Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31") i=lbound(numday) dayleft=ors_all("date_begin") %> <select name="date_begin" style="font-size:16px"> <% do while i<=ubound(numday) %> <option <% if numday(i)=dayleft then %> value=<%=dayleft%> selected <%else%> value=<%=numday(i)%><%end if%>><%=numday(i)%></option> <% i=i+1 loop %> </select> �� <% monthmid=ors_all("month_begin") 'response.write monthmid nummonth=array("01","02","03","04","05","06","07","08","09","10","11","12") nummonthth=array("���Ҥ�","����Ҿѹ��","�չҤ�","����¹","����Ҥ�","�Զع�¹","�á�Ҥ�","�ԧ�Ҥ�","�ѹ��¹","���Ҥ�","��Ȩԡ�¹","�ѹ�Ҥ�") ii=lbound(nummonth) iii=lbound(nummonthth)%> <select name="month_begin" style="font-size:16px"> <% do while ii<=ubound(nummonth) %> <option <% if nummonth(ii)=monthmid then%> value=<%=monthmid%> selected <%else%> value=<%=nummonth(ii)%><%end if%>><%=nummonthth(iii)%></option> <%ii=ii+1 iii=iii+1 loop %> </select> �.�. <input type="text" name="year_begin" maxlength="4" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' value=<%=ors_all("year_begin")%> style="font-size:16px"> </tr> <tr> <td align=right>�ѹ�ش������§ҹ<td> <% numday=Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31") i=lbound(numday) dayleft=ors_all("date_end") %> <select name="date_end" style="font-size:16px"> <% do while i<=ubound(numday) %> <option <% if numday(i)=dayleft then %> value=<%=dayleft%> selected <%else%> value=<%=numday(i)%><%end if%>><%=numday(i)%></option> <% i=i+1 loop %> </select> �� <% monthmid=ors_all("month_end") 'response.write monthmid nummonth=array("01","02","03","04","05","06","07","08","09","10","11","12") nummonthth=array("���Ҥ�","����Ҿѹ��","�չҤ�","����¹","����Ҥ�","�Զع�¹","�á�Ҥ�","�ԧ�Ҥ�","�ѹ��¹","���Ҥ�","��Ȩԡ�¹","�ѹ�Ҥ�") ii=lbound(nummonth) iii=lbound(nummonthth)%> <select name="month_end" style="font-size:16px"> <% do while ii<=ubound(nummonth) %> <option <% if nummonth(ii)=monthmid then%> value=<%=monthmid%> selected <%else%> value=<%=nummonth(ii)%><%end if%>><%=nummonthth(iii)%></option> <%ii=ii+1 iii=iii+1 loop %> </select> �.�. <input type="text" name="year_end" maxlength="4" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' value=<%=ors_all("year_end")%> style="font-size:16px"> </tr> <tr> <td align=right>�ѹ�ش���¢ͧ������ҧἹ<td> <% numday=Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31") d_plan_end=ors_all("d_plan_end") i=lbound(numday) %> <select name="d_plan_end" style="font-size:16px"> <% do while i<=ubound(numday) %> <option <% if numday(i)=d_plan_end then %> value=<%=d_plan_end%> selected <%else%> value=<%=numday(i)%><%end if%>><%=numday(i)%></option> <% i=i+1 loop %> </select> �� <% monthmid=ors_all("m_plan_end") 'response.write monthmid nummonth=array("01","02","03","04","05","06","07","08","09","10","11","12") nummonthth=array("���Ҥ�","����Ҿѹ��","�չҤ�","����¹","����Ҥ�","�Զع�¹","�á�Ҥ�","�ԧ�Ҥ�","�ѹ��¹","���Ҥ�","��Ȩԡ�¹","�ѹ�Ҥ�") ii=lbound(nummonth) iii=lbound(nummonthth)%> <select name="m_plan_end" style="font-size:16px"> <% do while ii<=ubound(nummonth) %> <option <% if nummonth(ii)=monthmid then%> value=<%=monthmid%> selected <%else%> value=<%=nummonth(ii)%><%end if%>><%=nummonthth(iii)%></option> <%ii=ii+1 iii=iii+1 loop %> </select> �.�. <input type="text" name="y_plan_end" maxlength="4" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' style="font-size:16px" value=<%=ors_all("y_plan_end")%>> </tr> <tr> <td align=right>�ѹ�ش���¢ͧ���������ʹ���<td> <% numday=Array("01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31") dend_check=ors_all("dend_check") i=lbound(numday) %> <select name="dend_check" style="font-size:16px"> <% do while i<=ubound(numday) %> <option <% if numday(i)=dend then %> value=<%=d_plan_end%> selected <%else%> value=<%=numday(i)%><%end if%>><%=numday(i)%></option> <% i=i+1 loop %> </select> �� <% monthmid=ors_all("mend_check") 'response.write monthmid nummonth=array("01","02","03","04","05","06","07","08","09","10","11","12") nummonthth=array("���Ҥ�","����Ҿѹ��","�չҤ�","����¹","����Ҥ�","�Զع�¹","�á�Ҥ�","�ԧ�Ҥ�","�ѹ��¹","���Ҥ�","��Ȩԡ�¹","�ѹ�Ҥ�") ii=lbound(nummonth) iii=lbound(nummonthth)%> <select name="mend_check" style="font-size:16px"> <% do while ii<=ubound(nummonth) %> <option <% if nummonth(ii)=monthmid then%> value=<%=monthmid%> selected <%else%> value=<%=nummonth(ii)%><%end if%>><%=nummonthth(iii)%></option> <%ii=ii+1 iii=iii+1 loop %> </select> �.�. <input type="text" name="yend_check" maxlength="4" onkeypress='if (event.keyCode < 46 || event.keyCode >57 ) event.returnValue=false;' style="font-size:16px" value=<%=ors_all("yend_check")%>> </tr> <tr> <td><div align="right">��������´</div></td> <td><textarea name="detailprogress" rows="4" cols="50" id="detailprogress" style="font-size:16px"><%=ors_all("detailprogress")%></textarea> </tr> <!--<tr> �ѹ�е�ͧ�ա�õ�Ǩ�ͺ�ա��� �������㹪�ǧ�ѹ����˹� �����ʶҹ����Դ-�Դ�ѵ��ѵ�) <td><div align="right">ʶҹ�</div></td> <td><input type="radio" name="radio" id="radio" value="1" /> <label for="radio">�Դ</label> <input type="radio" name="radio" id="radio2" value="0" /> <label for="radio2">�Դ</label></td>--> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="�ѹ�֡" onmousedown="doSubmit();"> <input type="hidden" name="id" value=<%=id%>> <input type="reset" name="Submit2" value="Reset"></td> </tr> </table> </form> <% End If 'ors_all �֧��������§ҹ 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>