<%@ page language="C#" autoeventwireup="true" inherits="Admin_ContentManagement_FriendsLinksList, ShopWe" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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 href="../css/my.css" rel="stylesheet" type="text/css" />
    <link href="../JS/TableSort/tablesort.css" rel="stylesheet" type="text/css" />
    <link href="../css/volti.css" rel="stylesheet" type="text/css" />
    <link href="../Themes/Default/Plugin/ThickBox/thickbox.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../css/jquery.js"></script>

    

    <script type="text/javascript" src="../css/admin.js"></script>

    <script type="text/javascript" src="../Themes/Default/Plugin/ThickBox/thickbox.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <table width="100%" border="0" cellspacing="0" cellpadding="0" class="name">
            <tr>
                <td>
                    <h4>
                        <img src="../css/images/help.png" width="10" height="10" alt="帮助" />
                        帮助：选中你要删出的链接，请点击</h4>
                    <asp:Button ID="DeleteSelect" runat="server" Text="删除链接" OnClick="DeleteSelect_Click"
                        CssClass="butt_tle" Height="22px" Width="70px" />
                    <h4>
                        <img src="../css/images/help.png" width="10" height="10" alt="帮助" />
                        帮助：如果你需要添加新的链接，请点击</h4>
                    <a href="AddFriendsLinks.aspx" class="blue_ys">
                        <img src="../Themes/Default/Images/add.png" />
                        添加链接</a>
                </td>
            </tr>
        </table>
        <div id="all">
            <div class="k_all3">
                <table width="100%" cellpadding="0" cellspacing="0" id="bk" >
                    <thead>
                        <tr>
                            <th style="width: 30px">
                                <input id="ChkAll" type="checkbox" onclick="Check(this,'CheckBoxSelect','RepeaterTable')" />
                            </th>
                            <th style="width: 150px">
                                友情链接名称
                            </th>
                            <th style="width: 150px">
                                网站链接
                            </th>
                            <th style="width: 150px">
                                网站LOGO
                            </th>
                            <th style="width: 70px">
                                前台显示</th>
                            <th>
                                操作
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        <asp:Repeater ID="RepeaterTable" runat="server" OnItemCommand="RepeaterTable_ItemCommand">
                            <ItemTemplate>
                                <tr>
                                    <td>
                                        <asp:CheckBox ID="CheckBoxSelect" runat="server" ToolTip='<%# Eval("FriendsLinksGuid") %>'
                                            BorderStyle="None" BorderWidth="0px" />
                                    </td>
                                    <td>
                                        <%# Eval("FriendsLinksName")%>
                                    </td>
                                    <td>
                                        <%# Eval("FriendsLinksUrl")%>
                                    </td>
                                    <td>
                                        <asp:Image ID="ImageLogo" ImageUrl='<%# Eval("FriendsLinksImage")%>' runat="server"
                                            Width="88px" Height="31px"  CssClass="img_sx"/>
                                    </td>
                                    <td>
                                        <asp:ImageButton ID="ImageButtonIsShow" CommandArgument='<%# Eval("FriendsLinksGuid")%>'
                                            ImageUrl='<%# GetIsShowImg(new Guid(Eval("FriendsLinksGuid").ToString()))%>'
                                            runat="server" />
                                    </td>
                                    <td>
                                        <img src="../Themes/Default/Images/bj.png" alt="修改链接" />
                                        <a href='AddFriendsLinks.aspx?id=<%# Eval("FriendsLinksGuid") %>&keepThis=true&placeValuesBeforeTB_=savedValues&TB_iframe=true&height=400&width=740'
                                            class="thickbox" title="修改友情链接">修改</a>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </tbody>
                </table>
            </div>
            <div class="k_all3">
                <div id="bk_line">
                    <div class="txte">
                         <img src="../Themes/Default/Images/bj.png" /> <asp:Literal ID="CountItem" runat="server"></asp:Literal>
                    </div>
                    <webdiyer:AspNetPager ID="AspNetPagerItem" runat="server" AlwaysShow="True" CssClass="yahoo2"
                        OnPageChanged="AspNetPagerItem_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </form>
</body>
</html>
