<%@ Page Title="" Language="C#" MasterPageFile="SiteAdmin.Master" AutoEventWireup="true" CodeBehind="user_details.aspx.cs" Inherits="FanXian.Web.admin.user_details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>用户详情</h2>
    <table width="100%" cellpadding="6" cellspacing="0" border="1" bordercolor="#CCC" style="border-collapse:collapse;">
        <tr bgcolor="#F8F8F8">
            <td><b>ID</b></td>
            <td><b>用户名</b></td>
            <td><b>支付宝</b></td>
            <td><b>支付宝姓名</b></td>
            <td><b>介绍人ID</b></td>
            <td><b>E-mail</b></td>
            <td><b>QQ</b></td>
        </tr>
        <tr>
            <td>{item:id}</td>
            <td>{item:uid}</td>
            <td>{item:alipay}</td>
            <td>{item:alipay_name}</td>
            <td><a href="user_details.aspx?id={item:introducer}">{item:introducer}</a></td>
            <td><a href="mailto:{item:email}">{item:email}</a></td>
            <td><a href="http://sighttp.qq.com/msgrd?v=1&uin={item:qq}&site=valu.cn&menu=yes" target="_blank">{item:qq}</a></td>
        </tr>
    </table>
    <br />
    <table width="100%" cellpadding="6" cellspacing="0" border="1" bordercolor="#CCC" style="border-collapse:collapse;">
        <tr bgcolor="#F8F8F8">
            <td><b>电话</b></td>
            <td><b>注册时间</b></td>
            <td><b>注册者IP</b></td>
            <td><b>登录时间</b></td>
            <td><b>登录IP</b></td>
            <td><b>是否管理员</b></td>
        </tr>
        <tr>
            <td>{item:tel}</td>
            <td>{item:reg_time}</td>
            <td>{item:reg_ip}</td>
            <td>{item:login_time}</td>
            <td>{item:login_ip}</td>
            <td>{item:is_admin_text}</td>
        </tr>
    </table>
    <br />
    <asp:TextBox ID="txt_new_pwd" runat="server" />
    <asp:Button ID="btn1" Text="重新密码" runat="server" onclick="btn1_Click" />
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
        ControlToValidate="txt_new_pwd">请填写密码</asp:RequiredFieldValidator>
    <asp:Label ID="msg" ForeColor="Red" runat="server" />
    <h2><a href="user.aspx">返回列表</a></h2>
</asp:Content>
