<%@ Language=VBScript %>
<%if Session("weight")<>5 then 
Response.Redirect "error.asp?cause=4"
 end if
%>
<html>
<head>
<meta NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
</head><LINK 
href="css/default.css" rel=stylesheet>
<body><SCRIPT language=JavaScript>

function checkform()
{
	if(form1.title.value==''){
		alert("对不起标题不能为空！");
		
		return false;
	}
	if(form1.other_note.value.length<1){
		alert("对不起留言不能为空！");
		
		return false;
	}
	
	return true;
}
</SCRIPT>
<form method="post" name="form1" action="after_manager_leaveword.asp" onsubmit="return(checkform())">
<input type="hidden" name="from_who" value="系统管理员">
<input type="hidden" name="user_name" value="<%=Request("user_name")%>">
<div align="center">
  <table border="1" bordercolor="#000000" cellspacing="0" height="111">
    <tr>
      <td bgcolor="#000000" height="13">
        <p align="center"><b><font color="#FFFFFF">系统管理员留言</font></b></td>
    </tr>
    <tr>
      <td bgcolor="#EEEEEE" height="90">
        <table border="0" cellspacing="0" height="45">
          <tr>
            <td height="25">对方的用户名:</td>
            <td height="25"><input type="text" name="user_name111" size="20" value="<%=Request("user_name")%>" disabled></td>
          </tr>
          <tr> 
            <td>标题：</td>
            <td> 
              <input type="text" name="title" size="40" maxlength=40 value="" >
            </td>
          </tr>
          <tr>
            <td height="1" valign="top">留言:</td>
            <td rowspan="2" height="21" valign="top">
            <textarea rows="4" name="other_note" cols="44" wrap="hard"></textarea></td>
          </tr>
          <tr>
            <td height="28"></td>
          </tr>
        <tr>
            <td height="30" colspan="2" valign="middle">
              <p align="right"><input type="submit" value="提交" name="B1"><input type="reset" value="重写" name="B2"></td>
        </tr>
        </table>
      </td>
    </tr>
  </table>
</div>
</form>

</body>
</html>
