<%@ page language="C#" autoeventwireup="true" inherits="User_MyBlackList, App_Web_rwk2bofy" %>
<%@ Register src="../Inc/Header1.ascx" tagname="Header1" tagprefix="uc1" %>
<%@ Register src="../Inc/Footer1.ascx" tagname="Footer1" tagprefix="uc2" %>
<%@ Register src="../Inc/YanZen.ascx" tagname="YanZen" tagprefix="uc3" %>
<%@ Register src="../Inc/Menu.ascx" tagname="Menu" tagprefix="uc4" %>

<!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><%=WebTitle%></title>
    <%=WebKeyWords%>
	<%=WebDescription%>
    <link href="../Inc/Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <uc3:YanZen ID="YanZen1" runat="server" />
    <uc1:Header1 ID="Header11" runat="server" />
    <uc4:Menu ID="Menu1" runat="server" />
    
    <div class="UserBody">
        <%--左侧导航开始--%>
        <div class="LeftMenu">
            <div style="background-color:#126FB0; height:2px;"></div>
            <div style="height:10px;"></div>
            <div class="Link1"><a href="/User/">首页</a></div>
            <div class="clear"></div>
            <div style="height:10px;"></div>
            <div class="MenuLine1"></div>
            <div class="MenuTit1">应用信息</div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/MyJiaoYi.aspx">交易明细</a></div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/YanZhen.aspx">帐户认证</a></div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/MySms.aspx">站内短信</a></div>
            <div class="clear"></div>
            <div class="Link2_1"><a href="/User/MyBlackList.aspx">我的黑名单</a></div>
            <div class="clear"></div>
            <div style="height:10px;"></div>
            
            <div class="MenuLine1"></div>
            <div class="MenuTit1">资金操作</div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/ChongZhi.aspx">帐户充值</a></div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/TiXian.aspx">提现申请</a></div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/VIP.aspx">申请VIP</a></div>
            <div class="clear"></div>
            <div style="height:10px;"></div>
            
            <div class="MenuLine1"></div>
            <div class="MenuTit1">账号管理</div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/MyInfo.aspx">资料修改</a></div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/MyPass.aspx">密码管理</a></div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/TuiGuan.aspx">我的推广</a></div>
            <div class="clear"></div>
            <div style="height:10px;"></div>
            
            <div class="MenuLine1"></div>
            <div class="MenuTit1">投诉建议</div>
            <div class="clear"></div>
            <div class="Link2"><a href="/User/TouShu.aspx">投诉列表</a></div>
            <div class="clear"></div>
            
            <div style="height:15px;"></div>
            <div style="background-color:#126FB0; height:2px;"></div>
        </div>
        <%--左侧导航结束--%>
    
        <div class="RightView">
        
            <div class="View1">
                <div class="Left1">
                    <img src="/images/user-right-home.jpg" />
                    当前位置：<a href="/User/">用户中心首页</a> &gt; 我的黑名单
                </div>
                <div class="Right1">
                    <img src="/images/user-RT-icon1.jpg" />
                    <a href="/Platform/Breach.aspx" target="_blank">购买发布点</a>
                    <img src="/images/user-RT-icon2.jpg" style="margin-left:5px;"/>
                    <a href="/User/ChongZhi.aspx" target="_blank">账户充值</a>
                    <img src="/images/user-RT-icon3.jpg" style="margin-left:5px;"/>
                    <a href="/User/TuiGuan.aspx" target="_blank">推广中心</a>
                    <img src="/images/user-RT-icon4.jpg" style="margin-left:5px;"/>
                    <a href="/Help/" target="_blank">帮助中心</a>
                </div>
                <div class="clear"></div>
            </div>
            
            <div class="UserBlack">
                <div class="BlackText1">
                    <span style="color:Blue;font-weight: bold;">黑名单绑定说明：</span>用户可以将自己不信任的刷客加入黑名单，加入黑名单以后，他将不能再接手您的任务。最多可增加50个黑名单！<br />
                    <span style="color:Blue;font-weight: bold;">黑名单排行榜：</span>多多注意这些不守规则的玩家！希望以下玩家注意了，被拉黑次数达到一定程度，系统自动封号^_^<br />
                    <span style="color:Blue;font-weight: bold;">黑名单规则：</span>积分低于41分用户无法添加黑名单，40-150可添加1个，150-400可添加4个，400-900可添加9个，900-1500可添加15个，1500积分以上可添加25个，VIP用户不受积分限制，可添加50个。 友好方式仅仅为不让对方接手自己的任务，被拉黑者不会被扣分，被拉黑名单数不会增加。<br />
                    <a href="" style="color: #FF3300">如果你对黑名单有任何异议，请联系客服。</a>
                </div>
                <div style="background-color: #CCCCCC; height: 1px"></div>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <div style="margin-top: 15px;">
                            <asp:ImageButton ID="BlackAddViewBtn" runat="server" 
                                ImageUrl="~/Images/b_black_10.gif" onclick="BlackAddViewBtn_Click" 
                                CausesValidation="False" />
                            <asp:ImageButton ID="BlackListViewBtn" runat="server" 
                                ImageUrl="~/Images/b_black_21.gif" onclick="BlackListViewBtn_Click" 
                                CausesValidation="False" />
                        </div>
                        <div style="height:15px;"></div>
                        <asp:Panel ID="AddBlackPanel" runat="server">
                            <table cellpadding="2" cellspacing="2" style="width:100%;">
                                <tr>
                                    <td style="width:80px; height:36px; text-align: right; color:Black;">
                                        会员名：</td>
                                    <td>
                                        <asp:TextBox ID="BlackLoginIDText" runat="server" Height="22px" MaxLength="20" 
                                            Width="120px"></asp:TextBox>
                                        <asp:Label ID="Error1Label" runat="server" ForeColor="Red"></asp:Label>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                            ControlToValidate="BlackLoginIDText" Display="Dynamic" 
                                            ErrorMessage="请输入要屏蔽的会员名"></asp:RequiredFieldValidator>
                                        要添加到黑名单的用户名 </td>
                                </tr>
                                <tr>
                                    <td style="width:80px; height:36px; text-align: right; color:Black;">
                                        拉入天数：</td>
                                    <td>
                                        <asp:RadioButtonList ID="RadioButtonList1" runat="server" 
                                            RepeatDirection="Horizontal" RepeatLayout="Flow">
                                            <asp:ListItem Selected="True">永远</asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width:80px; height:36px; text-align: right; color:Black;">
                                        友好方式：</td>
                                    <td>
                                        <asp:CheckBox ID="JieRenWuCheck" runat="server" Text="仅限制其接任务" />
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width:80px; height:36px; text-align: right; color:Black;">
                                        添加原因：</td>
                                    <td>
                                        <asp:TextBox ID="YuanYinText" runat="server" Width="300px" Height="22px"></asp:TextBox>
                                        添加原因描述</td>
                                </tr>
                                <tr>
                                    <td style="width:80px; height:36px; text-align: right; color:Black;">安全交易码：</td>
                                    <td>
                                        <asp:TextBox ID="AnQuanPassText" runat="server" Height="22px" MaxLength="20" 
                                            TextMode="Password"></asp:TextBox>
                                        <asp:Label ID="Error2Label" runat="server" ForeColor="Red"></asp:Label>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                            ControlToValidate="AnQuanPassText" Display="Dynamic" ErrorMessage="请输入安全码验证"></asp:RequiredFieldValidator>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="width:80px; height:36px; text-align: right;"></td>
                                    <td>
                                        <asp:Button ID="AddBtn" runat="server" Height="28px" Text="确认添加" 
                                            Width="80px" onclick="AddBtn_Click" />
                                        <asp:Label ID="AddBlackLabel" runat="server" ForeColor="Red"></asp:Label>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <asp:Panel ID="MyBlackPanel" runat="server">
                            <asp:GridView ID="MyBlackGridView" runat="server" BackColor="White" 
                                BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
                                ForeColor="Black" GridLines="None" AutoGenerateColumns="False" 
                                onrowdeleting="MyBlackGridView_RowDeleting">
                                <RowStyle Height="28px" />
                                <Columns>
                                    <asp:BoundField DataField="BlackLoginID" HeaderText="黑名单">
                                        <ItemStyle HorizontalAlign="Center" Width="150px" />
                                    </asp:BoundField>
                                    <asp:BoundField DataField="YuanYin" HeaderText="原因">
                                        <ItemStyle HorizontalAlign="Left" />
                                    </asp:BoundField>
                                    <asp:CommandField DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定要取消黑名单吗？')&quot;&gt;取消&lt;/div&gt;" 
                                        HeaderText="操作" ShowDeleteButton="True">
                                        <ItemStyle HorizontalAlign="Center" Width="80px" />
                                    </asp:CommandField>
                                </Columns>
                                <FooterStyle BackColor="#CCCCCC" />
                                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="#666666" Font-Bold="True" ForeColor="White" 
                                    Height="28px" />
                                <AlternatingRowStyle BackColor="#CCCCCC" />
                            </asp:GridView>
                        </asp:Panel>
                        <asp:Panel ID="BlackTopPanel" runat="server">
                            <asp:GridView ID="GridView2" runat="server" BackColor="White" 
                                BorderColor="#999999" BorderStyle="Solid" BorderWidth="1px" CellPadding="3" 
                                ForeColor="Black" GridLines="Vertical">
                                <FooterStyle BackColor="#CCCCCC" />
                                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
                                <SelectedRowStyle BackColor="#000099" Font-Bold="True" ForeColor="White" />
                                <HeaderStyle BackColor="Black" Font-Bold="True" ForeColor="White" />
                                <AlternatingRowStyle BackColor="#CCCCCC" />
                            </asp:GridView>
                        </asp:Panel>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </div>
            
        </div>
        <div class="clear"></div>
    </div>
    
    <uc2:Footer1 ID="Footer11" runat="server" />
    </form>
</body>
</html>
