<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Site_MemberManage" %>

<!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>
    <title>会员管理</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
    <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Site_MemberManage.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper-div">    
	<!-- 文章列表管理 -->
        <!-- 标 -->
            <div class="title-tab">
            <div class="title"><span class="title-ico titico9 F B">会员管理</span></div>
            <ul class="menu">
                <li><a class="<%=sift=="all"?"active":"" %>" href="<%=getFormUrl %>"><span>全部</span></a></li>
                <%for (int i = 0; i < _memberClassDat.Rows.Count; i++) %>
                <%{ %>
                <li><a class="<%=sift==_memberClassDat.Rows[i]["id"].ToString()?"active":"" %>" href="<%=getFormUrl %>?sift=<%=_memberClassDat.Rows[i]["id"].ToString()%>"><span><%=_memberClassDat.Rows[i]["name"].ToString()%></span></a></li>
                <%} %>
            </ul> 
            <a class="edit-ico G underline" href="MemberClass_Manage.aspx">管理会员分类</a>           
            </div>
        <!-- end 标 -->
        
        <div class="clear-8"></div>
            <span class="tbox_form"><input type="text" id="memberNameSerach_txt" value="<%=membername %>" class="input162 f_left m_right6" /></span>
            <a href="<%=getFormUrl %>" id="memberNameSerach_Btn" class="bule-btn W f_left text_centent">用户名查找</a>
            <p class="PageBox">
                <%=getPagesInfo%>
            </p>
        <div class="clear-8"></div>
        
        <!-- 通用table -->
        <table class="table-1">
        	<thead>
            	<tr>
                	<th width="23%" class="text_left">帐户名 <span class="X NoB">[会员总数:<%=_pageCount %>]</span></th>
                    <th width="15%" class="text_left">会员所属</th>
                    <th width="10%">登录次数</th>
                    <th width="32%">最后登录时间/IP</th>
                    <th width="20%" class="text_left">操作</th>
                </tr>
            </thead>
            <tbody id="siteUserManage_Tbody">
            <% for (int i = 0; i < _memberDat.Rows.Count; i++) %>
            <%{ %>
            	<tr>
                	<td class="text_left"><span class="H B"><%=_memberDat.Rows[i]["membername"].ToString()%></span></td>
                    <td class="text_left"><span class="H"><%=_memberDat.Rows[i]["classname"].ToString()%></span></td>
                    <td><span class="X"><%=_memberDat.Rows[i]["loginnumber"].ToString()%></span></td>
                    <td>
                    <span class="V Size9"><%=getTime2(_memberDat.Rows[i]["lastlogintime"].ToString())%></span> / <span class="V Size9"><%=_memberDat.Rows[i]["lastloginip"].ToString()%></span> <span class="X">(<%=getIpCity(_memberDat.Rows[i]["lastloginip"].ToString())%>)</span>
                    </td>
                    <td class="text_left">

                    <a href="Site_MemberManage_Control.aspx?com=alter&memberid=<%=_memberDat.Rows[i]["id"].ToString()%>" class="F underline">[编辑]</a>

                    <a href="<%=_memberDat.Rows[i]["id"].ToString()%>" rel="del" name="<%=_memberDat.Rows[i]["membername"].ToString()%>" class="R underline">[删除]</a>
                    </td>
                </tr>
            <%} %>   
            </tbody>
        </table>

        <div class="clear-8"></div>
            <p class="PageBox">
                <%=getPagesInfo%>
            </p>
        <div class="clear-8"></div>

        <!-- end 通用table -->
    <!-- end 文章列表管理 -->
</div>
</body>
</html>
