-
Notifications
You must be signed in to change notification settings - Fork 1
/
myfriendslist.aspx
80 lines (75 loc) · 4.18 KB
/
myfriendslist.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<%@ Page Language="C#" MasterPageFile="~/SiteTemplate2.master" EnableViewState="false" AutoEventWireup="true" CodeFile="myfriendslist.aspx.cs" Inherits="myfriendslist" Title="My friends list" %>
<%@ Register TagPrefix="ucl" TagName="sidemenu" Src="Control/sidemenu.ascx" %>
<%@ Register TagPrefix="ucl" TagName="usersearchtab" Src="Control/usersearchtab.ascx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="LeftPanel" Runat="Server">
<ucl:sidemenu id="menu1" runat="server"></ucl:sidemenu>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<ucl:usersearchtab id="searchusercont" runat="server"></ucl:usersearchtab>
<div style="margin-left: 10px; margin-bottom: 12px; margin-right: 12px; background-color: #FFF9EC; margin-top: 0px;">
<a href="default.aspx" class="dsort" title="Back to recipe homepage">Home</a> <span class="bluearrow">»</span> <span class="content2">You are here: My Friends List</span>
</div>
<div style="margin-left: 15px;">
<table border="0" cellpadding="2" align="left" cellspacing="2" width="75%">
<tr>
<td width="68%">
<fieldset><legend><asp:Label runat="server" id="lblusernameheader" EnableViewState="false" /></legend>
<div style="padding-top: 8px;">
<asp:Label runat="server" id="lblyouarenotlogin" Visible="false" CssClass="content12" EnableViewState="false" />
<asp:Panel ID="HideContentIfNotLogin" runat="server">
<div style="margin-top: 5px; margin-bottom: 17px;">
<asp:Label runat="server" id="lblcounter" CssClass="content12" EnableViewState="false" />
</div>
<asp:Panel ID="PanelUnApprovedFriends" Visible="false" runat="server" style="margin-top: 5px; margin-bottom: 20px;">
<asp:Label runat="server" id="lblcountunpprovednewfriends" CssClass="content12" EnableViewState="false" />
</asp:Panel>
<asp:Label runat="server" CssClass="content2" id="lblnofriends" EnableViewState="false" />
<asp:Repeater id="MyFriendsList" runat="server" OnItemDataBound="MyFriendsList_ItemDataBound">
<ItemTemplate>
<div class="dcnt2" style="margin-top: 6px;">
<asp:Label ID="lblDelete" runat="server" CssClass="thickbox" EnableViewState="false" /> <img src="images/user-icon.gif" /> <a class="content12" title="View <%# Eval("Username") %> friend" onmouseover="Tip('<b>User name:</b> <%# Eval("Username") %><br><b>Full name:</b> <%# Eval("FirstName") %> <%# Eval("LastName") %><br><b>Country:</b> <%# Eval("Country") %><br><b>Profile views:</b> (<%# Eval("Hits") %>)<br><b>Date joined:</b> <%# Eval("DateJoined", "{0:M/d/yyyy}")%><br><b>Last visit:</b> (<%# Eval("LastVisit") %>)<br>Added to Friends List on: <%# Eval("Date", "{0:M/d/yyyy}")%><br><b>Photo:</b><br><img src="UserImages/<%# Eval("Photo")%>" width="160" height="140">', BGCOLOR, '#FFFBE1', BORDERCOLOR, '#acc6db')" onmouseout="UnTip()" href='userprofile.aspx?uid=<%# Eval("FriendID") %>'><%# Eval("Username")%></a>
</div>
<div id="confirmModal<%# Eval("ID")%>" style="display:none;">
<div class="confirm">
<div class="message">
<img src="images/icon_confirm.gif" alt="confirm icon" style="float: left; margin-right: 10px;" /> Are you sure you want to remove <span style="color:#266B91"><b><%# Eval("Username")%></b></span> from your Friends List?
</div>
<div class="commands" style="text-align: center;">
<input type="button" value="Yes" class="submitpopupmodal" onclick="sendRequestDeleteAFriend('<%# Eval("FriendID")%>')"> <input type="button" value="No" class="submitpopupmodal" onclick="tb_remove(); return false;">
</div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
</asp:Panel>
</div>
</fieldset>
</td>
</tr>
</table>
</div>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</asp:Content>