<!--#include file="conn.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="../webconfig.asp"-->
<!--#include file="../fuction.asp"-->
<%id=replace(request.querystring("id"),"'","")
if id="" or  not isnumeric(id) then
response.write"错误的请求"
response.end 
end if  

set rs=server.createobject("adodb.recordset")
    sqlstr="select * from smallpaper where id=" &id& " order by id"
    rs.open sqlstr,conn,1,1
     hits=rs("hits")+1         
set uphits=server.createobject("adodb.recordset")         
sqlstr="update smallpaper set hits=" &hits& " where id="&id         
uphits.open sqlstr,conn 


%>

<body topmargin="0" leftmargin="0">

<!--浏览小字报-->
<table width="513" border="0" align=center cellpadding=3 cellspacing=1 bordercolordark="#FFFFFF" bgcolor="F6F6F6" class=tableborder1>
  <TBODY>
<TR>
      <Th width="501" height=24 bgcolor="#FFFFFF"><%=rs("title")%></Th>
</TR>
<TR>
      <TD width="501" bgcolor="#FFFFFF" class=tablebody1> 
        <p align=center><a href="dispuser.asp?name=admin" target=_blank></a><a href=Userlist_data.asp?username=<%=rs("username")%>><%=rs("username")%></a> 发布于 <%=rs("riqi")%></p>        
<blockquote>        
<br>        
	<%=rs("body")%>     
<br>        
<div align=right>浏览次数：<%=rs("hits")%></div>        
</blockquote>        
</TD>        
</TR>        
<TR align=middle>        
      <TD width="501" height=24 bgcolor="#FFFFFF" class=tablebody2><a href=# onClick="window.close();">『   
        关闭窗口 』</a></TD>        
</TR>        
</TBODY>        
</TABLE><!--页面结束部分-->         
<Div id=bottom align="center" ></div>        
</body>