<%@ Register TagPrefix="webdiyer" Namespace="Wuqi.Webdiyer" Assembly="AspNetPager" %>
<%@ Register TagPrefix="uc1" TagName="UIFrameLeft" Src="Controls/MUIFrameLeft.ascx" %>
<%@ Register TagPrefix="uc1" TagName="UIFrameTop" Src="Controls/UIFrameTop.ascx" %>
<%@ Register TagPrefix="uc1" TagName="UIHead" Src="Controls/MUIHead.ascx" %>
<%@ Page CodeBehind="MySpace_Friend.aspx.cs" Language="c#" AutoEventWireup="True" Inherits="Typhoto.MySpace_Friend" enableViewState="False"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
  <HEAD>
		<META http-equiv="Content-Type" content="text/html; charset=gb2312">
		
		<script language="JAVASCRIPT">
function over(obj){
try{
obj.className=(obj.className == "GridMove" ? "GridItem" : "GridMove")
}
catch(e){
}
}
		</script>
</HEAD>
	<body class="body_1" scroll="no">
		<form id="Form1" name="Form1" method="post" runat="server">
			<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
				<tr>
					<td height="60"><uc1:uihead id="UIHead1" runat="server"></uc1:uihead></td>
				</tr>
				<tr>
					<td height="10"><uc1:uiframetop id="UIFrameTop1" runat="server"></uc1:uiframetop></td>
				</tr>
				<tr>
					<td>
						<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
							<tr>
								<td class="frame_left_1" vAlign="top" width="193"><uc1:uiframeleft id="UIFrameLeft1" runat="server" Current="MyZips"></uc1:uiframeleft></td>
								<td class="frame_body_1" vAlign="top">
									<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
										<tr>
											<td height="32" colspan="2" class="main_title_1">
												<table cellSpacing="2" cellPadding="3" width="100%" border="0">
													<tr>
														<td width="150"><IMG src="images/icon_user.gif" width="16" height="14" align="absMiddle">
															&nbsp; 我的好友
														</td>
														<td align="center"><span id="dMessage" runat="server"></span></td>
														<td align="right" width="180"><A href="javascript:history.back();"><IMG src="images/link_back.gif" align="absMiddle"></A></td>
													</tr>
												</table>
											</td>
										</tr>
										<tr>
											<td colspan="2" vAlign="top" class="main_content_0">
												<asp:datagrid id="DataGrid" runat="server" CssClass="GridBody" PageSize="20" Width="100%" AutoGenerateColumns="False"
													AllowSorting="True" CellPadding="5">
<AlternatingItemStyle CssClass="GridLine">
</AlternatingItemStyle>

<ItemStyle CssClass="GridItem">
</ItemStyle>

<HeaderStyle CssClass="GridHead">
</HeaderStyle>

<Columns>
<asp:TemplateColumn HeaderText="好友用户名">
<HeaderStyle HorizontalAlign="Center" Width="20%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<ItemTemplate>
<a href='<%# TowUrl(DataBinder.Eval(Container.DataItem, "FriendName").ToString()) %>' target=_blank><%# DataBinder.Eval(Container, "DataItem.FriendName") %></a>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="albumcount" SortExpression="albumcount" HeaderText="相册数">
<HeaderStyle HorizontalAlign="Center" Width="7%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="photocount" SortExpression="photocount" HeaderText="照片数">
<HeaderStyle HorizontalAlign="Center" Width="7%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="clickcount" SortExpression="clickcount" HeaderText="人气">
<HeaderStyle HorizontalAlign="Center" Width="7%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:BoundColumn DataField="spacetitle" SortExpression="spacetitle" HeaderText="空间标题">
<HeaderStyle HorizontalAlign="Center">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>
</asp:BoundColumn>
<asp:TemplateColumn HeaderText="查看空间">
<HeaderStyle HorizontalAlign="Center" Width="10%">
</HeaderStyle>

<ItemStyle HorizontalAlign="Center">
</ItemStyle>

<ItemTemplate>
																<a href='<%# TowUrl(DataBinder.Eval(Container.DataItem, "FriendName").ToString()) %>' target=_blank>
																	查看空间</a>
															
</ItemTemplate>
</asp:TemplateColumn>
</Columns>

<PagerStyle PageButtonCount="20" Mode="NumericPages">
</PagerStyle>
												</asp:datagrid></td>
										</tr>
										<tr>
											<td height="32" colspan="2" class="main_title_1">
												<table width="100%">
													<tr>
														<td id="tdStat" align="right" width="92%" runat="server">
															<webdiyer:AspNetPager id="Pager" runat="server" PageSize="24" HorizontalAlign="Right" AlwaysShow="True"
																ShowCustomInfoSection="Left" NumericButtonCount="15" ShowBoxThreshold="21" 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" UrlPaging="True" onpagechanged="Pager_PageChanged"></webdiyer:AspNetPager></td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</HTML>
