File Manager
Back to List
| Current Directory: ~/
Editing: hitc_fullthesis.asp
Full path: C:\ict\ICT\hitc_fullthesis.asp
Permissions: rwx
Write test: File appears not directly writable
Current process identity: IIS APPPOOL\DefaultAppPool
<!--#INCLUDE FILE="ConnectDB.asp"--> <script language="javascript"> function doSubmit() { if( document.form1.keyword1.value == "" ) { alert("��سҡ�͡���Ӥѭ") document.form1.keyword1.focus() return false; } if( document.form1.keyword2.value == "" ) { alert("��سҡ�͡���Ӥѭ") document.form1.keyword2.focus() return false; } if( document.form1.keyword3.value == "" ) { alert("��سҡ�͡���Ӥѭ") document.form1.keyword3.focus() return false; } } </script> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <title>��ǹ���Ŵ �ҹ�Ԩ��ʶҺѹ�Ԩ�¾ĵԡ�����ʵ�� (BSRI) Behavioral Science Research Institute</title> </head> <body> <!-- <form name="form1" method="post" action="add_keyword_thesis.asp"> <table width="75%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr > <td colspan="2"><CENTER>����ǹ���Ŵ �ͤ���������ͨҡ�ء��ҹ ��˹� <B>���Ӥѭ</B> ���Դ��Ҩ�����Ǣ�ͧ�Ѻ�ҹ����ҹ��ǹ���Ŵ</CENTER></td> </tr> <tr> <td height="20"><div align="right">���Ӥѭ�ӷ�� 1</div></td><td> <input type="text" name="keyword1" ></td> </tr> <tr> <td><div align="right">���Ӥѭ�ӷ�� 2</div></td><td><input type="text" name="keyword2"></input> <tr> <td><div align="right">���Ӥѭ�ӷ�� 3</div></td><td><input type="text" name="keyword3"></input> <tr><td colspan="2"><div align="center">�͢ͺ��Фس��Т����·ء��ҹ���������������Ф�� ��������ô�ǹ���Ŵ����дǡ<br>�ҡ���Ѻ�����ŷ����§�͵�͡�������������� �йӢ�鹵����͡�ҡ�к��ѹ��<br>��ʹ� ǧ��ྪ� <tr> <%'=id%> <input name="id" type="hidden" value=<%=id%>> <td> </td><td><input type="submit" name="Submit" value="Submit" onmousedown="doSubmit();"> <input type="reset" name="Submit2" value="Reset"></td></tr> </table> </form>--> <% id=request("id_thesis") ' datek1=now m=Month(date) cm=Len(m) If cm=1 Then m="0"&""&m End if d=day(Date) cd=Len(d) If cd=1 Then d="0"&""&d End if y=year(date)+543 ddd=y&""&m&""&d keyw=session("kw") sqldata="insert into keywords_Lthesis(id_thesis,kw,datek1,ddd) values('"&id&"','"&keyw&"','"&datek1&"','"&ddd&"')" set orsdata = Server.CreateObject("adodb.recordset") orsdata.open sqldata,conn,1,3 sqla="select * from thesis where id_thesis='"&id&"'" set orsa=server.createobject("adodb.recordset") orsa.open sqla,conn,1,3 response.write sqla response.redirect "http://bsris.swu.ac.th/thesis/"&orsa("full_thesis") conn.close %> </body> </html>