<%@ Page Title="" Language="C#" MasterPageFile="~/Portal/default.Master" AutoEventWireup="true" CodeBehind="Forums_details.aspx.cs" Inherits="Dotnetcms.Web.Portal.Forums_details" %>
 <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <link href="Images/forum.css" rel="stylesheet" type="text/css" />
    <link href="Style/style_4.css" rel="stylesheet" type="text/css" />


    <style>
    img{border:0px}
    </style>

  <table width="100%" border="0" cellspacing="0" cellpadding="0" class="RaCe" >
  <tr valign="top">
    <td style="padding-left:18px;padding-right:18px"><table width="964" height="500" border="0" align="center" cellpadding="0" cellspacing="0" class="RaCeCenter">
      <tr valign="top">
        <td width="6" class="RaCeLeft">&nbsp;</td>
        <td valign="top" style="padding:0px 15px">
 
 <br />
<asp:label runat="server" ID="lbl_nav"></asp:label> » <asp:label runat="server" ID="lb_detail"></asp:label>
 
  <br /> <br />
  
<!-- Post  -->


<div class="forums_op">
  <a title="发新话题" id="newtopic" href="Forums_newspost.aspx?smallid=<%=smallid %>"  ><img alt="发新话题" border=0px src="Images/forums_img/newtopic.gif"></a>
  <a title="回复" id="Reply" href="Forums_Reply.aspx?smallid=<%=smallid %>&id=<%=id %>"  ><img alt="回复" border=0px src="Images/forums_img/reply.gif"></a>
</div>	
	  
<!-- /Post  -->
	 
		
<pg:CollectionPager runat="server" ID="cp1"></pg:CollectionPager>
 <!-- Topic -->


<div class="maintable">
<div class="spaceborder" style="width: 98%; border-bottom: none">
    <table cellspacing="0" cellpadding="4" width="100%" align="center">
    <tr><td class="header" colspan="2" style="color: #FFFFFF">
    <div class="right" style="font-weight: normal">
     </div>
    标题:
     <asp:Label runat="server" id="lbl_title"></asp:Label>
    </td></tr>
    </table>
</div>

<!-- /Topic -->

<asp:FormView runat="server" ID="fv_details" Width="100%">

<ItemTemplate>

  
<div class="spaceborder" style="width: 98%; margin-bottom: 4px;
 border-top: none ;color:#444444">
<table cellspacing="0" cellpadding="4" width="100%" align="center" class="t_row">
<tr style="height: 100%">
<td width="18%" valign="top" class="t_user" align="center">

<%#Eval("Office") %>
<br>


<a href='../myprofile.aspx?id=<%#Eval("uid") %>' target="_blank" class="bold">
<br>
<img src='<%#Eval("avtor") %>' border="0px" width="80px" />
<br>
  <%#Eval("senderusername") %>
 </a>
<br>


<div class="smalltxt">


 
<br><br>
UID <%#Eval("uid") %><br>
 
发帖数 <%#Eval("forumpostcount") %><br>
回复数 <%#Eval("forumreplycount") %><br>
共计 <%#Eval("forumcount") %><br>
  
</div>
</td>
<td width="82%" valign="top" style="padding: 0px">
<table border="0" cellspacing="0" cellpadding="4" class="t_msg">
<tr><td>
<div>
 <span class="right">&nbsp;</span>
 
<div class="right" style="padding-top: 4px;">


<asp:Panel runat="server" ID="caneditthetopic">


<a href='Forums_op.aspx?id=<%=id%>&op=lock&smallid=<%=smallid %>&senderid=<%#Eval("uid") %>' target=_blank>锁定</a> &nbsp;&nbsp;
<a href='Forums_newspost.aspx?smallid=<%=smallid %>&id=<%=id %>'  >编辑</a> &nbsp;&nbsp;
<a href='Forums_op.aspx?id=<%=id%>&op=del&smallid=<%=smallid %>&senderid=<%#Eval("uid") %>' target=_blank>删除</a> &nbsp;&nbsp;


</asp:Panel>

<asp:Panel runat="server" ID="cantoptopic">
<a href='Forums_op.aspx?id=<%=id%>&op=top&smallid=<%=smallid %>&senderid=<%#Eval("uid") %>' target=_blank>置顶</a>
</asp:Panel>


 <a href='Forums_details.aspx?id=<%=id%>&smallid=<%=smallid%>&showuid=<%#Eval("uid") %>'>只看该作者</a>&nbsp;
</div>
  
<div style="padding-top: 4px;">
发表于 <%#Eval("Createdate") %>&nbsp;
<a href='../myprofile.aspx?id=<%#Eval("uid") %>' target="_blank" >资料</a>&nbsp;
<a href='mailto:<%#Eval("email") %>' >
邮件</a>&nbsp;
 </div>

</div>
</td></tr>


<tr><td valign="top" class="line" height="100%" style="padding-top: 10px;">
 <b>
<span <%#Eval("style") %>><%#Eval("title") %></span><br><br>
</b>


<div  class="t_msgfont" style="color:#333333">

<%#Eval("contents") %>
</div>
<br> 
</td></tr>
<tr><td align="right">
 &nbsp;
</td></tr>


</table></td>




</tr></table>

</div>

</ItemTemplate>
</asp:FormView>




<!-- Reply -->


<asp:Repeater runat="server" ID="rpt_reply" 
        onitemdatabound="rpt_reply_ItemDataBound">
<ItemTemplate>





<div class="spaceborder" style="width: 98%; margin-bottom: 4px;
 
">
<table cellspacing="0" cellpadding="4" width="100%" align="center" class="t_row">
<tr style="height: 100%">
<td width="18%" valign="top" class="t_user"  align="center">

<%#Eval("Office") %>
<br>


<a href='../viewprofile.aspx?id=<%#Eval("uid") %>' target="_blank" class="bold">
<br>
<img src='<%#Eval("avtor") %>' border="0px" width="80px" />
<br>
  <%#Eval("replyusername") %>
 </a>
<br>


<div class="smalltxt">


 
<br><br>
UID <%#Eval("uid") %><br>
 
发帖数 <%#Eval("forumpostcount") %><br>
回复数 <%#Eval("forumreplycount") %><br>
共计 <%#Eval("forumcount") %><br>
  
</div>
</td>
<td width="82%" valign="top" style="padding: 0px">
<table border="0" cellspacing="0" cellpadding="4" class="t_msg">
<tr><td>
<div>
 <span class="right">&nbsp;</span>
 
<div class="right" style="padding-top: 4px;">


    <asp:Label ID="lbl_op" runat="server" Text=""></asp:Label>
    <a href='Forums_details.aspx?id=<%=id%>&smallid=<%=smallid%>&showuid=<%#Eval("uid") %>'>只看该作者</a>&nbsp;
</div>
  
<div style="padding-top: 4px;">
发表于 <%#Eval("replydate") %>&nbsp;
<a href='../viewprofile.aspx?id=<%#Eval("uid") %>' target="_blank" >资料</a>&nbsp;
<a href='mailto:<%#Eval("email") %>' >
邮件</a>&nbsp;
 </div>

</div>
</td></tr>


<tr><td valign="top" class="line" height="100%" style="padding-top: 10px;">
 <b>
<span  > </span><br><br>
</b>


<div  class="t_msgfont">
<b>
<%#Eval("title") %></b>
<%#Eval("contents") %>
</div>
<br><font style="color: #000000; font: 12px Tahoma, Verdana">
</font>
</td></tr>
<tr><td align="right">
 &nbsp;
</td></tr>


</table></td>




</tr></table>

</div>




	</ItemTemplate>

</asp:Repeater>
 

<!--  /Reply -->

</div>






 
<pg:CollectionPager runat="server" ID="cp2"></pg:CollectionPager>

<table>

<tr>
<td width=150px></td>


<td>
<hr />

 <asp:TextBox ID="txt_quickreply" TextMode="MultiLine" Width="600" Height="100" runat="server"></asp:TextBox>

    <br /><br />
    <asp:Button ID="btn_reply" runat="server" Text="快速回复" onclick="Button1_Click" />   <asp:HyperLink ID="hl_advreply" runat="server">高级回复</asp:HyperLink>
    
    </td>
</tr>
</table>
<br />



  
  <div style=" display:none; width:0px; height:0px;">
  <iframe src="click.aspx?id=<%=id %>" width="0px" height="0px"></iframe>
  </div>
   
   
   
   
           </td>
        
 
        <td width="7" align="right" class="RaCeRight">&nbsp;</td>
      </tr>
    </table></td>
</tr>
</table>

    
    
    
</asp:Content>
