173 lines
6.3 KiB
Plaintext
173 lines
6.3 KiB
Plaintext
<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_GLY.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_GLY" %>
|
|
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head id="Head1" runat="server">
|
|
<title></title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
|
<meta http-equiv="Cache-Control" content="no-store" />
|
|
<meta http-equiv="Pragma" content="no-cache" />
|
|
<meta http-equiv="Expires" content="0" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9,IE=10" />
|
|
<script src="/Scripts/jquery-1.9.1.min.js" type="text/javascript"></script>
|
|
<script src="/Scripts/jquery-migrate-1.1.1.min.js" type="text/javascript"></script>
|
|
<script src="/Scripts/common.js" type="text/javascript"></script>
|
|
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
|
|
|
<!-- Basic Styles -->
|
|
|
|
<meta name="description" content="">
|
|
<meta name="author" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/bootstrap.css">
|
|
<!--[if IE 7]>
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/font-awesome-ie7.min.css">
|
|
<![endif]-->
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-production.css">
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/smartadmin-skins.css">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/your_style.css">
|
|
|
|
<!-- Demo purpose only: goes with demo.js, you can delete this css when designing your own WebApp -->
|
|
<link rel="stylesheet" type="text/css" media="screen" href="/css/demo.css">
|
|
|
|
|
|
<!-- FAVICONS -->
|
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
|
<link rel="icon" href="/favicon.ico" type="image/x-icon">
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/cjadd.css">
|
|
<script type="text/javascript">
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<form runat="server">
|
|
<!-- RIBBON -->
|
|
<div id="ribbon">
|
|
|
|
<span class="ribbon-button-alignment"> <span id="refresh" class="btn btn-ribbon" data-title="refresh" rel="tooltip" data-placement="bottom" data-original-title="<i class='text-warning fa fa-warning'></i> 注意!这会重新设置小工具的排位." data-html="true" data-reset-msg="刷新网站?"><i class="fa fa-refresh"></i></span> </span>
|
|
|
|
<!-- breadcrumb -->
|
|
<ol class="breadcrumb">
|
|
<li><a href="/" target="_top">主页</a></li>
|
|
<li><a href="/Member_Index.aspx">会员中心首页</a></li>
|
|
<li><a href="/Admin_Member_config.aspx">后台管理</a></li>
|
|
<li>管理员列表</li>
|
|
</ol>
|
|
<!-- end breadcrumb -->
|
|
</div>
|
|
<!-- END RIBBON -->
|
|
<!-- MAIN CONTENT -->
|
|
<div style="opacity: 1;" id="content">
|
|
<div class="frontMain">
|
|
|
|
<h1 class="title01"><span class="semi-bold">管理员列表</span><span class="addtitle"><a href='/Admin_Member_GLY_Add.aspx?action=add' class="abtn">添加管理员</a></span></h1>
|
|
<div class="MainContent">
|
|
|
|
<table width="100%" border="0" class="data_table" id="p_table" cellspacing="0" cellpadding="0">
|
|
|
|
|
|
<tr bgcolor="#f7f7f7">
|
|
<td><strong>会员账号</strong></td>
|
|
<td><strong>会员姓名</strong></td>
|
|
<td><strong>角色</strong></td>
|
|
<td><strong>添加时间</strong></td>
|
|
<td><strong>操作</strong></td>
|
|
</tr>
|
|
<asp:Repeater ID="Repeater1" OnItemDataBound="dgPublisher_DataBound" runat="server">
|
|
<ItemTemplate>
|
|
<tr <%#(Container.ItemIndex + 1)%2==0?"bgColor=\"#f4f4f4\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#f4f4f4\"'":"bgColor=\"#ffffff\" onmouseover=\"this.bgColor='#fdff7e'\" onmouseout='this.bgColor=\"#ffffff\"'"%>>
|
|
<td><%#Eval("UserName")%></td>
|
|
<td><%#Eval("RealName")%></td>
|
|
<td><%#Adminjs.GetModel(int.Parse(Eval("SJRememberID").ToString()))!=null?Adminjs.GetModel(int.Parse(Eval("SJRememberID").ToString())).jsName:""%></td>
|
|
|
|
|
|
<td><%#Eval("RegTime")%></td>
|
|
<td><a href="Admin_Member_GLY_Add.aspx?id=<%#Eval("ID") %>">编辑</a> <asp:LinkButton ID="Btn_Delete" CommandArgument='<%#Eval("Id") %>' CommandName='<%#Eval("Id") %>' OnCommand="Delete_Click" runat="server">删除</asp:LinkButton></td>
|
|
</tr>
|
|
</ItemTemplate>
|
|
</asp:Repeater>
|
|
|
|
</table>
|
|
|
|
<div style="text-align:center; height:40px; margin:10px 0;">
|
|
<webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
|
|
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
|
|
CustomInfoHTML="共 <font color="red">%RecordCount%</font> 条记录 当前 <font color="red">%CurrentPageIndex%/%PageCount%</font> 页"
|
|
PrevPageText="上一页" ShowPageIndexBox="Always" ShowCustomInfoSection="Left"
|
|
SubmitButtonText="Go" TextAfterPageIndexBox="页" ShowBoxThreshold="100"
|
|
CurrentPageButtonPosition="Center" ShowMoreButtons="False" PageIndexBoxType="DropDownList"
|
|
TextBeforePageIndexBox="转到" UrlPaging="True">
|
|
</webdiyer:AspNetPager>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</form>
|
|
<script type="text/javascript">
|
|
|
|
|
|
var iid=0;
|
|
<%if(Request.QueryString["s"]!=null){
|
|
if(Request.QueryString["s"]=="0")
|
|
{
|
|
%>
|
|
iid=0;
|
|
<%
|
|
}
|
|
if(Request.QueryString["s"]=="1")
|
|
{
|
|
%>
|
|
iid=1;
|
|
<%
|
|
}
|
|
if(Request.QueryString["s"]=="2")
|
|
{
|
|
%>
|
|
iid=2;
|
|
<%
|
|
}
|
|
if(Request.QueryString["s"]=="3")
|
|
{
|
|
%>
|
|
iid=3;
|
|
<%
|
|
}
|
|
if(Request.QueryString["s"]=="4")
|
|
{
|
|
%>
|
|
iid=4;
|
|
<%
|
|
}
|
|
if(Request.QueryString["s"]=="5")
|
|
{
|
|
%>
|
|
iid=5;
|
|
<%
|
|
}
|
|
if(Request.QueryString["s"]=="6")
|
|
{
|
|
%>
|
|
iid=6;
|
|
<%}
|
|
if(Request.QueryString["s"]=="7")
|
|
{
|
|
%>
|
|
iid=7;
|
|
<%
|
|
}
|
|
}
|
|
%>
|
|
$("#cxjlcx_ico" + iid).addClass("ared");
|
|
</script>
|
|
</body></html>
|