File Manager
Back to List
| Current Directory: ~/
Editing: command_add_author_form.asp
Full path: C:\ict\ICT\command_add_author_form.asp
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"> function doSubmit() { if( document.form1.cauthor.value == "" ) { alert("��سҡ�͡����͡�����") document.form1.cauthor.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"> </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"> <% '***************************************************************** session("tb_name")="command" %> <!--#include file="chk_permission.asp"--> <% '***************************************************************** if session("tb_edit") <> 1 then '���Է��� �����㹰ҹ ��� ����Ңͧ�������ͧ %> <form name="form1" method="post" action="command_add_author.asp"> <tr> <td width="892" align="left" valign="top"><div align="center"> <%'if session("tb_edit")=2 then %> [<a href="index_com.asp">��������</a>]<%'end if%><br><strong>������ª��ͼ���͡�����<br><br> <table align=center border=0> <tr> <% response.write "<tr><td ><div align=right>���ͼ���͡�����::</td><td colspan=2><textarea cols=50 rows=1 name=cauthor></textarea>* </td></tr>" 'response.write "<tr><td><div align=right>��������Ԫ�(Eng)::</td><td><input type=text name=id_course_eng>* </td></tr>" 'response.write "<tr><td><div align=right>��������Ԫ�(��)::</td><td><input type=text name=course_th size=50>*</td></tr>" 'response.write "<tr><td><div align=right>��������Ԫ�(Eng)::</td><td><input type=text name=course_eng size=50>*</td></tr>" 'conn.close %> <tr><td colspan=3 align=center><input type="submit" name="Submit" value="Submit" onmousedown="doSubmit();"> <input type="reset" name="Submit2" value="Reset"></td></tr> </form> </div></td> </tr> <tr bgcolor=#EAEAEA><td colspan=3 align=center >��ª��ͼ���͡����觷����� <tr align=center bgcolor=#B8B589><td>�ӴѺ���<td>���ͼ���͡�����<td>Action</tr><tr> <% sqlcr="select * from command_author" set orscr=server.createobject("adodb.recordset") orscr.open sqlcr,conn,1,3 aa=0 if not orscr.eof then orscr.movefirst do while not orscr.eof aa=aa+1 if aa mod 2 = 0 then bg1="#EEEEEE" else bg1="#FFFFFF" end if response.write "<tr bgcolor="&bg1&"><td>"&aa&"<td>"&orscr("cauthor")%> <td>[<a href=command_del_author.asp?id=<%=orscr("cid_author")%> onclick="return confirm('�س��ͧ���ź?');">Del</a>] <%response.write "[<a href=command_edit_author_form.asp?id="&orscr("cid_author")&">Edit</a>]" orscr.movenext loop end if %> </table> <% else '���Է� response.write "<tr><td colspan=3><center>�س������Է����� �س���ѵԹ��" response.write "<meta http-equiv=refresh content =4;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>