<!--#include file="top.asp"-->
<!--#include file="usercookies.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>管理网店公告--<%=title%>--<%=web%></title>
</head>

<body>

<div align="center">
<table cellSpacing="0" cellPadding="0" width="760" border="0" id="table1">
		<tr bgColor="#d9ebe5">
			<td  height="25" colspan="2" bgcolor="#C0C0C0"><b>&nbsp;<img border="0" src="images/z1.gif" width="50" height="18"> 您的位置  
			<font color="#FFFFFF">-></font> <a class="scap1" href="index.htm"><%=title%></a>
			<font color="#FFFFFF">-></font> 管理网店公告：</b></td>
		</tr>
		<tr bgColor="#d9ebe5">
			<td  width="255" bgcolor="#FFFFFF" rowspan="2" valign="top">
            <!--#include file="caozuo.asp"-->
			</td>
		<tr bgColor="#d9ebe5">
			<td valign="top" width="505" height="315" bgcolor="#FFFFFF">
<%if rsuser("huitype")<"2" then
    Response.Write "<script>alert('您的级别不能使用此权限！');this.location.href='userhome.asp';</SCRIPT>"
Response.end
end if%>
<table border="1" width="100%" id="table2" bordercolorlight="#D9EBE5" bordercolordark="#D9EBE5" style="border-collapse: collapse" cellpadding="0" cellspacing="0">
				<tr>
					<td class="tdtxt07" bgcolor="#D9EBE5">&nbsp;<img border="0" src="images/a01.gif" width="25" height="25">
用户：<font color="#FF0000"><%=username%></font>，您好，欢迎来到会员中心！您登陆本站共<font color="#FF0000"><%=rsuser("dlcs")%></font>次。<br>
您目前级别：<%if rsuser("huitype")="0" then%><font color="#FF0000"><%=aname%>会员</font><%elseif rsuser("huitype")="1" then%><font color="#FF0000"><%=bname%>会员</font><%elseif rsuser("huitype")="2" then%><font color="#FF0000"><%=cname%>会员</font><%end if%>
，验证状态：<%if rsuser("yz")="0" then%><font color="#FF0000">没有通过验证</font>，验证后才可以享受更多权利！<%elseif rsuser("yz")="1" then%><font color="#FF0000">已通过验证</font>，祝您愉快！<%end if%></td>
				</tr>
				<tr>
					<td class="tdtxt07" bgcolor="#D9EBE5" height="20">
<%
	dim sqlg
	dim rsg
	dim biaoti
	dim neirong,Allrecord
	set rsg=server.createobject("adodb.recordset")
	sqlg="select * from [FOX_usergonggao] where username='"&username&"'order by data desc"
	rsg.open sqlg,conn,1,1
	Allrecord=rsg.Recordcount
%>
<table border="0" width="100%" id="table3" cellspacing="1">
          <tr>
            <td width="99%" height="24" style="border-bottom-style: solid; border-bottom-width: 1" bgcolor="#FFFFFF" colspan="4">
            <img border="0" src="images/a01.gif" width="25" height="25"><b>管理网店公告</b>
            <span class="style2"><span class="style1">&nbsp;</span>记录总数：<font color="#FFFF00"><span style="background-color: #800000"><%=Allrecord%></span></font><font color="#FFFFFF"><b><font color="#384249">[</font></b><a href="addGONGGAO.ASP"><u><font color="#FF0000">增加公告</font></u></a><b><font color="#384249">]（请保证5条内）</font></b></font></span></td>
          </tr>
          <%do while not rsg.eof%>

          <tr>
            <td width="6%" height="24" style="border-bottom-style: solid; border-bottom-width: 1" bgcolor="#FFFFFF">
            <p align="center"><b><font color="#808080"><%=rsg("id")%></font></b></td>
            <td width="50%" height="24" style="border-bottom-style: solid; border-bottom-width: 1" bgcolor="#FAFAFA"><A href="javascript:win=open('../diangonggao.asp?id=<%=rsg("id")%>','offer','width=560,height=450,status=no,menubar=yes,scrollbarsg=yes,top=0,left=0'); win.focus()"><FONT color=#000000><%=rsg("biaoti")%></FONT></A></td>
            <td width="29%" style="border-bottom-style: solid; border-bottom-width: 1" height="24" bgcolor="#FFFFFF"><%=rsg("data")%></td>
            <td width="13%" style="border-bottom-style: solid; border-bottom-width: 1" height="24" bgcolor="#FFFFFF">
              <div align="center"><a onclick='{if(confirm("您确定删除吗?此操作将不能恢复!")){return true;}return false;}' href="delGONGGAO.ASP?id=<%=rsg("id")%>&username=<%=username%>">
                <font color="#FF0000">删除</font></a></div></td>
          </tr>
     <%
     rsg.movenext
	 loop
	 %>
					</table>
					</td>
				</tr>
			</table>
			</td>
			</tr>

</table>
<%rsg.close
	set rsg=nothing
	rsuser.close
set rsuser=nothing%>
</div>

</body>
<!--#include file="bottom.asp"--></body></html>