File Manager
Back to List
| Current Directory: ~/
Editing: edit_abs_form.asp.bak
Full path: C:\ict\ICT\edit_abs_form.asp.bak
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="Connectdb.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.abs.value == "" ) { alert("��سҡ�͡Abstract") document.form1.abs.focus() return false; } if( document.form1.absth.value == "" ) { alert("��سҡ�͡���Ѵ���") document.form1.absth.focus() return false; } } function clearText(thefield){ if (thefield.defaultValue==thefield.value) thefield.value = "" } </script> <%response.cachecontrol="private"%> <!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="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" bordercolor="#FFFFCC" > <% '***************************************************************** session("tb_name")="thesis" %> <!--#include file="chk_permission.asp"--> <% 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 '***************************************************************** ' if session("tb_preview") <> 1 or session("tb_edit")=2 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <tr><td colspan=2><strong> <div align="center"><br> <br><div align=center> ���Ѵ���<br> <br> <tr><td colspan=2> <% id_thesis=request("id_thesis") id_stu=request("ids") %> <form action="add_abs_thesis.asp" method="post" onsubmit="return doSubmit();"> <table width="100%" border="0" cellspacing="0" bordercolor="#FFCCFF"> <tr> <td colspan="2"><table border="0"> <tr> <td width="15%" bgcolor="#FFFFCC">���ʻ�ԭ�ҹԾ���</td> <td colspan="3" > <% 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 orst("id_thesis")&"<strong> " if not orsnc.eof then response.write "[ <a href=edit_thesis_form.asp?id_thesis="&orst("id_thesis")&">Edit</a> ] </strong>" end if %> [<a href=edit_abs_form.asp?id_thesis=<%=orst("id_thesis")%>>ABS</a>] </td> </tr> <tr> <td bgcolor="#FFFFCC">���ͷի��</td> <td colspan="3" ><% 'response.write "<>orst("id_academic_semeter")&"/"&orst("academic_year") response.write orst("thesis_th") response.write "<br>- "&orst("thesis_eng") %></td> </tr> <tr> <td bgcolor="#FFFFCC">�����Ԫ�</td> <td colspan=3><% response.write orst("id_course") %></td> </tr> <tr> <td bgcolor="#FFFFCC">�ա���֡��</td> <td colspan=3><% response.write orst("id_academic_semeter")&"/"&orst("academic_year") %></td> <tr> <td bgcolor="#FFFFCC"> Abstract <td colspan=3><%=orst("abstract")%> <textarea name="abs" id="abs" cols="80" rows="20"> <% sqla="select * from thesis_abs where id_thesis='"&id_thesis&"'" set orsa=server.createobject("adodb.recordset") orsa.open sqla,conn,1,3 if not orsa.eof then response.write orsa("abs_eng") else response.write "No-abs" end if %> </textarea> </tr> <tr> <td bgcolor="#FFFFCC"> ���Ѵ��� <td colspan=3><textarea name="abs" id="abs" cols="80" rows="20"><% if not orsa.eof then response.write orsa("abs_th") else response.write "��" end if end if %> </textarea> <table> <input type="hidden" name="id_stu" value=<%=id_stu%>> <input type="submit" name="Submit" value="Add"> <!-- '��������ͺ �����˹�ҷ�����ͧ�����--> </td> </tr> </table> </form> <% 'else '���Է� 'response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" 'response.write "<meta http-equiv=refresh content =3;url=javascript:history.back();>" '���Է� 'end if '���Է� %> </div></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>