File Manager
Back to List
| Current Directory: ~/
Editing: getreward_all_res.asp.bak
Full path: C:\ict\ICT\getreward_all_res.asp.bak
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="ConnectDB.asp"--> <!--#include file="chk_login.asp"--> <% pern=session("username") per="2" tb="research" 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 not orsnc.eof then %> <!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" --> <div align="center"> <p>����Ѻ�ҧ���<br> </p> <table width="90%" border="0" bgcolor="#99FF99"> <% if not orsnc.eof then%><%end if%> <tr> <td align="center" valign="top" bgcolor="#FFCCFF">�����š�����Ѻ�ҧ���<br> <br> <table width="100%" border="1" cellspacing="0" bordercolor="#CCCCCC"> <tr><td><div align="center"><strong>�Ţ����ѭ��</strong></div></td> <td><div align="center"><strong>�ѹ �� �� ������Ѻ</strong></div></td> <td><div align="center"><strong>�ҧ��ŷ�����Ѻ</strong></div></td> <td><div align="center"><strong>˹��§ҹ�������ҧ���</strong></div></td> <td><div align="center"><strong>��������´���</strong></div></td> </tr> <% sqlch2="select * from getreward" set orsch2=server.CreateObject("adodb.recordset") orsch2.open sqlch2,conn,1,3 if not orsch2.eof then orsch2.movefirst do while not orsch2.eof response.write "<tr>" response.write "<td>" response.write "<a href=detail_research.asp?id="&orsch2("id_contact")&">"&orsch2("id_contact")&"</a>" response.write "<td>" response.write orsch2("d_reward")&" - "&orsch2("m_reward")&" - "&orsch2("y_reward") response.write "<td>" sqlt="select * from reward where id_reward='"&orsch2("id_reward")&"'" set orst=server.CreateObject("adodb.recordset") orst.open sqlt,conn,1,3 if not orst.eof then response.write orst("reward_name") response.Write orsch2("id_reward") end if response.write "<td>" response.write orsch2("author_reward") response.write "<td>" response.write orsch2("detail_reward") orsch2.movenext loop end if %> </table> <% %> </td> </tr> </table> <p> </p> <p> </p> </div> <!-- 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> <% 'else %> <SCRIPT LANGUAGE="JavaScript"> <% 'response.write "window.location.href='index.html';" %> --> </SCRIPT> <% 'end if %>