<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RuanJianLanMu.aspx.cs" Inherits="Admin_NeiRong_RuanJianLanMu" %>

<!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 runat="server">
    <title>无标题页</title>
    <link rel="Stylesheet" href="../Images/Admin.css" type="text/css" />
    <script type="text/javascript" src="../Images/Admin.js"></script>
</head>
<body>
    <div style="height:18px">
    位置：软件栏目
    </div>
    
    <div style="font-size:5px">&nbsp;</div>
    <div class="div_yy" style="height:26px">
    <form method="get" action="RuanJianLanMu.aspx">
        <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
            <tr>
                <td style="width:60%">
                <input type="button" value="增加软件" onclick="location.href='RuanJian_ZengJia_XuanZhe.aspx'" /> 
                <!--input type="button" value="导入软件" onclick="location.href='DaoRuRuanJian.aspx?ID=<%=ID %>'" /-->
                <input type="button" value="审核软件" onclick="location.href='ShengHeRuanJian.aspx'" />
                <input type="button" value="回收软件" onclick="location.href='RuanJian_HuiShou.aspx'" />
                <input type="button" value="评论管理" onclick="location.href='RuanJian_PingLun.aspx'" />
                </td>
                <td style="width:40%">
                关键字：<input type="text" name="g" value="<%=Server.HtmlEncode(文字) %>" />
                <input type="submit" value="搜索" />
                <input type="hidden" name="l" value="s" />
                </td>
            </tr>
        </table>
    </form>
    </div>
    <div style="font-size:5px">&nbsp;</div>
    <form id="form1" runat="server">
    <div>
    
        <table class="tab1" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table class="tab2" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="tab2_bt">
                            软件列表
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False"
                                    CellSpacing="1" CssClass="tab3" GridLines="None" OnSorting="GridView1_Sorting">
                                    <Columns>
                                        <asp:TemplateField HeaderText="&lt;input type=&quot;checkbox&quot; onclick=&quot;this.checked?QuanXuan('d'):BuXuan('d')&quot; /&gt;ID" SortExpression="ID">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                            <ItemTemplate>
                                                <input type="checkbox" name="d" value="<%# Eval("ID") %>" /><%# Eval("ID") %>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="标题">
                                            <HeaderStyle Width="30%" />
                                            <ItemStyle Width="30%" />
                                            <ItemTemplate>
                                            <%# (Convert.ToBoolean(Eval("是否推荐"))?"<font color=\"#ff0000\">[推]</font>":"")+(Convert.ToBoolean(Eval("是否审核"))?"<font color=\"#ff0000\">[审]</font>":"")+UUN.常用.强调关键字(Eval("标题").ToString(),文字,true) %>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="发布时间" HeaderText="发布时间" SortExpression="发布时间">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="收藏数" HeaderText="收藏数" SortExpression="收藏数">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                        </asp:BoundField>
                                        <asp:BoundField DataField="点击数" HeaderText="点击数" SortExpression="点击数">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="评论数" SortExpression="评论数">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                            <ItemTemplate>
                                            <%# Eval("评论数") %>条
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="修改">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                            <ItemTemplate>
                                                <a href="RuanJian_XiuGai.aspx?ID=<%# Eval("ID") %>&amp;rurl=<%=Server.UrlEncode(Request.Url.ToString()) %>">修改</a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText="删除">
                                            <HeaderStyle Width="10%" />
                                            <ItemStyle Width="10%" />
                                            <ItemTemplate>
                                                <a href="RuanJian_ShanChu.aspx?ID=<%# Eval("ID") %>&amp;rurl=<%=Server.UrlEncode(Request.Url.ToString()) %>" onclick="if(!confirm('真的要删除吗？')){return false;}">删除</a>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
        <asp:HiddenField ID="PaiXuZiDuan" runat="server" Value="ID" />
        <asp:HiddenField ID="PaiXuFangXiang" runat="server" Value="true" />
        <asp:Label ID="CaoZuoDaiMa" runat="server"></asp:Label>
    </form>
    <div style="height:5px"></div>
        <form method="get" action="RuanJianLanMu.aspx">
        <asp:Panel ID="Panel1" runat="server" Style="text-align: right" Width="100%">
            <asp:Label ID="FenYeDaiMa" runat="server" Text="Label"></asp:Label></asp:Panel>
            </form>
</body>
</html>
