PageSourceSearch

http://zhongguocaifeng.cn/cssscript/js/User/IsLogin.js

js zhongguocaifeng.cn collected 2026-10-03 02:29:03 UTC 2,011 bytes, 63 lines download raw bytes

1
2
3//type:会员建议、首页、会员页面
4function Islogin(type) {
5    $.post("/qmember/islogin/" + type, function (data) {
6        if (data != "") {
7            var str = data;
8            if (type == "会员建议") {
9                $("#mluser").html(data);
10                $("#mluser").show();
11            }
12            if (type == "首页") {
13                $(".indexlogin").show();
14                $(".indexlogin").html(str);
15            }
16            if (type == "会员中心") {
17                $("#hyxx").html(data);
18            }
19        } else {
20            if (type == "首页") {
21                $(".indexlogin").show();
22            }
23            if (type == "会员建议") {
24                $("#mluser").html('');
25                $("#mluser").hide();
26            }
27            if (type == "会员中心") {
28                window.location.href = "/";
29            }
30        }
31    })
32}
33
34function LoginOut(type) {
35    if (confirm("确定要退出登录吗?")) {
36        $.post("/qmember/logout", function (data) {
37            if (data != null) {
38                if (data == "是") {
39                    if (type == "会员建议") {
40                        window.location.reload();
41                    }
42                    if (type == "首页") {
43                        $(".indexlogin").show();
44
45                        var str="";
46                        str =str +'<a  class="wl wl3"><span id="qqLoginBtn" class="qqLoginBtn" style=" height:24px; width:63px;"></a>';
47                        str =str +'<a href="/regist" class="bdw">注册</a>';
48                        str = str + '<a href="/login" class="bdw">登录</a>';
49
50                        $(".indexlogin").html(str);
51                    }                   
52        
53        
54        
55                    if (type == "会员中心") {
56                        window.location.href = "/";
57                    }
58                }
59            }
60        })
61    }
62}
63

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.