<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="aggregation_editforumaggset.aspx.cs" Inherits="Discuz.ForumPage.Admin.editforumaggset" %>
<%@ Register TagPrefix="cc1" Namespace="Discuz.Control" Assembly="Discuz.Control" %>
<%@ Register TagPrefix="uc1" TagName="TextareaResize" Src="../UserControls/TextareaResize.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>论坛数据</title>
    	<link href="../styles/datagrid.css" type="text/css" rel="stylesheet" />
		<link href="../styles/dntmanager.css" type="text/css" rel="stylesheet">  
		<script type="text/javascript" src="../js/common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <br />
    &nbsp;<button class="ManagerButton" type="button" onclick="javascript:window.location.href='aggregation_forumaggset.aspx';"><img src="../images/submit.gif" /> 返回</button>
    <br /><br />
    <div>
        <cc1:datagrid id="WebsiteConfig" runat="server" ColumnSpan="5">
					<Columns>
					    <asp:TemplateColumn HeaderText=""><itemstyle width="8%" />
						    <ItemTemplate>
						    	<a href="?tid=<%# DataBinder.Eval(Container, "DataItem.tid").ToString()%>">编辑</a>
						    </ItemTemplate>
					    </asp:TemplateColumn>
						<asp:BoundColumn DataField="title" HeaderText="标题"><itemstyle width="20%" /></asp:BoundColumn>
						<asp:BoundColumn DataField="poster" HeaderText="发帖人"><itemstyle width="20%" /></asp:BoundColumn>
						<asp:BoundColumn DataField="postdatetime" HeaderText="发帖时间"><itemstyle width="30%" /></asp:BoundColumn>						
					</Columns>
				</cc1:datagrid>
    </div>
    <asp:Panel ID="Panel1" runat="server" Visible="false">
    <div class="ManagerForm">
		<fieldset>
		<legend style="background:url(../images/icons/legendimg.jpg) no-repeat 6px 50%;">编辑帖子</legend>
        <table id="Table1" class="table1" cellspacing="0" cellpadding="4" width="100%" border="0">
			<tr>
				<td class="td2" width="20%">标题:</td>
				<td class="td2">
				    <input type="hidden" id="topicid" runat="server" />
					<cc1:TextBox id="title" runat="server" RequiredFieldType="暂无校验" width="200"></cc1:TextBox></td>
			</tr>
			<tr>
				<td class="td1">发帖人:</td>
				<td class="td1">
					<cc1:TextBox id="poster" runat="server" RequiredFieldType="暂无校验" width="200"></cc1:TextBox></td>
			</tr>
			<tr>
				<td class="td2">发帖时间:</td>
				<td class="td2">
					<cc1:TextBox id="postdatetime" runat="server" RequiredFieldType="暂无校验" width="200"></cc1:TextBox>
				</td>
			</tr>
			<tr>
				<td class="td1">内容:</td>
				<td class="td1">
					<uc1:TextareaResize id="shortdescription" runat="server" controlname="shortdescription" Cols="60" Rows="5"></uc1:TextareaResize>
					<button class="TopicButton" type="button" onclick="document.getElementById('shortdescription_posttextarea').value=document.getElementById('fulldescription').value" onmouseover="showhintinfo(this,0,0,'提示','将帖子完整内容读入文本框, 您可自行修改内容长度','50','up')" onmouseout="hidehintinfo()" style="width:250px;"><img src="../images/submit.gif" />读入帖子完整内容</button>
					<input type="hidden" id="fulldescription" runat="server" />
				</td>
			</tr>
		</table>
     </fieldset>
        <div class="Navbutton"><cc1:Button ID="SaveTopic" runat="server" Text="保存" designtimedragdrop="247" OnClick="SaveTopic_Click"></cc1:Button></div>
     </div>
     </asp:Panel>
     
      <cc1:Hint id="Hint1" runat="server" HintImageUrl="../images"></cc1:Hint>
    </form>
    <%=footer%>
</body>
</html>
