File Manager
Back to List
|
Up to Parent Directory
| Current Directory: ~/homework
Editing: homework/edit_stu_form.asp
Full path: C:\ict\ICT\homework\edit_stu_form.asp
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.username_stu.value == "" ) { alert("�ô��͡���������ú") document.form1.username_stu.focus() return false; } if( document.form1.password_stu.value == "" ) { alert("�ô��͡���������ú") document.form1.password_stu.focus() return false; } if( document.form1.name_stu.value == "" ) { alert("�ô��͡���������ú") document.form1.name_stu.focus() return false; } if( document.form1.surname_stu.value == "" ) { alert("�ô��͡���������ú") document.form1.surname_stu.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"><!-- InstanceBegin template="/Templates/homework.dwt" codeOutsideHTMLIsLocked="false" --> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-874" /> <!-- InstanceBeginEditable name="doctitle" --> <title>�������ҡ���Ե ʶҺѹ�Ԩ�¾ĵԡ�����ʵ��</title> <!-- InstanceEndEditable --> <style type="text/css"> <!-- body,td,th { font-family: Microsoft Sans Serif, MS Sans Serif, sans-serif; } body { background-color: #FFCCFF; } --> </style> <!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --> </head> <body> <table width="100%" border="0" cellspacing="0"> <tr> <td><div align="center"><img src="head.jpg" width="800" height="191" /></div></td> </tr> <tr> <td> <div align="center"> <!--#include file="chk_menu.asp"--> </div></td></tr> <tr> <td align="center" valign="top"><!-- InstanceBeginEditable name="EditRegion3" --> <p>�������Ե</p> <% username_stu=request("username_stu") %> <form id="form1" name="form1" method="post" action="save_edit_stu.asp"> <table width="599" border="0"> <tr> <td width="76">���������</td> <td width="213"><label> <input readonly name="username_stu" type="text" value=<%=username_stu%> id="username_stu" /> </label></td> </tr> <% sql_stu1="select * from student where username_stu='"&username_stu&"'" Set ors_stu1 = Server.CreateObject("ADODB.Recordset") ors_stu1.Open sql_stu1, Conn, 1, 3 'response.write sql_c if not ors_stu1.eof then %> <tr> <td>���ʼ�ҹ</td> <td><label> <input name="password_stu" type="text" value=<%=ors_stu1("password_stu")%> id="password_stu" /> </label></td> </tr> <tr> <td>�����Ե</td> <td><label> <input name="name_stu" value=<%=ors_stu1("name_stu")%> type="text" size="60" /> </label></td> </tr> <tr> <td>���ʡ��</td> <td><label> <input name="surname_stu" value=<%=ors_stu1("surname_stu")%> type="text" size="60" /> </label></td> </tr> <tr> <td><label></label></td> <td><input name="����" type="submit" id="����" value="Submit" onmousedown="doSubmit();"/></td> </tr> </table> </form> <% end if %> <p><% response.write "<table>" response.write "<tr><td>" %></p> <!-- InstanceEndEditable --></td> </tr> </table> </body> <!-- InstanceEnd --></html>