<%@ Import Namespace="ASPNET.StarterKit.Portal" %>
<%@ Register TagPrefix="ASPNETPortal" TagName="Banner" Src="~/DesktopPortalBanner.ascx" %>
<%@ Page language="c#" CodeBehind="DiscussDetails.aspx.cs" AutoEventWireup="false" Inherits="ASPNET.StarterKit.Portal.DiscussDetails" %>
<HTML>
	<HEAD>
		<link href='<%= Global.GetApplicationPath(Request) + "/ASPNETPortal.css" %>' type="text/css" rel="stylesheet">
	</HEAD>
	<body bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" marginwidth="0" marginheight="0">
		<form name="form1" runat="server">
			<table cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr vAlign="top">
					<td colSpan="2">
						<ASPNETPortal:banner id="Banner1" runat="server" ShowTabs="false"></ASPNETPortal:banner>
					</td>
				</tr>
				<tr vAlign="top">
					<td width="10%">
						&nbsp;
					</td>
					<td>
						<br>
						<table cellSpacing="0" cellPadding="0" width="600">
							<tr>
								<td align="left">
									<span class="Head">消息细节</span>&nbsp;
								</td>
								<td align="right">
									<asp:panel id="ButtonPanel" runat="server"><A class="CommandButton" id="prevItem" title="Previous Message" runat="server">
											<IMG 
            src='<%=Global.GetApplicationPath(Request) + "/images/rew.gif"  %>' 
            border=0></A>&nbsp; <A class="CommandButton" id="nextItem" title="Next Message" runat="server"><IMG 
            src='<%=Global.GetApplicationPath(Request) + "/images/fwd.gif"  %>' 
            border=0></A>&nbsp; 
<asp:LinkButton id="ReplyBtn" runat="server" Text="Reply to this Message" Cssclass="CommandButton"
											EnableViewState="false">回复此消息</asp:LinkButton>
                                    </asp:panel>
								</td>
							</tr>
							<tr>
								<td colSpan="2">
									<hr noShade SIZE="1">
								</td>
							</tr>
						</table>
						<asp:panel id="EditPanel" runat="server" Visible="false">
							<TABLE cellSpacing="0" cellPadding="4" width="600" border="0">
								<TR vAlign="top">
									<TD class="SubHead" width="150">标题：&nbsp;</TD>
									<TD rowSpan="4">&nbsp;
									</TD>
									<TD width="*">
										<asp:TextBox id="TitleField" runat="server" cssclass="NormalTextBox" width="500" columns="40"
											maxlength="100"></asp:TextBox></TD>
								</TR>
								<TR vAlign="top">
									<TD class="SubHead">内容：&nbsp;</TD>
									<TD width="*">
										<asp:TextBox id="BodyField" runat="server" width="500" columns="59" TextMode="Multiline" Rows="15"></asp:TextBox></TD>
								</TR>
								<TR vAlign="top">
									<TD>&nbsp;
									</TD>
									<TD>
										<asp:LinkButton class="CommandButton" id="updateButton" runat="server" Text="Submit">提交</asp:LinkButton>&nbsp;
										<asp:LinkButton class="CommandButton" id="cancelButton" runat="server" Text="Cancel" CausesValidation="False">取消</asp:LinkButton>&nbsp;
									</TD>
								</TR>
								<TR vAlign="top">
									<TD class="SubHead">原始消息：&nbsp;</TD>
									<TD>&nbsp;
									</TD>
								</TR>
							</TABLE>
						</asp:panel>
						<table cellSpacing="0" cellPadding="4" width="600" border="0">
							<tr vAlign="top">
								<td class="Message" align="left"><STRONG><B>标题：</B>&nbsp;</STRONG>
									<asp:label id="Title" runat="server"></asp:label>
									<br>
									<b>作者：&nbsp; </b>
									<asp:label id="CreatedByUser" runat="server"></asp:label>
									<br>
									<b>日期：&nbsp; </b>
									<asp:label id="CreatedDate" runat="server"></asp:label>
									<br>
									<br>
									<asp:label id="Body" runat="server"></asp:label>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
