<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="top.aspx.cs" Inherits="JuSNS.Web.home.Movie.top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title id="ptitle" runat="server">排行榜</title>
<script language="javascript" type="text/javascript" src="/js/ajControl.js"></script> 
<script language="javascript" type="text/javascript" src="/js/ajax.js"></script>
<script language="javascript" type="text/javascript" src="/js/public.js"></script>
<link href="/template/<% Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/css/base.css"   id="skinpath" type="text/css" rel="stylesheet" />
</head>
<body>
  <!--头部-->
   <%=this.GetHtmlShort()%> 
    <div id="divhead">
        <%=this.GetHtmlHead()%>
    </div>
    <div id="divbody">
        <div id="body_first">
            <div class="body_menu">
                <%=this.GetHtmlLeft()%>
            </div>
        </div>
        <div id="body_sec">
        
            <div id="body_mid">
                <div class="body_frame">
                    <!--主题内容中-->
                    <div class="body_frame_otherinfo">
                        <div class="title">
                            <div class="l">
                                <img src="/template/<%Response.Write(JuSNS.Config.UiConfig.SkinStyle); %>/images/site/movie.gif" align="absmiddle" />
                                <span class="bold shenlan font14 ocolor">电影排行榜</span></div>
                            <div class="r">
                                <form id="form_Search" runat="server"> 
                                 <input type="text" id="moviename" class="f-text" runat="server" />
                                 <input type="button" class="f-button" value="搜索电影，视频" onclick="javascript:self.location='index.aspx?r=all&key='+escape(document.form_Search.moviename.value);" />
                                </form>
                            </div>
                            <div class="c">
                            </div>
                        </div>
                        <div class="nav-menu">
                            <ul>
                                    <li><a href="/home/movie">好友的电影</a></li>
                                    <li><a href="/home/movie/?r=my">我的电影</a></li>
                                    <li><a href="/home/movie/?r=all">所有电影</a></li>
                                    <li class="current"><a href="/home/movie/top.aspx">排行榜</a></li>
                            </ul>
                        </div>
                    </div>
                    <div class="body_sec_all">
                        <asp:Literal ID="Lit_SortName" runat="server"></asp:Literal>
                        <div class="spline"></div>
                        <div class="movie-chart-itemp">
                        <asp:Repeater ID="Rpt_TopFriend" runat="server">
                            <ItemTemplate>
                                <li <%#getCss(DataBinder.Eval(Container.DataItem, "UserID")) %>>
                                    <div class="movie-chart-item">
                                        <span class="order">第
                                            <%#DataBinder.Eval(Container.DataItem, "Num") %>
                                            名</span><span class="name"><a href="../../user?r=<%# DataBinder.Eval(Container.DataItem, "UserID")%>"><%# DataBinder.Eval(Container.DataItem, "Username")%></a></span><span
                                                class="score"><span
                                                    title="<%# DataBinder.Eval(Container.DataItem, "Username")%>看过 <%# DataBinder.Eval(Container.DataItem, "Cnt")%> 部电影"><%# DataBinder.Eval(Container.DataItem, "Cnt")%></span></span>
                                        <p title="<%# DataBinder.Eval(Container.DataItem, "Username")%>看过 <%# DataBinder.Eval(Container.DataItem, "Cnt")%> 部电影">
                                            <span style="width: <%# getWidth(DataBinder.Eval(Container.DataItem, "Cnt"))%>px"></span>
                                        </p>
                                    </div>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                     </div>
                    </div>
                    
                    
                    </div>
                <!--底部-->
                <div class="divbottom">
                    <%=this.GetHtmlFoot()%>
                </div>                    
                    
                    </div>
                    </div>
                    </div>
                    
</body>
</html>
