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

<%@ Register assembly="FredCK.FCKeditorV2" namespace="FredCK.FCKeditorV2" tagprefix="FCKeditorV2" %>

<%@ 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%;
        }
        .style2
        {
	font-size: 14px;
	color: #666666;
	text-decoration: none;
        }
.style1 a {
	text-decoration: none;
	color: #0066FF;
}
.style2 a:hover {
	font-size: 14px;
	color: #0099FF;
	text-decoration: none;
}
        .style3
        {
	height: 27px;
	font-size: 14px;
	color: #666666;
	text-decoration: none;
        }
        .btn1
        {
        	background:url('../images/postnew.gif');
        }
        .btn2
        {
	background-color: transparent;
	background-image: url(images/btn_blue.png);
	background-repeat: no-repeat;
        }
        
        

         
    #tiezihuifu {
	width: 824px;
	margin-right: auto;
	margin-left: auto;
	border: 1px solid #C5E6DF;
    display:block;
    overflow:hidden;
    
    margin-top:10px;
}
#tiezihuifu:after
 {
 content: '[DO NOT LEAVE IT IS NOT REAL]'; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
 }

    #tiezihuifu #author {
	display: block;
	float: left;
	width: 18%;
	height:auto;
	padding-top:10px;
	padding-bottom:10px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #C5E6DF;
	background-color: #EBF5F6;
	color: #666666;
	font-size: 16px;
	text-decoration: none;
	text-align: center;
}
#tiezihuifu #huifu #content {
	font-size: 16px;
	color: #333333;
	text-decoration: none;
	height: 80%;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #C5E6DF;
	padding-top: 8px;
	padding-right: 10px;
}
#tiezihuifu #huifu #time {
	font-size: 14px;
	color: #999999;
	text-decoration: none;
	text-align: right;
	height:auto;
	line-height:18px;
	padding-right: 10px;
}
    #tiezihuifu #huifu {
	display: block;
	float: right;
	width: 80%;
	height:auto;
}


#tiezihuifu #author, #tiezihuifu #huifu
 {
 padding-bottom: 32767px !important;
 margin-bottom: -32767px !important; 
 }
@media all and (min-width: 0px) {
#tiezihuifu #author, #tiezihuifu #huifu
 {
 padding-bottom: 0 !important;
 margin-bottom: 0 !important; 
 }
#tiezihuifu #author:before, #tiezihuifu #huifu:before
 {
 content: '[DO NOT LEAVE IT IS NOT REAL]';
 display: block;
 background: inherit;
 padding-top: 32767px !important;
 margin-bottom: -32767px !important;
 height: 0;
 }
}





#aa {
	width: 824px;
	margin-right: auto;
	margin-left: auto;
}
#fenye {
	width: 824px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 10px;
}

        #tiezixiangxi{
 
 overflow: hidden;
}

        
/* easy clearing */
#tiezixiangxi:after
 {
 content: '[DO NOT LEAVE IT IS NOT REAL]'; 
 display: block; 
 height: 0; 
 clear: both; 
 visibility: hidden;
 }

/*\*/
#tiezixiangxi
 {
 display: block;
 }

 #tiezixiangxi #author, #xiangxi
 {
 padding-bottom: 32767px !important;
 margin-bottom: -32767px !important; 
 }
@media all and (min-width: 0px) {
##tiezixiangxi #author, #xiangxi
 {
 padding-bottom: 0 !important;
 margin-bottom: 0 !important; 
 }
##tiezixiangxi #author:before, #xiangxi:before
 {
 content: '[DO NOT LEAVE IT IS NOT REAL]';
 display: block;
 background: inherit;
 padding-top: 32767px !important;
 margin-bottom: -32767px !important;
 height: 0;
 }
 ｝
    </style>
    <link href="css/tiezixiangxi.css" rel="stylesheet" type="text/css" />


    <asp:DataList ID="DataList1" runat="server" Height="168px" Width="824px" 
        HorizontalAlign="Center" style="text-align: left">
        <ItemTemplate>
          <div id="tiezixiangxi" style="border: 1px solid #C5E6DF; width: 824px; margin-right: auto; margin-left: auto; display: inline-block;">
            <div id="author" 
                  
                  style="float: left; width: 18%; height: auto; color: #666666; text-decoration: none; font-size: 16px; text-align: center; border-right-style: solid; border-right-width: 1px; border-right-color: #C5E6DF; background-color: #EBF5F6; overflow: hidden; display: block; padding-top: 10px; padding-bottom: 10px;">
               
                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("userimage") %>' /><br />
                <%# Eval("username")%>
              </div>
            <div id="xiangxi" 
                  
                  style="width: 80%; float: right; height: auto; overflow: hidden; display: block;">
                <div id="title" style="width: 100%; height: 15%; font-size: 20px; text-decoration: none; font-weight: bold; color: #808080; text-align: center; border-bottom-style: solid; border-bottom-width: 1px; border-bottom-color: #C5E6DF; padding-top: 5px;"><%# Eval("invi_title")%></div>
                <div id="bottom">
                <div id="time" 
                        style="color: #666666; text-decoration: none; float: left; width: 48%; font-size: 14px; text-align: left; line-height: 20px;">发帖时间：<%# Eval("invi_time")%></div>
                <div id="dianjishu"  
                        style="color: #666666; text-decoration: none; font-size: 14px; width: 50%; float: left; text-align: right; line-height: 20px;">点击次数：<%# Eval("invi_click")%></div>
           </div>
                
                <div id="content"  style="text-decoration: none; color: #666666; width: 100%; height: 68%; font-size: 16px; padding-top: 5px; padding-bottom: 5px; border-top-style: solid; border-top-color: #C5E6DF; border-top-width: 1px; position: relative;"><%# Eval("invi_contents") %></div>
                
            </div>
          </div>
        </ItemTemplate>
    </asp:DataList>
    <asp:DataList ID="DataList2" runat="server" 
        Height="207px" Width="824px" HorizontalAlign="Center">
        <ItemTemplate>
         <div id="tiezihuifu" style="display: inline-block">
        <div id="author">
            
            <asp:Image ID="Image2" runat="server" ImageUrl='<%# Eval("userimage") %>' />
            <br />
            <%# Eval("username") %>
             </div>
        <div id="huifu">
          
          <div id="time">回复时间：<%# Eval("submit_date") %></div>
          <div id="content"><%# Eval("revi_contents") %></div>
          
        </div>
      </div>
        </ItemTemplate>
    </asp:DataList>
    <div id="fenye">
  <webdiyer:AspNetPager ID="AspNetPager1" runat="server" FirstPageText="首页" 
        LastPageText="尾页" NextPageText="后页" PrevPageText="前页" AlwaysShow="True" 
        onpagechanged="AspNetPager1_PageChanged" PageSize="3" CssClass="paginator" 
        CurrentPageButtonClass="cpb">
    </webdiyer:AspNetPager>
    </div>
    <br />
<div id="aa">
    
<asp:ImageButton ID="ImageButton1" runat="server" 
            ImageUrl="~/images/postnew.gif" onclick="ImageButton1_Click" />
        <asp:ImageButton ID="ImageButton3" runat="server" 
        ImageUrl="~/images/back.jpg" onclick="ImageButton3_Click" />
        <br />
        <table class="style1">
            <tr>
                <td class="style3" colspan="2">
    
        &nbsp;&nbsp;&nbsp;
    
        <asp:Label ID="Label1" runat="server"></asp:Label>
                    &nbsp; 发表回复：</td>
            </tr>
            <tr>
                
                <td>
                    <FCKeditorV2:FCKeditor ID="FCK_invi" runat="server">
                    </FCKeditorV2:FCKeditor>
                </td>
            </tr>
            <tr>
                <td class="style2" colspan="2">
                    <asp:ImageButton ID="ImageButton2" runat="server" 
                        ImageUrl="~/images/mreply.gif"  onclick="ImageButton2_Click" />
                    （必须登录才能发帖）<a href="Login/Login.aspx">我要登录</a> </tr>
        </table>
    
    </div>
</asp:Content>