PageSourceSearch

https://www.bookschina.com/Include/dataval/logintop.js

js bookschina.com collected 2026-10-02 07:50:42 UTC 2,302 bytes, 65 lines download raw bytes

1isLoging();
2function logincommon() {
3    $.ajax({
4        type: "post",
5        url: "/ashx/userlogin.ashx?indexuserlogin=1",
6        success: function (data) {
7            if (data != "" && data != "0") {
8                $(".loginArea").html("<b>»¶Ó­¹âÁÙÖÐÍ¼Íø</b><a  href=\"/vieworder/default.aspx\" target=\"_self\" class=\"userCenter\">" + data + "</a><a href=\"javascript:void(0)\" class=\"userExit\" onclick=\"loginoutcommon();\">[°²È«Í˳ö]</a>");
9            }
10        },
11        error: function (XMLHttpRequest, textStatus, errorThrown) {
12            return
13        }
14    })
15}
16
17
18
19function loginoutcommon() {
20    $.ajax({
21        type: "post",
22        url: "/ashx/userlogin.ashx?outs=1",
23        success: function (data) {
24            if (data == "1") {
25                if ($("#__VIEWSTATE")) {
26                    parent.location.reload();
27                }
28                if ($(".loginArea")) {
29                    $(".loginArea").html("<b>»¶Ó­¹âÁÙÖÐÍ¼Íø£¬Çë</b><a href=\"/RegUser/login.aspx\" target=\"_self\" class=\"login\">µÇ¼ </a><a href=\"/RegUser/Register.aspx\" class=\"regist\" target=\"_self\">×¢²á</a>");
30                }
31                window.location = '/RegUser/login.aspx';
32            }
33        },
34        error: function (XMLHttpRequest, textStatus, errorThrown) {
35            return
36        }
37    })
38}
39
40function isLoging() {//аæ¼ì²âÊÇ·ñµÇ¼
41    $.ajax({
42        type: "post",
43        url: "/ashx/userlogin.ashx?indexuserlogin=1",
44        success: function (data) {
45            if (data != "" && data != "0") {
46                $(".loginArea").html("<b>»¶Ó­¹âÁÙÖÐÍ¼Íø</b><a  href=\"/vieworder/default.aspx\" target=\"_self\" class=\"userCenter\">" + data + "</a><a href=\"javascript:void(0)\" class=\"userExit\" onclick=\"loginoutcommon();\">[°²È«Í˳ö]</a>");
47            }
48        },
49        error: function (XMLHttpRequest, textStatus, errorThrown) {
50            return
51        }
52    })
53}
54
55function GoToPage(obj) {
56    var urlTemp = $(obj).attr("data-temp");
57    var page = $('#txtPageInputValue').val();
58    page = isPositiveInteger(page) ? page : 1;
59    window.open(urlTemp.replace("{0}", page), '_self');
60}
61
62function isPositiveInteger(s) {//ÊÇ·ñΪÕýÕûÊý
63    var re = /^[0-9]+$/;
64    return re.test(s)
65}

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.