<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Usermanage.aspx.cs" Inherits="Mvcb2b.admin.Usermanage" Title="用户管理" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript" src="../Comja/val_num.js"></script>    
<div class="path">当前位置： 系统管理 >>  用户管理</div>
<h3>用户管理 <a href="UserAdd.aspx" class="fr more">新增用户</a></h3>
<div class="menusearch">
    <div style="float:left;padding-left:20px;">用户名：</div>
    <div style="float:left;padding-left:0px;"><input type="text" class="key" name="key" id="key" value="" /> </div>
    <div style="float:left;padding-left:0px;"><asp:Button ID="Search1" runat="server" Text="搜索"  CssClass="submit"   onclick="Search1_Click" /> </div>
</div>
<table width="96%" border="0" align="center" cellpadding="2" style="background-color:#f5f5f5;" cellspacing="1">
          <tr style="background-color:#ffffff;font-weight:bold;">
            <td>编号</td>
            <td>用户名</td>
            <td>所在城市</td>
            <td>添加日期</td>
            <td>编辑</td>
            <td>删除</td>
          </tr>
        <asp:Repeater ID="Repeater1" runat="server">
          <ItemTemplate>
          <tr style="background-color:#ffffff">
            <td><%#Eval("id")%></td>
            <td><a href="Useredit.aspx?id=<%#Eval("id")%>"><%#leftmore(Eval("user_en").ToString(),52)%></a></td>
            <td><%#Cnnames(int.Parse(Eval("cityid").ToString()))%></td>
            <td><%#Eval("addtime")%></td>
            <td><a href="Useredit.aspx?id=<%#Eval("id")%>">修改</a></td>
            <td><a href="Useredit.aspx?id=<%#Eval("id")%>&action=del"><span onclick="return confirm('确实要删除吗?');">删除</span></a></td>
          </tr></ItemTemplate>
         </asp:Repeater>
         <asp:Literal runat="server"  ID="noms"  />
        </table> 
<div class="pagemsg" ><table  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr><td><asp:Literal id="Message" runat="server" ></asp:Literal></td><td>&nbsp; 直接进入 <asp:textbox  id="gopage" Width="30px" runat="server"  CssClass="gopage" > </asp:textbox> 页  </td>
           <td> <asp:button id ="Submithao"  Text="Go" runat="server" OnClick="Submithao_Click" CssClass="gopage" ></asp:button></td></tr></table>
</div>            
</asp:Content>
