This repository has been archived by the owner on Sep 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
144 changed files
with
12,097 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php get_header(); ?> <div class="container"> <div class="section-head"> <span>404 not found</span></div> </div> <div class="boxmoe-blog-page mb30"> <div class="container"> <div class="row"> <div class="col-md-8 col-lg-8 ml-auto mr-auto"> <div class="alert alert-warning text-center" role="alert"> <span class="alert-icon"><i class="fa fa-bell"></i></span> <span class="alert-text"><strong>哦豁!</strong> 你访问的页面不存在勒!</span> </div> </div> </div> </div> </div> <?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
# lolimeow2021 | ||
wordpress主题-lolimeow 2021重构版 | ||
# 欢迎使用 Lolimeow Wordpress主题 | ||
|
||
**Lolimeow是原来的老版重构,更新了一些原来存在的BUG和UI的更新** | ||
|
||
也不知道说明什么,喜欢就用!! | ||
|
||
主要功能:该有的都有!! | ||
会员中心:有 (需要配合erphpdown插件使用,达到收费下载插件,会员中心功能都完整实现) | ||
|
||
具体查看博客文章了解详细 [点击查看](https://www.boxmoe.com/468.html "点击查看") |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
$('#image').change(function() { | ||
for (var i = 0; i < this.files.length; i++) { | ||
var f = this.files[i]; | ||
if (!/image\/\w+/.test(f.type)) { | ||
alert('请选择图片文件(png | jpg | gif)'); | ||
return | ||
} | ||
var formData = new FormData(); | ||
formData.append('smfile', f); | ||
$('#uploadinfo').html('<p class=\"card-text \">上传中...请稍等<img src=\"https://i.loli.net/2018/09/14/5b9bd17b2b43c.gif\" ></p>').fadeIn(); | ||
$.ajax({ | ||
url: 'https://sm.ms/api/upload', | ||
type: 'POST', | ||
processData: false, | ||
contentType: false, | ||
data: formData, beforeSend: function(xhr) {}, | ||
success: function(res) { | ||
$('#uploadinfo').remove(); | ||
$("#showurl").css("display"); | ||
$('#img1').remove(); | ||
$('#img2').append('<img class = "card-img-bottom" src="' + res.data.url + '" alt="MeowData专用图床" style="max-width: 300px;"/>'); | ||
$('#urls').append('<label class="control-label badge badge-pill badge-success">上传成功,请复制图片外链地址</label><div class="form-group"> <input type="text" value="' + res.data.url + '" class="form-control is-valid" /> </div>'); | ||
$('#path').append('<div class="form-group"><input type="text" value="https://i.meowdata.com' + res.data.path + '" class="form-control is-valid" /> </div>'); | ||
$('#msg').append('<span class = "badge badge-pill badge-success">' + res.data.msg + '</span>'); | ||
$('#delete').append('<a href="' + res.data.delete + '" class="btn-sm btn btn-1 btn-danger mb20" target="_black">删除图床上该图片<div class="ripple-container"></div></a>'); | ||
} | ||
}) | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
/** | ||
* WordPress jQuery-Ajax-Comments | ||
*/ | ||
var i = 0, got = -1, len = document.getElementsByTagName('script').length; | ||
while ( i <= len && got == -1){ | ||
var js_url = document.getElementsByTagName('script')[i].src, | ||
got = js_url.indexOf('comments.js'); i++ ; | ||
} | ||
var edit_mode = '1', // 再编辑模式( '1'=打开; '0'=关闭 ) | ||
ajax_php_url = js_url.replace('comments.js','../../module/config/fun-ajax-comments.php').replace(/^https?:\/\/.+\/wp-content/, location.origin+"/wp-content"), | ||
wp_url = js_url.substr(0, js_url.indexOf('wp-content')), | ||
|
||
wp_url = js_url.substr(0, js_url.indexOf('wp-content')), | ||
pic_sb = wp_url + 'wp-admin/images/wpspin_light.gif', // 提交 icon | ||
pic_no = '<i class="fa fa-meh-o"></i>', // 错误 icon | ||
pic_ys = '<i class="fa fa-smile-o"></i>', // 成功 icon | ||
txt1 = '<div id="comment_loading"><i class="fa fa-spinner fa-spin"></i> 正在提交, 请稍候...</div>', | ||
txt2 = '<div id="error">#</div>', | ||
txt3 = '"> <div id="edita" class="badge badge-success">提交成功!', | ||
edt1 = '刷新页面之前您可以<a rel="nofollow" class="comment-reply-link_a" href="#edit" onclick=\'return addComment.moveForm("', | ||
edt2 = ')\'> 重新编辑</a></div> ', | ||
cancel_edit = '取消编辑', | ||
edit, num = 1, comm_array=[]; comm_array.push(''); | ||
|
||
jQuery(document).ready(function($) { | ||
$comments = $('#comments-title'); // 评论数据的 ID | ||
$cancel = $('#cancel-comment-reply-link'); cancel_text = $cancel.text(); | ||
$submit = $('#commentform #submit'); $submit.attr('disabled', false); | ||
$('#comment').after( txt1 + txt2 ); $('#comment_loading').hide(); $('#error').hide(); | ||
$body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body'); | ||
|
||
/** submit */ | ||
$('#commentform').submit(function() { | ||
$('#comment_loading').slideDown(); | ||
$submit.attr('disabled', true).fadeTo('slow', 0.5); | ||
if ( edit ) $('#comment').after('<input type="text" name="edit_id" id="edit_id" value="' + edit + '" style="display:none;" />'); | ||
|
||
/** Ajax */ | ||
$.ajax( { | ||
url: ajax_php_url, | ||
data: $(this).serialize(), | ||
type: $(this).attr('method'), | ||
|
||
error: function(request) { | ||
$('#comment_loading').slideUp(); | ||
$('#error').slideDown().html( pic_no + request.responseText); | ||
setTimeout(function() {$submit.attr('disabled', false).fadeTo('slow', 1); $('#error').slideUp();}, 3000); | ||
}, | ||
|
||
success: function(data) { | ||
$('#comment_loading').hide(); | ||
comm_array.push($('#comment').val()); | ||
$('textarea').each(function() {this.value = ''}); | ||
var t = addComment, cancel = t.I('cancel-comment-reply-link'), temp = t.I('wp-temp-form-div'), respond = t.I(t.respondId), post = t.I('comment_post_ID').value, parent = t.I('comment_parent').value; | ||
|
||
// comments | ||
if ( ! edit && $comments.length ) { | ||
n = parseInt($comments.text().match(/\d+/)); | ||
$comments.text($comments.text().replace( n, n + 1 )); | ||
} | ||
|
||
// show comment | ||
new_htm = '" id="new_comm_' + num + '"></'; | ||
new_htm = ( parent == '0' ) ? ('\n<ul class="children' + new_htm + 'ul>') : ('\n<ul class="children' + new_htm + 'ul>'); | ||
|
||
ok_htm = '\n<span id="success_' + num + txt3; | ||
if ( edit_mode == '1' ) { | ||
div_ = (document.body.innerHTML.indexOf('div-comment-') == -1) ? '' : ((document.body.innerHTML.indexOf('li-comment-') == -1) ? 'div-' : ''); | ||
ok_htm = ok_htm.concat(edt1, div_, 'comment-', parent, '", "', parent, '", "respond", "', post, '", ', num, edt2); | ||
} | ||
ok_htm += '</span>\n'; | ||
|
||
$('#respond_com').before(new_htm); | ||
$('#new_comm_' + num).hide().append(data); | ||
$('#new_comm_' + num).append(ok_htm); | ||
$('#new_comm_' + num).fadeIn(4000); | ||
|
||
$body.animate( { scrollTop: $('#new_comm_' + num).offset().top - 200}, 900); | ||
countdown(); num++ ; edit = ''; $('*').remove('#edit_id'); | ||
cancel.style.display = 'none'; | ||
cancel.onclick = null; | ||
t.I('comment_parent').value = '0'; | ||
if ( temp && respond ) { | ||
temp.parentNode.insertBefore(respond, temp); | ||
temp.parentNode.removeChild(temp) | ||
} | ||
} | ||
}); // end Ajax | ||
return false; | ||
}); // end submit | ||
|
||
/** comment-reply.dev.js */ | ||
addComment = { | ||
moveForm : function(commId, parentId, respondId, postId, num) { | ||
var t = this, div, comm = t.I(commId), respond = t.I(respondId), cancel = t.I('cancel-comment-reply-link'), parent = t.I('comment_parent'), post = t.I('comment_post_ID'); | ||
if ( edit ) exit_prev_edit(); | ||
num ? ( | ||
t.I('comment').value = comm_array[num], | ||
edit = t.I('new_comm_' + num).innerHTML.match(/(comment-)(\d+)/)[2], | ||
$new_sucs = $('#success_' + num ), $new_sucs.hide(), | ||
$new_comm = $('#new_comm_' + num ), $new_comm.hide(), | ||
$cancel.text(cancel_edit) | ||
) : $cancel.text(cancel_text); | ||
|
||
t.respondId = respondId; | ||
postId = postId || false; | ||
|
||
if ( !t.I('wp-temp-form-div') ) { | ||
div = document.createElement('div'); | ||
div.id = 'wp-temp-form-div'; | ||
div.style.display = 'none'; | ||
respond.parentNode.insertBefore(div, respond) | ||
} | ||
|
||
!comm ? ( | ||
temp = t.I('wp-temp-form-div'), | ||
t.I('comment_parent').value = '0', | ||
temp.parentNode.insertBefore(respond, temp), | ||
temp.parentNode.removeChild(temp) | ||
) : comm.parentNode.insertBefore(respond, comm.nextSibling); | ||
|
||
$body.animate( { scrollTop: $('#respond').offset().top - 180 }, 400); | ||
|
||
if ( post && postId ) post.value = postId; | ||
parent.value = parentId; | ||
cancel.style.display = ''; | ||
|
||
cancel.onclick = function() { | ||
if ( edit ) exit_prev_edit(); | ||
var t = addComment, temp = t.I('wp-temp-form-div'), respond = t.I(t.respondId); | ||
|
||
t.I('comment_parent').value = '0'; | ||
if ( temp && respond ) { | ||
temp.parentNode.insertBefore(respond, temp); | ||
temp.parentNode.removeChild(temp); | ||
} | ||
this.style.display = 'none'; | ||
this.onclick = null; | ||
return false; | ||
}; | ||
|
||
try { t.I('comment').focus(); } | ||
catch(e) {} | ||
|
||
return false; | ||
}, | ||
|
||
I : function(e) { | ||
return document.getElementById(e); | ||
} | ||
}; // end addComment | ||
|
||
function exit_prev_edit() { | ||
$new_comm.show(); $new_sucs.show(); | ||
$('textarea').each(function() {this.value = ''}); | ||
edit = ''; | ||
} | ||
|
||
var wait = 8, submit_val = $submit.val(); | ||
function countdown() { | ||
if ( wait > 0 ) { | ||
$submit.val(wait); wait--; setTimeout(countdown, 1000); | ||
} else { | ||
$submit.val(submit_val).attr('disabled', false).fadeTo('slow', 1); | ||
wait = 8; | ||
} | ||
} | ||
|
||
}); |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.