<!--#include file="../../inc/conn.asp" -->
<!--#include file="../inc/checklogin.asp" -->
<!--#include file="../inc/function.asp" -->
<!--#include file="../inc/adovbs.inc" -->
<!--#include file="../inc/UserRecordslib.asp" -->
<% 
Dim QuanID,T_QuanHost,T_QuanName,Notice,NoticeTime
QuanID=SafeRequestQueryString("quanid",1)
If QuanID="" Then
	Call ShowMsgBack("圈子ID不能为空！")
End If
Set Rs=Conn.execute("Execute SP_QUAN_QUERYQUANONEMORE '"&QuanID&"'")
	If Rs.eof Then
		Call ShowMsgBack("该圈不存在！")
	Else
		T_QuanHost = Rs("Quanhost")
		T_QuanName = Rs("QuanName")
		Notice =Replace(HTMLReEncode(Rs("Notice")),"[$DHZ_SingleQuotes$]","'")
		NoticeTime =Rs("NoticeTime")
	End If
Set Rs=Nothing

If T_QuanHost<>UserID Then
	Call ShowMsgBack("你不是该圈的圈主！")
End If
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="../Style/Main.css" rel=stylesheet type=text/css>
<title>个人管理中心-<%=web_name%></title>
<style type="text/css">
<!--
.style11 {	FONT-SIZE: 14px; COLOR: #ff6600
}
.STYLE12 {
	color: #ff6600;
	background-color: #f9e2ca;
}
-->
</style>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0">
<div align="center">
  <!--#include file="../Top.asp" -->

  <table width="910" border="0" cellpadding="0" cellspacing="0">
    <tr>
      <td width="190" valign="top"><!--#include file="../Left.asp" --></td>
	  <td width="20">&nbsp;</td>
      <td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="12"></td>
  </tr>
</table>
<table width="700" height="24" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="18" align="center" valign="bottom"><a class=a1 href="index.asp?quanid=<% =QuanID%>"></a></td>
    <td width="85" align="center" valign="bottom" background="../Images/quan_admin_dht01.gif"><a  href="index.asp?quanid=<% =QuanID%>">圈当前信息</a></td>
    <td width="10">&nbsp;</td>
    <td width="85" align="center" valign="bottom" background="../Images/quan_admin_dht01.gif"><a href="basic.asp?quanid=<% =QuanID%>">圈基本设置</a></td>
    <td width="10">&nbsp;</td>
    <td width="85" align="center" valign="bottom" background="../Images/quan_admin_dht02.gif"><span class=a1>圈公告管理</span></td>
    <td width="10">&nbsp;</td>
    <td width="85" align="center" valign="bottom" background="../Images/quan_admin_dht01.gif"><a href="member.asp?quanid=<% =QuanID%>">圈成员管理</a></td>
    <td width="10">&nbsp;</td>
    <td width="85" align="center" valign="bottom" background="../Images/quan_admin_dht01.gif"><a href="pic.asp?quanid=<% =QuanID%>">圈图片管理</a></td>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="3" bgcolor="#FF6500"></td>
  </tr>
  <tr>
    <td height="12"></td>
  </tr>
</table>
<table width="700" border="0" cellpadding="0" cellspacing="0" background="../Images/right_bg01.gif">
        <tr>
          <td height="16"><img src="../Images/right_corner01.gif" width="16" height="16"></td>
          <td align="right"><img src="../Images/right_corner02.gif" width="15" height="16"></td>
        </tr>
      </table>
        <table width="700" border="0" cellpadding="0" cellspacing="0">
		<form name="MainForm" action="noticeupdate.asp?quanid=<% =QuanID%>" method="post">
          <tr>
            <td width="6" bgcolor="#EBEBED"></td>
            <td align="center" valign="top"><table width="650" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="30"><b>圈公告管理 (<% =T_QuanName%>)</b></td>
              </tr>
              <tr>
                <td height="2" bgcolor="#FD9920"></td>
              </tr>
              <tr>
                <td height="6"></td>
              </tr>
            </table>
              <table width="650" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="20" colspan="2">&nbsp;</td>
                </tr>
                <tr>
                  <td width="69">公告内容：</td>
                  <td width="436"><textarea name="notice" cols="80" rows="4"  class=input1><% =Notice%></textarea></td>
                </tr>
                <tr>
                  <td height="20">&nbsp;</td>
                  <td><font color="#FF9000">(*文字不能超过200个字)</font></td>
                </tr>
              </table>
              <table width="650" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="30">&nbsp;</td>
                </tr>
                <tr>
                  <td height="30">发布时间： <% =FormatDateTime(NoticeTime,vbShortDate)%>(添加时系统显示，此处不能修改) </td>
                </tr>
                <tr>
                  <td height="1" background="Images/admin_index_dot02.gif"></td>
                </tr>
                <tr>
                  <td align="center">&nbsp;</td>
                </tr>
                <tr>
                  <td align="center"><input class=input1 type="submit"  value="修 改"></td>
                </tr>
                <tr>
                  <td align="center">&nbsp;</td>
                </tr>
              </table></td>
            <td width="6" bgcolor="#EBEBED"></td>
          </tr>
		  </form>
        </table>
        <table width="700" border="0" cellpadding="0" cellspacing="0" background="../Images/right_bg02.gif">
          <tr>
            <td height="12"><img src="../Images/right_corner03.gif" width="15" height="12"></td>
            <td align="right"><img src="../Images/right_corner04.gif" width="14" height="12"></td>
          </tr>
        </table>
        <table width="700" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="12"></td>
          </tr>
      </table>        </td>
    </tr>
  </table>
  <!--#include file="../Bottom.asp" -->

</div>
</body>
</html>
