username@email.com
2025-05-15 6fe02a16e55f17e45a3997171e1b2284d45af25b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MemberEdit.aspx.cs" Inherits="CY.WebForm.Pages.membermanage.MemberEdit" %>
 
<!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 id="Head1" runat="server">
    <title>会员权限</title>
    <uc:CMSHead ID="CMSHead1" runat="server" />
    <style type="text/css">
        #cbkBusinessList { width: 100%; }
        #cbkBusinessList td { border: none; }
        label { cursor: pointer; }
    </style>
    <script type="text/javascript">
        $(function () {
            cbkAllSelChecked();
            var isChecked = true;
            $(":checkbox[id*=cbkAllSel]").click(function () {
                if (this.checked) {
                    isChecked = true;
                }
                else {
                    isChecked = false;
                }
                $("input:checkbox").each(function () {
                    $(this).attr("checked", isChecked);
                });
            });
            $("input:checkbox[id!=cbkAllSel]").click(function () {
                cbkAllSelChecked();
            });
 
            $("#txtDomainName").blur(function () {
                CheckDomain();
            });
        });
 
        function CheckDomain() {
            var IsCanSubmit = undefined;
            var domain = $.trim($("#txtDomainName").val());
            if (domain != "") {
                $.ajax({
                    url: "/Pages/common/CommonAjax.aspx",
                    type: "POST",
                    dataType: "html",
                    data: { dateType: "Domain", dUrl: domain, MemberId: '<%=Request["MemberId"] %>' },
                    global: false,
                    cache: false,
                    async: false,
                    success: function (data) {
                        if (data == "1") {
                            alertMsg("此域名已被使用,请更换其他域名");
                            IsCanSubmit = false;
                        } else {
                            IsCanSubmit = true;
                        }
                    }
                });
                if (!IsCanSubmit) {
                    alertMsg("此域名已被使用,请更换其他域名");
                    return false;
                }
            }
            return true;
        }
 
        //控制全选状态
        function cbkAllSelChecked() {
            var isAllChecked = true;
            $("input:checkbox[id!=cbkAllSel]").each(function () {
                if (!this.checked) {
                    isAllChecked = false;
                }
            });
            $(":checkbox[id*=cbkAllSel]").attr("checked", isAllChecked);
        }
    </script>
    <script type="text/javascript">
        $(function () {
            $("#selFirmStencilId_TYPE").change(function () {
                var TYPE_ID = $(this).val();
                if (TYPE_ID == "-1") {
                    $("#selFirmStencilId").hide();
                    $("#selCustomStenc").hide();
                } else if (TYPE_ID == "0") {
                    $("#selFirmStencilId").hide();
                    $("#selCustomStenc").show();
                } else {
                    $("#selFirmStencilId").show();
                    $("#selCustomStenc").hide();
                }
            });
            $("#selFirmStencilId_TYPE").change();
        });
    </script>
</head>
<body>
    <form id="form1" runat="server" class="form2">
    <div id="scrollContent" style="margin: 5px auto;">
        <table class="tableStyle">
            <tr style="color: Red;">
                <td class="ali03 w100px">
                    注意:
                </td>
                <td colspan="3">
                    此处信息非常重要,修改请慎重!
                </td>
            </tr>
            <tr class="hide">
                <td class="ali03">
                    会员编号:
                </td>
                <td colspan="3">
                    <span id="spanMemberBasicMemberId" runat="server"></span>
                </td>
            </tr>
            <tr>
                <td class="ali03 ">
                    会员帐号:
                </td>
                <td>
                    <span id="spanMemberBasicLoginId" runat="server"></span>
                </td>
                <td class="ali03 ">
                    会员名称:
                </td>
                <td>
                    <span id="spanMemberName" runat="server"></span>
                </td>
            </tr>
            <tr>
                <td class="ali03">
                    会员类型:
                </td>
                <td>
                    <span id="spanMemberBasicMemberType" runat="server"></span>
                </td>
                <td class="ali03 ">
                    <span class="red">*</span> 所在区域:
                </td>
                <td>
                    <div id="PCACCommon">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="ali03 ">
                    <span class="red"></span>帐号状态:
                </td>
                <td>
                    当前:<span id="spanMemberBasicUseState" runat="server"></span> 修改为:<select id="selMemberBasicUseState" runat="server" keepdefaultstyle="true" class="Sreq" msg="请选择帐号状态">
                    </select>
                </td>
                <td class="ali03 ">
                    <span class="red"></span>会员到期时间:
                </td>
                <td>
                    <span id="txtExpirationTime" runat="server"></span>
                </td>
            </tr>
            <asp:Panel runat="server" ID="PanelFirm">
                <tr>
                    <td class="ali03">
                        短信条数:
                    </td>
                    <td>
                        <input type="text" id="txtFirmInfoShorMessageNum" runat="server" class="int w60px" min="0" maxlength="8" />(条)
                    </td>
                    <td class="ali03">
                        文件空间:
                    </td>
                    <td>
                        <input type="text" id="txtFirmInfoFileSize" runat="server" class="int w60px" min="0" maxlength="8" />(M)
                    </td>
                </tr>
            </asp:Panel>
            <asp:Panel runat="server" ID="PanelShop">
                <tr>
                    <td class="ali03">
                        模板类别:
                    </td>
                    <td>
                        <select id="selFirmStencilId_TYPE" runat="server" keepdefaultstyle="true" style="float: left;">
                            <option value="-1">关闭</option>
                            <option value="0">自定义</option>
                            <option value="1">通用模版</option>
                        </select>
                        <select id="selFirmStencilId" runat="server" keepdefaultstyle="true" style="float: left; display: none;">
                            <option value="0">默认模版</option>
                        </select>
                        <input type="text" id="selCustomStenc" runat="server" style="float: left; display: none;" maxlength="40" />
                    </td>
                    <td class="ali03">
                        厂商域名:
                    </td>
                    <td>
                        http://
                        <input type="text" id="txtDomainName" runat="server" style="width: 200px;" maxlength="40" />
                    </td>
                </tr>
                <tr>
                    <td class="ali03">
                        企业网站:
                    </td>
                    <td colspan="3">
                        <span id="FirmWebUrl" runat="server"></span>
                    </td>
                </tr>
                <tr>
                    <td class="ali03">
                        业务范围:
                    </td>
                    <td colspan="3">
                        <asp:Panel ID="palBusiness" runat="server">
                            &nbsp;<input type="checkbox" id="cbkAllSel" /><label for="cbkAllSel">全选</label>
                            <asp:CheckBoxList ID="cbkBusinessList" runat="server" RepeatColumns="6" RepeatDirection="Vertical">
                            </asp:CheckBoxList>
                        </asp:Panel>
                    </td>
                </tr>
            </asp:Panel>
            <%--<tr>
                <td class="ali03">
                    <span class="red">*</span> 会员角色:
                </td>
                <td colspan="3">
                    <select id="selMemberRole" runat="server" class="Sreq" keepdefaultstyle="true" msg="请选择会员角色">
                    </select>
                </td>
                <td class="ali03">
                    缴费类型:
                </td>
                <td>
                    <select id="selPayType" runat="server" keepdefaultstyle="true">
                        <option value="">请选择</option>
                        <option value="印刷厂商注册费">印刷厂商注册费</option>
                        <option value="个人网店押金">个人网店押金</option>
                        <option value="杂志广告费">杂志广告费</option>
                        <option value="管理软件费">管理软件费</option>
                    </select>
                    缴纳金额:
                    <input id="txtContributeDeposit" type="text" class="w100px float " min="0" runat="server" />
                </td>
            </tr>--%>
            <tr>
                <td class="ali03 ">
                </td>
                <td colspan="3">
                    <asp:Button ID="btn_Submit" Text="提交" runat="server" OnClick="btn_Submit_Click" OnClientClick="javascript:if(confirm('此处信息非常重要,确认修改吗?')) {if(CheckDomain())return true;else return false; }else return false;" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
<script type="text/javascript">
    PCAC('<%=Province %>', '<%=City %>', '<%=County %>', "Name"); //城市数据存名称用Name,存编号则空字符
</script>
</html>