复制文章时带有版权功能并不复杂,代码如下: script type=text/javascriptdocument.body.oncopy = function () { setTimeout( function () { var text = clipboardData.getData(text); if (text) { text = text /r/n本篇文章来源于 www.zu...
织梦调用管理员发帖发文章排行代码如下: {dede:sql sql=select u.id, u.uname, u.userid, u.usertype, (select count(*) from `dede_archives` where mid = u.id) as cfrom `dede_admin` u where u.usertype 10 group by u.userid order by c desc,...
{dede:sql sql=SELECT body FROM `idea_sgpage` where aid = 3 } [field:body function=htmlspecialchars(cn_substr(@me,100))/] {/dede:sql} 其中: {dede:sql sql=SELECT body FROM `idea_sgpage` where aid = 3 } sql=SELECT body 这里面的body 就是文章内...