Files
g.hnyhua.cn/Mtxfw.VipSite/Admin_Member_appdeclaration2.aspx
2026-02-07 15:48:27 +08:00

201 lines
8.5 KiB
Plaintext

<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="Admin_Member_appdeclaration22.aspx.cs" Inherits="Mtxfw.VipSite.Admin_Member_appdeclaration2" %>
<%@ 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>
<script src="/script/area.js?t=0" 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">
var search = function () {
var key = document.getElementById('text_key');
location.href = 'Admin_Member_appdeclaration2.aspx?key=' + key.value + "&province=" + ($("#province option").length > 0 ? $("#province").val() : "") + "&city=" + ($("#city option").length > 0 ? $("#city").val() : "") + "&county=" + ($("#county option").length > 0 ?$("#county").val():"");
};
var pid = "<%=Request.QueryString["province"]%>", cid = "<%=Request.QueryString["city"]%>", qid ="<%=Request.QueryString["county"]%>";
function onc(v) {
var value = $(".select" + v + "").find("option:selected").val();
if (v == 5) {
show_city_info("", $("#city"), value, $("#county"));
}
if (v == 6) {
show_County_info("", $("#county"), $("#province").val(), value);
}
if (v == 7) {
try {
show_trading_info("", $("#trading"), $("#province").val(), $("#city").val(), value);
} catch (err) {
alert(err);
}
}
}
function rdata() {
show_province_info(pid, $("#province"), $("#city"), $("#county"));
if (cid != "") {
show_city_info(cid, $("#city"), pid, $("#county"));
}
if (qid != "") {
show_County_info(qid, $("#county"), $("#province").val(), cid);
}
show_trading_info(tid, $("#trading"), $("#province").val(), $("#city").val(), qid);
}
$(document).ready(function () {
rdata();
});
</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="&lt;i class='text-warning fa fa-warning'&gt;&lt;/i&gt; 注意!这会重新设置小工具的排位." 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></h1>
<div class="MainContent">
<table width="100%" border="0" class="data_table" cellspacing="1" cellpadding="0">
<tr>
<td>
搜索:
<select name="select_p" id="province" class="select5" onchange="onc(5)">
<option value="-1">--省--</option>
</select>
<select name="select_c" id="city" class="select6" onchange="onc(6)">
<option value="-1">--市--</option>
</select>
<select name="select_q" class="select7" id="county" onchange="onc(7)">
<option value="-1">--县区--</option>
</select>
<input id="text_key" value="<%=Request.QueryString["key"] %>" type="text" />
<input id="btn_search" type="button" value="搜索" onclick="search()" class="abtn" />
</td>
</tr>
</table>
<table width="100%" border="0" class="data_table" id="p_table" cellspacing="0" cellpadding="0">
<tr bgcolor="#f7f7f7">
<th><b>选择</b></th>
<th><b>用户名<br>姓名</b></th>
<th><b>提货点名称</b></th>
<th><b>联系电话</b></th>
<th><b>区域</b></th>
<th><b>详细地址</b></th>
<th><b>状态</b></th>
<th><b>编辑</b></th>
</tr>
<asp:Repeater ID="Repeater1" 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><asp:checkbox ID="checka" runat="server" CssClass='<%#Eval("ID") %>'></asp:checkbox></td>
<td><%#Eval("UserName")%><br><%#Eval("realname")%></td>
<td><%#Eval("AName")%></td>
<td><%#Eval("ATel")%></td>
<td style="width:150px;"><%#new Mtxfw.DAL.province().GetProvince(Eval("Agenprovince").ToString())%><%#new Mtxfw.DAL.city().GetCity(Eval("Agencity").ToString())%><%#new Mtxfw.DAL.county().GetCounty(Eval("Agencounty").ToString())+(Eval("IFFill").ToString()=="1"?Eval("Agentrading").ToString():new Mtxfw.DAL.tradingarea().Gettradingarea(Eval("AgenCity").ToString(), Eval("AgenCounty").ToString(), Eval("Agentrading").ToString()))%></td>
<td style="width:150px;"><%#Eval("AAddress")%></td>
<td><%#Eval("seef").ToString() == "1" ? "<font color='green'>已审核</font>" : "<font color='red'>未审核</font>"%></td>
<td><a href="Admin_Member_appdeclaration2_edit.aspx?id=<%#Eval("ID") %>">编辑</a></td>
</tr>
</ItemTemplate>
</asp:Repeater>
<tr>
<tr>
<td colspan="11" style="text-align:left">
操作:<span style=" cursor:pointer; color:Blue;" onclick="seclectall(0)">全选</span>&nbsp;<span style=" cursor:pointer; color:Blue;" onclick="seclectall(1)">取消所选</span>
将所选项
<asp:DropDownList ID="seclect_Drop" runat="server">
<asp:ListItem Value="0">审核通过</asp:ListItem>
<asp:ListItem Value="1">删除</asp:ListItem>
</asp:DropDownList>
<asp:Button ID="Btn_Run" OnClick="Run_Click" runat="server" Text="执行" CssClass="abtn"></asp:Button>
</td>
</tr>
</table>
<div style="text-align:center; height:40px; margin:10px 0;">
<webdiyer:AspNetPager ID="MyPager" AlwaysShow="true" runat="server"
FirstPageText="首页" LastPageText="尾页" NextPageText="下一页"
CustomInfoHTML="共 &lt;font color=&quot;red&quot;&gt;%RecordCount%&lt;/font&gt; 条记录 当前 &lt;font color=&quot;red&quot;&gt;%CurrentPageIndex%/%PageCount%&lt;/font&gt; 页"
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>
</body></html>