<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<%@ Page CodeBehind="myfriendteam.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.myfriendteam" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		<% @ Import Namespace="Webdisk" %>
		<link href="<%=xml.GetStyle()%>" type=text/css rel=stylesheet>
			<style type="text/css">.STYLE4 { FONT-WEIGHT: bold }
	</style>
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<br>
			<div align="center">
				<TABLE cellSpacing="0" cellPadding="0" width="98%" align="center">
					<TR>
						<TD width="5" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_01.gif" width="5"></TD>
						<TD width="874" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_02.gif" width="5"></TD>
						<TD><IMG height="5" src="pics/wenbenkuan_03.gif" width="5"></TD>
					</TR>
					<TR>
						<TD background="pics/wenbenkuan_04.gif">&nbsp;</TD>
						<TD background="pics/wenbenkuan_05.gif" bgColor="#ffffff"><TABLE width="100%">
								<TR>
									<TD class="tabletop"><img src="pics/users.gif" width="18" height="18" align="absmiddle"> 我的好友分组&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1);"><img src="pics/link_back.gif" border="0" align="absmiddle"></a></TD>
								<TR class="tablebg">
									<TD class="STYLE4">
										<div align="center"><asp:datagrid id="DataGrid" runat="server" CssClass="GridBody" PageSize="20" Width="100%" AutoGenerateColumns="False">
												<AlternatingItemStyle CssClass="GridLine"></AlternatingItemStyle>
												<ItemStyle CssClass="GridItem"></ItemStyle>
												<HeaderStyle CssClass="GridHead"></HeaderStyle>
												<Columns>
													<asp:BoundColumn Visible="False" DataField="id" ReadOnly="True"></asp:BoundColumn>
													<asp:BoundColumn DataField="friendteam" SortExpression="friendteam" HeaderText="分组名称">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:BoundColumn>
													<asp:TemplateColumn HeaderText="好友个数">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
														<ItemTemplate>
															<%# showcount(DataBinder.Eval(Container, "DataItem.id").ToString()) %>
														</ItemTemplate>
													</asp:TemplateColumn>
													<asp:HyperLinkColumn Text="列出好友" DataNavigateUrlField="id" DataNavigateUrlFormatString="myfriend.aspx?team={0}"
														HeaderText="列出好友">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:HyperLinkColumn>
													<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="更新" HeaderText="修改" CancelText="取消" EditText="修改">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:EditCommandColumn>
													<asp:ButtonColumn Text="删除" HeaderText="删除" CommandName="Delete">
														<HeaderStyle HorizontalAlign="Center"></HeaderStyle>
														<ItemStyle HorizontalAlign="Center"></ItemStyle>
													</asp:ButtonColumn>
												</Columns>
												<PagerStyle Visible="False" PageButtonCount="20" Mode="NumericPages"></PagerStyle>
											</asp:datagrid><webdiyer:aspnetpager id="Pager" runat="server" PageSize="20" ShowBoxThreshold="21" NumericButtonCount="15"
												ShowCustomInfoSection="Left" AlwaysShow="True" HorizontalAlign="Right" FirstPageText="<font face=webdings>9</font>"
												PrevPageText="<font face=webdings>3</font>" NextPageText="<font face=webdings>4</font>" LastPageText="<font face=webdings>:</font>"
												Height="20px"></webdiyer:aspnetpager><br>
											<table width="100%" border="0">
												<tr>
													<td>
														<div align="center">添加分组： <input class="kuan" id="txtteam" type="text" size="20" name="txtteam" runat="server">
															<input class="btn" id="butadd" type="button" value=" 添 加 " name="butadd" runat="server" onserverclick="butadd_ServerClick">
														</div>
													</td>
												</tr>
											</table>
										</div>
									</TD>
								</TR>
							</TABLE>
						</TD>
						<TD width="5" background="pics/wenbenkuan_06.gif"><IMG height="5" src="pics/wenbenkuan_06.gif" width="5"></TD>
					</TR>
					<TR>
						<TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_07.gif" width="5"></TD>
						<TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_08.gif" width="5"></TD>
						<TD><IMG height="5" src="pics/wenbenkuan_09.gif" width="5"></TD>
					</TR>
				</TABLE>
			</div>
		</form>
	</body>
</HTML>
