<%@ Page Language="C#" AutoEventWireup="true" Inherits="MyITJob.Admin_FriendManage" Codebehind="FriendManage.aspx.cs" %>

<!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><%=Application["PageTitle"] %>——友 情 链 接 管 理</title>
    <link href="../images/Admin_Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        <table width='100%' border='0' align='center' cellpadding='2' cellspacing='1' class='border'>
                            <tr class='topbg'>
                                <td colspan="2" align='center'>
                                    <strong class="Glow">友 情 链 接 管 理</strong></td>
                            </tr>
                            <tr class='tdbg'>
                                <td width="100" height="30">
                                    <div align="right">
                                        <strong>身份筛选：</strong></div>
                                </td>
                                <td>
                                <%foreach ( ClassLibrary1.strClass.dhClass d in dh) {%>
                                    <a <%= d.id == q("action") ? "class='dhcss'":"" %> href="?action=<%=d.id %>&zt=<%=q("zt") %>"><%=d.name %></a>
                                <%} %>                                    
                                </td>
                            </tr>
                            <tr class='tdbg'>
                                <td width="100" height="30">
                                    <div align="right">
                                        <strong>状态筛选：</strong></div>
                                </td>
                                <td>
                                    <%foreach ( ClassLibrary1.strClass.dhClass d in dh2) {%>
                                    <a <%= d.id == q("zt") ? "class='dhcss'":"" %> href="?zt=<%=d.id %>&action=<%=q("action") %>"><%=d.name %></a>
                                <%} %> 
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            <br />
            <table width='100%' border='0' align='center' cellpadding='6' cellspacing='1' class='border'>
                <tr class='topbg'>
                    <td width="7%" align='center'>
                        <strong class="Glow">序号</strong></td>
                    <td width="13%" align='center'>
                        <strong class="Glow">网站LOGO</strong></td>
                    <td width="31%" align='center'>
                        <strong class="Glow">网站名称</strong></td>
                    <td width="11%" align='center'><strong class="Glow">站长</strong></td>
                    <td width="11%" align='center'><strong class="Glow">类型</strong></td>
                    <td width="8%" align='center'>
                        <strong class="Glow">状态</strong></td>
                    <td width="19%" align='center'>
                        <strong class="Glow">操作</strong></td>
                </tr>
                <asp:Repeater ID="RP1" runat="server">
                    <ItemTemplate>
                        <tr class='tdbg'>
                            <td align='center'>
                                <%#Eval("ID") %>
                            </td>
                            <td align='center'>
                                <a href='<%#Eval("PageUrl") %>' target="_blank"><img src='<%#showpic() %>' height='31' width='81' alt='' style="border:0" /></a>
                            </td>
                            <td align='center'>
                                <%#Eval("PageName") %>
                            </td>
                            <td align='center'><a href='mailto:<%#Eval("UserEmail") %>' target="_blank"><%#Eval("PageUserName")%> </a></td>
                            <td align='center'><%#showtext()%></td>
                            <td align='center'>
                                <%#Eval("PageOk")%>
                            </td>
                            <td align='center'>
                                <a href="../FriendSiteReg.aspx?id=<%#Eval("ID") %>" target="_blank">修改</a> | <a href="FriendManage.aspx?id=<%#Eval("ID") %>&Action=Del"
                                    onclick="return confirm('确定要删除此项吗？此操作不可逆。');">删除</a></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
            </table>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
                    <td width="669" height="18">
                    <div id="paging" runat="server"></div>
                        </td>
                </tr>
            </table>
            <br />
            <span class=style4>备注：</span>如果没有LOGO图标，即表示该用户申请的是“文字链接”。
            <br />
            <table width="100%" border="0" cellspacing="1" cellpadding="3">
                <tr>
                    <td class="topbg">
                        <div align="center">
                            Copyright 2009-2019  <%=Application["PageTitle"] %> All Rights Reserved.</div>
                    </td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
