<%if Session("weight")=0 then 
Response.Redirect "error.asp?cause=4"
 end if
%>
<HTML>
<HEAD><SCRIPT language=JavaScript>
function checkform()
{
	
	
	if(form1.my_public_note.value.length<1){
		alert("对不起即时贴不能为空！");
		
		return false;
	}
	if(form1.my_public_note.value.length>100){
		alert("对不起即时贴不能超过50个字！");
		
		return false;
	}
	return true;
}
</SCRIPT>

<title>我的即时贴</title>
<META NAME="GENERATOR" Content="Microsoft FrontPage 5.0">
<link rel="stylesheet" href="../images/css.css" type="text/css">

</HEAD>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form method="post" name="form1" action="my_public_note_add.asp" onsubmit="return(checkform())">

<input type="hidden" name="from_who" value="<%=session("Current_user")%>">

 <table cellspacing="0" cellpadding="0" width=400 style="border-collapse:collapse;">
  <tr> 
    <td  align="center" style="border-width:1; border-color:black; border-style:solid;">
		 <table WIDTH="95%" BORDER="0" CELLSPACING="0" CELLPADDING="0" >
			<tr>
			<td><font size="4" color="#FF9933"><b><img border="0" src="images/a0.gif" WIDTH="13" HEIGHT="13">&nbsp;</b></font><font color="#FF9933"><b>我的即时贴</b></font></td>
		
			</tr>
			</table><BR>

		 <table WIDTH="90%" BORDER="0" CELLSPACING="0" CELLPADDING="0" >
			<tr>
			<td> <p><font  color=red>即时贴用户手册：</font><BR><BR>&nbsp;&nbsp;即时贴是一个实时公告板，它允许用户实时进行公告，公告显示在即时贴滚动条中。每次公告不得超过50个字，而且自动会覆盖本会员前一次的即时贴。这项功能只对VIP用户开放！</p>
			</td>
			</tr>
			</table><BR>
		 <table border="0" cellspacing="0" cellpadding="0" width=80% >
         
          <tr> 
            <td valign="top">内容：(请不要超过50个字)<BR><BR></td></tr> 
          <tr>   
            <td  align=left> 
              <textarea name="my_public_note" cols="40" rows="5" class=myinput3></textarea>
            </td>
          </tr>
     
          <tr> 
           
            <td  align=center> <BR><BR>　　 
             <%if Session("weight")=1 then %>
      
             <INPUT type="button" value="发 送" id=button1 name=button1 onclick=javascript:alert('对不起，此项功能只有VIP用户才可以使用！'); >
             <%else%>
              <input type="submit" name="submit" value="发 送" class=myinput3>
             <%end if%> 　　 
              <input type="reset" name="reset" value="重 填" class=myinput3>
            </td>
          </tr>
        </table>
      </form>
      
    </td>
  </tr>
   <tr>
    <td  align=center style="border-width:0; border-color:black; border-style:solid;">
    <p style="line-height: 200%"><a href=javascript:window.close() >[关闭窗口]</a></td>
  </tr>
</table>
</form></body>
</html>