<%@ Page Language="C#" AutoEventWireup="true" Codebehind="applist.aspx.cs" Inherits="JuSNS.Web.app.applist" %>

<!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>
    <title id="ptitle" runat="server">应用列表</title>

    <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/acc.gif"
                                    align="absmiddle" />
                                <span class="bold shenlan font14 ocolor">应用程序</span>
                            </div>
                            <div class="r">
                                <a href="javascript:history.back();">返回上一级</a>
                            </div>
                            <div class="c">
                            </div>
                        </div>
                        <div class="nav-menu">
                            <ul>
                                <li runat="server"><a href="index.aspx">我的应用</a></li>
                                <li id="hotapp" runat="server"><a href="applist.aspx?hot=hot">热门</a></li>
                                <li id="allapp" runat="server"><a href="applist.aspx">最新</a></li>
                                <asp:Repeater ID="apptypelist" runat="server">
                                    <ItemTemplate>
                                        <li class="<%# DataBinder.Eval(Container.DataItem, "typeclass") %>"><a href="applist.aspx?t=<%# DataBinder.Eval(Container.DataItem, "type") %>"><%# DataBinder.Eval(Container.DataItem, "typestr") %></a></li>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </ul>
                        </div>
                    </div>
                    <div class="body_sec_all">
                        <div class="app-all-wrap">
                            <div class="app-all-list">
                                <asp:Repeater ID="myapplist" runat="server">
                                    <HeaderTemplate>
                                        <ul>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <li>
                                            <p class="image">
                                                <a href="appinfo.aspx?id=<%# DataBinder.Eval(Container.DataItem, "AppID") %>">
                                                    <img src="<%# GetAppIcon(DataBinder.Eval(Container.DataItem, "MidIcon")) %>" width="150px" height="150px" /></a></p>
                                            <div class="info">
                                                <h4>
                                                    <a href="appinfo.aspx?id=<%# DataBinder.Eval(Container.DataItem, "AppID") %>"><%# DataBinder.Eval(Container.DataItem, "AppName") %></a></h4>
                                                <h5>
                                                    由<span><a href="<%# GetSpaceLink(DataBinder.Eval(Container.DataItem, "UserID")) %>"><%# GetUserName(DataBinder.Eval(Container.DataItem, "UserID")) %></a></span>提供</h5>
                                                <p>
                                                   <%# DataBinder.Eval(Container.DataItem, "Description") %>
                                                </p>
                                            </div>
                                        </li>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ul></FooterTemplate>
                                </asp:Repeater>
                            </div>
                        </div>
                        <div class="pagination" runat="server" id="DivPage">
                        </div>
                    </div>
                    <div class="spline">
                    </div>
                </div>
            </div>
            <!--底部-->
            <div class="divbottom">
                <%=this.GetHtmlFoot()%>
            </div>
        </div>
    </div>
</body>
</html>
