diff --git a/spzac/assets/css/wmd.js b/spzac/assets/css/wmd.js index 3e6e821..2a52896 100644 --- a/spzac/assets/css/wmd.js +++ b/spzac/assets/css/wmd.js @@ -11,8 +11,15 @@ window.onload = function () { $('#wmd-button-row').append( '
  • '+ '
  • '+ + '
  • '+ + '
  • '+ + '
  • '+ + '
  • '+ + '
  • '+ + '
  • '+ /** '
  • '+**/ - '
  • '+ + '
  • '+ + '
  • '+ /** '
  • '+**/ '
  • '); @@ -112,14 +119,13 @@ window.onload = function () { $(document).on('click', '#wmd-text-button', function() {//标签 - textContent = '[scode]这里编辑标签内容[/scode]'; + textContent = '[scode type="success|info|warning|error|tips|"]成功提示的文案[/scode]'; myField = document.getElementById('text'); inserContentToTextArea(myField,textContent); }); - /** $(document).on('click', '#wmd-ss-button', function() {//收缩框 $('body').append( @@ -148,8 +154,64 @@ window.onload = function () { inserContentToTextArea(myField,textContent); }); + $(document).on('click', '#wmd-msigle-button', function() { + + textContent = '[msigle]这里填入网易云音乐单曲ID[/msigle]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); + + }); + $(document).on('click', '#wmd-mlist-button', function() { + + textContent = '[mlist]这里填入网易云音乐歌单ID[/mlist]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); + + }); + $(document).on('click', '#wmd-jline-button', function() { + + textContent = '[jline]这里填入标题[/jline]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); + + }); + $(document).on('click', '#wmd-vbili-button', function() { + + textContent = '[vbili]这里填入bilibili的BV号[/vbili]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); + + }); + + $(document).on('click', '#wmd-github-button', function() { + + textContent = '[gitwidget type="github" url="JoelSutherland/GitHub-jQuery-Repo-Widget"]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); + + }); + $(document).on('click', '#wmd-gitee-button', function() { + + textContent = '[gitwidget type="gitee" url="SimonH/typecho-gitwidget"]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); + + }); + $(document).on('click', '#wmd-btn-button', function() { + + textContent = '[btn href="链接" type="颜色(蓝#409eff绿#28a745橙#e6a23c粉#f56c6c青#138496黄#ffc107红#dc3545)"]按钮文字[/btn]'; + + myField = document.getElementById('text'); + inserContentToTextArea(myField,textContent); - /** $(document).on('click', '#wmd-yc2-button', function() { + }); + /** $(document).on('click', '#wmd-yc2-button', function() { textContent = '[login]这里编辑隐藏文本(登陆可见)[/login]'; diff --git a/spzac/assets/post - link.php b/spzac/assets/post - link.php index 52bbac0..e1de327 100644 --- a/spzac/assets/post - link.php +++ b/spzac/assets/post - link.php @@ -4,15 +4,18 @@
    diff --git a/spzac/assets/post - more.php b/spzac/assets/post - more.php index 0f3472f..66c3ccf 100644 --- a/spzac/assets/post - more.php +++ b/spzac/assets/post - more.php @@ -9,7 +9,7 @@ diff --git a/spzac/assets/post - shang.php b/spzac/assets/post - shang.php new file mode 100644 index 0000000..82f08d1 --- /dev/null +++ b/spzac/assets/post - shang.php @@ -0,0 +1,182 @@ + + +
    +

    +  赞  赏

    +

    如果觉得我的文章对你有用,请随意赞赏

    +
    +
    + +
    +

    感谢您的支持,我会继续努力的!

    +
    +
    + 扫码支持 +
    +
    扫码打赏,你说多少就多少
    + +
    +

    打开   或者 扫一扫,即可进行扫码赞赏哦

    +
    +
    +
    + \ No newline at end of file diff --git a/spzac/assets/post - share.php b/spzac/assets/post - share.php new file mode 100644 index 0000000..955ee13 --- /dev/null +++ b/spzac/assets/post - share.php @@ -0,0 +1,76 @@ + +
    + + + + + + + + + + + + target="_blank" class="qq" rel="nofollow"> + + + + + target="_blank"> + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/spzac/assets/site.info.php b/spzac/assets/site.info.php new file mode 100644 index 0000000..f6740d7 --- /dev/null +++ b/spzac/assets/site.info.php @@ -0,0 +1,141 @@ + + to($quantity); ?> + + diff --git a/spzac/assets/user - ping.php b/spzac/assets/user - ping.php index ee30d79..688d6ef 100644 --- a/spzac/assets/user - ping.php +++ b/spzac/assets/user - ping.php @@ -1,10 +1,10 @@
    - -
    - + + + + + diff --git a/spzac/page.php b/spzac/page.php new file mode 100644 index 0000000..800ca79 --- /dev/null +++ b/spzac/page.php @@ -0,0 +1,130 @@ +need('header.php'); + ?> + +
    + + need('assets/post - link.php'); ?> + +
    +
    +
    + +options->txtadimg): ?> +
    options->txtadimg(); ?>
    + +
    +
    + + author->mail; $imgUrl = getGravatar($email);echo ''; ?> + +
    +
    author->screenName(); ?>
    +

     date('Y-m-d'); ?>  /   category(',', false); ?>  /    人浏览  /   commentsNum('%d'); ?> 条评论  /   全文共cid); ?>字

    +
    +
    + is('post')) : ?>fields->img): ?> + + +
    +
    + fields->videourl)&&($this->options->pdmapi)):?> + need('dmplay/post - dmplay.php'); ?> + +

    title(); ?>

    +
    + content; echo costcn($this->cid,$this->remember('mail',true),$str,$this->user->hasLogin()); ?> + + need('assets/post - shang.php'); ?> + +
    + fields->Copyrightnew =='0'):?> +
    + + + 原创文章,版权属于:options->title() ?> - author->screenName(); ?>
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    + fields->Copyrightnew =='2') : ?> +
    + + + 本文经授权后发布,本文观点不代表立场,转载请联系原作者。
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    + +
    + + + 本文来自投稿,不代表本站立场,如若转载,请注明出处。
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    + +
    + +
    + +
    + need('assets/post - share.php'); ?> +
    +
    +
    + +options->txtaddown): ?> +
    options->txtaddown(); ?>
    + + +

    + need('comments.php'); ?> + + need('assets/post - more.php'); ?> +
    + + fields->down): ?> + need('down - sider.php'); ?> + + need('info - sider.php'); ?> + + +
    +
    +
    + + + + need('footer.php'); ?> + + diff --git a/spzac/page2.php b/spzac/page2.php new file mode 100644 index 0000000..ab19e52 --- /dev/null +++ b/spzac/page2.php @@ -0,0 +1,85 @@ +need('header.php'); + ?> + +
    + + need('assets/post - link.php'); ?> + +
    +
    +
    + +options->txtadimg): ?> +
    options->txtadimg(); ?>
    + +
    +
    + + author->mail; $imgUrl = getGravatar($email);echo ''; ?> + +
    +
    author->screenName(); ?>
    +

    Vdate('F j, Y'); ?>

    +
    +
    + is('post')) : ?>fields->img): ?> + + + + +
    +
    + fields->videourl)&&($this->options->pdmapi)):?> + need('dmplay/post - dmplay.php'); ?> + +

    title(); ?>

    +
    + content; echo costcn($this->cid,$this->remember('mail',true),$str,$this->user->hasLogin()); ?> +
    + fields->Copyrightnew =='0'):?> +
    原创文章,作者:author->screenName(); ?>,如若转载,请注明出处:permalink() ?>
    + fields->Copyrightnew =='2') : ?> +
    本文经授权后发布,本文观点不代表立场,转载请联系原作者。
    + +
    本文来自投稿,不代表本站立场,如若转载,请注明出处:permalink() ?>
    + +
    + +
    + +
    + +
    +
    +
    + +options->txtaddown): ?> +
    options->txtaddown(); ?>
    + + +

    + need('comments.php'); ?> + +
    + + fields->down): ?> + need('down - sider.php'); ?> + + need('info - sider.php'); ?> + + +
    +
    +
    + + + + need('footer.php'); ?> + + diff --git a/spzac/post - list.php b/spzac/post - list.php index 5e8f20a..78e04bc 100644 --- a/spzac/post - list.php +++ b/spzac/post - list.php @@ -36,11 +36,11 @@
    - commentsNum('0 评论', '1 条评论', '%d 条评论'); ?> + commentsNum('0 评论', '1 条评论', '%d 条评论'); ?>
    - +
    diff --git a/spzac/post.php b/spzac/post.php index e713063..092682a 100644 --- a/spzac/post.php +++ b/spzac/post.php @@ -20,30 +20,79 @@ author->mail; $imgUrl = getGravatar($email);echo ''; ?>
    -
    author->screenName(); ?>
    -

    Vdate('F j, Y'); ?>

    +
    author->screenName(); ?>
    +

     date('Y-m-d'); ?>  /   category(',', false); ?>  /    人浏览  /   commentsNum('%d'); ?> 条评论  /   全文共cid); ?>字

    is('post')) : ?>fields->img): ?> - - - +
    fields->videourl)&&($this->options->pdmapi)):?> need('dmplay/post - dmplay.php'); ?> -

    title(); ?>

    +

    title(); ?>

    content; echo costcn($this->cid,$this->remember('mail',true),$str,$this->user->hasLogin()); ?> -
    + + need('assets/post - shang.php'); ?> + + fields->Copyrightnew =='0'):?> -
    原创文章,作者:author->screenName(); ?>,如若转载,请注明出处:permalink() ?>
    +
    + + + 原创文章,版权属于:options->title() ?> - author->screenName(); ?>
    + + 本文最后更新于modified); ?>,已超过modified)) / 86400); ?>天没有更新,若内容或图片失效,请留言反馈
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    fields->Copyrightnew =='2') : ?> -
    本文经授权后发布,本文观点不代表立场,转载请联系原作者。
    +
    + + + 本文经授权后发布,本文观点不代表立场,转载请联系原作者。
    + + 本文最后更新于modified); ?>,已超过modified)) / 86400); ?>天没有更新,若内容或图片失效,请留言反馈
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    -
    本文来自投稿,不代表本站立场,如若转载,请注明出处:permalink() ?>
    +
    + + + 本文来自投稿,不代表本站立场,如若转载,请注明出处。
    + + 本文最后更新于modified); ?>,已超过modified)) / 86400); ?>天没有更新,若内容或图片失效,请留言反馈
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    @@ -51,10 +100,11 @@
    - + +
    - + need('assets/post - share.php'); ?>
    diff --git a/spzac/post2.php b/spzac/post2.php new file mode 100644 index 0000000..4c0ffa4 --- /dev/null +++ b/spzac/post2.php @@ -0,0 +1,128 @@ +need('header.php'); + ?> + +
    + + need('assets/post - link.php'); ?> + +
    +
    +
    + +options->txtadimg): ?> +
    options->txtadimg(); ?>
    + +
    +
    + + author->mail; $imgUrl = getGravatar($email);echo ''; ?> + +
    +
    author->screenName(); ?>
    +

     date('Y-m-d'); ?>  /   category(',', false); ?>  /    人浏览  /   commentsNum('%d'); ?> 条评论  /   全文共cid); ?>字

    +
    +
    + is('post')) : ?>fields->img): ?> + + +
    +
    + fields->videourl)&&($this->options->pdmapi)):?> + need('dmplay/post - dmplay.php'); ?> + +

    title(); ?>

    +
    + content; echo costcn($this->cid,$this->remember('mail',true),$str,$this->user->hasLogin()); ?> + +
    + fields->Copyrightnew =='0'):?> +
    + + + 原创文章,版权属于:options->title() ?> - author->screenName(); ?>
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    + fields->Copyrightnew =='2') : ?> +
    + + + 本文经授权后发布,本文观点不代表立场,转载请联系原作者。
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    + +
    + + + 本文来自投稿,不代表本站立场,如若转载,请注明出处。
    + + + + 本文链接:permalink() ?>(转载时请注明本文出处及文章链接)
    + + + + + + + 作品采用:《署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)》许可协议授权
    + +
    + +
    + +
    + need('assets/post - share.php'); ?> +
    +
    +
    + +options->txtaddown): ?> +
    options->txtaddown(); ?>
    + + +

    + need('comments.php'); ?> + + need('assets/post - more.php'); ?> +
    + + fields->down): ?> + need('down - sider.php'); ?> + + need('info - sider.php'); ?> + + +
    +
    +
    + + + + need('footer.php'); ?> + + diff --git a/spzac/user - sider.php b/spzac/user - sider.php index 0296d94..da00164 100644 --- a/spzac/user - sider.php +++ b/spzac/user - sider.php @@ -10,22 +10,49 @@

    options->title() ?>

    options->description() ?>

    -
    - 主题推荐 - QQ联系 +
    + 书苑精排 + 涅槃茶馆
    - + need('assets/user - social.php'); ?> +
    + @@ -33,4 +60,4 @@ - \ No newline at end of file +