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

<%@ Register Assembly="Controls" Namespace="Spaces.Controls" TagPrefix="Spaces" %>

<%@ Register Assembly="Xiaoxiao.WebUI" Namespace="Xiaoxiao.WebUI" TagPrefix="cc1" %>
<%@ Import Namespace="Spaces" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>控制面板 - 查找用户</title>
    <link href="General2.css" rel="stylesheet" type="text/css">
    <style type="text/css">
<!--
form{padding:0;margin:0}
fieldset{border:1px solid #669900}
legend{font-weight:bold;color:#000}
input{padding-top:2px;}
.sec_nav {color:#438b47;}
.sec_nav a{text-decoration:none;color:#438b47}
.sec_nav a:hover{text-decoration:underline;}
.form_border{border-left:1px solid #ACD373;border-right:1px solid #ACD373;background:#fff;}
.form_in{line-height:120%;}
.form_in th{background:#c5d7e2}
img {border:0px  }
-->
</style>
</head>
<body>
    <form id="Form1" runat="server">
        <table width="640" border="0" align="center" cellpadding="0" cellspacing="0" class="black333333_red_noline">
            <tr>
                <td>&nbsp;
                    </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="3" height="3">
                                <img src="img/O_angle_up_left.gif" width="3" height="3"></td>
                            <td bgcolor="#ACD373" width="100%">
                            </td>
                            <td width="3">
                                <img src="img/O_angle_up_right.gif" width="3" height="3"></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td bgcolor="#acd373" height="30">
                    &nbsp;&nbsp;&nbsp;&nbsp;<font color="#ffffff"><b><%=Globals.Text["find_searchuser"]%></b></font>
                </td>
            </tr>
            <tr>
                <td class="form_border">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="20">&nbsp;
                                </td>
                            <td>&nbsp;
                                </td>
                            <td width="20">&nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                                </td>
                            <td>
                                <table width="100%" border="0" cellspacing="0" cellpadding="0" class="black333333_red_noline">
                                    <tr>
                                        <td align="right">
                                        </td>
                                        <td align="right">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <fieldset>
                                                <legend>&nbsp;<%=Globals.Text["find_searchuser"]%>&nbsp;</legend>
                                                <div align="right">
                                                    <br />
                                                    <br />
                                                </div>
                                            </fieldset>
                                        </td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr >
                                        <td height="5">
                                            <%=Globals.Text["find_logindata"]%><asp:DropDownList ID="dropSYear" runat="server">
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="dropSMonth" runat="server">
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="dropSDay" runat="server">
                                            </asp:DropDownList>至<asp:DropDownList ID="dropEYear" runat="server">
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="dropEMonth" runat="server">
                                            </asp:DropDownList>
                                            <asp:DropDownList ID="dropEDay" runat="server">
                                            </asp:DropDownList>
                                         
                                            <Spaces:XButton ID="btnFindByTime" runat="server" OnClick="btnFindByTime_Click"   ResourceName="btn_Search" /></td>
                                        <td height="5">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td rowspan="3">
                                            <div>
                                                <p>
                                                    <%=Globals.Text["find_ipaddress"]%>
                                                    <br />
                                                    <asp:TextBox ID="txtIPAddress" runat="server"></asp:TextBox>
                                                   
                                                    <Spaces:XButton  ResourceName="btn_Search" ID="btnFindByIP" runat="server" OnClick="btnFindByIP_Click" /></p>
                                                <p>
                                                    <%=Globals.Text["find_addressemail"]%><br />
                                                    <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>&nbsp; 
                                                    <Spaces:XButton ResourceName="btn_Search"  ID="btnFindByEmail"
                                                        runat="server" OnClick="btnFindByEmail_Click" /></p>
                                                <!-- 功能列表 -->
                                                <p>
                                                <%=Globals.Text["find_nickname"]%><br /> 
                                                <asp:TextBox ID="txtNickName" runat="server"></asp:TextBox>
                                               
                                                    <Spaces:XButton ID="btnFindByNickName" runat="server" OnClick="btnFindByNickName_Click" ResourceName="btn_Search"/>
                                                    </p><!-- /功能列表 --><!-- 分类列表 --><!-- /分类列表 -->
                                            </div>
                                        </td>
                                        <td style="height: 14px">
                                        </td>
                                        <tr>
                                            <td style="height: 14px">
                                            </td>
                                        </tr>
                                    <tr>
                                        <td>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td>&nbsp;
                                </td>
                        </tr>
                        <tr>
                            <td>&nbsp;
                                </td>
                            <td>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="black333333_red_noline">
                                    <tr>
                                        <td width="11%">
                                        </td>
                                        <td width="89%">
                                        </td>
                                    </tr>
                                </table>
                                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="black333333_red_noline">
                                    <tr>
                                        <td width="51%" align="right">
                                            <asp:Literal ID="txtStatus" runat="server"></asp:Literal>&nbsp;</td>
                                        <td width="18%" align="right">
                                        </td>
                                        <td width="31%" nowrap>&nbsp;
                                            
                                        </td>
                                    </tr>
                                </table>
                                <asp:Repeater ID="rprSelectionList" runat="server">
                                    <HeaderTemplate>
                                        <table width="100%" border="0" cellpadding="3" cellspacing="2" bgcolor="#FFFFFF"
                                            class="black333333_red_noline">
                                            <tr bgcolor="#669900">
                                                <td bgcolor="#669900" width="10%">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_manageaccount"]%></font></td>
                                                <td bgcolor="#669900">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_managespacename"]%></font></td>
                                                <td width="10%" align="center" bgcolor="#669900">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_namelogindate"]%></font></td>
                                                <td width="6%" align="center" bgcolor="#669900">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_managestate"]%></font></td>
                                                <td width="10%" align="center" bgcolor="#669900">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_skin"]%></font></td>
                                                <td width="10%" align="center" bgcolor="#669900">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_reedit"]%></font></td>
                                                <td width="10%" bgcolor="#669900">
                                                    <font color="#FFFFFF"><%=Globals.Text["userin_delete"]%></font></td>
                                            </tr>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr bgcolor="#EEF5E2">
                                            <td>
                                                <a href='EditUser.aspx?Account=<%#Eval("Account") %>'>
                                                    <%#Eval("Account") %>
                                                </a>
                                            </td>
                                            <td>
                                                <a href="<%# Globals.GetSiteUrls().Default(Convert.ToString(Eval("Account"))) %>"
                                                    target="_blank">
                                                    <%# Utils.FormatLength(Eval(  "Title"),18) %>
                                                </a>
                                            </td>
                                            <td align="center">
                                                <%# Convert.ToDateTime(Eval(  "Created")).ToString("yy-MM-dd") %>
                                            </td>
                                            <td>
                                                <%#Eval(  "Active") %>
                                            </td>
                                            <td>
                                                <%#Eval(  "Theme") %>
                                            </td>
                                            <td align="center">
                                                <a href='EditUser.aspx?Account=<%#Eval("Account") %>'>
                                                    <img src="./img/edit.gif" width="20" height="18" /></a></td>
                                            <td align="center">
                                                <asp:LinkButton ID="lnkDelete" CausesValidation="False" CommandName="Delete" CommandArgument='<%#Eval("Account") %>'
                                                    OnClientClick="return confirm('是否真的删除该主题并删除该主题下所有回复？')" runat="server"><img src="./img/icon_del.gif" width="14" height="14" /></asp:LinkButton>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </table>
                                    </FooterTemplate>
                                </asp:Repeater>
                                <br>
                                &nbsp;</td>
                            <td>&nbsp;
                                </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td height="30" bgcolor="#E3F0D0" align="center">
                    &nbsp;
                    <cc1:AspNetPager ID="PostPaged" runat="server" UrlPaging="True" OnPageChanged="PostPaged_PageChanged"
                        PageSize="20">
                    </cc1:AspNetPager>
                </td>
            </tr>
       
        </table>
    </form>
</body>
</html>
<asp:literal runat="server" ID="PageMsg"></asp:literal>
