@@ -72,7 +72,7 @@ | |||||
<script src="/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script> | <script src="/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script> | ||||
<script>hljs.initHighlightingOnLoad();</script> | <script>hljs.initHighlightingOnLoad();</script> | ||||
<script> | <script> | ||||
//获取顶踩数据 | |||||
//顶踩功能 | |||||
function GetDigg(aid,cid) { | function GetDigg(aid,cid) { | ||||
let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | ||||
$.get(url, function(data) { | $.get(url, function(data) { | ||||
@@ -145,7 +145,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
//进行回复,回复必须登录 | |||||
//回复评论,回复必须登录 | |||||
function SendReplyFeedback(fid) { | function SendReplyFeedback(fid) { | ||||
let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | ||||
let reply = { | let reply = { | ||||
@@ -225,7 +225,7 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
//赞 | |||||
//评论点赞 | |||||
function GoodFeedback(fid, g) { | function GoodFeedback(fid, g) { | ||||
let good = { | let good = { | ||||
action : "send", | action : "send", | ||||
@@ -78,7 +78,7 @@ | |||||
<script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | <script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | ||||
{dede:include filename='foot.htm'/} | {dede:include filename='foot.htm'/} | ||||
<script> | <script> | ||||
//获取顶踩数据 | |||||
//顶踩功能 | |||||
function GetDigg(aid,cid) { | function GetDigg(aid,cid) { | ||||
let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | ||||
$.get(url, function(data) { | $.get(url, function(data) { | ||||
@@ -151,7 +151,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
//进行回复,回复必须登录 | |||||
//回复评论,回复必须登录 | |||||
function SendReplyFeedback(fid) { | function SendReplyFeedback(fid) { | ||||
let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | ||||
let reply = { | let reply = { | ||||
@@ -231,7 +231,7 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
//赞 | |||||
//评论点赞 | |||||
function GoodFeedback(fid, g) { | function GoodFeedback(fid, g) { | ||||
let good = { | let good = { | ||||
action : "send", | action : "send", | ||||
@@ -81,7 +81,7 @@ | |||||
<script src="/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script> | <script src="/static/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script> | ||||
<script>hljs.initHighlightingOnLoad();</script> | <script>hljs.initHighlightingOnLoad();</script> | ||||
<script> | <script> | ||||
//获取顶踩数据 | |||||
//顶踩功能 | |||||
function GetDigg(aid,cid) { | function GetDigg(aid,cid) { | ||||
let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | ||||
$.get(url, function(data) { | $.get(url, function(data) { | ||||
@@ -154,7 +154,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
//进行回复,回复必须登录 | |||||
//回复评论,回复必须登录 | |||||
function SendReplyFeedback(fid) { | function SendReplyFeedback(fid) { | ||||
let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | ||||
let reply = { | let reply = { | ||||
@@ -234,7 +234,7 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
//赞 | |||||
//评论点赞 | |||||
function GoodFeedback(fid, g) { | function GoodFeedback(fid, g) { | ||||
let good = { | let good = { | ||||
action : "send", | action : "send", | ||||
@@ -145,7 +145,7 @@ | |||||
<script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | <script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | ||||
{dede:include filename='foot.htm'/} | {dede:include filename='foot.htm'/} | ||||
<script> | <script> | ||||
//获取顶踩数据 | |||||
//顶踩功能 | |||||
function GetDigg(aid,cid) { | function GetDigg(aid,cid) { | ||||
let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | ||||
$.get(url, function(data) { | $.get(url, function(data) { | ||||
@@ -218,7 +218,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
//进行回复,回复必须登录 | |||||
//回复评论,回复必须登录 | |||||
function SendReplyFeedback(fid) { | function SendReplyFeedback(fid) { | ||||
let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | ||||
let reply = { | let reply = { | ||||
@@ -298,7 +298,7 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
//赞 | |||||
//评论点赞 | |||||
function GoodFeedback(fid, g) { | function GoodFeedback(fid, g) { | ||||
let good = { | let good = { | ||||
action : "send", | action : "send", | ||||
@@ -79,7 +79,7 @@ | |||||
<script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | <script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | ||||
{dede:include filename='foot.htm'/} | {dede:include filename='foot.htm'/} | ||||
<script> | <script> | ||||
//获取顶踩数据 | |||||
//顶踩功能 | |||||
function GetDigg(aid,cid) { | function GetDigg(aid,cid) { | ||||
let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | ||||
$.get(url, function(data) { | $.get(url, function(data) { | ||||
@@ -152,7 +152,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
//进行回复,回复必须登录 | |||||
//回复评论,回复必须登录 | |||||
function SendReplyFeedback(fid) { | function SendReplyFeedback(fid) { | ||||
let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | ||||
let reply = { | let reply = { | ||||
@@ -232,7 +232,7 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
//赞 | |||||
//评论点赞 | |||||
function GoodFeedback(fid, g) { | function GoodFeedback(fid, g) { | ||||
let good = { | let good = { | ||||
action : "send", | action : "send", | ||||
@@ -86,7 +86,7 @@ | |||||
<script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | <script>const PHPURL = '{dede:global.cfg_phpurl/}';</script> | ||||
{dede:include filename='foot.htm'/} | {dede:include filename='foot.htm'/} | ||||
<script> | <script> | ||||
//获取顶踩数据 | |||||
//顶踩功能 | |||||
function GetDigg(aid,cid) { | function GetDigg(aid,cid) { | ||||
let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | let url = `{dede:global.cfg_phpurl/}/digg_ajax.php?id=${aid}&cid=${cid}&format=json`; | ||||
$.get(url, function(data) { | $.get(url, function(data) { | ||||
@@ -159,7 +159,7 @@ | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
//进行回复,回复必须登录 | |||||
//回复评论,回复必须登录 | |||||
function SendReplyFeedback(fid) { | function SendReplyFeedback(fid) { | ||||
let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | let content = $(`._feedback_reply[for="${fid}"]`).find(".iptReplyContent").val(); | ||||
let reply = { | let reply = { | ||||
@@ -239,7 +239,7 @@ | |||||
} | } | ||||
}) | }) | ||||
} | } | ||||
//赞 | |||||
//评论点赞 | |||||
function GoodFeedback(fid, g) { | function GoodFeedback(fid, g) { | ||||
let good = { | let good = { | ||||
action : "send", | action : "send", | ||||