<%@ Page Language="C#" MasterPageFile="~/home/main.Master" AutoEventWireup="true"  Codebehind="index.aspx.cs" Inherits="ZYDN.Web.home.index" Title="主页" %>
<%@ MasterType VirtualPath="~/home/main.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="R_BGDIV">
        <div id="R_Top">
        </div>
        <div>
            <div id="R_Left">
                <div id="R_Photo1">
                    <div id="R_userPhoto"><% wIMG(); %></div>
                </div>
                <div id="R_userInfo">
                    <div id="R_userName">
                        <asp:Label ID="hostName" runat="server" Text="" CssClass="R_userName"></asp:Label>
                    </div>
                    <div>
                        <asp:Label ID="clickCount" runat="server" Text="" CssClass="R_userClickCount"></asp:Label>
                    </div>
                    <div id="R_signDiv">
                        <asp:Label ID="signText" runat="server" Text="" CssClass="R_userClickCount"></asp:Label>
                    </div>
                </div>
                <div id="R_leftBody"  style="background-color:#ffffff;">
                     <div style="width:100%; height:100%;">  
                         <div style="width: 100%;" class="topOptionList" id="indexTabDiv">                                                    
                                <div class="optionCar" id="1" style="margin-left:5px;">日志</div>
                                <div class="optionCar_1" id="2">相册</div>
                                <div class="optionCar_1" id="3">音乐</div>
                          </div>
                          <div class='topOptionListBody'> 
                                <div id="indexTabBodyDiv" style=" text-align:center; width:100%;height:700px;">
                                      <div class="loadCss">努力加载中...</div>
                                </div>
                          </div>                             
                     </div>
                </div>
            </div>
            <div id="R_Right">
                <div id="userListDiv">
                    <asp:Label ID="userListType" runat="server" Text=""></asp:Label>
                    <asp:Repeater ID="userList" runat="server">
                        <ItemTemplate>
                            <div style="width: 49%; text-align: center; overflow: hidden; float: left;">
                                <div class="myUserList" style="filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);"  id="myFriendDiv<%# DataBinder.Eval(Container, "DataItem.userID")%>">
                                    <img id="myFriendList" name="myFriendList" alt="<%# DataBinder.Eval(Container, "DataItem.userName")%>" onload="setImgWH(this)" src="<%# DataBinder.Eval(Container, "DataItem.userPhoto")%>">
                                </div>
                                <a href="index.aspx?user=<%# DataBinder.Eval(Container, "DataItem.userName")%>">
                                    <%# DataBinder.Eval(Container, "DataItem.userName")%>
                                </a>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    <div style="height: 50px; width:100%; clear:both;">
                    </div>
                    <asp:Label ID="HaveText" runat="server" Text=""></asp:Label>
                    <asp:Repeater ID="HaveList" runat="server">
                        <ItemTemplate>
                            <div style="width: 150px; text-align:center;" id="aUserList<%# DataBinder.Eval(Container, "DataItem.id")%>">
                            
                            <div class="myUserList">
                                    <img onload="setImgWH(this)" src="<%# DataBinder.Eval(Container, "DataItem.userPhoto")%>">
                                </div>
                            
                                <div style="width: 95px; float: left; overflow: hidden;">
                                    <a href="index.aspx?user=<%# DataBinder.Eval(Container, "DataItem.userName")%>">
                                        <%# DataBinder.Eval(Container, "DataItem.userName")%>
                                    </a>
                                </div>
                                <div style="width: 26px; float: left; color: #808080; cursor: hand;" onclick="ApproveBunch(<%# DataBinder.Eval(Container, "DataItem.id")%>,1)">
                                    批准</div>
                                <div style="width: 26px; float: left; color: #808080;" onclick="ApproveBunch(<%# DataBinder.Eval(Container, "DataItem.id")%>,0)">
                                    删除</div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                   
                </div>
            </div>
        </div>
    </div>
    <div id="R_Bottom"></div>
    <script language="javascript" type="text/javascript">readOnlineFriend();</script>
    <script language="javascript" type="text/javascript" src="js/index.js"></script>
    <script language="javascript" type="text/javascript" src="js/editorDate.js"></script>
</asp:Content>
