<%@ Page Language="C#" AutoEventWireup="true" CodeFile="UserInfo_Manage.aspx.cs" Inherits="UserInfo_Manage" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>金燕3.0forms</title>
    <link rel="stylesheet" type="text/css" href="../css/forms.css" />
</head>

<body topmargin="0px" bottommargin="0px" leftmargin="0px" rightmargin="0px" >
	<form id="form1" runat="server">
	<div class="forms1">
		<div class="forms2">
			<span>用户信息管理</span>
			<div class="forms4">
				<a href="UserInfo_Add.aspx" class="forms4_1">用户信息添加</a>
				<a href="#" class="forms4_2">批量删除</a>
			</div>
		</div>
		
		<div style="border:1px solid #FFFFFF">
		<table class="forms3" width="100%" height="100%" cellpadding="0" cellspacing="0">
			<tr>
            <td class="forms5_1" nowrap="nowrap" align="left">
                <span style="color:Black">搜索关键字：</span>
                <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
					&emsp;
                <asp:ImageButton ID="btnquery" runat="server" Text="" OnClick="btnquery_Click" ImageUrl="../images/blue/search.jpg" Height="21px" Width="58px" style="vertical-align:middle" />             
            </td>
           </tr>
			<tr>
				<td class="forms5_2">&nbsp;</td>
			</tr>
			<tr>
				<td>
					<table cellpadding="0" cellspacing="0" width="100%" style="margin-top:10px">
						<tr>
                        <td class="forms6_1" style="width:28px" align="center">
                            <input id="chkChooseauditAll" type="checkbox" onclick="ChooseAll(this)" />
                        </td>
                        <td class="forms6_1" align="left">
                                <span style="color:Black">用户名</span>
                            </td>
                            <td class="forms6_1" align="left">
                                <span style="color:Black">用户类型</span>
                            </td>
                            <td class="forms6_1" align="left">
                                <span style="color:Black">备注</span>
                            </td>
                        <td class="forms6_2" align="left" width="100px">
                            <span style="color:Black">操作</span>
                        </td>
                    </tr>
					<asp:Repeater runat="server" ID="rptUserInfo" OnItemCommand="rptUserInfo_ItemCommand">
                        <ItemTemplate>
                            <tr>
                                <td class="forms6_3" style="width:28px" align="center">
                                    <input type="checkbox" name="chkChooseaudit" value="<%#Eval("ID")%>" onclick="ChooseItemClick(this);" />
                                </td>
                                  <td class="forms6_3" align="left">
                                        <span style="color:Black"><%# Eval("UserName")%></span>
                                    </td>
                                    <td class="forms6_3" align="left">
                                        <span style="color:Black"><%# getUserTypeName(Convert.ToInt32(Eval("UserType")))%></span>
                                    </td>
                                    <td class="forms6_3" align="left">
                                        <span style="color:Black"><%# Eval("Remark")%></span>
                                    </td>
                                <td class="forms6_4" align="left">
                                    <a href="UserInfo_Update.aspx?id=<%#  Eval("ID") %>">修改</a>&nbsp;&nbsp;&nbsp;&nbsp;
                                    <asp:LinkButton Text="删除" runat="server" ID="linkbtnDelete" CommandName="Del" style="cursor:hand;" CommandArgument='<%# Eval("ID") %>' OnClientClick="javascript:return confirm('您确实要删除吗！')" />
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>	
					</table>
				</td>
			</tr>
			<tr>
				<td align="center" class="forms7">
					<%--共<span>1</span>页/<span>10</span>条记录&emsp;当前第<span>1</span>页&emsp;<a href="#">首页</a>&emsp;<a href="#">上一页</a>&emsp;<a href="#">下一页</a>&emsp;<a href="#">末页</a>&emsp;跳到<input type="text" style="width:20px; height:10px">页&ensp;<a href="#"><img src="../images/other/go.jpg"></a>--%>
					<nobr><webdiyer:AspNetPager ID="pager" PageSize="10" runat="server" CssClass="_tab_page_div" UrlPaging="True" FirstPageText="【首页】"
                                        LastPageText="【尾页】" NextPageText="【下一页】" NumericButtonCount="5" PrevPageText="【上一页】"
                                        CustomInfoClass="_tab_pager_div1" ShowCustomInfoSection="left" EnableUrlRewriting="false" PageIndexBoxClass="page_box_ipt" SubmitButtonClass="page_btn_go" SubmitButtonText="" ShowInputBox="Never">
                                    </webdiyer:AspNetPager></nobr>
				</td>
				
			</tr>
		</table>
		</div>
	</div>
	</form>
</body>
</html>
