<%@ Page Title="" Language="VB" MasterPageFile="~/App_MasterPage/mpManager.master" AutoEventWireup="false" CodeFile="XrenUser.aspx.vb" Inherits="Manager_XrenUser" %>
<%@ Register assembly="ControlPageing" namespace="ControlPageing" tagprefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="chpPageTitle" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="chpHead" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="chpScript" Runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="chpTitle" Runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="chpContent" Runat="Server">
    <asp:MultiView ID="MultiView1" runat="server">
        <asp:View ID="View_Edit" runat="server">
    	    <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" class="line_table">
    	    <tr>
                    <td align="right" width="20%">用户名：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtUserName" runat="server"  Width="60%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">密码：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtPassWord" runat="server"  Width="60%" TextMode="Password" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>
	    	<tr>
                    <td align="right" width="20%">用户组：</td>
                    <td width="30%">
                        <asp:DropDownList ID="dplUserGroup" runat="server">
                        </asp:DropDownList>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">点数：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtPoint" runat="server"  Width="30%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">管理员：</td>
                    <td width="30%">
                        <asp:CheckBox ID="cbIsManager" runat="server" Text="是" />
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">性别：</td>
                    <td width="30%">
                        <asp:RadioButtonList ID="rbSex" runat="server" 
                            RepeatDirection="Horizontal" >
                            <asp:ListItem Value="True">男</asp:ListItem>
                            <asp:ListItem Value="False">女</asp:ListItem>
                        </asp:RadioButtonList>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">是否锁定：</td>
                    <td width="30%">
                        <asp:CheckBox ID="cbIsLocked" runat="server" Text="是" />
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">是否通过验证：</td>
                    <td width="30%">
                        <asp:CheckBox ID="cbIsVerification" runat="server" Text="是" />
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>	    		    	<tr>
                    <td align="right" width="20%">邮件地址：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtEmail" runat="server"  Width="50%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">安全问题：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtQuestion" runat="server"  Width="96%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">安全答案：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtAnswer" runat="server"  Width="96%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red">*</font></td>
                </tr>	    		    	<tr>
                    <td align="right" width="20%">身份证号：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtUserCardID" runat="server"  Width="60%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>	    	<tr>
                    <td align="right" width="20%">电话号码：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtCellPhone" runat="server"  Width="60%" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>	    		    	                                                                                             	            
	      <tr>
                    <td align="right" width="20%" style="line-height:25px; vertical-align:top;">个性签名：</td>
                    <td width="30%">
                        <asp:TextBox ID="txtUserSignature" runat="server"  Width="96%" Height="95px" 
                            TextMode="MultiLine" ></asp:TextBox>
                    </td>
                    <td width="50%"><font color="red"></font></td>
                </tr>
                <tr>
                    <td align="right" colspan="2" width="50%">
                        <p align="center">
                　          <asp:ImageButton ID="imgSave" runat="server" 
                                ImageUrl="~/App_Themes/ManagerTheme/Images/tj.jpg" style="height: 22px" ToolTip="添加" />
                        </p>
                    </td>
                    <td width="50%"></td>
                </tr>
	    </table>        
        </asp:View>
        <asp:View ID="View_List" runat="server">
    	    <div style="text-align: right;" class="edittd">
        	<asp:CheckBox ID="cbSelectAll" runat="server" AutoPostBack="True" Text="全部" />&nbsp;
        	<asp:LinkButton ID="lnkBtnDel" runat="server"><img src="/App_Themes/ManagerTheme/Images/Delete.gif" style=" border:0px"/>&nbsp;删除选中</asp:LinkButton>&nbsp;&nbsp;
        	<a href="XrenUser.aspx?Action=Add"><img src="/App_Themes/ManagerTheme/Images/add.gif" style=" border:0px" />&nbsp;添加</a>
    	    </div>       
            <asp:Repeater ID="rptList" runat="server">
                <HeaderTemplate>
                    <table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0" class="line_table">
			<tr>
			    <td width="5%" align="center" class="left_bt2">选择</td>   
			    <td width="15%" align="center" class="left_bt2">用户名</td>
			    <td width="10%" align="center" class="left_bt2">登录次数</td>
			    <td width="10%" align="center" class="left_bt2">签到次数</td>
			    <td width="20%" align="center" class="left_bt2">最后登录时间</td>
			    <td width="20%" align="center" class="left_bt2">最后登录IP</td>
			    <td align="center" width="20%" class="left_bt2">操作</td>
			</tr>
	        </HeaderTemplate>
                <ItemTemplate>
                    <tr class="menuout"   onMouseOver="this.className='menuin'" onMouseOut="this.className='menuout'">
			<td width="5%" align="center"><asp:CheckBox ID="CheckOn" runat="server" ToolTip='<%#Eval("ID")%>' /></td>
		    <td width="15%" align="center"><%#Eval("UserName")%></td>
			<td width="10%" align="center"><%#Eval("LoginTimes")%></td>
			<td width="10%" align="center"><%#Eval("SignInTimes")%></td>
			<td width="20%" align="center"><%#Eval("LastLoginTime")%></td>
			
			
		
			<td width="20%" align="center"><%#Eval("LastLoginIP")%></td>

			<td width="20%" align="center"><a href="XrenUser.aspx?Action=Edit&ID=<%#Eval("ID") %>">
				<img src="/App_Themes/ManagerTheme/Images/Edit.gif" style=" border:0px" />&nbsp;编辑</a>&nbsp;&nbsp;&nbsp;<a href="XrenUser.aspx?Action=Del&ID=<%#Eval("ID") %>">
				<img src="/App_Themes/ManagerTheme/Images/Delete.gif" style=" border:0px" />&nbsp;删除</a></td>
			        </tr>
                </ItemTemplate>
                <FooterTemplate></table></FooterTemplate>
            </asp:Repeater>
            <div style="text-align:center"> <cc1:iPaging ID="ListPaging" runat="server" /></div>        
        </asp:View>        
    </asp:MultiView>
</asp:Content>