<%@ Page CodeBehind="myfriendteam.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Webdisk.myfriendteam" %>
<%@ Register Src="~/userleft.ascx" TagPrefix="uc1" TagName="userleft" %>
<%@ Register Src="~/usertop.ascx" TagPrefix="uc1" TagName="usertop" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>好友分组</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/atlantis.css">
	
</head>
<body>
 <div class="wrapper">
    <!-- begin::navigation -->
         <uc1:usertop runat="server" ID="usertop" />
    <uc1:userleft runat="server" ID="userleft" />
    <!-- end::navigation -->

   <div class="main-panel">

        <div class="content">
            <div class="page-inner">

        <div >

           <div class="card">
			    <div class="card-body">
							<div class="row">&nbsp;&nbsp;&nbsp;&nbsp;<img src="pics/filesys.gif" width="16" height="16" align="absMiddle">&nbsp;&nbsp;&nbsp;&nbsp;<h5><b>好友分组</b></h5></div>
					<form id="Form1" method="post" runat="server">
						 <div class="<%=Webdisk.DAL.Config.IsMobile %>"><asp:datagrid id="DataGrid" runat="server" CssClass="table-hover" PageSize="20" Width="100%" AutoGenerateColumns="False" BorderStyle="None" BorderWidth="0px" GridLines="None" AlternatingItemStyle-CssClass="GridMove">
												<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></div><br>
							 <div class="container">
  <div class="row">
    <div style="text-align:center;margin:0 auto;">
     <div  class="row align-items-center">添加分组： <input class="form-control" style="width:50%" id="txtteam" type="text" size="20" name="txtteam" runat="server">&nbsp;&nbsp;
															<input class="btn btn-outline-light" id="butadd" type="button" value=" 添 加 " name="butadd" runat="server" onserverclick="butadd_ServerClick">
														</div>
    </div>
   
  </div>
</div>
														
										</form>
			    </div>
        </div>

    </div></div></div>
    <!-- end::main content -->
</body>
</html>			
   <script type="text/javascript" src="js/calendar.js"></script>
<script src="js/jquery.3.2.1.min.js"></script>
	<script src="js/popper.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<!-- jQuery UI -->
	<script src="js/jquery-ui.min.js"></script>
	<script src="js/jquery.ui.touch-punch.min.js"></script>
	
	<!-- jQuery Scrollbar -->
	<script src="js/jquery.scrollbar.min.js"></script>
	<!-- Atlantis JS -->
	<script src="js/webfont.min.js"></script>
	<script src="js/atlantis.js"></script>