<!--#include file="inc/conn.asp"-->
<!--#include file="inc/safe.asp"-->
<!--#include file="inc/config.asp"-->
<!--#include file="inc/const.asp"-->
<%
if MemberName="" then
  response.Redirect("userlogin.asp")
  response.end
end if
%>
<%
dim pmcount,pageno
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>红嫂视屏交友网</title>
<meta name="keywords" content="情感,在线,新新,照片,动感影片,诗歌,爱情,纯洁,心连心">
<meta name="description" content="交友情缘 情感在线">
<link href="style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
body {
	background-image: url();
}
.STYLE31 {color: #666666; font-size: 12px;}
.style91 {
	font-size: 14px;
	color: #0B5596;
}
-->
</style>
</head>
<body>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="top.asp"--></td>
  </tr>
</table>
<table width="950" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="204" height="328" valign="top"><!--#include file="memberleft.asp"--></td>
    <td width="583" valign="top"><table width="565" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><TABLE width="100%" border=0 
            cellPadding=0 cellSpacing=0 bgColor=white class="STYLE4" style="BORDER-BOTTOM: #9DCCF6 1px solid">
              <TBODY>
                <TR>
                  <TD align=center width="2%"><img src="image/tiao_3.gif" width="10" height="31"></TD>
                  <TD width="14%" align=center background="image/tiao_4.gif"><table width="86" height="25" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td align="center" class="pgd">兴趣圈文章</td>
                      </tr>
                  </table></TD>
                  <TD width="50%" height="20" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="32%" align="center" background="image/tiao_4.gif">&nbsp;</TD>
                  <TD width="2%" align="center"><img src="image/tiao_2.gif" width="10" height="31"></TD>
                </TR>
              </TBODY>
          </TABLE></td>
        </tr>
        <tr>
          <td height="433" valign="top" style="border-left:#C7C8CC 1px solid;border-right:#C7C8CC 1px solid;border-bottom:#C7C8CC 1px solid"><br>
              <table width="530" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="15" height="29"><img src="images/jiao_1.gif" width="15" height="29"></td>
                  <td width="102" valign="top" background="images/aniu32.gif"><table width="99" border="0" cellspacing="0" cellpadding="00">
                    <tr>
                      <td height="19" valign="bottom"><div align="center"><a href="club_article.asp" class="a5"><span style="font-size:14px;color:#ffffff;font-weight:bold">我发表的文章</span></a></div></td>
                    </tr>
                  </table></td>
                  <td width="105" valign="top" background="images/jiao_3.gif"><div align="center"><a href="virtualmarry.asp" class="b1"></a>
                          <table width="99" border="0" cellspacing="0" cellpadding="00">
                            <tr>
                              <td height="19" valign="bottom"><div align="center"><a href="club_reply.asp" class="b1"><span style="font-size:14px;color:#0B5596;font-weight:bold">我回复的文章</span></a></div></td>
                            </tr>
                          </table>
                  </div></td>
                  <td width="288" valign="top" background="images/jiao_3.gif"><table width="99" border="0" cellspacing="0" cellpadding="00">
                    <tr>
                      <td width="99" height="19" valign="bottom"><div align="center"><a href="club_increase.asp" class="b1"><span style="font-size:14px;color:#0B5596;font-weight:bold">添加文章</span></a></div></td>
                    </tr>
                  </table>
                  </td>
                  <td width="16"><img src="images/jiao_2.gif" width="15" height="29"></td>
                </tr>
              </table>
        <%
set rs=server.CreateObject("adodb.recordset")
sql="select a.id,a.title,a.click,a.dtime,b.bigname from jlbnews as a inner join julebu as b on a.bigid=b.bigid where a.userid="& userid &""
sql=sql+" order by a.id desc"			
rs.open sql,conn,1,1
rcount=rs.recordcount

pmcount=15
rs.pagesize=pmcount   	'设置每页数
mpage=rs.pagecount    	'得到总页数
pageno=clng(request("pageno"))
	
if isempty(pageno) or cint(pageno)<1 or cint(pageno)>mpage then
	pageno=1
end if
if rs.bof and rs.eof then
	response.write "<br><div align='center' style='style4'><p>没有你要找的文章信息！<br><br></p></div>"
else
	rs.absolutepage=pageno	'将指针移至指定页的第一条记录
	loopno=pmcount	
%>      
			  <table width="530" height="83" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#9DCCF6" bordercolordark="#FFFFFF">
                <tr bgcolor="EFF5FC">
                  <td width="286" height="27" bgcolor="EFF5FC"><div align="center"><strong>标题</strong></div></td>
                  <td width="93"><div align="center"><strong>类别</strong></div></td>
                  <td width="37"><div align="center"><strong>浏览</strong></div></td>
                  <td width="104"><div align="center"><strong>发表时间</strong></div></td>
                </tr>
	<%do while not rs.eof and loopno>0%>			
                <tr bgcolor="#FFFFFF">
                  <td height="27"><a href="wzcontent.asp?wzid=<%=rs("id")%>" class="a1" target="_blank"><%=rs("title")%></a></td>
                  <td><div align="center"><%=rs("bigname")%></div></td>
                  <td><div align="center"><%=rs("click")%></div></td>
                  <td><div align="center"><%=formatdatetime(rs("dtime"),2)%></div></td>
                </tr>
                          <%
rs.movenext
loopno=loopno-1
loop
%>				
                <tr bgcolor="#FFFFFF">
                  <td height="27" colspan="4"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#EFF5FC" class="STYLE4">
                    <tr>
                      <td height="26"><div align="right">
                        <%if cint(pageno)>1 then%>
                        [<a href='club_article.asp?pageno=<%=pageno-1%>' class="a1">上一页</a>]
                        <%end if
			if cint(pageno)<cint(mpage) then
			%>
                        [<a href='club_article.asp?pageno=<%=pageno+1%>' class="a1">下一页</a>]
                        <%end if%>
                      共<%=cstr(pageno)&"/"&cstr(mpage)&"页 "&cstr(rcount)%>条 </div></td>
                    </tr>
                  </table></td>
                </tr>
              </table>
<%end if%>			  
          </td>
        </tr>
    </table></td>
    <td width="163" valign="top"><!--#include file="fenlei.asp"--></td>
  </tr>
</table>
<table width="1002" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><!--#include file="root.asp"--></td>
  </tr>
</table>
</body>
</html>
                      <%
rs.close
 set rs=nothing
 conn.close
 set conn=nothing
%>
