<%@ page language="C#" autoeventwireup="true" inherits="User_UserZone_School_RoomActiveList, App_Web_p255iqmd" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Register Src="../WebUserControlTop.ascx" TagName="WebUserControlTop" TagPrefix="uc1" %>
<!DOCTYPE HTML>
<html>
<head id="Head1" runat="server">
<title>我的班级</title>
<link href="../../../App_Themes/UserThem/user_user.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div class="us_topinfo">
您现在的位置：<a title="网站首页" href="/" target="_blank"><asp:Label ID="LblSiteName" runat="server" Text="Label"></asp:Label></a> &gt;&gt;<a title="会员中心" href='<%=ResolveUrl("~/User/Default.aspx") %>' target="_parent">会员中心</a>&gt;&gt;<a href="mySchoolList.aspx">我的班级</a>&gt;&gt;班级信息</div>
<uc1:WebUserControlTop ID="WebUserControlTop1" runat="server"></uc1:WebUserControlTop>
<br />
<div class="us_showinfo">
	<div>
		&nbsp;&nbsp;&nbsp;<a href="ShowRoom.aspx?Roomid=<%=RoomID%>"><%=RoomName %></a>
		&gt;&gt; 活动列表<hr /></div>
	<table width="100%"  border="0" cellpadding="0" cellspacing="0">
	<tr>
	<td>
	<a href="addRoomActive.aspx?RoomID=<%=RoomID%>">发起活动</a>
	</td>
	</tr>
		<tr>
			<td valign="top" style="width: 100%" id="tdn" runat="server">
				<asp:GridView ID="GridView1" Width="100%" runat="server" AutoGenerateColumns="False">
					<Columns>
						<asp:TemplateField HeaderText="活动标题">
							<ItemTemplate>
								<a href='ShowRoomActive.aspx?Aid=<%#DataBinder.Eval(Container.DataItem, "AID")%>'><%#DataBinder.Eval(Container.DataItem, "ActiveTitle")%></a>
							</ItemTemplate>
						</asp:TemplateField>
						<asp:TemplateField ItemStyle-HorizontalAlign="center" HeaderText="活动时间" HeaderStyle-Width="30%">
							<ItemTemplate>
								<%#GetDate(DataBinder.Eval(Container.DataItem, "ActiveStateTime").ToString(),DataBinder.Eval(Container.DataItem, "ActiveEndTime").ToString ())%>
							</ItemTemplate>
						</asp:TemplateField>
						<asp:TemplateField ItemStyle-HorizontalAlign="center" HeaderText="我的状态" HeaderStyle-Width="8%">
							<ItemTemplate>
								<%#GetType(DataBinder.Eval(Container.DataItem, "AID").ToString())%>
							</ItemTemplate>
						</asp:TemplateField>
						<asp:TemplateField HeaderText="发起人" HeaderStyle-Width="10%">
							<ItemTemplate>
								<%#GetName(DataBinder.Eval(Container.DataItem, "ActiveUserID").ToString ())%>
							</ItemTemplate>
						</asp:TemplateField>
						<asp:TemplateField HeaderText="活动状态" HeaderStyle-Width="8%" ItemStyle-HorizontalAlign="center">
							<ItemTemplate>
								<%#GetStr(DataBinder.Eval(Container.DataItem, "ActiveStateTime").ToString (),DataBinder.Eval(Container.DataItem, "ActiveEndTime").ToString ())%>
							</ItemTemplate>
						</asp:TemplateField>
					</Columns>
				</asp:GridView>
				
			</td>
		</tr>
		<tr>
			<td align="center">
				共<asp:Label ID="Allnum" runat="server" Text=""></asp:Label>&nbsp;
				<asp:Label ID="Toppage" runat="server" Text=""></asp:Label>
				<asp:Label ID="Nextpage" runat="server" Text=""></asp:Label>
				<asp:Label ID="Downpage" runat="server" Text=""></asp:Label>
				<asp:Label ID="Endpage" runat="server" Text=""></asp:Label>
				页次：<asp:Label ID="Nowpage" runat="server" Text=""></asp:Label>/<asp:Label ID="PageSize" runat="server" Text=""></asp:Label>页
				<asp:Label ID="pagess" runat="server" Text=""></asp:Label>个/页 转到第<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
				</asp:DropDownList>页
			</td>
		</tr>
	</table>
</div>
</div>
</form>
</body>
</html>