File Manager
Back to List
| Current Directory: ~/
Editing: preview_activity_register.asp.bak
Full path: C:\ict\ICT\preview_activity_register.asp.bak
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" type="text/javascript"> function toggle(source){ checkboxes=document.getElementsByName('id_stu'); for (var j=0, n=checkboxes.length;j<n;j++){ checkboxes[j].checked=source.checked; } } function limittext(limitfield, limitcount, limitnum){ if(limitfield.value.length>limitnum){ limitfield.value=limitfield.value.substring(0,limitnum); }else{ limitcount.value=limitnum-limitfield.value.length; }} </script> <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" /> </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="100%" 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")="student" %> <!--#include file="chk_permission.asp"--> <% '***************************************************************** if session("tb_preview") <> 1 or session("id_lecturer1") = id_lecturer then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %><tr><td>[<a href=thesis_progress_lecturer.asp>�����Ź��Ե��§ҹ��������˹��</a>][<a href=http://bsris.swu.ac.th/thesis_progress.asp>�ͺ��§ҹ��������˹��</a>][<a href=http://bsris.swu.ac.th/criteria_edu.asp>ࡳ���è�����֡��</a>] <tr> <td width="892" align="left" valign="top"><div align="center"> <table width="90%" border="0" align="center" cellpadding="3" cellspacing="0"> <tr bgcolor=#FFFFCC><td colspan=3 align=center>��ª����Ե���ŧ����¹��������Ԩ����</td></tr> <form name="form2" method="post" action="confirm_activity_register.asp"> <% id=request.form("id") Set ors_acn=server.createobject("adodb.recordset") sql_acn="select * from rp_activity where id_activity="&id&"" ors_acn.open sql_acn,conn,1,3 If Not ors_acn.eof Then %> <tr><td colspan=3 align=center><%=ors_acn("activity_name")%></td></tr> <% date1=ors_acn("m_activity") if date1=01 then date1="���Ҥ�" elseif date1=02 then date1="����Ҿѹ��" elseif date1=03 then date1="�չҤ�" elseif date1=04 then date1="����¹" elseif date1=05 then date1="����Ҥ�" elseif date1=06 then date1="�Զع�¹" elseif date1=07 then date1="�á�Ҥ�" elseif date1=08 then date1="�ԧ�Ҥ�" elseif date1=09 then date1="�ѹ��¹" elseif date1=10 then date1="���Ҥ�" elseif date1=11 then date1="��Ȩԡ�¹" elseif date1=12 then date1="�ѹ�Ҥ�" end if %> <tr><td colspan=3 align=center>�ѹ��� <%=ors_acn("d_activity")%> <%=date1%> <%=ors_acn("y_activity")%> � <%=ors_acn("venue_name")%></td></tr> <tr bgcolor=#EBEBEB><td><div align="center">�ӴѺ���</div></td> <td><div align="center">���ʹ��Ե</div></td> <td><div align="center">����-ʡ��</div></td> <td><div align="center">�����˵�</div></td> <% set ors_cr=server.createobject("adodb.recordset") sqlmark_cr="select * from rp_activity_register where id_activity="&id&" order by id_stu" ors_cr.open sqlmark_cr,Conn,1,3 If Not ors_cr.eof then a=1 ors_cr.movefirst do while not ors_cr.eof if a mod 2 = 0 then bg1="#f9f9f9" else bg1="#FFFFFF" end If sql_stu="select id_stu, name_stu, sur_stu from student where id_stu='"&ors_cr("id_stu")&"'" Set ors_stu=server.createobject("adodb.recordset") ors_stu.open sql_stu,conn,1,3 If Not ors_stu.eof Then Response.write "<tr bgcolor='"&bg1&"'><td align=center>"&a&"<td>"&ors_stu("id_stu")&"<td>"&ors_stu("name_stu")&" "&ors_stu("sur_stu") If ors_cr("id_status_register")="1" Then response.write "<td align=center><input type=checkbox name=id_stu value="&ors_stu("id_stu")&" checked>" else response.write "<td align=center><input type=checkbox name=id_stu value="&ors_stu("id_stu")&">" End if End If a=a+1 ors_cr.movenext Loop Response.write "<tr><td colspan=4 align=right>"%> <input type="checkbox" onclick="toggle(this)">���͡������ <input type="submit" name="Submit" value="�ѹ�֡�����������Ԩ����"> <input type="hidden" name="id" value=<%=id%>> </form> <% Response.write "<tr><td colspan=3 align=center>"%> <form name="form2" method="post" action="print_activity_register.asp" target="_blank"> <input type="submit" name="Submit" value="���͡�ŧ����¹"> <input type="hidden" name="id" value=<%=id%>> </form> <% Else Response.write "<tr><td colspan=4 align=center>����ռ��ŧ����¹" End If End If '�������繪��ͻ��� ���ǡ���ѹ�����������Ԩ���� 26-2-63 23.08 �. %> </td><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>