<%@ Page Language="C#" MasterPageFile="~/SPage.Master" AutoEventWireup="true" CodeBehind="Forum.aspx.cs" Inherits="LoveWeb.Forum" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<asp:Content ID="content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">


    <title>无标题页</title>
    <style type="text/css">
.paginator { font: 11px Arial, Helvetica, sans-serif;padding:10px 20px
10px 0; margin: 0px;}
.paginator a {padding: 1px 6px; border: solid 1px #ddd; background:
#fff; text-decoration: none;margin-right:2px}
.paginator a:visited {padding: 1px 6px; border: solid 1px #ddd;
background: #fff; text-decoration: none;}
.paginator .cpb {padding: 1px 6px;font-weight: bold; font-size:
13px;border:none}
.paginator a:hover {color: #fff; background: #ffa501;border-
color:#ffa501;text-decoration: none;}
        .style1
        {
            width: 100%;
        }
		#big {
	width: 824px;
	margin-right: auto;
	margin-left: auto;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-color: #C5E6DF;
	border-bottom-color: #C5E6DF;
	border-left-color: #C5E6DF;
}
#big #two #title {
	float: left;
	height: 40px;
	width: 57%;
	font-size: 14px;
	color: #0066FF;
	text-decoration: none;
	line-height: 38px;
	padding-left: 10px;
	margin-right: 6px;
}
#big #two #title a {
	font-size: 14px;
	color: #0066FF;
	text-decoration: none;
}
#big  #two  #title  a:hover  {
	color: #0099FF;
	text-decoration: none;
}
#big #two {
	font-size: 14px;
	color: #666666;
	text-decoration: none;
}
#big #two #kk {
	float: left;
	height: 40px;
	width: 20%;
	text-align: center;
}
#big #two #clickNum {
	float: left;
	height: 40px;
	width: 20%;
	text-align: center;
}
#big #two #clickNum #click {
	clear: both;
	float: left;
	height: 20px;
	width: 100%;
	color: #0099CC;
}
#big #two #clickNum #reviwNum {
	clear: both;
	float: left;
	height: 19px;
	width: 100%;
}
#big #two #kk #author {
	height: 20px;
	clear: both;
	float: left;
	width: 100%;
	color: #0099CC;
}
#big #two #kk #time {
	height: 19px;
	clear: both;
	float: left;
	width: 100%;
}
#uu {
	width: 824px;
	margin-right: auto;
	margin-left: auto;
            height: 58px;
        }
    #one {
	height: 20px;
	width: 824px;
	margin-right: auto;
	margin-left: auto;
	font-size: 16px;
	color: #666666;
	text-decoration: none;
	text-align: center;
	border: 1px solid #C5E6DF;
	position:relative
}
    #one #aa {
	float: left;
	height: 20px;
	width: 60%;
}
    #one #bb {
	float: left;
	height: 20px;
	width: 20%;
}
    #one #cc {
	float: left;
	height: 20px;
	width: 16%;
}
    </style>

    <div style="height: 509px">
    <div id="one">
    <div id="aa">标题</div>
    <div id="bb">作者/发帖时间</div>
    <div id="cc">点击次数/回复次数</div>
  </div>
<asp:DataList ID="DataList1" runat="server" style="text-align: left" 
            HorizontalAlign="Center" Width="848px">
    
            <ItemTemplate>
     
<div id="big">
  <div id="two">
    <div id="title"><a href="ForumView.aspx?id=<%# Eval("invitationid") %>"><%# GetPartString(Eval("invi_title").ToString(),20)%>
</span></a></div>
    <div id="kk">
      <div id="author">作者:<%# Eval("username")%></div>
      <div id="time"> <%# Eval("invi_time")%></div>
    </div>
    <div id="clickNum">
      <div id="click"><%# Eval("invi_click")%></div>
      <div id="reviwNum"> <%# Eval("reviNum") %></div>
    </div>
  </div>
  
 </ItemTemplate>
        </asp:DataList>
   	  <div id="uu">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" 
            LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页" AlwaysShow="True" 
              onpagechanged="AspNetPager1_PageChanged" CssClass="paginator" 
            CurrentPageButtonClass="cpb">
        </webdiyer:AspNetPager>
        </div>
    </div>
</asp:Content>
