BBSWeb/Scripts/Bbs/Topic.js

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

$(".viewAnnounceUser").toggle(function () {
    $(this).next().css("display", "block");
    $(this).text("<<<");
}, function () {
    $(this).next().css("display", "none");
    $(this).text(">>>");
});

var _TopicIds = GetCookie("viewTopicIds" + $USERID);
if (siteTracker.q.TopicId != null) {
    //是否已存在
    if (_TopicIds == null) {
        SetCookie("viewTopicIds" + $USERID, siteTracker.q.TopicId);
    }
    else {
        var _TopicIdsA = "|" + _TopicIds + "|";
        SetCookie("viewTopicIds" + $USERID, siteTracker.q.TopicId + "|" + _TopicIds);
    }
}

function verifyAsk() {
    CreateWin('winVerify', '审批帖子', 'winVerifyAdd', 740, 400, function open() {
        KE.init({
            id: 'winVerify_content3',
            imageUploadJson: '/Services/upload_json.ashx',
            fileManagerJson: '/Services/file_manager_json.ashx',
            allowFileManager: true
        });
        KE.create('winVerify_content3');
        KE.util.focus("winVerify_content3");
        KE.html("winVerify_content3", "");

    }, function yes() {
        var lastname = $("#winVerify_Attach").val().substring($("#winVerify_Attach").val().indexOf(".") + 1).toUpperCase();
        if (lastname != "" && lastname != undefined) {
            if (lastname != "TXT" && lastname != "DOC" && lastname != "XLS" && lastname != "GIF" && lastname != "PNG" && lastname != "JPG" && lastname != "RTF" && lastname != "BMP") {
                alert("你上传的文档格式不正确!");
                return;
            }
        }
        if (!confirm("审批后指定的回复人在待回复列表均看不到该帖,请慎重审批,如果确认可以审批,请点击确定!")) {
            return false;
        }
        $(".ui-button").attr("disabled", "disabled");
        var _q = new QueryString();
        var _c = encodeURI(KE.util.getData("winVerify_content3"));
        if (_c == "" || _c == undefined || _c == null) {
            alert("审批内容不能为空!");
            $("button").attr("disabled", "");
            return false;
        }
        
        $.ajaxFileUpload({
            url: '/Services/Bbs/S_VerifyH.ashx',
            secureuri: false,
            fileElementId: 'winVerify_Attach',
            dataType: 'json',
            data: {
                contents: _c,
                TopicId: _q.TopicId,
后面还有 103 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。