File Manager
Back to List
| Current Directory: ~/
Editing: report_thesis_progress_student_form.asp.bak
Full path: C:\ict\ICT\report_thesis_progress_student_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 CheckNum(){ if (event.keyCode < 48 || event.keyCode > 57){ event.returnValue = false; } } </script> <script> function doSubmit() { if( document.form3.id_result.value == "" ) { alert("��س���§ҹ�š�÷ӡԨ����") document.form3.id_result.focus() return false; } if( document.form3.date_exitexam.value == "" ) { alert("��سҡ�͡�ѹ�����������Ԩ����") document.form3.date_exitexam.focus() return false; } f( document.form3.date_begin.value == "" ) { alert("��سҡ�͡�ѹ�����������Ԩ����") document.form3.date_begin.focus() return false; } if( document.form3.activity_problem.value == "" ) { alert("��سҡ�͡�ѭ�Ҩҡ��÷ӡԨ����") document.form3.activity_problem.focus() return false; } if( document.form3.thesis_name.value == "" ) { alert("��سҡ�͡���ͻ�ԭ�ҹԾ���") document.form3.thesis_name.focus() return false; } if( document.form3.advisor_name1.value == "" ) { alert("��سҡ�͡�����Ҩ�������֡����ѡ") document.form3.advisor_name1.focus() return false; } if( document.form3.organizer_name.value == "" ) { alert("��سҡ�͡˹��§ҹ���Ѵ") document.form3.organizer_name.focus() return false; } } </script> <style> input[type=submit], input[type=reset] { background-color: #ff9999; border: none; color: white; padding: 16px 32px; text-decoration: none; margin: 4px 2px; cursor: pointer; } </style> <!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 rel="stylesheet" href="./css/icomoon.css"> <link rel="stylesheet" href="./css/style.css"> <link href="./css/font-awesome.min.css" rel="stylesheet"> <link href="./css/bootstrap.min.css" rel="stylesheet"> <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-thqe").datepicker({ changeMonth: true, changeYear: true,dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay,dayNames: ['�ҷԵ��','�ѹ���','�ѧ���','�ظ','����ʺ��','�ء��','�����'], dayNamesMin: ['��.','�.','�.','�.','��.','�.','�.'], monthNames: ['���Ҥ�','����Ҿѹ��','�չҤ�','����¹','����Ҥ�','�Զع�¹','�á�Ҥ�','�ԧ�Ҥ�','�ѹ��¹','���Ҥ�','��Ȩԡ�¹','�ѹ�Ҥ�'], monthNamesShort: ['�.�.','�.�.','��.�.','��.�.','�.�.','��.�.','�.�.','�.�.','�.�.','�.�.','�.�.','�.�.']}); $("#datepicker-thsk").datepicker({ dateFormat: 'dd/mm/yy', isBuddhist: true, defaultDate: toDay, dayNames: ['�ҷԵ��', '�ѹ���', '�ѧ���', '�ظ', '����ʺ��', '�ء��', '�����'], dayNamesMin: ['��.','�.','�.','�.','��.','�.','�.'], monthNames: ['���Ҥ�','����Ҿѹ��','�չҤ�','����¹','����Ҥ�','�Զع�¹','�á�Ҥ�','�ԧ�Ҥ�','�ѹ��¹','���Ҥ�','��Ȩԡ�¹','�ѹ�Ҥ�'], monthNamesShort: ['�.�.','�.�.','��.�.','��.�.','�.�.','��.�.','�.�.','�.�.','�.�.','�.�.','�.�.','�.�.']}); $("#datepicker-thpre").datepicker({ 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="0"> <tr> <td width="892" align="left" valign="top"> <% '***************************************************************** session("tb_name")="student" %> <% id_activity=request.form("id_activity") id_qe_type=request.form("id_qe_type") id_stu=request("id_stu") id_thesis=request.form("id") 'response.write session("id_stu1") &"aaa" 'response.write "bbb"&id_stu '***************************************************************** 'if session("tb_preview") =2 or session("id_stu1") = id_stu then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ pern=session("username") per="2" tb="student" sqlnc="select * from tb_permission where id_staff='"&pern&"' and tb_edit='"&per&"' and tb_name='"&tb&"'" set orsnc=server.createobject("adodb.recordset") orsnc.open sqlnc,conn,1,3 %> <div align="left"> <table border="0" align="center" cellpadding="0" cellspacing="0" width="100%"> <tr > <td> <table border=0 width="100%"> <% 'id_stu=request("id_stu") if id_stu="" then id_stu=session("id_stu1") If id_stu="" Then id_stu=request.form("id_stu") End if end If sql_data="select * from student where id_stu='"&id_stu&"' " set ors_data=server.createobject("adodb.recordset") ors_data.open sql_data,conn,1,3 if not ors_data.eof then %> <tr> <td colspan=3> <div class="col-1"> <div class="templatemo-content-widget white-bg"> <div class="media"> </div> <div class="media-body"> <h2 class="media-heading text-uppercase"><%=id_stu%>  <%=ors_data("name_stu")%>   <%=ors_data("sur_stu")%> (<%=ors_data("name_eng")%>  <%=ors_data("sur_eng")%>)</h2><p> <% id_status_edu=ors_data("id_status_edu") set ors3=server.createobject("adodb.recordset") sql3="select * from status_edu where id_status_edu='"&id_status_edu&"'" ors3.open sql3,Conn,1,3 if not ors3.eof then response.write ors3("status_edu") end if %>   <% id_stugroup=ors_data("id_stugroup") sql_all="select * from student_group where id_stugroup='"&ors_data("id_stugroup")&"' " set ors_all=server.createobject("adodb.recordset") ors_all.open sql_all,Conn,1,3 if not ors_all.eof then response.write "" sql_curri="select * from curriculum where id_curriculum='"&ors_all("id_curriculum")&"'" set ors_curri=server.createobject("adodb.recordset") ors_curri.open sql_curri,conn,1,3 if not ors_curri.eof then id_curriculum=ors_all("id_curriculum") response.write ors_curri("curriculum_full")&" " end if sqlt="select * from type_curriculum where id_type_curri='"&ors_all("id_type_curri")&"'" set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof Then id_type_curri=orst("id_type_curri") response.write orst("type_curri_th") end if response.write " ��� "&ors_all("no_stugroup")&" " id_major=ors_all("id_major") sql_major="select * from major where id_major='"&id_major&"'" set ors_major=server.createobject("adodb.recordset") ors_major.open sql_major,conn,1,3 if not ors_major.eof then response.write ors_major("major_th") end if end if %> </td></tr> <% response.write "<tr >" '���ͻ�ԭ�ҹԾ��� 'Response.write "���ʡԨ����"&id_activity sqlt="select * from thesis where id_thesis='"&id_thesis&"'" set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof then 'response.write "<td>"&orst("id_thesis") 'response.write "<td><strong>���ͻ�ԭ�ҹԾ���::<strong>"&orst("thesis_th")&"<br>Thesis name::"&orst("thesis_eng") Else 'response.write "<td>����բ�����"&id_thesis End if %> <tr><td align=right> <!--<form name="form12" method="post" action="javascript:history.go(-1)">--> <form name="form12" method="post" action="thesis_progress_student_list.asp"> <input type="hidden" name="id_thesis" value=<%=id_thesis%>> <input type="hidden" name="id_stu" value=<%=id_stu%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-right:20px;" >���Ἱ����֡��</button></div> </form> </td></tr> </table> <div class="templatemo-content-widget orange-bg"> <div class="media"> <div class="media-body"> <h2 class="media-heading text-uppercase">��§ҹἹ������¹/�ӻ�ԭ�ҹԾ���</h2> </div> </div> </div> <tr ><td > <form name="form3" method="post" action="save_report_thesis_progress_student.asp" onsubmit="return doSubmit()"> <% sql_ac="select * from thesis_plan_activity where id_activity='"&id_activity&"' and status_del='1'" 'Response.write sql_ac Set ors_ac=server.createobject("adodb.recordset") ors_ac.open sql_ac,conn,1,3 if not ors_ac.eof Then Set ors_table=server.createobject("adodb.recordset") sql_table="select * from rp_table where id_table='"&ors_ac("id_table")&"'" 'Response.write sql_table ors_table.open sql_table,conn,1,3 If Not ors_table.eof Then rp_table_name=ors_table("table_sum") Else rp_table_name="�͡�èѴ�����" End if %> <div class="table-responsive"> <table class="table table-striped table-bordered"> <tr><td align=left width=20%>ࡳ�����ͧ��ú����<td align=left><%=rp_table_name%><!--<textarea rows="4" cols="100" name="expect_result" style="font-size:16px" readonly><%=ors_ac("expect_result")%></textarea>--> <%=ors_table("id_table")%> <tr><td align=left>�Ԩ��������ͧ��<td> <!-- <select name="id_activity_r" id="select2" style="font-size:16px"> <option value="00">��س����͡�Ԩ�������з�</option>--> <% 'sqlrpl="select * from rp_activity_relate where id_activity_r='"&ors_ac("id_activity_r")&"'" sqlrpl="select * from rp_activity_relate where id_status=1 and id_activity_r='"&ors_ac("id_activity_r")&"'" Set orsrpl=server.createobject("adodb.recordset") orsrpl.open sqlrpl,conn,1,3 'Response.write sqlrpl If Not orsrpl.eof Then 'orsrpl.movefirst 'Do While Not orsrpl.eof '<option %> <%'if cint(orsrpl("id_activity_r"))=cint(ors_ac("id_activity_r")) then%> <%'value = =cint(ors_ac("id_activity_r")) 'selected%> <%'else%> <%'value = =orsrpl("id_activity_r") %> <%'end if> %> <%=orsrpl("activity_name")%>(<%=id_activity%>) <% '</option> 'End If 'orsrpl.movenext 'Loop 'Else 'Response.write "<td>�͡�èѴ�����" End If %> <% id_table=ors_ac("id_table") If ors_ac("id_table")="12" then%> <tr><td align=left>�����Ԫ�/�����ҷ���ͧ����֡��������� <%else%> <tr><td align=left>��������´�Ԩ���� <%End if%> <td align=left><%=ors_ac("activity_name")%> <tr><td align=left>�š�÷ӡԨ����<td align=left> <div class="col-lg-12 form-group"> <div class="margin-right-15 templatemo-inline-block"> <% id_result1= ors_ac("id_result") If id_result1="2" Then id_result1="0" End if sqlrpr="select * from rp_result2 where id_status=1" Set orsrpr=server.createobject("adodb.recordset") orsrpr.open sqlrpr,conn,1,3 'Response.write sqlrpl If Not orsrpr.eof Then orsrpr.movefirst Do While Not orsrpr.eof %> <input type="radio" name="id_result" id="r4" <%If CInt(orsrpr("id_result"))=CInt(id_result1) then%> value=<%=id_result1%> checked <%else%> value=<%=orsrpr("id_result")%> <%End if%>> <label for="r4" class="font-weight-400"><span></span><%=orsrpr("result_name")%></label> <% orsrpr.movenext Loop End if ' [��§ҹ����ʹ��Թ��������������ҹ�ѹ!] %> </div> </div> <%'��ǧ�ͧ�������� �Ҩҡ id_table ���� If ors_ac("id_table")="11" Then sqlt="select * from rp_thesis_progress where id_activity='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 If Not orst.eof Then thesis_name=orst("thesis_name") advisor_name1=orst("advisor_name1") advisor_name2=orst("advisor_name2") Else sqlts="select * from thesis where id_stu='"&id_stu&"'" Set orsts=server.createobject("adodb.recordset") orsts.open sqlts,conn,1,3 If Not orsts.eof Then thesis_name=orsts("thesis_th") Else thesis_name="-" End If sqlta="select * from advisor_thesis where id_stu='"&id_stu&"' and id_num=1" Set orsta=server.createobject("adodb.recordset") orsta.open sqlta,conn,1,3 If Not orsta.eof Then sqllec="select * from lecturer where id_lecturer='"&orsta("id_lecturer")&"'" Set orslec=server.createobject("adodb.recordset") orslec.open sqllec,conn,1,3 If Not orslec.eof then advisor_name1=orslec("name_lec")&" "&orslec("sur_lec") End if Else advisor_name1="-" End If sqlta2="select * from advisor_thesis where id_stu='"&id_stu&"' and id_num=2" Set orsta2=server.createobject("adodb.recordset") orsta2.open sqlta2,conn,1,3 If Not orsta2.eof Then sqllec2="select * from lecturer where id_lecturer='"&orsta2("id_lecturer")&"'" Set orslec2=server.createobject("adodb.recordset") orslec2.open sqllec2,conn,1,3 If Not orslec2.eof Then If orsta2("id_lecturer")="000" then advisor_name2=orsta2("advisor_out") else advisor_name2=orslec2("name_lec")&" "&orslec2("sur_lec") End if End if Else advisor_name2="-" End If End if 'Response.write sqlt 'End if %> <tr><td align=left>��Ǣ�ͻ�ԭ�ҹԾ���*<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=thesis_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=thesis_name%></textarea></div> <tr><td align=left> <td><div class=col-lg-12 form-group> <tr><td align=left>�Ҩ�������֡����ѡ* <td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=1 name=advisor_name1 style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=advisor_name1%></textarea></div> <tr><td align=left>�Ҩ�������֡������<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=1 name=advisor_name2 style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=advisor_name2%> </textarea></div> <% ElseIf ors_ac("id_table")="4" Then sqlex="select * from rp_exitexam where id_activity='"&ors_ac("id_activity")&"'" Set orsex=server.createobject("adodb.recordset") orsex.open sqlex,conn,1,3 If Not orsex.eof Then %> <tr> <td align=left>�ѹ����С�ȼš���ͺ<td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_exitexam" style="font-size:16px" value=<%=orsex("d_pass")%>/<%=orsex("m_pass")%>/<%=orsex("y_pass1")%> required></input>dd/mm/yyyy</div> </tr> <%else %> <tr> <td align=left>�ѹ����С�ȼš���ͺ<td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_exitexam" style="font-size:16px"></input>dd/mm/yyyy</div> </tr> <% End If ElseIf ors_ac("id_table")="3" Then sqlqe="select * from rp_qe_test where id_activity='"&ors_ac("id_activity")&"'" Set orsqe=server.createobject("adodb.recordset") orsqe.open sqlqe,conn,1,3 If Not orsqe.eof Then %> <tr> <td align=left>�ѹ����С�ȼš���ͺ QE</td><td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_exitexam" style="font-size:16px" value=<%=orsqe("d_pass")%>/<%=orsqe("m_pass")%>/<%=orsqe("y_pass")%>></input>dd/mm/yyyy</div> </tr> <%else %> <tr> <td align=left>�ѹ����С�ȼš���ͺ QE<td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_exitexam" style="font-size:16px" ></input>dd/mm/yyyy</div> </tr> <% End If ElseIf ors_ac("id_table")="5" then '��ù��ʹͼŧҹ�Ԩ�� 'Response.write "���ʹͼŧҹ�Ԩ��㹡�û�Ъ���Ԫҡ�� �дѺ�ҹҪҵ� �дѺ�ҵ�" 'Response.write ors_table("id_table")'con_attend sqlt="select * from rp_conference where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 '�ӵ�� �����㹵��ҧ�Ϳ��ʡ�� �բ��������� id_activity ��� �բ��������ѧ ��������֧�͡���ʴ� If Not orst.eof Then con_name=orst("con_name") organizer_name=orst("organizer_name") vanue=orst("vanue") city=orst("city") country=orst("country") title_article=orst("title_article") title_article_eng=orst("title_article_eng") date_begin=orst("date_begin") date_end=orst("date_end") d_begin=orst("d_begin") d_end=orst("d_end") m_begin=orst("m_begin") m_end=orst("m_end") y_begin=orst("y_begin") y_end=orst("y_end") date_present=orst("date_present") d_present=orst("d_present") m_present=orst("m_present") y_present=orst("y_present") url_article=orst("url_article") id_attend_num=orst("id_type_attend") Else con_name="-" organizer_name="-" vanue="-" city="-" country="-" title_article="-" title_article_eng="-" date_begin="-" date_end="-" d_begin="-" d_end="-" m_begin="-" m_end="-" y_begin="-" y_end="-" date_present="-" d_present="-" m_present="-" y_present="-" url_article="-" id_attend_num="-" 'Response.write sqlt End if %> <tr><td align=left> ��������ͧ�����ʹ�*<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows="3" name=title_article style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=title_article%></textarea></div> <tr><td align=left> Presentation Name*<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=title_article_eng style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=title_article_eng%></textarea></div> <tr><td align=left> ���͡�û�Ъ��<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=2 name=con_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=con_name%></textarea></div> <tr><td align=left> �ٻẺ��èѴ��Ъ��<td align=left><%'=id_attend_num%> <select name="id_attend_num" id="select2" style="font-size:16px"> <!--<option value="00">��س����͡�Ԩ�������з�</option>--> <% sqlrpl1="select * from rp_con_typeatten where id_status='1'" Set orsrpl1=server.createobject("adodb.recordset") orsrpl1.open sqlrpl1,conn,1,3 'Response.write sqlrpl If Not orsrpl1.eof Then orsrpl1.movefirst Do While Not orsrpl1.eof If Not orst.eof Then '������������ʴ��͡�ҷ���ͧ�ѹ %> <option <%If cint(orsrpl1("id_type_attend"))=CInt(id_attend_num) then%> value = <%=id_attend_num%> selected <%else%> value=<%=orsrpl1("id_type_attend") %> <%end if%>> <%=orsrpl1("type_attend")%> </option> <% Else '������㹵��ҧ���� %> <option value = <%=orsrpl1("id_type_attend")%> > <%=orsrpl1("type_attend")%> </option> <% End If orsrpl1.movenext Loop End If %> </select> <tr><td align=left> ˹��§ҹ���Ѵ�Ԩ����<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="2" name=organizer_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=organizer_name%></textarea></div> <tr><td align=left> ʶҹ���Ѵ��û�Ъ��<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="2" name=vanue style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=vanue%></textarea></div> <tr><td align=left> ���ͧ/�ѧ��Ѵ<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="1" name=city style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=city%></textarea></div> <tr><td align=left> �����<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="1" name=country style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=country%></textarea></div> <!--�ѹ������Ҩ��--> <tr> <td align=left>�ѹ�����ʹ�</td><td> <% If Not orst.eof Then %> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thpre" name="date_present" style="font-size:16px" value=<%=orst("d_present")%>/<%=orst("m_present")%>/<%=orst("y_present")%>></input></div> <%else%> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thpre" name="date_present" style="font-size:16px" ></input>dd/mm/yyyy</div> <%End if%> </td></tr> <tr> <td align=left>��ǧ���ҷ��Ѵ��Ъ��</td><td> <% If Not orst.eof Then %> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" value=<%=orst("d_begin")%>/<%=orst("m_begin")%>/<%=orst("y_begin")%>></input></div> �֧�ѹ��� <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thsk" name="date_end" style="font-size:16px" value=<%=orst("d_end")%>/<%=orst("m_end")%>/<%=orst("y_end")%>></input>dd/mm/yyyy</div> <%else%> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" ></input>dd/mm/yyyy</div> �֧�ѹ��� <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thsk" name="date_end" style="font-size:16px"></input>dd/mm/yyyy</div> <%End if%> </td></tr> <% ElseIf ors_ac("id_table")="6" then 'Response.write "������������û�Ъ���Ԫҡ�� �дѺ�ҹҪҵ� �дѺ�ҵ�" 'Response.write ors_table("id_table")'con_attend sqlt="select * from rp_con_attend where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 '�ӵ�� �����㹵��ҧ�Ϳ��ʡ�� �բ��������� id_activity ��� �բ��������ѧ ��������֧�͡���ʴ� If Not orst.eof Then con_name=orst("con_name") organizer_name=orst("organizer_name") vanue=orst("vanue") city=orst("city") country=orst("country") date_begin=orst("date_begin") date_end=orst("date_end") d_begin=orst("d_begin") d_end=orst("d_end") m_begin=orst("m_begin") m_end=orst("m_end") y_begin=orst("y_begin") y_end=orst("y_end") id_attend_num=orst("id_attend_num") Else con_name="-" organizer_name="-" vanue="-" city="-" country="-" date_begin="-" date_end="-" d_begin="-" d_end="-" m_begin="-" m_end="-" y_begin="-" y_end="-" id_attend_num="-" 'Response.write sqlt End if %> <tr><td align=left> ���͡�û�Ъ��<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=2 name=con_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=con_name%></textarea></div> <tr><td align=left> �ٻẺ��èѴ��Ъ��<td align=left> <select name="id_attend_num" id="select2" style="font-size:16px"> <!--<option value="00">��س����͡�Ԩ�������з�</option>--> <% sqlrpl1="select * from rp_con_typeatten where id_status='1'" Set orsrpl1=server.createobject("adodb.recordset") orsrpl1.open sqlrpl1,conn,1,3 'Response.write sqlrpl If Not orsrpl1.eof Then orsrpl1.movefirst Do While Not orsrpl1.eof If Not orst.eof Then '������������ʴ��͡�ҷ���ͧ�ѹ %> <option <%If cint(orsrpl1("id_type_attend"))=CInt(id_attend_num) then%> value = <%=id_attend_num%> selected <%else%> value=<%=orsrpl1("id_type_attend") %> <%end if%>> <%=orsrpl1("type_attend")%> </option> <% Else '������㹵��ҧ���� %> <option value = <%=orsrpl1("id_type_attend")%> > <%=orsrpl1("type_attend")%> </option> <% End If orsrpl1.movenext Loop End If %> </select> <tr><td align=left> ˹��§ҹ���Ѵ�Ԩ����<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="2" name=organizer_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=organizer_name%></textarea></div> <tr><td align=left> ʶҹ���Ѵ��û�Ъ��<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="2" name=vanue style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=vanue%></textarea></div> <tr><td align=left> ���ͧ/�ѧ��Ѵ<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="1" name=city style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=city%></textarea></div> <tr><td align=left> �����<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="1" name=country style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=country%></textarea></div> <!--�ѹ������Ҩ��--> <tr> <td align=left>��ǧ���ҷ��Ѵ��Ъ��</td><td> <% If Not orst.eof Then %> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" value=<%=orst("d_begin")%>/<%=orst("m_begin")%>/<%=orst("y_begin")%>></input></div> �֧�ѹ��� <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thsk" name="date_end" style="font-size:16px" value=<%=orst("d_end")%>/<%=orst("m_end")%>/<%=orst("y_end")%>></input>dd/mm/yyyy</div> <%else%> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" ></input>dd/mm/yyyy</div> �֧�ѹ��� <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thsk" name="date_end" style="font-size:16px"></input>dd/mm/yyyy</div> <%End if%> </td></tr> <% ElseIf ors_ac("id_table")="14" then 'Response.write "GRD" 'Response.write ors_table("id_table")'con_attend sqlt="select * from rp_grd where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 '�ӵ�� �����㹵��ҧ�Ϳ��ʡ�� �բ��������� id_activity ��� �բ��������ѧ ��������֧�͡���ʴ� If Not orst.eof Then id_grade=orst("id_grade") Else id_grade="-" End if %> <tr><td align=left> �ӹǹ˹��¡Ե���ŧ����¹<td align=left><%'Response.write id_grade&"Grade"%> <select name="id_grade" id="select2" style="font-size:16px"> <!--<option value="00">��س����͡�ӹǹ˹��¡Ե</option>--> <% sqlrpl1="select * from rp_grd_grade where id_status='1' order by grade_name " Set orsrpl1=server.createobject("adodb.recordset") orsrpl1.open sqlrpl1,conn,1,3 'Response.write sqlrpl If Not orsrpl1.eof Then orsrpl1.movefirst Do While Not orsrpl1.eof If orst.eof Then '������������ʴ��͡�ҷ���ͧ�ѹ %> <option value = <%=orsrpl1("id_grade")%> required> <%=orsrpl1("grade_name")%> ˹��¡Ե </option> <% Else '�����㹵��ҧ���� %> <option <%If cint(orsrpl1("id_grade"))=id_grade then%> value = <%=id_grade%> selected <%else%> value=<%=orsrpl1("id_grade") %> <%end if%>> <%=orsrpl1("grade_name")%> ˹��¡Ե </option>--> <% End If orsrpl1.movenext Loop End If %> </select> <% ElseIf ors_ac("id_table")="13" Then 'Response.write id_table'��������ŧҹ�ҧ�Ԫҡ�� ���ͺ����� ���������� �շ� ��Ѻ��� �Ţ˹�� sqlt="select * from rp_par_curri where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 %> <tr> <td align=left>�ѹ�����������Ԩ����</td><td> <% If Not orst.eof Then %> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" value=<%=orst("d_begin")%>/<%=orst("m_begin")%>/<%=orst("y_begin")%>>dd/mm/yyyy</input></div> <%else%> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" ></input>dd/mm/yyyy</div> <%End if%> </td></tr> <% ElseIf ors_ac("id_table")="7" Then 'Response.write id_table'��������ŧҹ�ҧ�Ԫҡ�� ���ͺ����� ���������� �շ� ��Ѻ��� �Ţ˹�� sqlt="select * from rp_article where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 If Not orst.eof Then url_article=orst("url_article") page_end=orst("page_end") page_begin=orst("page_begin") journal_issue=orst("journal_issue") journal_year=orst("journal_year") journal_name=orst("journal_name") title_article=orst("title_article") title_article_eng=orst("title_article_eng") Else url_article="-" page_end="-" page_begin="-" journal_issue="-" journal_year="-" journal_name="-" title_article="-" title_article_eng="-" 'Response.write sqlt End if %> <tr><td align=left> ���ͺ�����*<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=title_article style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=title_article%></textarea></div> <tr><td align=left> Article Name*<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=title_article_eng style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=title_article_eng%></textarea></div> <tr><td align=left> ����������*<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=journal_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=journal_name%></textarea></div> <tr><td align=left>�շ�� Year<td align=left><div class=col-lg-12 form-group><input type=text size = 10 name=journal_year style=font-size:16px onKeyPress="CheckNum()" value=<%=journal_year%> <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ></input></div> <tr><td align=left> ��Ѻ��� Issue<td align=left><div class=col-lg-12 form-group><input type=text size = 10 name=journal_issue style=font-size:16px value=<%=journal_issue%> <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ></input> <tr><td align=left> �Ţ˹���������<td align=left><div class=col-lg-12 form-group><input type=text size = 5 name=page_begin style=font-size:16px onKeyPress="CheckNum()" value=<%=page_begin%> <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ></input></div> <tr><td align=left> �Ţ˹���ش����<td align=left> <div class=col-lg-12 form-group><input type=text size = 5 name=page_end style=font-size:16px onKeyPress="CheckNum()" value=<%=page_end%> <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ></input></div> <tr><td align=left> URL ������/������*<td align=left><div class=col-lg-12 form-group> <textarea class="form-control" rows=3 name="url_article" style="font-size:16px" <% If ors_ac("id_status")=0 Then%> readonly<%End If%>><%=url_article%></textarea></div> <% ElseIf ors_ac("id_table")="15" then 'Response.write id_table'softskill sqlt="select * from rp_softskill where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 '�ӵ�� �����㹵��ҧ�Ϳ��ʡ�� �բ��������� id_activity ��� �բ��������ѧ ��������֧�͡���ʴ� If Not orst.eof Then activity_name=orst("activity_name") d_attend_begin=orst("d_attend_begin") d_attend_end=orst("d_attend_end") m_attend_begin=orst("m_attend_begin") m_attend_end=orst("m_attend_end") y_attend_begin=orst("y_attend_begin") y_attend_end=orst("y_attend_end1") organizer_name=orst("organizer_name") score_get=orst("score_get") activiti_hours=orst("activiti_hours") id_softskill_type=orst("id_softskill_type") Else activity_name="-" d_attend_begin="-" d_attend_end="-" m_attend_begin="-" m_attend_end="-" y_attend_begin="-" y_attend_end="-" organizer_name="-" score_get="-" activiti_hours="-" id_softskill_type="-" 'Response.write sqlt End if %> <tr><td align=left> ���͡Ԩ����<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=activity_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=activity_name%></textarea></div> <!--�ѹ������Ҩ��--> <% If Not orst.eof Then %> <tr> <td align=left>�ѹ���������Ԩ����</td><td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_attend_begin" style="font-size:16px" value=<%=orst("d_attend_begin")%>/<%=orst("m_attend_begin")%>/<%=orst("y_attend_begin")%>></input>dd/mm/yyyy</div> </tr> <%else%> <tr> <td align=left>�ѹ���������Ԩ����<td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_attend_begin" style="font-size:16px" ></input>dd/mm/yyyy</div> </tr> <%End if%> <% If Not orst.eof Then %> <tr><td align=left>�ѹ����ش��÷ӡԨ���� <td align=left><div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thsk" name="date_attend_end" style="font-size:16px" value=<%=orst("d_attend_end")%>/<%=orst("m_attend_end")%>/<%=orst("y_attend_end1")%>></input>dd/mm/yyyy</div> <%else%> <tr> <td align=left>�ѹ����ش��÷ӡԨ����<td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-thsk" name="date_attend_end" style="font-size:16px" ></input>dd/mm/yyyy</div> <%End if%> <tr><td align=left> �ӹǹ�����������������<td align=left><div class=col-lg-12 form-group><input type=text size = 10 name=activiti_hours style=font-size:16px value=<%=activiti_hours%> <%If ors_ac("id_status")=0 Then%> readonly<%End if%> onKeyPress="CheckNum()"></input> <tr><td align=left> ˹��§ҹ���Ѵ�Ԩ����<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="4" name=organizer_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=organizer_name%></textarea></div> <tr><td align=left> ��ṹ�����<td align=left> <div class=col-lg-12 form-group><input type=text size = 5 name=score_get style=font-size:16px value=<%=score_get%> <%If ors_ac("id_status")=0 Then%> readonly<%End if%> onKeyPress="CheckNum()"></input></div> <% ElseIf ors_ac("id_table")="12" then 'Response.write id_table'softskill sqlt="select * from rp_sitin where id_report='"&ors_ac("id_activity")&"'" Set orst=server.createobject("adodb.recordset") orst.open sqlt,conn,1,3 '�ӵ�� �����㹵��ҧ�Ϳ��ʡ�� �բ��������� id_activity ��� �բ��������ѧ ��������֧�͡���ʴ� If Not orst.eof Then title_sitin=orst("title_sitin") date_begin=orst("date_begin") d_begin=orst("d_begin") m_begin=orst("m_begin") y_begin=orst("y_begin") organizer_name=orst("organizer_name") vanue=orst("vanue") summary_sitin=orst("summary_sitin") Else title_sitin="-" date_begin="-" d_begin="-" m_begin="-" y_begin="-" organizer_name="-" vanue="-" summary_sitin="-" 'Response.write sqlt End if %> <!-- <tr><td align=left> �����Ԫ�/�����ҷ���ͧ����֡���������<td align=left><div class=col-lg-12 form-group><textarea class=form-control rows=3 name=title_sitin style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=title_sitin%></textarea></div> �ѹ������Ҩ��--> <% If Not orst.eof Then %> <tr> <td align=left>�ѹ�����������Ԩ����</td><td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" value=<%=orst("d_begin")%>/<%=orst("m_begin")%>/<%=orst("y_begin")%>></input>dd/mm/yyyy</div> </tr> <%else%> <tr> <td align=left>�ѹ�����������Ԩ����<td> <div class=col-lg-12 form-group><input type="text" size="15" id="datepicker-th" name="date_begin" style="font-size:16px" ></input>dd/mm/yyyy</div> </tr> <%End if%> <tr><td align=left> ˹��§ҹ���Ѵ�Ԩ����<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="2" name=organizer_name style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=organizer_name%></textarea></div> <tr><td align=left> ʶҹ���Ѵ�Ԩ����<td align=left> <div class=col-lg-12 form-group><textarea class="form-control" rows="2" name=vanue style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=vanue%></textarea></div> <tr><td align=left> ��ػ�����Ӥѭ�ͧ����֡���������<td align=left><div class=col-lg-12 form-group><textarea class="form-control" rows="6" name=summary_sitin style=font-size:16px <%If ors_ac("id_status")=0 Then%> readonly<%End if%>> <%=summary_sitin%></textarea> <% End if '��ǧ�ͧ�������� �Ҩҡ id_table ���� %> <!--<textarea class="form-control" rows="4" name="activity_result" style="font-size:16px"><%=ors_ac("activity_result")%></textarea>--> <tr><td align=left>��Ժ��������� (�����)<td align=left><div class="col-lg-12 form-group"><textarea class="form-control" rows="4" name="activity_result" style="font-size:16px" <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=ors_ac("activity_result")%></textarea></div> <tr ><td align=left>�ѭ������ػ��ä (�����)<td align=left><div class="col-lg-12 form-group"><textarea class="form-control" rows="4" name="activity_problem" style="font-size:16px" <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=ors_ac("activity_problem")%></textarea></div> <tr ><td align=left>��ͧ��� ������������� �ҡ��ѡ�ٵ� (�����)<td align=left><div class="col-lg-12 form-group"><textarea class="form-control" rows="4" name="activity_hand" style="font-size:16px" <%If ors_ac("id_status")=0 Then%> readonly<%End if%> ><%=ors_ac("activity_hand")%></textarea></div> <tr><td align=left>��ǧ���������§ҹ <td align=left> �Ҥ���¹��� <% '���ѹ��� date1=datepart("d",date) month1=month(now()) y=year(now()) y=543+y y=right(y,2) if date1=1 then date1="01" elseif date1=2 then date1="02" elseif date1=3 then date1="03" elseif date1=4 then date1="04" elseif date1=5 then date1="05" elseif date1=6 then date1="06" elseif date1=7 then date1="07" elseif date1=8 then date1="08" elseif date1=9 then date1="09" end if if month1=1 then month1="01" elseif month1=2 then month1="02" elseif month1=3 then month1="03" elseif month1=4 then month1="04" elseif month1=5 then month1="05" elseif month1=6 then month1="06" elseif month1=7 then month1="07" elseif month1=8 then month1="08" elseif month1=9 then month1="09" end if dateend=y&""&month1&""&date1 'sql_round="select * from progress_report_thesis where id_curriculum='"&id_curriculum&"' and id_type_curri='"&id_type_curri&"' and id_major='"&id_major&"' and dateend >='"&dateend&"'order by year_edu,semeter" sql_round="select * from progress_report_thesis where id_curriculum='"&id_curriculum&"' and id_type_curri='"&id_type_curri&"' and id_major='"&id_major&"'" Set ors_round=server.createobject("adodb.recordset") ors_round.open sql_round,conn,1,3 'Response.write sql_round���͡�ͧ����ѡ�ٵù������ѧ���������� If Not ors_round.eof Then %> <select name="id_progress_report" id="id_progress_report" style="font-size:16px" disabled> <% ors_round.movefirst 'Response.write ors_round("id_progress_report") do while not ors_round.eof sql_o_po="select * from curriculum where id_curriculum='"&ors_round("id_curriculum")&"'" set ors_o_po=server.createobject("adodb.recordset") Response.write sql_o_po ors_o_po.open sql_o_po,conn,1,3 If Not ors_o_po.eof then curriculum_sum= ors_o_po("curriculum_sum") Else curriculum_sum= "-/" End if set ors_tc=server.createobject("adodb.recordset") sqlmark_tc="select * from type_curriculum where id_type_curri='"&ors_round("id_type_curri")&"'" ors_tc.open sqlmark_tc,Conn,1,3 If Not ors_tc.eof then type_curri_th=ors_tc("type_curri_th") Else type_curri_th= "-/" End if sql_sta="select * from major where id_major='"&ors_round("id_major")&"'" set ors_sta=server.createobject("adodb.recordset") ors_sta.open sql_sta,conn,1,3 If Not ors_sta.eof then major_name=ors_sta("major_name") End if %> <option <% If CInt(ors_round("id_progress_report"))=CInt(ors_ac("id_progress_report")) Then %> value=<%=ors_ac("id_progress_report")%> selected <%else%> value=<%=ors_round("id_progress_report")%> <%end if%>> <%'=ors_ac("id_progress_report")%> <%'=ors_round("id_progress_report")%> <%'=major_name%> <%=ors_round("semeter")%>/<%=ors_round("year_edu")%> ��ǧ�ѹ��� <% Response.write ors_round("date_begin")&"/"&ors_round("month_begin")&"/"&ors_round("year_begin")&"-"&ors_round("date_end")&"/"&ors_round("month_end")&"/"&ors_round("year_end") %> </option> <%'=ors_round("id_progress_report")%>><%'=curriculum_sum%> <%'=type_curri_th%> (<%'=major_name%>) <% ors_round.movenext loop %> </select> <% End if %> <%'�ʴ������%> <% Response.write "<tr><td>��ѡ�ҹ<td> " Set ors_file=server.createobject("adodb.recordset") sql_file="select * from thesis_report_file2 where id_activity='"&id_activity&"' and id_status='1'" ors_file.open sql_file,conn,1,3 If Not ors_file.eof Then ors_file.movefirst n=1 Do While Not ors_file.eof Response.write "[<a href=../fileprogress/"&ors_file("file_name")&" target=_blank>File"&n&"</a>]" n=n+1 ors_file.movenext loop Else Response.write "No file" End If %> <% Response.write "</td></tr>"'�Դ �Կ ���ҧ 'Response.write id_activity 'dateendcheck=ors_ac("year_end")+ors_ac("month_end") %> <tr><td></td><td> <input type="hidden" name="id" value=<%=id_thesis%>> <input type="hidden" name="id_table" value=<%=ors_ac("id_table")%>> <input type="hidden" name="id_stu" value=<%=id_stu%>> <input type="hidden" name="id_activity" value=<%=id_activity%>> <input type="hidden" name="id_activity_r" value=<%=orsrpl("id_activity_r")%>> <div class="col-xs-12"> <!--#include file="rp_check_status.asp"--> <% 'Response.write dateend&"/"&dateend1 If ors_ac("id_status")=1 And dateend <= dateend1 Then 'else%> <!--<button class="btn-oth" type="submit" role="button" style="margin-left:10px;" >�ѹ�֡</button><button class="btn-oth" type="reset" name="Submit2" value="Reset">��ҧ</button></div>--> <input type="submit" name="Submit" value="1.�ѹ�֡������" onmousedown="doSubmit();"> <input type="reset" name="Submit2" value="��ҧ������"></form> �ѹ�֡������ <font size="" color="#cc0000"><strong><em><u>��</u></em></strong></font> Ṻ��ѡ�ҹ <%Else Response.write "[����ش�����§ҹ��/���������ҧ��ô��Թ�ҹ]"%> </td></tr> <%End if%> <tr><td colspan=2 align=right> <table border=0><tr><td> <% If ors_ac("id_status")=1 And dateend <= dateend1 Then 'Else %> <form name="form7" class="form-horizontal" style="padding:10px;" method="post" action="upload_thesis_progress_student_form.asp"> <input type="hidden" name="id" value=<%=id_thesis%>> <input type="hidden" name="id_stu" value=<%=id_stu%>> <input type="hidden" name="id_activity" value=<%=id_activity%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;">2.Ṻ��ѡ�ҹ (�����)</button></div> </form> <%End If %><td> <% If Not ors_ac("id_status")=0 Then If dateend >= datebegin1 and dateend <= dateend1 then If Not orscheck1.eof then %> <form name="form6" method="post" action="confirm_thesis_progress_student.asp"> <input type="hidden" name="id" value=<%=id_thesis%>> <input type="hidden" name="id_activity" value=<%=id_activity%>> <input type="hidden" name="id_stu" value=<%=id_stu%>> <div class="col-xs-12"> <button class="btn-oth" type="submit" role="button" style="margin-left:10px;" onclick="return confirm('����ͷ�ҹ��ѹ��������� ��ҹ�������ö��Ѻ������§ҹ�� ��ѹ�����?');">3.��ѹ������</button></div> <!--<input type="submit" name="send" value="Send">--> </form> <% End If End if ElseIf ors_ac("id_status")=1 then Response.write "[�����ѹ�����§ҹ�š�ô��Թ�ҹ]" End if %></td></tr> </table></tr> </table> <% Else Response.write "dont have data" End if%> </form> </table> </div> <% end if %> </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 '���Է� %> <!-- 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>