<%@ Page Language="C#" MasterPageFile="~/webUser/MasterPage.master" AutoEventWireup="true"
    Inherits="webUser_userInfo" Title="Untitled Page" EnableViewState="false" Codebehind="userInfo.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Content1" runat="Server">
    <form id="form1" name="form1" runat="server">
        <div class="maxTitle">
            用户基本资料
        </div>
        <div style="border: 1px solid #b5d1e4; margin: 4px;width:100%;padding-left: 5px; ">
            
                <asp:SqlDataSource ID="userBaseConn" runat="server" ConnectionString="<%$ ConnectionStrings:connZydn %>"
                    SelectCommand="" DataSourceMode="DataReader">
                </asp:SqlDataSource>
                <div style="width: 250px; height: 250px; float: left; padding: 4px;">
                    <div style="width: 200px; height: 183px; text-align: center; overflow: hidden;">
                        <asp:Image Style="height: 183px;" ID="userImg" runat="server" BorderColor="#404040"
                            BorderWidth="0px" Height="183px" />
                    </div>
                    <asp:DetailsView ID="userData" runat="server" AutoGenerateRows="False" DataKeyNames="ID"
                        DataSourceID="userBaseConn" Height="50px" Width="228px" BorderWidth="0px">
                        <Fields>
                            <asp:BoundField DataField="UserName" HeaderText="用户名" SortExpression="UserName">
                                <ItemStyle CssClass="titleLine" />
                                <HeaderStyle CssClass="titleLine" />
                               
                            </asp:BoundField>
                            <asp:BoundField DataField="GroupName" HeaderText="所属组" SortExpression="GroupName">
                                <ItemStyle CssClass="bodyDiv" />
                                <HeaderStyle CssClass="bodyDiv" />
                            </asp:BoundField>
                            <asp:BoundField DataField="isAdmin" HeaderText="是否管理员" SortExpression="isAdmin">
                                <ItemStyle CssClass="titleLine" />
                                <HeaderStyle CssClass="titleLine" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="EMAIL" SortExpression="Email">
                                <ItemStyle CssClass="bodyDiv" />
                                <HeaderStyle CssClass="bodyDiv" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Mobile" HeaderText="手机" SortExpression="Mobile">
                                <ItemStyle CssClass="titleLine"  />
                                <HeaderStyle CssClass="titleLine"  />
                            </asp:BoundField>
                            <asp:BoundField DataField="userPhoto" HeaderText="userPhoto" SortExpression="userPhoto">
                                <ItemStyle CssClass="titleLeft"  />
                                <HeaderStyle CssClass="titleLeft"  />
                            </asp:BoundField>
                        </Fields>
                    </asp:DetailsView>
                </div>
                <div style="float: left; height:302px; width: 350px; border-left: 1px solid #b5d1e4; border-right: 1px solid #b5d1e4">
                    <asp:DetailsView ID="DetailsView2" runat="server" AutoGenerateRows="False" DataKeyNames="ID"
                        DataSourceID="userBaseConn" Height="50px" Width="350px" BorderWidth="0px">
                        <Fields>
                            <asp:BoundField DataField="Count_Login" HeaderText="登录次数" SortExpression="Count_Login">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Count_Comment" HeaderText="发表文章" SortExpression="Count_Comment">
                                <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Count_Release" HeaderText="发布回复" SortExpression="Count_Release">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Delete_Comment" HeaderText="被删除文章" SortExpression="Delete_Comment">
                                <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Delete_Release" HeaderText="被删除回复" SortExpression="Delete_Release">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Integral_Base" HeaderText="基本积分" SortExpression="Integral_Base">
                                <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Integral_Expert" HeaderText="专家分" SortExpression="Integral_Expert">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Integral_Total" HeaderText="总积分" SortExpression="Integral_Total">
                                <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Money" HeaderText="虚拟货币" SortExpression="Money">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="LevelName" HeaderText="用户级别" SortExpression="LevelName">
                                <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                            <asp:BoundField DataField="EffectDate" HeaderText="有效期" SortExpression="EffectDate">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Date_Login" HeaderText="最后登录" SortExpression="Date_Login">
                                <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                            <asp:BoundField DataField="RegDate" HeaderText="注册日期" SortExpression="RegDate">
                                <ItemStyle CssClass="infoLineR1" />
                                <HeaderStyle CssClass="infoLineLeft1" />
                            </asp:BoundField>
                            <asp:BoundField DataField="idiograph" HeaderText="签名" SortExpression="idiograph">
                                  <ItemStyle CssClass="infoLineR2" />
                                <HeaderStyle CssClass="infoLineLeft2" />
                            </asp:BoundField>
                        </Fields>
                    </asp:DetailsView>
                </div>
          
        </div>
        <div class="maxTitle" style="width: 100%; clear: both;">
            用户详细资料
        </div>
        <div style="border: 1px solid #b5d1e4; margin: 4px;width:100%; ">
            <div style="width: 320px; float: left; ">
                <asp:DetailsView ID="userExData" runat="server" Height="50px" Width="320px" BorderWidth="0px"
                    CaptionAlign="Bottom" CellPadding="4">
                    <FieldHeaderStyle VerticalAlign="Bottom" Width="80px" CssClass="bodyDiv" />
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:DetailsView>
            </div>
            <div style="width: 320px; float: left; border-left: 1px solid #b5d1e4; border-right: 1px solid #b5d1e4">
                <asp:DetailsView ID="userExdata2" runat="server" Height="50px" Width="320px" BorderWidth="0px"
                    CaptionAlign="Bottom" CellPadding="4">
                    <FieldHeaderStyle VerticalAlign="Bottom" Width="80px" CssClass="bodyDiv" />
                    <HeaderStyle HorizontalAlign="Left" />
                </asp:DetailsView>
                &nbsp;
            </div>
        </div>
    </form>
</asp:Content>
