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

<!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>
    <script type="text/javascript" src="js/1.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 id="myapp" class="current" 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-user-table">
                            <table class="s90">
                                <asp:Repeater ID="myapplist" runat="server">
                                    <ItemTemplate>
                                        <tr id="tr<%# Eval("AppID") %>">
                                            <td class="app-user-icon">
                                                <a href="appinfo.aspx?id=<%# DataBinder.Eval(Container.DataItem, "AppID") %>">
                                                    <img src="<%# GetAppIcon(DataBinder.Eval(Container.DataItem, "Icon")) %>" /></a></td>
                                            <td class="app-user-info">
                                                <a href="appinfo.aspx?id=<%# DataBinder.Eval(Container.DataItem, "AppID") %>"><%# DataBinder.Eval(Container.DataItem, "AppName") %></a></td>
                                            
                                            <td class="app-user-status" id="app-user-status-<%# DataBinder.Eval(Container.DataItem, "AppID") %>">
                                            </td>
                                            <td class="app-user-action">
                                            <a class="app-uninstall" href="javascript:void(0);" onclick="deleteApp(<%# Eval("AppID") %>)">删除</a>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                        </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>
   