Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion spzac/assets/css/wmd.js
Original file line number Diff line number Diff line change
@@ -11,6 +11,9 @@ window.onload = function () {
$('#wmd-button-row').append(
'<li class="wmd-spacer wmd-spacer4" id="wmd-spacer4"></li>'+
'<li class="wmd-button" id="wmd-post-button" style="" title="调用其他文章"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAAAixJREFUSMfFlcFLG0EUxr+3iCKCGAo20CiWgkcv4i1EIsX6B6ybFPewp4Kn0EvwluRstAcpXhQUVOhsY+glxdIIplCam7IByckEpaQoHgQNZNN9PaQxoWm62zTQ7zAM3wzz/eY9mAH+s+hXI5FKpBIpj6fqrXqr3oUFKSgFEXa5Og2wVqwVhAoFMsggY3tbURRFUcrlFoAkJznJQ0OmbuqVV6enAIBHbnfXbhqmMB4cHMwX5guBp3NzdV+qT0xhClNMTXU7uC6e5Em8np0VQggh+vvrfs894RiNWZm+Pi5ykXxN5Iu0iImTEwxgAN8uL1sOjnMcn8fHAQBPRkfbEgQQQJAIDAb39tbMcrkHNuJ1Xidjf59AsL7/bE1zaWMUo8eyzBGOAH8AaCNbAABgjsUYDJJ+sxhBpKOe/A0A8mdnAICv19dODyaNNESHh3mLt3A0MtIxAPvYhxdra4giiqhhOAXgW77FQ6+XdNKBSNsq2QJQhjI4Wl3FDGbgdxoPQIcOYb/NHkAlFc+urtjPfkzc3DjNp0M6RM7l4l3exfv2D5l9C3Z4hz4sLQEA4sfHTgGsPWuPTb+f0pQGlpdtAbjIRWmaGQBqYxMEb2w4Db6vQJrS+NjqV0qVUqXUSGhUgMHgfJ4CFIBsWSxY4K0kOUpzAqSRhunzc/VOvVPdjVa2fEa1p1LTAIA/hULYxCbeDQ52HJyjHN5cXJCHPNaXcFjOytnnL7PZbl3sn/UD10Xalv87/NwAAAAldEVYdGRhdGU6Y3JlYXRlADIwMTktMDEtMDFUMjI6MjE6NTcrMDg6MDDT97faAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDE5LTAxLTAxVDIyOjIxOjU3KzA4OjAwoqoPZgAAAEx0RVh0c3ZnOmJhc2UtdXJpAGZpbGU6Ly8vaG9tZS9hZG1pbi9pY29uLWZvbnQvdG1wL2ljb25fNnk3cmlmbWRvcGovd2VuemhhbmcyLnN2Z1cC2g4AAAAASUVORK5CYII="/></li>'+
'<li class="wmd-button" id="wmd-msigle-button" style="" title="调用网易云音乐单曲"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB90lEQVQ4T6WSPUwUURDHZ95eZRDFe7tvQ6HuHTQ0JIaKBkkgUWOhjaWxwlhQ2fPRQqgoLtGKQGKQBC0sjDHBxPgRQyuNd7tXWOzu7W1AGhJu3zCP5I674yIF22wy85/fm/nPIFzyw0vWwzlA0bXva6JHnJgxcALYRIJ+RHhXiZLXt115V2iY8ONk0eQ7AAUl/yDgx0pUm+3urODIXVZfzzVoopHDvwJzTjkMay1AQeWnCMVAENa2ispe1QRXLZEtlcN0rx3muXJZaPpWievvOzowr/tRMuwp+3sQ1cZN0rRbDZMv7QDWHQjS98px+qMFKCr5FlEvZhrvgBBHlMFXYdEvDfBUEJRYeIvhV0wBAz6wMYI9eNACcJBYgCbJ/4cFVx5pyp4hWM95xhU2ci2IkvwpwJHz7MWC0bcDYg44Q+6NETMzg/YF6nFN4je/tsAbeMkb6Of4hgXWXAbZT6M/A7iyxO1uNue1bbuvD/VjYeEeadjlZR76Ud0APnPhFHdY8sPkxRlgcOAmNMSYH9e3Ow2zA43Hk9Vwv2p84i6eeI4zCtBQQZx+6tiCp/JJENXlRZfpKbnDfkw2dd2HROJYXyun6b9eoKbZ7blzp2xEpwI2z5yrcZ1NnOHgYNP5/wJMkudUANk0Iq5z4StCeNN9UD1HuGj+XvkTUFbdEUJht/QAAAAASUVORK5CYII="/></li>'+
'<li class="wmd-button" id="wmd-mlist-button" style="" title="调用网易云音乐歌单"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA9UlEQVQ4T2NkoBAwUqifAdmANKBhFUCsSMDQu0D5xUDcCFKHbMB/ND66OeJAgZdQQbhadANkgApU0XSyAfl8QLwaKncHSOM0wAsoGQjEz6EYZhbIdlsg3gjEk/EZgC9QNwE11gHxBXINWA7UGEkoDMKACrTQwkAUyM8B4jlAnELIAHQvzAdq+AvE8UC8FYgDSDFAAai4HogTgRjEngvEzoQMaAAqcIAqegukXYDYAIjvA3EGEM8kZAC6F0CaQQaeBOLjSGGDNR3sByooAeKzSAqxMY2BguVADApwlKQM8ucaIAYpwAe2AyXzgBiUIlEMIKAPuzQAyWM0EQek7WYAAAAASUVORK5CYII="></li>'+
'<li class="wmd-button" id="wmd-vbili-button" style="" title="插入bilibili视频"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABIElEQVQ4T2NkoBAwIuvX09PjZmNjMz1z5swBbOaamJg4/Pr16/SlS5e+wuRRDDA2Ni4GSvT8//+/4dy5c43IhhgZGdUzMjI2AMVKzp4924vVAJAg0JArQEob2RAkzVeBmnWQDQa7wNDQUJSZmTkRqCkTyFUgECz3gS6Z8ffv3/nnz59/DTYAaGsWkJoKxFj9jmagGpAvBcTZQNdMgxmwHyjgABRACRNcLgFa+B9kGVC9I4YBBgYGAkDvrAc6MfDChQsfQIagi+E1ABRVwLDYD/SnIyw60cXwGqCurs7Lw8OzCWhAI8wAdDG8BhCTMGliACwanwFdcIsIVzigRCMoIQH9HA3EoIQEimd84BYwkKcD8VJ4QiLCRpxKiEo4+CwAAMRRrRFt70auAAAAAElFTkSuQmCC"></li>'+
/** '<li class="wmd-button" id="wmd-button-button" style="" title="插入按钮"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAAAyFJREFUSMfVVU1oU1kU/s57rQnY1DBgtTsR+wLqQhDymIjVggWTgIESEiz4s5CmTKUkCDIzi1mUYVZK88RFq4VCbZvemydSpWkXFhrBQNyJLjTp6IC72aSgixjbd2ZRbrSRklEE8W7O491zv3vud77vXuBHHeNj42PjY62tKn4tDjVLmLamrWmrvd312PW4dSWVwhKWMNrfzxM8gaJhbEl++vIlANCR2VlX2pV2pUdHI4VIIVJ4+/aLC5gbmhuaGzIMfUqfol9zOejQUavVMIxhHLAsPsyHSRSLdaDn9JzjpskFLuCnZBIDGMBQS4t2Rjuj/x4KRd1Rd9RdLjelRJ0468l6xJvVVemTPunLZHKlXClXcrmarVd52UPZQyIjhJRSij/K5fnAfGA+4PE05muNP+pUqxOPYAQjFy6EjJARMt6/F6YwhXnsmJRSit1TUyraXtub+fv4cZW3897Oe56j588DANY3Nqr5ar6aTyabFqB6rKiOxWPxWLxWs/fb+zNLgQBdoSsYzucBADfPnVOR13hN27eyIoIiKILd3aqQTU1YFgUpiL39/dsWIIUUUuzYwb3ci1RXV2OPHTjQf0kkAAAtut4IxJIlbE2jMpWpPDBQXxd2wk64WKSH9BD/Gkaja+oFVCqVSqXCTHfpLmxmbVlb3viT6iIlL3n5KnMzDVAbtfFvH/O0BW1BW/iIYySMhJH4ZF59JAYTg4nBDx/Qjna8WV3lPbxHe+b314HXaM3Zd+uW6ulnG8cohqjjOJ1OJ+zbt7fO+v18ik+ho1TqoR7qofX1bTXAEzxBT2ZmlJ2UqqOvoq/Oni4U+Dpfx40TJwAAl+/cUZG85HX+OXkyvhhfjC8+ejTJkzzJbjddokvsTyapgzrgn5lpxiCUXZR9lJ3+rw3VxlJKKQ5ms7JX9orOUmlTY21tnzG3HZBdtat2tavLue/c3/grl/uUejpiWUpcW3ttmurEbLKJn4m0B9oD/XU4vN1F1PQqVpVzH/dxXypVt9Mu7EK3z1cHWqZlXHvxAiGEcHl2liMcoYvp9KaN371rSv2Xjm/1GH338R+qMJyHQpNoiQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAxOS0wMS0wMVQyMjoyMTo1NyswODowMNP3t9oAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMTktMDEtMDFUMjI6MjE6NTcrMDg6MDCiqg9mAAAASHRFWHRzdmc6YmFzZS11cmkAZmlsZTovLy9ob21lL2FkbWluL2ljb24tZm9udC90bXAvaWNvbl82eTdyaWZtZG9wai9hbm5pdS5zdmcI/9trAAAAAElFTkSuQmCC"/></li>'+**/
'<li class="wmd-button" id="wmd-text-button" style="" title="插入高亮文本"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAAAtJJREFUSMftlD1Im1EUht/zJSkUHBwEBwXxBzrUEFHM0M3GUg2BKqnfZ6BUcLD+xUkXFRUiLaXqYKIRB5Eo6PeFkMGf+oNdBKGLQqtFcVCLij8FFTIZc0+HNoKmxdiWduk7nnve+z7ce+4F/usfiwLTgenAdGqqKBElFw9WVniURzGblPTD7o2tLVqmZbzp6uJczuXh5GQMYpCqZBlVqCJvY6Msy7IsT03FCyBFQpFQJJSZeRnci15yv39PbnJjo6/vSve99HTe5E0Uejy0Sqv0dH+fu7kb73p6SCGFS4NBTdM0TVOUuAFiKg1oQENHR9li2aLSVl8PANjZ27tcV6CgnIjXeA0lXq8UkALIkSS44OLz2tpvICMjfp/fNz5bXn57AAC86nZrJs2kmSYmAABpKSkxTddAhF3Y6bNezyqrFKypQQUq6KHPdxOIJI7FsTg+OrpSvZ+VhRa0cLPNduMZfgehVmpFc38/G9nIRoPhOog6qU6qkw7HdTsxMzMT+c1+s988P48mNHGjxRLvHcZIhYpxZu7kTrysrUUIIYTOzyWzZEbOwICYEBOYrahQbIpNsY2NUdQX5CAHOTHxIvki+fzD3Bx72IP1/PzfBYEMmcpNJvKQhzdevGAnO5FZXQ0Gkz4jg677/ijI3sFB5G3krfiYl6ef089JVWNjnM3ZUFJTDTOGmTs7eXkxQ1hKpVRKp6fsZjetP3oUfZZxh/rgw+ujI2lBWhDDVquuWFcsffJ62chGPEtLi8xEZsSOxRLNkX62j6zIiqycncEJJ5yPH98EQs/pOQoPD6UUKUVcFBUJi7BIdzs6MIQhfDGZUIlKelVQ4CAHOWh7O+r7KUC8INFg9rGPFoqKxJJY0nF7OwDgSU5ONPjbD7m1FQN+22uNzkjYH/aH/XV1YDBYVQ1thjZD28lJ2BV2hV11dboEXYIuYWjIbrVb7dbd3V+aob+hr36lc2X51FNiAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE5LTAxLTAxVDIyOjIxOjU3KzA4OjAw0/e32gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOS0wMS0wMVQyMjoyMTo1NyswODowMKKqD2YAAABLdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uXzZ5N3JpZm1kb3BqL2JpYW9xaWFuLnN2ZynJOh0AAAAASUVORK5CYII="/></li>'+
/** '<li class="wmd-button" id="wmd-ss-button" style="" title="插入收缩框"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAAAcdJREFUSMftlLFLI2EQxd/EwwQ3rKyQg4sIxkIEba5JKySptxCTDUkqA4cIwcI/QAJWVywJpAs2YY/c9y0INhohjcVymC5E2OJIWAPWciBZNyt+Vxzn2SZNivNXzTDF4808Bvjfob8F55yz5OUlTnGKn+vrKKKIgu+/XL9ci1+q6tbcmlsbDqWElJASNzeYx7zoh8MTK+5hD58dJ6NlNO08mfzwOhAQ9EXXUUQRFIuJqIiKqOfJh/Kh/PHuLktZypLnmdzk35snJwICgTlFmc73cAgAOJ/1/t/BmxAym9nM3t8PHAWOUF1dFVfiiuq+7zf8ht/Q9XFunBvnXDe8El5ZsC4uhC50GLI8seAxHSPpOGk7bWvp3d3XEFKPeiKyuYlb3FJ2YwNb2MKPp6eQElJCiiTlKU95enhgXdZl3WYTMcTwdWlpKtctx0EGmVlv/x0Ab0PYZm3WLhQQRxzx5WVqUYtavh+sBCvBSr2uWqqlWo+PfMAHfHBwgAgiiEzxCTvooHN/r6W0lJYyjH8hLFGJSqqKMspie20NVVTR87yRNbJG1tmZaZqmaT4/kyCBbzs7IBA+LS5O7LhMZWz3+386w5j1BWbPb/OHsYTTDyKOAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDE5LTAxLTAxVDIyOjIxOjU3KzA4OjAw0/e32gAAACV0RVh0ZGF0ZTptb2RpZnkAMjAxOS0wMS0wMVQyMjoyMTo1NyswODowMKKqD2YAAABJdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uXzZ5N3JpZm1kb3BqL2NhaWRhbi5zdmfHIwUIAAAAAElFTkSuQmCC"/></li>'+**/
@@ -148,8 +151,30 @@ window.onload = function () {
inserContentToTextArea(myField,textContent);

});
$(document).on('click', '#wmd-msigle-button', function() {

/** $(document).on('click', '#wmd-yc2-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-vbili-button', function() {

textContent = '[vbili]这里填入bilibili的BV号[/vbili]';

myField = document.getElementById('text');
inserContentToTextArea(myField,textContent);

}); /** $(document).on('click', '#wmd-yc2-button', function() {
textContent = '[login]这里编辑隐藏文本(登陆可见)[/login]';
15 changes: 9 additions & 6 deletions spzac/assets/post - link.php
Original file line number Diff line number Diff line change
@@ -4,15 +4,18 @@
<div class="col-12">
<ul class="breadcrumb__wrap">
<?php if($this->is('index')):?><!-- 页面首页时 -->
<li class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>">首页</a></li>
<li class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>"><svg t="1608142169742" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5832" width="16" height="16"><path d="M950.153231 461.510311l-122.16073-111.794026-1.27984-1.087864 0-136.87889c0-10.110736-8.190976-18.365704-18.365704-18.365704l-82.549681 0c-10.110736 0-18.365704 8.190976-18.365704 18.365704l0 35.835521-5.11936-4.351456-150.829146-134.255218c-0.63992-0.575928-1.343832-1.023872-1.983752-1.471816-11.070616-8.766904-24.060992-13.43832-37.563305-13.43832-14.07824 0-27.51656 4.991376-38.971129 14.526184-0.127984 0.191976-0.31996 0.383952-0.511936 0.447944l-398.670166 352.595926c-10.55868 9.086864-12.926384 26.428696-5.247344 38.907137 7.67904 12.414448 22.525184 15.230096 33.083865 6.207224l398.350206-352.40395c0.063992 0 0.191976-0.127984 0.255968-0.191976C503.68104 151.149106 507.712536 149.613298 512 149.613298s8.31896 1.535808 11.710536 4.415448c0.191976 0.127984 0.383952 0.255968 0.575928 0.383952l398.094238 352.211974c10.55868 9.022872 25.404824 6.271216 33.083865-6.207224C963.079615 487.939008 960.775903 470.597175 950.153231 461.510311z" p-id="5833" fill="#364e65"></path><path d="M543.868016 271.1981c0-0.063992-0.127984-0.127984-0.191976-0.191976-9.342832-7.807024-20.349456-11.966504-31.740032-12.030496-11.390576 0-22.333208 4.15948-31.67604 11.902512-0.063992 0.127984-0.191976 0.191976-0.31996 0.31996l-276.189476 247.969004c-6.207224 5.311336-9.790776 13.694288-9.790776 22.525184l0.191976 328.598925c0 32.955881 26.748656 59.704537 59.704537 59.704537l156.780402 0 0-204.198475c0-41.338833 28.412448-74.742657 63.480065-74.742657l65.911761 0c35.067617 0 63.544057 33.403825 63.544057 74.742657l0 204.198475 166.315211 0c32.955881 0 59.704537-26.748656 59.704537-59.704537l0.255968-328.598925c0-8.830896-3.647544-17.213848-9.790776-22.525184L543.868016 271.1981z" p-id="5834" fill="#364e65"></path></svg> 首页</a></li>

<?php elseif ($this->is('post')): ?><!-- 页面为文章单页时 -->
<li class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>">首页</a></li>
<li class="breadcrumb__item"><?php $this->category(); ?></li>

<li class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>"><svg t="1608142169742" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5832" width="16" height="16"><path d="M950.153231 461.510311l-122.16073-111.794026-1.27984-1.087864 0-136.87889c0-10.110736-8.190976-18.365704-18.365704-18.365704l-82.549681 0c-10.110736 0-18.365704 8.190976-18.365704 18.365704l0 35.835521-5.11936-4.351456-150.829146-134.255218c-0.63992-0.575928-1.343832-1.023872-1.983752-1.471816-11.070616-8.766904-24.060992-13.43832-37.563305-13.43832-14.07824 0-27.51656 4.991376-38.971129 14.526184-0.127984 0.191976-0.31996 0.383952-0.511936 0.447944l-398.670166 352.595926c-10.55868 9.086864-12.926384 26.428696-5.247344 38.907137 7.67904 12.414448 22.525184 15.230096 33.083865 6.207224l398.350206-352.40395c0.063992 0 0.191976-0.127984 0.255968-0.191976C503.68104 151.149106 507.712536 149.613298 512 149.613298s8.31896 1.535808 11.710536 4.415448c0.191976 0.127984 0.383952 0.255968 0.575928 0.383952l398.094238 352.211974c10.55868 9.022872 25.404824 6.271216 33.083865-6.207224C963.079615 487.939008 960.775903 470.597175 950.153231 461.510311z" p-id="5833" fill="#364e65"></path><path d="M543.868016 271.1981c0-0.063992-0.127984-0.127984-0.191976-0.191976-9.342832-7.807024-20.349456-11.966504-31.740032-12.030496-11.390576 0-22.333208 4.15948-31.67604 11.902512-0.063992 0.127984-0.191976 0.191976-0.31996 0.31996l-276.189476 247.969004c-6.207224 5.311336-9.790776 13.694288-9.790776 22.525184l0.191976 328.598925c0 32.955881 26.748656 59.704537 59.704537 59.704537l156.780402 0 0-204.198475c0-41.338833 28.412448-74.742657 63.480065-74.742657l65.911761 0c35.067617 0 63.544057 33.403825 63.544057 74.742657l0 204.198475 166.315211 0c32.955881 0 59.704537-26.748656 59.704537-59.704537l0.255968-328.598925c0-8.830896-3.647544-17.213848-9.790776-22.525184L543.868016 271.1981z" p-id="5834" fill="#364e65"></path></svg> 首页</a></li>
<span class="separator">/</span>
<li class="breadcrumb__item"><svg t="1608142520875" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10268" width="16" height="16"><path d="M652.762537 307.899317H372.736v-44.756293c-0.099902-21.479024-17.682732-39.061854-39.061854-39.161756H173.630439c-21.379122 0.099902-39.061854 17.682732-39.061854 39.161756v128.274732h477.633561c6.693463-31.369366 20.679805-59.941463 40.560391-83.518439zM607.706537 431.079024c0-4.295805 0.39961-8.391805 0.599414-12.587707H92.609561c-18.282146 0.499512-27.672976 10.589659-28.172488 25.774829 0 2.697366 0.39961 5.794341 1.198829 8.99122l79.322537 306.600585c5.095024 21.27922 30.070634 40.56039 51.849366 40.260683h512.299707c21.878634 0.499512 46.854244-18.881561 51.949268-40.260683l35.365464-136.966244c-104.298146-1.698341-188.715707-87.015024-188.715707-191.812683z" p-id="10269" fill="#364e65"></path><path d="M799.818927 271.434927c-88.213854 0-159.744 71.530146-159.744 159.644097 0 88.213854 71.530146 159.744 159.744 159.744s159.744-71.729951 159.744-159.744-71.530146-159.644098-159.744-159.644097z m79.522341 181.922341h-57.244097v57.244098c0 12.387902-9.990244 22.278244-22.478049 22.278244-12.387902 0-22.278244-9.890341-22.278244-22.278244v-57.244098h-57.244098c-12.188098 0-22.278244-9.990244-22.278243-22.278244 0-12.188098 10.090146-22.478049 22.278243-22.478048h57.244098v-57.144196c0-12.387902 10.090146-22.278244 22.278244-22.278243 12.487805 0 22.478049 9.990244 22.478049 22.278243V408.600976h57.244097c12.387902 0 22.278244 10.090146 22.278244 22.478048s-9.990244 22.278244-22.278244 22.278244z" p-id="10270" fill="#364e65"></path></svg> <?php $this->category(); ?></li>
<span class="separator">/</span>
<span class="breadcrumb__item"><svg t="1608178369782" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7815" width="18" height="18"><path d="M493.496761 138.575601c-125.332167 0-226.677316 101.352374-226.677316 226.684541 0 170.004375 226.677316 420.964933 226.677316 420.964933s226.684541-250.960559 226.684541-420.964933C720.181302 239.927976 618.836153 138.575601 493.496761 138.575601zM493.496761 446.216327c-44.672208 0-80.956184-36.283977-80.956184-80.956184 0-44.701108 36.283977-80.963409 80.956184-80.963409 44.672208 0 80.963409 36.262302 80.963409 80.963409C574.452946 409.93235 538.168969 446.216327 493.496761 446.216327z" p-id="7816" fill="#364e65"></path></svg><a href="#"><?php $this->title(); ?></a></span>
<?php else: ?><!-- 页面为其他页时 -->
<li class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>">首页</a></li>
<li class="breadcrumb__item"><?php $this->archiveTitle(' &raquo; ','',''); ?></li>
<li class="breadcrumb__item"><a href="<?php $this->options->siteUrl(); ?>"><svg t="1608142169742" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5832" width="16" height="16"><path d="M950.153231 461.510311l-122.16073-111.794026-1.27984-1.087864 0-136.87889c0-10.110736-8.190976-18.365704-18.365704-18.365704l-82.549681 0c-10.110736 0-18.365704 8.190976-18.365704 18.365704l0 35.835521-5.11936-4.351456-150.829146-134.255218c-0.63992-0.575928-1.343832-1.023872-1.983752-1.471816-11.070616-8.766904-24.060992-13.43832-37.563305-13.43832-14.07824 0-27.51656 4.991376-38.971129 14.526184-0.127984 0.191976-0.31996 0.383952-0.511936 0.447944l-398.670166 352.595926c-10.55868 9.086864-12.926384 26.428696-5.247344 38.907137 7.67904 12.414448 22.525184 15.230096 33.083865 6.207224l398.350206-352.40395c0.063992 0 0.191976-0.127984 0.255968-0.191976C503.68104 151.149106 507.712536 149.613298 512 149.613298s8.31896 1.535808 11.710536 4.415448c0.191976 0.127984 0.383952 0.255968 0.575928 0.383952l398.094238 352.211974c10.55868 9.022872 25.404824 6.271216 33.083865-6.207224C963.079615 487.939008 960.775903 470.597175 950.153231 461.510311z" p-id="5833" fill="#364e65"></path><path d="M543.868016 271.1981c0-0.063992-0.127984-0.127984-0.191976-0.191976-9.342832-7.807024-20.349456-11.966504-31.740032-12.030496-11.390576 0-22.333208 4.15948-31.67604 11.902512-0.063992 0.127984-0.191976 0.191976-0.31996 0.31996l-276.189476 247.969004c-6.207224 5.311336-9.790776 13.694288-9.790776 22.525184l0.191976 328.598925c0 32.955881 26.748656 59.704537 59.704537 59.704537l156.780402 0 0-204.198475c0-41.338833 28.412448-74.742657 63.480065-74.742657l65.911761 0c35.067617 0 63.544057 33.403825 63.544057 74.742657l0 204.198475 166.315211 0c32.955881 0 59.704537-26.748656 59.704537-59.704537l0.255968-328.598925c0-8.830896-3.647544-17.213848-9.790776-22.525184L543.868016 271.1981z" p-id="5834" fill="#364e65"></path></svg> 首页</a></li>
<span class="separator">/</span>
<li class="breadcrumb__item"><svg t="1608142636923" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="13167" width="16" height="16"><path d="M893.1328 343.8592l-347.136 153.1904c-21.504 9.4208-46.4896 9.4208-67.7888 0L130.8672 343.8592c-30.5152-13.5168-30.5152-53.6576 0-67.1744l347.136-153.1904c21.504-9.4208 46.4896-9.4208 67.7888 0L892.928 276.6848c30.72 13.5168 30.72 53.6576 0.2048 67.1744z" p-id="13168" fill="#364e65"></path><path d="M512 706.7648c-16.1792 0-32.3584-3.2768-47.3088-10.0352l-306.3808-135.168c-26.4192-11.6736-42.8032-35.6352-42.8032-62.6688 0-27.0336 16.384-51.2 42.8032-62.6688l29.0816-12.9024c16.9984-7.5776 37.4784-0.8192 45.4656 14.9504 8.192 15.7696 0.8192 34.6112-16.1792 42.1888l-29.0816 12.9024c-2.4576 1.024-3.6864 3.072-3.6864 5.5296 0 2.6624 1.2288 4.5056 3.6864 5.5296l306.3808 135.168c11.4688 5.12 24.576 5.12 36.0448 0l306.3808-135.168c2.4576-1.024 3.8912-3.072 3.8912-5.5296 0-2.6624-1.2288-4.5056-3.6864-5.5296l-35.6352-15.7696c-16.9984-7.5776-24.1664-26.4192-16.1792-42.1888 8.192-15.7696 28.4672-22.528 45.4656-14.9504l35.6352 15.7696c26.4192 11.6736 42.8032 35.6352 42.8032 62.6688 0 27.0336-16.384 51.2-42.8032 62.6688l-306.3808 135.168c-15.1552 6.5536-31.3344 10.0352-47.5136 10.0352z" p-id="13169" fill="#364e65"></path><path d="M512 907.6736c-16.1792 0-32.3584-3.2768-47.3088-10.0352l-306.3808-135.168c-26.4192-11.6736-42.8032-35.6352-42.8032-62.6688 0-27.0336 16.384-51.2 42.8032-62.6688l29.0816-12.9024c16.9984-7.5776 37.4784-0.8192 45.4656 14.9504 8.192 15.7696 0.8192 34.6112-16.1792 42.1888L187.5968 694.272c-2.4576 1.024-3.6864 3.072-3.6864 5.5296 0 2.6624 1.2288 4.5056 3.6864 5.5296l306.3808 135.168c11.4688 5.12 24.576 5.12 36.0448 0l306.3808-135.168c2.4576-1.024 3.8912-3.072 3.8912-5.5296 0-2.6624-1.2288-4.5056-3.6864-5.5296l-35.6352-15.7696c-16.9984-7.5776-24.1664-26.4192-16.1792-42.1888 8.192-15.7696 28.4672-22.528 45.4656-14.9504l35.6352 15.7696c26.4192 11.6736 42.8032 35.6352 42.8032 62.6688 0 27.0336-16.384 51.2-42.8032 62.6688l-306.3808 135.168c-15.1552 6.5536-31.3344 10.0352-47.5136 10.0352z" p-id="13170" fill="#364e65"></path></svg> <a href="#"><?php $this->archiveTitle(' &raquo; ','',''); ?></a></li>
<?php endif; ?>
</ul>
</div>
2 changes: 1 addition & 1 deletion spzac/assets/post - more.php
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@
<ul>
<?php $this->related(5)->to($relatedPosts); ?>
<?php while ($relatedPosts->next()): ?>
<li><a href="<?php $relatedPosts->permalink(); ?>"><?php $relatedPosts->title(); ?></a></li>
<li><svg t="1608184042869" class="icon" viewBox="0 0 1024 1024" version="1.1" style="margin-right:8px;margin-bottom:2px;" xmlns="http://www.w3.org/2000/svg" p-id="15804" width="18" height="18"><path d="M401.92 263.68c-10.24-10.24-25.6-10.24-35.84 0-10.24 10.24-10.24 25.6 0 35.84l212.48 212.48-212.48 212.48c-10.24 10.24-10.24 25.6 0 35.84 10.24 10.24 25.6 10.24 35.84 0l230.4-227.84c5.12-5.12 7.68-12.8 7.68-20.48 0-7.68-2.56-15.36-7.68-20.48l-230.4-227.84zM819.2 102.4H204.8C148.48 102.4 102.4 148.48 102.4 204.8v614.4c0 56.32 46.08 102.4 102.4 102.4h614.4c56.32 0 102.4-46.08 102.4-102.4V204.8c0-56.32-46.08-102.4-102.4-102.4z m51.2 716.8c0 28.16-23.04 51.2-51.2 51.2H204.8c-28.16 0-51.2-23.04-51.2-51.2V204.8c0-28.16 23.04-51.2 51.2-51.2h614.4c28.16 0 51.2 23.04 51.2 51.2v614.4z" p-id="15805" fill="#333333"></path></svg><a href="<?php $relatedPosts->permalink(); ?>"><?php $relatedPosts->title(); ?></a></li>
<?php endwhile; ?>

</ul>
179 changes: 179 additions & 0 deletions spzac/assets/post - shang.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
<style type="text/css">
.shang_content {
width:80%;
margin:20px auto;
text-align:center;
}
}
.hide_box {
z-index:999;
filter:alpha(opacity=50);
background:#666;
opacity:0.5;
-moz-opacity:0.5;
left:0;
top:0;
height:99%;
width:100%;
position:fixed;
display:none;
}
.shang_box {
color:#fff;
width:800px;
height:560px;
padding:10px;
background-color:#d8d7d7;
border-radius:10px;
position:fixed;
z-index:1000;
left:40%;
top:40%;
margin-left:-280px;
margin-top:-280px;
border: 2px solid #dc5f06;
display:none;
}
.shang_box img {
border:none;
border-width:0;
display: initial;}
.dashang {
display:block;
width:100px;
margin:5px auto;
height:auto;
line-height:25px;
padding:10px 15px;
text-align:center;
text-decoration:none;
font-weight:bold;
font-size:16px;
transition:all 0.3s;
font-weight:500;
outline:0!important;
color:#fff!important;
background-color:#f05050;
border-color:#f05050;
border-radius:50px;
margin-bottom:20px;
}
/*.dashang:hover {
opacity:0.8;
padding:15px;
font-size:16px;
}*/
.shang_close {
float:right;
display:inline-block;
}
.shang_logo {
display:block;
text-align:center;
margin:20px auto;
}
.shang_tit {
width:100%;
color:#000000;
margin:10px auto 30px auto;
}
.shang_tit p {
color:#000;
text-align:center;
font-size:18px;
font-weight:900;
}
.shang_payimg {
width:640px;
text-align:center;
margin:10px auto;
border-radius:3px;
height:365px;
}
.pay_explain {
text-align:center;
margin:10px auto 25px auto;
font-size:14px;
color:#333;
}
.radiobox {
width:16px;
height:16px;
background:url('<?php $this->options->themeUrl('img/shang/radio2.jpg'); ?>');
display:block;
float:left;
margin-top:5px;
margin-right:14px;
}
.checked .radiobox {
background:url('<?php $this->options->themeUrl('img/shang/radio1.jpg'); ?>');
}
.shang_payselect {
text-align:center;
margin:0 auto;
margin-top:40px;
cursor:pointer;
height:60px;
width:320px;
}
.shang_payselect .pay_item {
display:inline-block;
margin-right:10px;
float:left;
}
.shang_info {
clear:both;
}
.shang_info p,.shang_info a {
color:#ff0000;
text-align:center;
font-size:16px;
text-decoration:none;
line-height:0em;
}

</style>

<div class="shang_content">
<p><a href="javascript:void(0)" onClick="dashangToggle()" class="dashang" title="打赏,支持一下"><svg t="1608258227508" class="icon" viewBox="0 0 1024 1024" aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="18145" width="18" height="18"><path d="M512 640c0-35.36 28.64-64 64-64s64 28.64 64 64c0 35.36-28.64 64-64 64s-64-28.64-64-64zM928.032 416c-0.032 0-0.032 0 0 0l-0.032-192 0-96c0-53.024-43.008-96-96-96l-656 0c-97.056 0-176 78.976-176 176l0 640c0 97.024 78.944 176 176 176l576 0c97.024 0 176-78.976 176-176l0-48c0 0 0 0 0.032 0 127.936-96.032 127.936-287.968 0-384zM176 96l656 0c17.632 0 32 14.336 32 32l0 197.888c-10.048-3.584-20.736-5.888-32-5.888l-0.032 0 0-160c0-17.696-14.336-32-32-32l-672 0c-17.664 0-32 14.304-32 32l0 126.176c-19.744-20.192-31.968-47.712-31.968-78.176 0-61.856 50.112-112 112-112zM799.968 192l-672 0 0-32 672 0 0 32zM799.968 224l0 32-672 0 0-32 672 0zM799.968 288l0 32-623.968 0c-17.28 0-33.408-4.224-48-11.2l0-20.8 671.968 0zM864 848c0 61.856-50.144 112-112 112l-576 0c-61.888 0-112-50.144-112-112l0-504.352c30.432 25.184 69.472 40.352 112 40.352l656 0c17.632 0 32 14.336 32 32l0 64-288 0c-88.384 0-160 71.616-160 160s71.648 160 160 160l288 0 0 48zM904.864 736l-328.864 0c-52.928 0-96-43.072-96-96s43.072-96 96-96l288 0c19.744-0.256 39.328-9.824 51.264-25.728 3.328-4.48 5.92-9.504 8-14.752 0.288-0.704 0.8-1.248 1.056-1.984 23.008 30.176 35.68 67.168 35.68 106.464 0 49.216-19.872 94.88-55.136 128z" p-id="18146" fill="#ffffff"></path></svg>
&nbsp;赞&nbsp;&nbsp;赏</a></p>
<p style="color:#999999;"><span>如果觉得我的文章对你有用,请随意赞赏</span></p>
<div class="hide_box"></div>
<div class="shang_box">
<a class="shang_close" href="javascript:void(0)" onClick="dashangToggle()" title="关闭"><svg t="1608276676282" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="24845" width="20" height="20" alt="取消"><path d="M497 90c246.319 0 446 199.681 446 446S743.319 982 497 982 51 782.319 51 536 250.681 90 497 90z m175.534 270.444c-11.672-11.671-30.595-11.671-42.266 0L496.156 494.556l-133.302-133.3-0.505-0.492c-11.706-11.176-30.257-11.012-41.761 0.493-11.672 11.671-11.672 30.595 0 42.266L453.89 536.822l-132.44 132.44-0.494 0.505c-11.176 11.706-11.012 30.257 0.493 41.762 11.672 11.671 30.595 11.671 42.266 0l132.44-132.441 133.258 133.26 0.505 0.494c11.706 11.176 30.256 11.011 41.761-0.494 11.672-11.671 11.672-30.594 0-42.266l-133.257-133.26L672.534 402.71l0.493-0.504c11.176-11.706 11.011-30.257-0.493-41.762z" fill="#d81e06" p-id="24846"></path></svg></a>
<div class="shang_tit">
<p>感谢您的支持,我会继续努力的!</p>
</div>
<div class="shang_payimg">
<img src="https://imgsrc.xyz/images/2020/09/29/a707318c6b48d28d44789bebbca8bc1d.png" alt="扫码支持" title="扫一扫" width="600" height="345"/>
</div>
<div class="pay_explain">扫码打赏,你说多少就多少</div>
<!-- <div class="shang_payselect">
<div class="pay_item checked" data-id="alipay">
<span class="radiobox"></span>
<span class="pay_logo"><img src="<?php $this->options->themeUrl('img/shang/alipay.jpg'); ?>" alt="支付宝" /></span>
</div>
<div class="pay_item" data-id="weipay">
<span class="radiobox"></span>
<span class="pay_logo"><img src="<?php $this->options->themeUrl('img/shang/wechat.jpg'); ?>" alt="微信" /></span>
</div>
</div>-->
<div class="shang_info">
<p>打开&nbsp;&nbsp;<span id="shang_pay_txt"><svg t="1608261456118" class="icon" aria-hidden="true" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="20670" width="16" height="16"><path d="M1023.795 853.64v6.348a163.807 163.807 0 0 1-163.807 163.807h-696.18A163.807 163.807 0 0 1 0 859.988v-696.18A163.807 163.807 0 0 1 163.807 0h696.181a163.807 163.807 0 0 1 163.807 163.807V853.64z" fill="#009FE9" p-id="20671"></path><path d="M844.836 648.267c-40.952-14.333-95.623-34.809-156.846-57.128a949.058 949.058 0 0 0 90.094-222.573H573.325V307.14h245.711v-43.41l-245.71 2.458V143.33H472.173c-18.223 0-21.704 20.476-21.704 20.476v102.38H204.759v40.952h245.71v61.427H245.712v40.952h409.518a805.522 805.522 0 0 1-64.909 148.246c-128.384-42.795-266.186-77.604-354.233-55.08a213.564 213.564 0 0 0-112.003 63.27c-95.418 116.917-26.21 294.034 175.274 294.034 119.989 0 236.087-67.366 325.771-177.73 134.322 65.932 398.666 176.297 398.666 176.297V701.3s-32.352-4.095-178.96-53.033z m-563.702 144.97c-158.893 0-204.759-124.699-126.336-194.112a191.86 191.86 0 0 1 90.913-46.276c93.575-10.238 189.811 35.629 293.624 86.614-74.941 94.598-166.674 153.774-258.2 153.774z" fill="#FFFFFF" p-id="20672"></path></svg>&nbsp;或者&nbsp;<svg t="1608261537969" class="icon" viewBox="0 0 1024 1024" aria-hidden="true" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="22879" width="20" height="20"><path d="M395.846 603.585c-3.921 1.98-7.936 2.925-12.81 2.925-10.9 0-19.791-5.85-24.764-14.625l-2.006-3.864-78.106-167.913c-0.956-1.98-0.956-3.865-0.956-5.845 0-7.83 5.928-13.68 13.863-13.68 2.965 0 5.928 0.944 8.893 2.924l91.965 64.43c6.884 3.864 14.82 6.79 23.708 6.79 4.972 0 9.85-0.945 14.822-2.926L861.71 282.479c-77.149-89.804-204.684-148.384-349.135-148.384-235.371 0-427.242 157.158-427.242 351.294 0 105.368 57.361 201.017 147.323 265.447 6.88 4.905 11.852 13.68 11.852 22.45 0 2.925-0.957 5.85-2.006 8.775-6.881 26.318-18.831 69.334-18.831 71.223-0.958 2.92-2.013 6.79-2.013 10.75 0 7.83 5.929 13.68 13.865 13.68 2.963 0 5.928-0.944 7.935-2.925l92.922-53.674c6.885-3.87 14.82-6.794 22.756-6.794 3.916 0 8.889 0.944 12.81 1.98 43.496 12.644 91.012 19.53 139.48 19.53 235.372 0 427.24-157.158 427.24-351.294 0-58.58-17.78-114.143-48.467-163.003l-491.39 280.07-2.963 1.98z" fill="#09BB07" p-id="22880"></path></svg></span>扫一扫,即可进行扫码赞赏哦</p>
</div>
</div>
</div>
<script type="text/javascript">
/*$(function(){
$(".pay_item").click(function(){
$(this).addClass('checked').siblings('.pay_item').removeClass('checked');
var dataid=$(this).attr('data-id');
$(".shang_payimg img").attr("src","img/shang/"+dataid+"img.jpg");
$("#shang_pay_txt").text(dataid=="alipay"?"支付宝":"微信");
});
});*/
function dashangToggle(){
$(".hide_box").fadeToggle();
$(".shang_box").fadeToggle();
}
</script>
76 changes: 76 additions & 0 deletions spzac/assets/post - share.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<style>
/*微信二维码 by chrafz.com*/
a.weixin{
position:relative;
}
.weixin::after{
content: url(https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?text=<?php $this->permalink() ?>);
position: absolute;
right: -35px;
top: -135px;
z-index: 99;
width: 110px;
height: 120px;
transform-origin: bottom;
transform: scale(0);
opacity: 0;
border:.3125rem solid #6c757d;
border-radius:.15rem;
-webkit-transition:all .4s ease-in-out;
-o-transition:all .4s ease-in-out;
transition:all .4s ease-in-out;
}
.weixin:hover::after{
transform:scale(1);
opacity: 1;
}
</style>
<div class="post-share-action">
<a href="//service.weibo.com/share/share.php?url=<?php $this->permalink() ?>&type=button&language=zh_cn&title=<?php $this->title() ?>&searchPic=true"
target="_blank" class="weibo" rel="nofollow">
<span>
<svg t="1607513090298" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21467" width="20" height="20"><path d="M918.485 209.078c-62.138-69.905-155.345-95.796-238.195-77.672-20.713 5.178-31.069 23.301-28.48 44.014 5.178 20.713 23.302 31.069 44.014 28.48 59.55-12.945 126.865 5.178 170.88 54.37 44.014 49.193 56.96 116.509 36.247 176.058-2.59 10.356-2.59 18.123 2.589 28.48 5.178 7.767 12.945 15.534 20.712 18.123 18.124 5.178 38.836-5.178 46.604-23.302 23.301-85.44 7.767-178.646-54.371-248.551z" fill="#FFAE36" p-id="21468"></path><path d="M807.155 436.917c15.534 5.178 33.658-2.59 38.836-20.713 12.945-41.425 5.178-85.44-25.89-119.097-31.07-33.658-75.084-46.604-116.51-38.837-18.123 2.59-28.48 20.713-23.301 36.248 2.59 18.123 20.713 28.48 36.247 23.301 20.713-5.178 41.425 2.59 56.96 18.124 15.534 15.534 18.123 38.836 12.945 59.549-5.178 18.123 5.178 36.247 20.713 41.425z m-62.138 59.549c-12.945-5.179-23.302-7.768-15.535-23.302 15.535-38.836 15.535-72.494 0-95.796-31.068-44.014-116.508-41.425-212.304 0 0 0-31.069 12.945-23.302-10.356 15.535-49.193 12.946-88.029-10.356-111.33-51.781-51.782-191.592 2.588-310.689 121.686-88.029 90.618-139.81 183.824-139.81 266.675 0 157.934 201.948 253.73 398.718 253.73 258.907 0 429.786-150.167 429.786-269.265 0-72.494-62.138-113.919-116.508-132.042zM431.739 840.813c-157.934 15.534-292.566-56.96-302.922-157.934-10.357-103.563 108.74-199.359 266.675-214.893 157.933-15.535 292.565 56.96 302.922 157.933 10.356 103.563-108.742 199.36-266.675 214.894z" fill="#D81E06" p-id="21469"></path><path d="M447.273 545.658c-75.083-20.713-160.523 18.124-191.592 82.85-33.658 67.316 0 142.4 75.084 165.701 77.672 25.891 170.879-12.945 201.948-85.44 31.069-69.904-7.768-142.398-85.44-163.111z m-56.96 173.468c-15.534 23.302-46.603 36.247-72.494 23.302-23.301-10.356-31.069-38.836-15.534-62.138 15.534-23.302 46.603-33.658 69.905-23.302 25.89 7.768 33.658 36.247 18.123 62.138z" p-id="21470"></path></svg>
</span>
</a>
<a href="javascript:" class="weixin" title="微信扫一扫 分享朋友圈" desc="在微信中请长按二维码" rel="nofollow">
<span>
<svg t="1607513045902" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21209" width="20" height="20"><path d="M683.058 364.695c11 0 22 1.016 32.943 1.976C686.564 230.064 538.896 128 370.681 128c-188.104 0.66-342.237 127.793-342.237 289.226 0 93.068 51.379 169.827 136.725 229.256L130.72 748.43l119.796-59.368c42.918 8.395 77.37 16.79 119.742 16.79 11 0 21.46-0.48 31.914-1.442a259.168 259.168 0 0 1-10.455-71.358c0.485-148.002 128.744-268.297 291.403-268.297l-0.06-0.06z m-184.113-91.992c25.99 0 42.913 16.79 42.913 42.575 0 25.188-16.923 42.579-42.913 42.579-25.45 0-51.38-16.85-51.38-42.58 0-25.784 25.93-42.574 51.38-42.574z m-239.544 85.154c-25.384 0-51.374-16.85-51.374-42.58 0-25.784 25.99-42.574 51.374-42.574 25.45 0 42.918 16.79 42.918 42.575 0 25.188-16.924 42.579-42.918 42.579z m736.155 271.655c0-135.647-136.725-246.527-290.983-246.527-162.655 0-290.918 110.88-290.918 246.527 0 136.128 128.263 246.587 290.918 246.587 33.972 0 68.423-8.395 102.818-16.85l93.809 50.973-25.93-84.677c68.907-51.93 120.286-119.815 120.286-196.033z m-385.275-42.58c-16.923 0-34.452-16.79-34.452-34.179 0-16.79 17.529-34.18 34.452-34.18 25.99 0 42.918 16.85 42.918 34.18 0 17.39-16.928 34.18-42.918 34.18z m188.165 0c-16.984 0-33.972-16.79-33.972-34.179 0-16.79 16.927-34.18 33.972-34.18 25.93 0 42.913 16.85 42.913 34.18 0 17.39-16.983 34.18-42.913 34.18z" fill="#09BB07" p-id="21210"></path></svg>
</span>
</a>
<a href="//connect.qq.com/widget/shareqq/index.html?url=<?php $this->permalink() ?>&title=<?php $this->title() ?>&pics=<?php if ($this->fields->img):?>"<?php endif; ?>
target="_blank" class="qq" rel="nofollow">
<span>
<svg t="1607513026499" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21072" width="20" height="20"><path d="M511.037 986.94c-85.502 0-163.986-26.686-214.517-66.544-25.66 7.149-58.486 18.655-79.202 32.921-17.725 12.202-15.516 24.647-12.32 29.67 14.027 22.069 240.622 14.092 306.04 7.219v-3.265z" fill="#FAAD08" p-id="21073"></path><path d="M495.627 986.94c85.501 0 163.986-26.686 214.518-66.544 25.66 7.149 58.485 18.655 79.203 32.921 17.724 12.202 15.512 24.647 12.32 29.67-14.027 22.069-240.623 14.092-306.042 7.219v-3.265z" fill="#FAAD08" p-id="21074"></path><path d="M496.137 472.026c140.73-0.935 253.514-27.502 291.73-37.696 9.11-2.432 13.984-6.789 13.984-6.789 0.032-1.25 0.578-22.348 0.578-33.232 0-183.287-88.695-367.458-306.812-367.47C277.5 26.851 188.8 211.021 188.8 394.31c0 10.884 0.55 31.982 0.583 33.232 0 0 3.965 4.076 11.231 6.048 35.283 9.579 150.19 37.482 294.485 38.437h1.037zM883.501 626.967c-8.66-27.825-20.484-60.273-32.455-91.434 0 0-6.886-0.848-10.366 0.158-107.424 31.152-237.624 51.006-336.845 49.808h-1.026c-98.664 1.186-227.982-18.44-335.044-49.288-4.09-1.176-12.168-0.677-12.168-0.677-11.97 31.16-23.793 63.608-32.453 91.433-41.3 132.679-27.92 187.587-17.731 188.818 21.862 2.638 85.099-99.88 85.099-99.88 0 104.17 94.212 264.125 309.947 265.596a765.877 765.877 0 0 1 5.725 0c215.738-1.471 309.947-161.424 309.947-265.595 0 0 63.236 102.519 85.102 99.88 10.186-1.231 23.566-56.14-17.732-188.819" p-id="21075"></path><path d="M429.208 303.911c-29.76 1.323-55.195-32.113-56.79-74.62-1.618-42.535 21.183-78.087 50.95-79.417 29.732-1.305 55.149 32.116 56.765 74.64 1.629 42.535-21.177 78.08-50.925 79.397m220.448-74.62c-1.593 42.507-27.03 75.941-56.79 74.62-29.746-1.32-52.553-36.862-50.924-79.397 1.614-42.526 27.03-75.948 56.764-74.639 29.77 1.33 52.57 36.881 50.951 79.417" fill="#FFFFFF" p-id="21076"></path><path d="M695.405 359.069c-7.81-18.783-86.466-39.709-183.843-39.709h-1.045c-97.376 0-176.033 20.926-183.842 39.709a6.66 6.66 0 0 0-0.57 2.672c0 1.353 0.418 2.575 1.072 3.612 6.58 10.416 93.924 61.885 183.341 61.885h1.045c89.416 0 176.758-51.466 183.34-61.883a6.775 6.775 0 0 0 1.069-3.622 6.66 6.66 0 0 0-0.567-2.664" fill="#FAAD08" p-id="21077"></path><path d="M464.674 239.335c1.344 16.946-7.87 32-20.55 33.645-12.701 1.647-24.074-10.755-25.426-27.71-1.326-16.954 7.873-32.008 20.534-33.64 12.722-1.652 24.114 10.76 25.442 27.705m77.97 8.464c2.702-4.392 21.149-27.488 59.328-19.078 10.028 2.208 14.667 5.457 15.646 6.737 1.445 1.888 1.84 4.576 0.375 8.196-2.903 7.174-8.894 6.979-12.217 5.575-2.144-0.907-28.736-16.948-53.232 6.99-1.685 1.648-4.7 2.212-7.558 0.258-2.856-1.956-4.038-5.923-2.342-8.678" p-id="21078"></path><path d="M503.821 589.328h-1.031c-67.806 0.802-150.022-8.004-229.638-23.381-6.817 38.68-10.934 87.294-7.399 145.275 8.928 146.543 97.728 238.652 234.793 239.996h5.57c137.065-1.344 225.865-93.453 234.796-239.996 3.535-57.986-0.584-106.6-7.403-145.283-79.631 15.385-161.861 24.196-229.688 23.389" fill="#FFFFFF" p-id="21079"></path><path d="M310.693 581.35v146.633s69.287 13.552 138.7 4.17V596.897c-43.974-2.413-91.4-7.79-138.7-15.546" fill="#EB1C26" p-id="21080"></path><path d="M806.504 427.238s-130.112 43.08-302.66 44.309h-1.025c-172.264-1.224-302.217-44.161-302.66-44.309L156.58 541.321c108.998 34.464 244.093 56.677 346.238 55.387l1.024-0.002c102.152 1.297 237.226-20.917 346.24-55.385l-43.579-114.083z" fill="#EB1C26" p-id="21081"></path></svg>
</span>
</a>
<a class="douban" rel="nofollow" href="<?php $this->permalink() ?>&name=<?php $this->title() ?>&image=<?php if ($this->fields->img):?>"<?php endif; ?> target="_blank">
<span>
<svg t="1607580055401" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16908" width="20" height="20"><path d="M512 1024C229.2224 1024 0 794.7776 0 512 0 229.2224 229.2224 0 512 0c282.7776 0 512 229.2224 512 512 0 282.7776-229.2224 512-512 512z m228.864-671.658667V307.2H286.242133v45.141333h454.587734zM750.933333 750.933333v-45.653333h-134.997333c18.1248-26.7776 35.5328-58.7776 52.258133-96.0512l-35.4304-23.620267h65.160534V405.333333H330.734933v180.2752h62.0544l-35.4304 23.0912c18.7904 27.136 36.642133 59.306667 53.538134 96.580267H273.066667V750.933333h477.866666z m-102.144-210.722133H379.5968v-88.4224h269.192533v88.4224z m-246.954666 45.397333h222.378666c-15.1552 39.3728-35.584 79.2576-61.269333 119.671467h-100.864a1014.5792 1014.5792 0 0 0-60.245333-119.671467z" fill="#228A31" p-id="16909"></path></svg> </span>
</a>
<a href="https://www.facebook.com/sharer.php?u=<?php $this->permalink() ?>"
target="_blank" class="facebook ">
<span>
<svg t="1607579834413" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11782" width="20" height="20"><path d="M572.8 98.5c-26 0-51 3.1-80.1 14.7-59.3 24.1-89.4 80.7-89.4 168.7v85.9h-83.2v143.6h83.2v414h169.5v-414h115.4l15.6-143.6h-131v-65c0-19.9 2.1-34.6 7.3-43 7.3-12.6 21.8-18.9 44.7-18.9h76.9V98.5H572.8z" fill="#667EB9" p-id="11783"></path></svg> </span>
</a>
<a href="https://twitter.com/intent/tweet?url=<?php $this->permalink() ?>"
target="_blank" class="twitter" rel="nofollow">
<span>
<svg t="1607513107575" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="21598" width="20" height="20"><path d="M996.12 211.772c-27.41 40.139-60.586 74.338-99.524 102.58 0.419 5.715 0.628 14.311 0.628 25.788 0 53.242-7.782 106.353-23.346 159.333-15.565 52.986-39.201 103.845-70.903 152.58-31.707 48.735-69.47 91.84-113.279 129.306-43.813 37.474-96.638 67.37-158.477 89.693-61.84 22.323-127.951 33.491-198.335 33.491-110.943 0-212.483-29.692-304.613-89.063 14.305 1.622 30.264 2.434 47.876 2.434 92.13 0 174.226-28.247 246.284-84.738-42.974-0.84-81.467-14.043-115.478-39.62-34.01-25.57-57.358-58.222-70.042-97.94 13.519 2.04 26.018 3.063 37.495 3.063 17.612 0 35.008-2.256 52.2-6.764-45.855-9.43-83.828-32.252-113.908-68.466-30.08-36.208-45.12-78.268-45.12-126.163v-2.44c27.829 15.564 57.726 23.95 89.694 25.157-27.04-18.026-48.532-41.557-64.463-70.591-15.932-29.03-23.926-60.552-23.973-94.563 0-36.055 9.01-69.41 27.042-100.067 49.525 60.998 109.815 109.812 180.881 146.446 71.06 36.63 147.106 56.99 228.126 61.078-3.249-15.565-4.874-30.71-4.874-45.435 0-54.868 19.337-101.641 58.013-140.316s85.45-58.012 140.32-58.012c57.332 0 105.649 20.886 144.955 62.65 44.653-8.595 86.63-24.553 125.93-47.873-15.144 47.06-44.201 83.511-87.176 109.344 38.1-4.088 76.173-14.33 114.218-30.735l-0.151-0.157z" fill="#00ACED" p-id="21599"></path></svg>
</span>
</a>
<!-- <a href="javascript:" data-clipboard-text="<?php $this->permalink() ?>" class="js-copy" id="btn">
<span>
<svg t="1607580164103" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17037" width="20" height="20"><path d="M592.213333 551.025778l60.302223-60.302222A85.333333 85.333333 0 0 0 531.911111 369.948444l-60.302222 60.302223-20.138667-20.081778a56.888889 56.888889 0 0 1 0-80.440889l160.881778-160.938667a113.777778 113.777778 0 0 1 160.938667 0l80.440889 80.497778a113.777778 113.777778 0 0 1 0 160.881778l-160.938667 160.881778a56.888889 56.888889 0 0 1-80.440889 0l-20.081778-20.081778zM431.217778 470.584889l-60.302222 60.302222a85.333333 85.333333 0 0 0 120.604444 120.718222l60.416-60.359111 20.081778 20.081778a56.888889 56.888889 0 0 1 0 80.497778l-160.881778 160.881778a113.777778 113.777778 0 0 1-160.938667 0l-80.440889-80.440889a113.777778 113.777778 0 0 1 0-160.938667l160.881778-160.881778a56.888889 56.888889 0 0 1 80.497778 0l20.081778 20.138667z m181.020444-60.359111a28.444444 28.444444 0 0 1 0 40.220444l-160.881778 160.881778a28.444444 28.444444 0 1 1-40.220444-40.220444l160.881778-160.881778a28.444444 28.444444 0 0 1 40.220444 0z" fill="#5A6677" p-id="17038"></path></svg> </span>
</a>
<script>
//从属性里复制
var btn = document.getElementById('btn');
var clipboard = new Clipboard(btn);//实例化
clipboard.on('success', function(e) {//复制成功执行的回调,可选
console.log(e);
});
clipboard.on('error', function(e) {//复制失败执行的回调,可选
console.log(e);
});
</script>-->
</div>
94 changes: 94 additions & 0 deletions spzac/assets/user - social.php

Large diffs are not rendered by default.

262 changes: 232 additions & 30 deletions spzac/css/main.css

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions spzac/css/swiper.min.css

Large diffs are not rendered by default.

125 changes: 120 additions & 5 deletions spzac/down - sider.php
Original file line number Diff line number Diff line change
@@ -1,31 +1,146 @@
<div class="col-12 col-md-5 col-lg-4 col-xl-3 fixsidenav">
<?php if ($this->is('post')): ?>
<!-- user -->
<div class="user fixside downon">
<div class="user downon">
<div class="user__head">
<div class="user__img">
<img src="<?php $this->options->blogme(); ?>" alt="<?php $this->options->title() ?>">
</div>
</div>
<div class="user__title">
<p>版权申明:本素材由本站发布,用户购买后只有终端使用权,禁止转售和转载</p>
<p style="line-height:180%;">版权申明:本素材由本站发布,用户购买后只有终端使用权,禁止转售和转载</p>
</div>
<?php if ($this->fields->down): ?>
<div class="user__btns user__nofo">
<a href="<?php $this->fields->down(); ?>" class="user__btn user__btn--blue user__down"><span>资源下载</span></a>
</div>
<?php endif;?>

<div class="sidebox__content">
<div class="sidebox__content" style="margin-top:10px;">
<?php $this->widget('Widget_Archive@indextui', 'pageSize=5&type=category', 'mid=1')->to($categoryPosts); ?>
<?php while($categoryPosts->next()): ?>
<div class="sidebox__job"><div class="sidebox__job-title"><a href="<?php $categoryPosts->permalink();?>"><?php $categoryPosts->title();?></a><span><i class="icon ion-ios-navigate"></i></span></div></div>
<div class="sidebox__job"><div class="sidebox__job-title"><a href="<?php $categoryPosts->permalink();?>"><?php $categoryPosts->title();?></a><span><svg t="1608209117213" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5166" width="16" height="16"><path d="M474.091 874.771v34.187c0 28.815 23.57 52.25 52.736 52.25 29.166 0 52.736-23.435 52.736-52.25v-34.187H474.09z m168.253 0v34.187c0 63.578-51.76 115.042-115.517 115.042S411.31 972.536 411.31 908.958v-34.187H43.9v-31.396c0-76.635 38.352-146.57 100.172-188.192V457.122c0-158.82 101.451-297.54 247.954-347.983C397.762 47.915 449.286 0 512 0c62.713 0 114.238 47.915 119.974 109.139 146.503 50.443 247.954 189.163 247.954 347.983v198.061C941.748 696.805 980.1 766.74 980.1 843.375v31.396H642.344z m190.877-174.658l-16.074-8.987V457.122c0-138.622-93.21-258.805-225.017-294.577l-26.475-7.185 3.572-27.204c0.33-2.509 0.496-5.055 0.496-7.63 0-31.886-25.844-57.734-57.723-57.734-31.88 0-57.723 25.848-57.723 57.733 0 2.576 0.167 5.122 0.496 7.63l3.572 27.205-26.475 7.185C300.063 198.317 206.853 318.5 206.853 457.122v234.004l-16.074 8.987c-42.363 23.685-71.916 64.644-81.085 111.866h804.612c-9.169-47.222-38.722-88.181-81.085-111.866z m-253.794-426.92c-14.675-9.233-19.087-28.616-9.856-43.293s28.61-19.09 43.285-9.857c68.94 43.375 121.919 108.61 149.952 185.23 5.957 16.283-2.411 34.314-18.692 40.273-16.28 5.958-34.308-2.411-40.266-18.695-23.238-63.514-67.215-117.664-124.423-153.658z" fill="#222222" p-id="5167"></path></svg></span></div></div>
<?php endwhile; ?>
</div>
<div class="sidebox__more">资源介绍</div>
<?php $this->need('assets/user - social.php'); ?>
<!--<div class="sidebox__more">资源简介</div>-->
</div>
<!-- end user -->
<div class="sidebox sidebox--desk" >
<h4 class="sidebox__title">今日诗词</h4>
<i class="bg-primary"></i>
<div style="padding:15px 10px;background-color: #fafafa;">
<style type="text/css">
#poem_info{
font-family: "st","宋体","zw",sans-serif;
text-indent: 0;
font-size: 12px;
font-weigth: 700;
text-align: right;
padding-right:2em;
color: #000;
}
#poem_sentence{
font-family: "kt","楷体","zw",sans-serif;
font-size: 16px;
font-weigth: 1200;
text-indent: 0;
text-align: center;
padding:0;
color: #ff0000;
margin: 0px 0 5px 0;
}
</style>


<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<div id="poem_sentence"></div>
<div id="poem_info"></div>
<script type="text/javascript">
jinrishici.load(function(result) {
var info = document.querySelector("#poem_info")
var sentence = document.querySelector("#poem_sentence")
sentence.innerHTML = result.data.content
info.innerHTML = result.data.origin.dynasty + '·' + result.data.origin.author
});
</script>
</div>
</div>
<?php endif; ?>
<!-- sidebox -->
<div class="sidebox sidebox--desk">
<h4 class="sidebox__title">热门文章</h4>
<i class="bg-primary"></i>
<div class="sidebox__content">
<?php theMostViewed(); ?>
</div>
<a href="#" class="sidebox__more">View more</a>
</div>
<!-- end sidebox -->

<!-- sidebox -->
<div class="sidebox sidebox--desk">
<h4 class="sidebox__title">热评文章</h4>
<i class="bg-primary"></i>
<div class="sidebox__content">
<?php getHotPosts('10');?>
</div>
<a href="#" class="sidebox__more">View more</a>
</div>
<!-- end sidebox -->
<?php if ($this->is('index')): ?>

<!-- sidebox -->
<div class="sidebox sidebox--desk <?php if ($this->is('index')): ?>fixside<?php endif; ?> " >
<h4 class="sidebox__title">最新日志</h4>
<i class="bg-primary"></i>
<div class="sidebox__content">


<?php $this->widget('Widget_Archive@indextuis', 'pageSize=5&type=category', 'mid=15')->to($categoryPosts); ?>
<?php while($categoryPosts->next()): ?>
<div class="sidebox__user">
<a href="<?php $categoryPosts->permalink(); ?>" class="sidebox__user-img">
<?php if ($this->fields->img): ?><img src="<?php $categoryPosts->fields->img(); ?>" alt=""><?php else: ?>
<img src="<?php $this->options->themeUrl(); ?>img/adimg.png" alt=""><?php endif; ?>
</a>
<div class="sidebox__user-title">
<h5><a href="<?php $categoryPosts->permalink(); ?>"><?php $categoryPosts->title(18, '...'); ?></a></h5>
<p><?php $categoryPosts->tags('', false, ''); ?></p>
</div>

</div>
<?php endwhile; ?>
</div>
<a href="#" class="sidebox__more">View more</a>
</div>
<!-- end sidebox -->

<!-- ping -->
<div class="sidebox__ad"><?php $this->options->adimg(); ?></div>
<?php else: ?>
<div class="sidebox fixside s_ping">
<h4 class="sidebox__title">最新评论</h4>
<i class="bg-primary"></i>
<div class="sidebox__content" id="rctrly">
<?php $this->widget('Widget_Comments_Recent','ignoreAuthor=false&pageSize=5')->to($comments); ?>
<?php while($comments->next()): ?>
<div class="post__comment commentping">
<a href="<?php $comments->permalink(); ?>" class="post__comment-img">
<img src="<?php $email=$comments->mail; $imgUrl = getGravatar($email);echo ''.$imgUrl.''; ?>" alt="">
</a>
<div class="post__comment-title">
<h5><a href="<?php $comments->permalink(); ?>" class="coment_link"><?php $comments->author(); ?></a> <?php autvip($comments->mail);?></h5>
<p><?php $comments->dateWord(); ?></p>
</div>
<div class="post__comment-text" ><?php $cos=($comments->content); echo $cos;?></div>
</div>
<?php endwhile; ?>
</div>
<a href="#" class="sidebox__more">View more</a>
</div>
<?php endif; ?>
<!-- end ping -->



Binary file added spzac/fonts/blockdole.eot
Binary file not shown.
Binary file added spzac/fonts/blockdole.woff
Binary file not shown.
Binary file added spzac/fonts/blockdole.woff2
Binary file not shown.
593 changes: 593 additions & 0 deletions spzac/fonts/iconfont.css

Large diffs are not rendered by default.

Binary file added spzac/fonts/iconfont.eot
Binary file not shown.
458 changes: 458 additions & 0 deletions spzac/fonts/iconfont.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/fonts/iconfont.ttf
Binary file not shown.
Binary file added spzac/fonts/iconfont.woff
Binary file not shown.
Binary file added spzac/fonts/iconfont.woff2
Binary file not shown.
15 changes: 8 additions & 7 deletions spzac/footer.php
Original file line number Diff line number Diff line change
@@ -6,17 +6,18 @@
<a href="index.html" class="footer__logo">
<img src="<?php $this->options->footlogo(); ?>" alt="<?php $this->options->title() ?>">
</a>
<span class="footer__copyright">© 2020 小灯泡设计 <?php if($this->options->footnav){$this->options->footnav();} ?> 页面执行:<?php echo timer_stop();?></span>
<span class="footer__copyright"><?php if($this->options->footnav){$this->options->footnav();} ?> <svg t="1608290790767" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3971" width="16" height="16"><path d="M310.9 795.5h410.8v58.9H310.9zM310.9 180.2h410.8v58.9H310.9z" fill="#FFFFFF" p-id="3972"></path><path d="M333.6 217H702v126.9L571 486.4v62l131 135V808H337V683l128-127.6v-75.1L334.9 350.7z" fill="#D6292C" p-id="3973"></path><path d="M331.8 864.8c-11.6 0-21-9.4-21-21V674.6L435.6 551c9.1-9.1 14.1-21.3 14-34.4-0.1-13.1-5.2-25.4-14.4-34.6L310.9 358.4V179.6c0-11.6 9.4-21 21-21s21 9.4 21 21v161.3l112 111.3c17.1 17.1 26.6 39.9 26.7 64.2 0.1 24.4-9.3 47.2-26.4 64.3L352.8 692.1v151.7c0 11.6-9.4 21-21 21zM700.7 864.8c-11.6 0-21-9.4-21-21V692L568.8 580.7c-17.1-17.1-26.4-39.9-26.2-64.3 0.2-24.2 9.7-47 26.8-64.1L679.7 341V179.6c0-11.6 9.4-21 21-21s21 9.4 21 21v178.7L599.1 481.9c-9.3 9.3-14.4 21.6-14.5 34.8-0.1 13.1 4.9 25.3 14 34.4l123.1 123.7v169.1c-0.1 11.5-9.4 20.9-21 20.9z" fill="#E67F80" p-id="3974"></path><path d="M404.9 337L513 445.1 621.2 337zM382.5 746.3h262.2v60.8H382.5z" fill="#FFFFFF" p-id="3975"></path><path d="M900 572.9c-11.6 0-21-9.4-21-21V331.7c0-11.6 9.4-21 21-21s21 9.4 21 21V552c0 11.5-9.4 20.9-21 20.9zM800 572.9c-11.6 0-21-9.4-21-21V394.6c0-11.6 9.4-21 21-21s21 9.4 21 21v157.3c0 11.6-9.4 21-21 21zM702 572.9c-11.6 0-21-9.4-21-21v-50.7c0-11.6 9.4-21 21-21s21 9.4 21 21v50.7c0 11.6-9.4 21-21 21zM124 711c-11.6 0-21-9.4-21-21V469.8c0-11.6 9.4-21 21-21s21 9.4 21 21V690c0 11.6-9.4 21-21 21zM223 648.1c-11.6 0-21-9.4-21-21V469.8c0-11.6 9.4-21 21-21s21 9.4 21 21v157.3c0 11.6-9.4 21-21 21zM321 541.4c-11.6 0-21-9.4-21-21v-50.7c0-11.6 9.4-21 21-21s21 9.4 21 21v50.7c0 11.6-9.4 21-21 21z" fill="#E67F80" p-id="3976"></path><path d="M767.1 191H268.9c-11.6 0-21-9.4-21-21s9.4-21 21-21h498.2c11.6 0 21 9.4 21 21s-9.4 21-21 21z" fill="#D6292C" p-id="3977"></path><path d="M767.1 876H268.9c-11.6 0-21-9.4-21-21s9.4-21 21-21h498.2c11.6 0 21 9.4 21 21s-9.4 21-21 21z" fill="#D6292C" p-id="3978"></path></svg>&nbsp;<?php echo timer_stop();?></span>

<nav class="footer__nav">
<a href="/">联系我们</a>
<a href="/">常见问题</a>
<a href="/">个人主页</a>
<a href="https://love2wind.cn/donate.html">打赏捐赠</a>
<a href="https://love2wind.cn/subscribe.html">订阅本站</a>
<a href="https://love2wind.cn/links.html">友情链接</a>
<a href="https://love2wind.cn/about.html">关于本站</a>
</nav>

<button class="footer__back" type="button">
<i class="icon ion-ios-arrow-round-up"></i>
</button>
<span class="footer__back" type="button">
<svg t="1608280502009" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="29109" width="32" height="32"><path d="M508.214279 842.84615l34.71157 0c0 0 134.952598-188.651614 134.952598-390.030088 0-201.376427-102.047164-339.759147-118.283963-357.387643-12.227486-13.254885-51.380204-33.038464-51.380204-33.038464s-37.809117 14.878872-51.379181 33.038464C443.247638 113.586988 338.550111 251.439636 338.550111 452.816063c0 201.378473 134.952598 390.030088 134.952598 390.030088L508.214279 842.84615zM457.26591 164.188456l50.948369 0 50.949392 0c9.344832 0 16.916275 7.522324 16.916275 16.966417 0 9.377578-7.688099 16.966417-16.916275 16.966417l-50.949392 0-50.948369 0c-9.344832 0-16.917298-7.556093-16.917298-16.966417C440.347588 171.776272 448.036711 164.188456 457.26591 164.188456zM440.347588 333.852624c0-37.47859 30.387078-67.865667 67.865667-67.865667s67.865667 30.387078 67.865667 67.865667-30.387078 67.865667-67.865667 67.865667S440.347588 371.331213 440.347588 333.852624z" p-id="29110" fill="#ffffff"></path><path d="M460.214055 859.812567c-1.87265 5.300726-2.90005 11.000542-2.90005 16.966417 0 12.623505 4.606925 24.189935 12.244882 33.103956l21.903869 37.510312c1.325182 8.052396 8.317433 14.216793 16.750499 14.216793 8.135284 0 14.929014-5.732561 16.585747-13.386892l0.398066 0 24.62177-42.117237c5.848195-8.284687 9.29469-18.425651 9.29469-29.325909 0-5.965875-1.027399-11.665691-2.90005-16.966417L460.214055 859.81359z" p-id="29111" fill="#ffffff"></path><path d="M312.354496 646.604674c-18.358113 3.809769-28.697599 21.439288-23.246447 39.399335l54.610782 179.871647c3.114944 10.304693 10.918677 19.086707 20.529569 24.454972l8.036024-99.843986c1.193175-14.745842 11.432377-29.226648 24.737404-36.517705-16.502859-31.912827-34.381042-71.079872-49.375547-114.721835L312.354496 646.604674z" p-id="29112" fill="#ffffff"></path><path d="M711.644481 646.604674l-35.290761-7.356548c-14.994506 43.641963-32.889061 82.810031-49.374524 114.721835 13.304004 7.291057 23.544229 21.770839 24.737404 36.517705l8.036024 99.843986c9.609869-5.368264 17.397229-14.150278 20.529569-24.454972L734.890928 686.004009C740.34208 668.043962 730.003618 650.414443 711.644481 646.604674z" p-id="29113" fill="#ffffff"></path></svg>
</span>
</div>
</div>
</div>
49 changes: 37 additions & 12 deletions spzac/functions.php
Original file line number Diff line number Diff line change
@@ -305,7 +305,7 @@ function getGravatar($email, $s = 96, $d = 'mp', $r = 'g', $img = false, $atts =
{
preg_match_all('/((\d)*)@qq.com/', $email, $vai);
if (empty($vai['1']['0'])) {
$url = 'https://www.gravatar.com/avatar/';
$url = 'https://gravatar.loli.net/avatar/';
$url .= md5(strtolower(trim($email)));
$url .= "?s=$s&d=$d&r=$r";
if ($img) {
@@ -446,19 +446,19 @@ function listdeng($archive){
$db->query('ALTER TABLE `'.$db->getPrefix().'contents` ADD `views` INT(10) DEFAULT 0;');
}
$exist = $db->fetchRow($db->select('views')->from('table.contents')->where('cid = ?', $cid))['views'];
if($exist<200){
if($exist<5){
/** echo '<span class="badge arc_v1"></span>';**/
}elseif ($exist<500 && $exist>200) {
}elseif ($exist<20 && $exist>5) {
echo '<span class="badge arc_v2">新秀</span>';
}elseif ($exist<1000 && $exist>=500) {
}elseif ($exist<50 && $exist>=20) {
echo '<span class="badge arc_v3">推荐</span>';
}elseif ($exist<5000 && $exist>=1000) {
}elseif ($exist<1000 && $exist>=50) {
echo '<span class="badge arc_v4">热文</span>';
}elseif ($exist<10000 && $exist>=5000) {
}elseif ($exist<200 && $exist>=100) {
echo '<span class="badge arc_v5">头条</span>';
}elseif ($exist<30000 && $exist>=10000) {
}elseif ($exist<500 && $exist>=200) {
echo '<span class="badge arc_v6">火爆</span>';
}elseif ($exist>=30000) {
}elseif ($exist>=500) {
echo '<span class="badge arc_v7">神贴</span>';
}
}
@@ -511,7 +511,7 @@ function getRandomPosts($random=5){

$strimg = $img;
if ($strimg){$strimg=$strimg;}else{$strimg = "/usr/themes/spzac/img/adimg.png";}
echo '<li><a href="'.$permalink.'">'.$post_title.'</a></li>';
echo '<li><svg t="1608184042869" class="icon" viewBox="0 0 1024 1024" version="1.1" style="margin-right:8px;margin-bottom:2px;" xmlns="http://www.w3.org/2000/svg" p-id="15804" width="18" height="18"><path d="M401.92 263.68c-10.24-10.24-25.6-10.24-35.84 0-10.24 10.24-10.24 25.6 0 35.84l212.48 212.48-212.48 212.48c-10.24 10.24-10.24 25.6 0 35.84 10.24 10.24 25.6 10.24 35.84 0l230.4-227.84c5.12-5.12 7.68-12.8 7.68-20.48 0-7.68-2.56-15.36-7.68-20.48l-230.4-227.84zM819.2 102.4H204.8C148.48 102.4 102.4 148.48 102.4 204.8v614.4c0 56.32 46.08 102.4 102.4 102.4h614.4c56.32 0 102.4-46.08 102.4-102.4V204.8c0-56.32-46.08-102.4-102.4-102.4z m51.2 716.8c0 28.16-23.04 51.2-51.2 51.2H204.8c-28.16 0-51.2-23.04-51.2-51.2V204.8c0-28.16 23.04-51.2 51.2-51.2h614.4c28.16 0 51.2 23.04 51.2 51.2v614.4z" p-id="15805" fill="#333333"></path></svg><a href="'.$permalink.'">'.$post_title.'</a></li>';



@@ -639,13 +639,28 @@ function costcn($cid,$mid,$str,$status){
$str = preg_replace("/\[hide\](.*?)\[\/hide\]/sm",'<div class="reply2view">此处内容需要评论回复后</div>',$str);
}
}

//提示框短代码
if ( strpos( $str, '[msigle')!== false) {//提高效率,避免每篇文章都要解析
//[scode class="red"]这里编辑标签内容//[/scode]
$str = preg_replace("/\[msigle\](.*?)\[\/msigle\]/sm",'<iframe class="iframe-music" frameborder="no" border="0" width="330" height="86" src="//music.163.com/outchain/player?type=2&id=$1&auto=0&height=66"></iframe>',$str);
}
if ( strpos( $str, '[mlist')!== false) {//提高效率,避免每篇文章都要解析
//[scode class="red"]这里编辑标签内容//[/scode]
$str = preg_replace("/\[mlist\](.*?)\[\/mlist\]/sm",'<iframe class="iframe-music" frameborder="no" border="0" width="330" height="450" src="//music.163.com/outchain/player?type=0&id=$1&auto=0&height=430"></iframe>',$str);
}
if ( strpos( $str, '[vbili')!== false) {//提高效率,避免每篇文章都要解析
//[scode class="red"]这里编辑标签内容//[/scode]
$str = preg_replace("/\[vbili\](.*?)\[\/vbili\]/sm",'<iframe src="https://player.bilibili.com/player.html?aid=76053337&bvid=$1&cid=130096191&page=1&high_quality=1&danmaku=0" allowfullscreen="allowfullscreen" width="100%" height="600" scrolling="no" frameborder="0" sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts"></iframe>',$str);
}
//提示框短代码<iframe src="//player.bilibili.com/player.html?aid=970721566&bvid=BV12p4y1q742&cid=266892321&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
if ( strpos( $str, '[scode')!== false) {//提高效率,避免每篇文章都要解析
//[scode class="red"]这里编辑标签内容//[/scode]
$str = preg_replace("/\[scode\](.*?)\[\/scode\]/sm",'<div class="tip ">$1</div>',$str);
}

/* 图片短代码 */
if ( strpos( $str, '[photo')!== false) {//提高效率,避免每篇文章都要解析
$str = preg_replace("/\[photo\](.*?)\[\/photo\]/sm",'<div class="photos ">$1</div>',$str);
}

//调用其他文章短代码
if ( strpos( $str, '[post')!== false) {//提高效率,避免每篇文章都要解析
preg_match_all("/\[post\](.*?)\[\/post\]/sm",$str,$strcid);
@@ -874,3 +889,13 @@ public static function tagslist()
<?php
}
}
/**
* 文章字数统计
*调用<?php art_count($this->cid); ?>
*/
function art_count ($cid){
$db=Typecho_Db::get ();
$rs=$db->fetchRow ($db->select ('table.contents.text')->from ('table.contents')->where ('table.contents.cid=?',$cid)->order ('table.contents.cid',Typecho_Db::SORT_ASC)->limit (1));
$text = preg_replace("/[^\x{4e00}-\x{9fa5}]/u", "", $rs['text']);
echo mb_strlen($text,'UTF-8');
}
2 changes: 1 addition & 1 deletion spzac/header.php
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@
<!-- CSS -->
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/bootstrap-reboot.min.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/bootstrap-grid.min.css'); ?>">
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/ionicons.min.css'); ?>">
<!--<link rel="stylesheet" href="<?php //$this->options->themeUrl('css/ionicons.min.css'); ?>">-->
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/main.css'); ?>">
<meta name="author" content="小小灯泡">
<title><?php if($this->_currentPage>1) echo ''.$this->_currentPage.' 页 - '; ?><?php $this->archiveTitle(array(
238 changes: 238 additions & 0 deletions spzac/img/bg-service-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/alipay.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/alipayimg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/close.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/code-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/cy-reward-title-bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/radio1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/radio2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/wechat.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added spzac/img/shang/weipayimg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions spzac/index - hpian.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
<link rel="stylesheet" href="<?php $this->options->themeUrl('css/swiper.min.css'); ?>">
<style>
.Swiper_bl{
background-color: white;
padding: 15px;
margin-bottom: 20px;
border-radius: 4px;
border: 1px solid rgba(133,153,171,0.2);
-webkit-box-shadow: 0 2px 26px 0 rgba(133,153,171,0.1);
box-shadow: 0 2px 26px 0 rgba(133,153,171,0.1);

}
.swiper-container {
width: 100%;
height: 100%;
margin-left: auto;
margin-right: auto;

}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;

/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}
@media screen and (max-width: 767px){
.swiper-slide img{object-fit: cover; width: 100%; height: 100%;}
}

</style>
<!-- Swiper -->
<div class="col-md-12 Swiper_bl">
<div class="swiper-container ">
<div class="swiper-wrapper">

<div class="swiper-slide"><a href="https://love2wind.cn/archives/2166.html" ><img src="https://imgsrc.xyz/images/2020/10/12/288469565478a7e6ed82cb898cb4ffc3.jpg"></a></div>
<div class="swiper-slide"><a href="https://love2wind.cn/archives/1908.html" ><img src="https://imgsrc.xyz/images/2019/spimes2.jpg"></a></div>
<div class="swiper-slide"><a href="https://love2wind.cn/archives/6.html" ><img src="https://imgsrc.xyz/images/2019/spimes3.jpg"></a></div>

</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
<!-- Add Arrows -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</div>

<!-- Swiper JS -->

<script src="<?php $this->options->themeUrl('js/swiper.min.js'); ?>"></script>

<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container', {
pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
slidesPerView: 1,
paginationClickable: true,
spaceBetween: 10,
loop: true
});
</script>
49 changes: 34 additions & 15 deletions spzac/index.php
Original file line number Diff line number Diff line change
@@ -54,7 +54,8 @@
<?php if($this->is('index') && $this->_currentPage == 1): ?>
<!-- swiper -->
<div class="col-12 col-md-7 col-lg-8 col-xl-9">
<div class="row pagecontent">
<?php $this->need('index - hpian.php'); ?>
<div class="row pagecontent">


<?php
@@ -85,8 +86,8 @@
</div>
<div class="profile__actions">
<div class="post__location">
<i class="icon ion-ios-navigate"></i>
<span>'.$jis->fields->leix.'</span>
<svg t="1608185578366" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3169" width="14" height="14"><path d="M576.20909827 433.29207309L518.2137837 315.23018272l-58.51312987 118.57970567c-3.10689185 5.69596839-8.80286025 9.83849086-15.01664396 10.87412148l-131.00727307 19.15916643 94.76020147 92.17112494c4.66033778 4.66033778 6.73159902 11.3919368 5.6959684 17.60572049l-22.26605828 130.48945777 117.02625976-61.62002172c3.10689185-1.55344592 6.2137837-2.07126124 9.32067555-2.07126125s6.2137837 0.51781531 9.32067555 2.07126125l117.02625977 61.62002172-22.26605827-130.48945777c-1.03563061-6.73159902 1.03563061-12.94538272 5.69596839-17.60572049l94.76020147-92.17112494-131.00727308-19.15916643c-6.73159902-1.03563061-12.42756741-5.17815309-15.53445926-11.39193678z" fill="#45C01A" p-id="3170"></path><path d="M512 17.48638025c-270.29959111 0-489.33546667 219.03587555-489.33546667 489.33546666s219.03587555 489.33546667 489.33546667 489.33546667 489.33546667-219.03587555 489.33546667-489.33546667-219.03587555-489.33546667-489.33546667-489.33546666z m267.19269925 446.35679605l-116.50844443 113.40155259 27.44421135 160.00493036c1.55344592 7.76722963-1.55344592 15.01664395-7.76722964 19.67698173-3.62470717 2.58907653-7.76722963 3.62470717-11.90975208 3.62470717-3.10689185 0-6.2137837-0.51781531-9.32067556-2.07126124L517.69596839 682.87905185l-143.43484049 75.60103506c-6.73159902 3.62470717-15.01664395 3.10689185-21.23042765-1.55344593-6.2137837-4.66033778-9.32067555-11.9097521-7.76722964-19.67698173l27.44421136-160.00493036-115.99062914-113.40155259c-5.69596839-5.17815309-7.24941431-13.46319803-5.17815308-20.71261235 2.58907653-7.24941431 8.80286025-12.42756741 16.05227456-13.46319803l160.52274569-23.30168889 71.9763279-145.50610172c3.62470717-6.73159902 10.35630617-11.3919368 18.1235358-11.39193679s14.49882864 4.14252247 18.1235358 11.39193679l71.97632791 145.50610172 160.52274568 23.30168889c7.76722963 1.03563061 13.98101333 6.2137837 16.05227456 13.46319803 2.07126124 7.24941431 0 15.53445925-5.6959684 20.71261235z" fill="#45C01A" p-id="3171"></path></svg>
<span> '.$jis->fields->leix.'</span>
</div><div class="post__actions">
'.$slei.'
</div>
@@ -147,23 +148,41 @@

<div class="main__box">
<h3 class="main__box-title">About</h3>
<p class="main__box-text">在浏览设计,运营,优化,建站等资料文章时,感觉到很多新手都碰到各种各样的问题,同时网上真正分享经验比较少。我何不一边学习,一边分享我积累的经验呢。
所以建立了这个网站。
See you in BLOG…
</p>
<p class="main__box-text">When browsing design, operation, optimization, website building and other materials and articles, I feel that many novices are confronted with various problems, at the same time, there is less real experience sharing online. Why don't I share my experience while learning.

So we set up this website.

See you in BLOG…</p>
<p class="main__box-text">已经忘了什么时候开始用错爱涅槃做网名了,但从一开始就用 love2wind 作为ID,毕竟已经过了很长很长的时间了。本人爱好很多,多到好像什么都会点,又什么都不会(囧)!从很早开始就折腾网站,从论坛到博客,DIscz、wordpress、还有很多换七八糟的,但都没能坚持下来,博客算是时间长的,断断续续也有快十几年了,就这样吧,也不知道要介绍些什么?随便敲点字的样子(捂脸)。</p>
<p class="main__box-text">I have forgotten when I started using the wrong love Nirvana as my screen name, but I used love2wind as the ID from the beginning. After all, a long, long time has passed. I have a lot of hobbies, so many that seem to be good at everything, but nothing at all (囧)! I’ve been tossing about websites from very early on, from forums to blogs, DIscz, wordpress, and many other things, but they haven’t been able to stick to it. The blog is long, and it’s been on and off for more than ten years, so be it. , Don’t know what to introduce? Just type some words (cover your face), </p>
</div>



<div class="main__box">
<h3 class="main__box-title">持续的过程</h3>
<p class="main__box-text">我认为学习是一个持续的过程 ,不可能一劳永逸,所以总会做出一些新鲜东西给你看。</p>
<p class="main__box-text">I think learning is a continuous process, it can't be once and for all, so there will always be something new to show you.</p>
<h3 class="main__box-title">关注我们</h3>
<div style="align:center;"><table style="text-align:center;border: 0;padding: 0;margin:0;">
<tbody border:="" 0;="">
<tr>
<td style="text-align:center;border: 0;padding: 0 5px;">
<img src="https://imgsrc.xyz/images/2020/12/15/685b56dbe9a6a6b0252fa03513b39456.png"
alt="官方QQ群" style="width:100px;">
<p style="text-align:center;">
官方QQ群
</p>
</td>
<td style="text-align:center;border: 0;padding: 0 5px;">
<img src="https://imgsrc.xyz/images/2020/12/15/10b245b144c658cd53821082d02dfdc5.png"
alt="我的微信号" style="width:100px;">
<p style="text-align:center;">
我的微信号
</p>
</td>
<td style="text-align:center;border: 0;padding: 0 5px;">
<img src="https://imgsrc.xyz/images/2020/12/15/e61c8fdfb90f4c10a60bd989cccdf06e.png"
alt="微信公众号" style="width:100px;">
<p style="text-align:center;">
微信公众号
</p>
</td>
</tr>
</tbody>
</table></div>
</div>


57 changes: 49 additions & 8 deletions spzac/info - sider.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="col-12 col-md-5 col-lg-4 col-xl-3 fixsidenav">
<?php if ($this->is('post')): ?>
<?php if ($this->is('post','page')): ?>
<!-- user -->
<div class="user">
<div class="user__head">
@@ -12,21 +12,62 @@
<p><?php $this->options->description() ?></p>
</div>
<div class="user__btns">
<a href="/" class="user__btn user__btn--blue"><span>主题推荐</span></a>
<a href="/" class="user__btn user__btn--orange"><span>QQ联系</span></a>
<a href="//niecepub.top" class="user__btn user__btn--blue" alt="一个致力于EPUB电子书排版制作的平台"><span>书苑精排</span></a>
<a href="//nie.ge" class="user__btn user__btn--orange" alt="一个专注分享国内外各种资源的平台,日常分享网络上搜集的各种资源、图片、视频、音乐、工具、软件、APP、网站、电子书等"><span>涅槃茶馆</span></a>
</div>
<div class="sidebox__content">
<?php
$this->widget('Widget_Contents_Post_Recent','pageSize=5')->to($recent);
if($recent->have()):
while($recent->next()):
?>
<div class="sidebox__job"><div class="sidebox__job-title"><a href="<?php $recent->permalink();?>"><?php $recent->title();?></a><span><i class="icon ion-ios-navigate"></i></span></div></div>
<div class="sidebox__job"><div class="sidebox__job-title"><a href="<?php $recent->permalink();?>"><?php $recent->title();?></a><span><svg t="1608209117213" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5166" width="16" height="16"><path d="M474.091 874.771v34.187c0 28.815 23.57 52.25 52.736 52.25 29.166 0 52.736-23.435 52.736-52.25v-34.187H474.09z m168.253 0v34.187c0 63.578-51.76 115.042-115.517 115.042S411.31 972.536 411.31 908.958v-34.187H43.9v-31.396c0-76.635 38.352-146.57 100.172-188.192V457.122c0-158.82 101.451-297.54 247.954-347.983C397.762 47.915 449.286 0 512 0c62.713 0 114.238 47.915 119.974 109.139 146.503 50.443 247.954 189.163 247.954 347.983v198.061C941.748 696.805 980.1 766.74 980.1 843.375v31.396H642.344z m190.877-174.658l-16.074-8.987V457.122c0-138.622-93.21-258.805-225.017-294.577l-26.475-7.185 3.572-27.204c0.33-2.509 0.496-5.055 0.496-7.63 0-31.886-25.844-57.734-57.723-57.734-31.88 0-57.723 25.848-57.723 57.733 0 2.576 0.167 5.122 0.496 7.63l3.572 27.205-26.475 7.185C300.063 198.317 206.853 318.5 206.853 457.122v234.004l-16.074 8.987c-42.363 23.685-71.916 64.644-81.085 111.866h804.612c-9.169-47.222-38.722-88.181-81.085-111.866z m-253.794-426.92c-14.675-9.233-19.087-28.616-9.856-43.293s28.61-19.09 43.285-9.857c68.94 43.375 121.919 108.61 149.952 185.23 5.957 16.283-2.411 34.314-18.692 40.273-16.28 5.958-34.308-2.411-40.266-18.695-23.238-63.514-67.215-117.664-124.423-153.658z" fill="#222222" p-id="5167"></path></svg></span></div></div>
<?php endwhile; endif;?>
</div>
<div class="sidebox__more">网站简介</div>
<?php $this->need('assets/user - social.php'); ?>
<!--<div class="sidebox__more">网站简介</div>-->
</div>
<!-- end user -->
<div class="sidebox sidebox--desk" >
<h4 class="sidebox__title">今日诗词</h4>
<i class="bg-primary"></i>
<div style="padding:15px 10px;background-color: #fafafa;">
<style type="text/css">
#poem_info{
font-family: "st","宋体","zw",sans-serif;
text-indent: 0;
font-size: 12px;
font-weigth: 700;
text-align: right;
padding-right:2em;
color: #000;
}
#poem_sentence{
font-family: "kt","楷体","zw",sans-serif;
font-size: 16px;
font-weigth: 1200;
text-indent: 0;
text-align: center;
padding:0;
color: #ff0000;
margin: 0px 0 5px 0;
}
</style>


<script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script>
<div id="poem_sentence"></div>
<div id="poem_info"></div>
<script type="text/javascript">
jinrishici.load(function(result) {
var info = document.querySelector("#poem_info")
var sentence = document.querySelector("#poem_sentence")
sentence.innerHTML = result.data.content
info.innerHTML = result.data.origin.dynasty + '·' + result.data.origin.author
});
</script>
</div>
</div>
<?php endif; ?>
<!-- sidebox -->
<div class="sidebox sidebox--desk">
@@ -49,15 +90,16 @@
<a href="#" class="sidebox__more">View more</a>
</div>
<!-- end sidebox -->
<?php if ($this->is('index')): ?>

<!-- sidebox -->
<div class="sidebox sidebox--desk <?php if ($this->is('index')): ?>fixside<?php endif; ?> " >
<h4 class="sidebox__title">视频教程</h4>
<h4 class="sidebox__title">最新日志</h4>
<i class="bg-primary"></i>
<div class="sidebox__content">


<?php $this->widget('Widget_Archive@indextuis', 'pageSize=5&type=category', 'mid=1')->to($categoryPosts); ?>
<?php $this->widget('Widget_Archive@indextuis', 'pageSize=5&type=category', 'mid=15')->to($categoryPosts); ?>
<?php while($categoryPosts->next()): ?>
<div class="sidebox__user">
<a href="<?php $categoryPosts->permalink(); ?>" class="sidebox__user-img">
@@ -77,7 +119,6 @@
<!-- end sidebox -->

<!-- ping -->
<?php if ($this->is('index')): ?>
<div class="sidebox__ad"><?php $this->options->adimg(); ?></div>
<?php else: ?>
<div class="sidebox fixside s_ping">
19 changes: 19 additions & 0 deletions spzac/js/swiper.min.js

Large diffs are not rendered by default.

42 changes: 34 additions & 8 deletions spzac/nav.php

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions spzac/page - link.php
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
<!-- header -->
<?php $this->need('user - sider.php'); ?>
<!-- end header -->

<div class="col-12 col-md-7 col-lg-8 col-xl-9 author_one">

<!-- view big -->
@@ -67,51 +67,51 @@

<!--积分规则-->

<div class="main__box">
<h3 class="main__box-title">友情链接</h3>

<div class="bg_cl">
<!--s-->
<p class="main__box-text">本站仅免费提供友情链接交换平台服务(申请联系站长QQ)上榜条件:</p>
<p class="main__box-text">1,必须为本站的主题,并且做有本站的友情链接</p>
<p class="main__box-text">2,有一定的内容,且内容健康丰富,并基本建设完成</p>
<p class="main__box-text">3,申请友情链接前,请先在贵站做上本站的友情链接 </p>
<p class="main__box-text">切记必须要本站的主题模板才行,不限行业,优秀的部分主题将在本站进行推荐。</p>
<!--e-->

</div>

<br/><br/>
<h3 class="main__box-title">我要留言</h3>
<?php $this->need('comments.php'); ?>

<div class="main__box">
<h3 class="main__box-title">
友情申请
</h3>
<div class="bg_cl">
<p class="main__box-text">
需要添加友情链接请在下方留言。
</p>
<p class="main__box-text">
<b>上榜条件:</b>
</p>
<p class="main__box-text">
1.申请友情链接前,请先在贵站做上本站的友情链接;
</p>
<p class="main__box-text">
2.有一定的内容,且内容健康丰富,并基本建设完成;
</p>
<p class="main__box-text">
3.按照以下格式留言,通过后立即添加。
</p>
<p class="main__box-text">格式如下:
</p>
<p class="main__box-text">名称:涅槃博客
</p>
<p class="main__box-text">描述:记录生活、分享世界
</p>
<p class="main__box-text">链接:https://love2wind.cn/
</p>
<p class="main__box-text">头像:https://pic.downk.cc/item/5fdc8dcb3ffa7d37b3985e27.png
</p>
</div>
<br/>
<h3 class="main__box-title">
我要申请
</h3>
<!-- comments -->
<?php $this->need('comments.php'); ?>
<!-- end comments -->
</div>
</div>


<!--积分规则-->






<!-- end post -->
</div>





</div>

<!-- end big -->
</div>



</div>
</div>
</main>
</div>
</div>
</div>
</div>
</main>
<div class="typecho-login" style="display: none;"></div>
<!-- end main content -->

130 changes: 130 additions & 0 deletions spzac/page.php

Large diffs are not rendered by default.

85 changes: 85 additions & 0 deletions spzac/page2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?php
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$this->need('header.php');
?>
<!-- main content -->
<main class="main main--breadcrumb">
<!-- breadcrumb -->
<?php $this->need('assets/post - link.php'); ?>
<!-- end breadcrumb -->
<div class="container">
<div class="row">
<div class="col-12 col-md-7 col-lg-8 col-xl-9">
<!-- post -->
<?php if ($this->options->txtadimg): ?>
<div class="post post-ad"><?php $this->options->txtadimg(); ?></div>
<?php endif; ?>
<div class="post c_con">
<div class="post__head c_head">
<a href="<?php $this->permalink(); ?>" class="post__head-img">
<?php $email=$this->author->mail; $imgUrl = getGravatar($email);echo '<img src="'.$imgUrl.'" srcset="'.$imgUrl.'" class="avatar avatar-140 photo" height="46" width="46">'; ?>
</a>
<div class="post__head-title">
<h5><a href="#"><?php $this->author->screenName(); ?></a></h5>
<p><span class="autlv aut-4 vs">V</span><?php $this->date('F j, Y'); ?></p>
</div>
<div class="post__dropdown">
<?php if ($this->is('post')) : ?><?php if ($this->fields->img): ?>
<a class="post__actions-btn post__actions-btn--red comiis_poster_a" href="javascript:;">
<i class="icon iconfont icon-ic_camera_line"></i>
</a>
<?php endif; ?><?php endif; ?>
</div>
</div>
<?php if (($this->fields->videourl)&&($this->options->pdmapi)):?>
<?php $this->need('dmplay/post - dmplay.php'); ?>
<?php endif; ?>
<h2 class="post__title"><?php $this->title(); ?></h2>
<div class="post__description conts">
<?php $str=$this->content; echo costcn($this->cid,$this->remember('mail',true),$str,$this->user->hasLogin()); ?> <div class="donate-panel" style="text-align:center;margin-top:5px;"><?php Typecho_Plugin::factory('rootvip.cn.Donate')->Donate(); ?></div>
</div>
<?php if ($this->fields->Copyrightnew =='0'):?>
<div class="Copyrightnew">原创文章,作者:<?php $this->author->screenName(); ?>,如若转载,请注明出处:<?php $this->permalink() ?></div>
<?php elseif($this->fields->Copyrightnew =='2') : ?>
<div class="Copyrightnew">本文经授权后发布,本文观点不代表立场,转载请联系原作者。</div>
<?php else : ?>
<div class="Copyrightnew">本文来自投稿,不代表本站立场,如若转载,请注明出处:<?php $this->permalink() ?></div>
<?php endif; ?>
<div class="downmoi"></div>
<div class="post__tags">
<?php $this->tags(' ', true, ''); ?>
</div>
<div class="post__stats">
<div>
<a class="post__comments" data-toggle="collapse" href="#collapse3" role="button" aria-expanded="false" aria-controls="collapse3"><i class="icon iconfont icon-ic_talk_line"></i> <span><?php $this->commentsNum('0 评论', '1 条评论', '%d 条评论'); ?></span></a>
</div>
<div class="post__views">
<i class="icon iconfont icon-ic_visible"></i> <span><?php Postviews($this); ?></span>
</div>
</div>
</div>
<!-- end post -->
<?php if ($this->options->txtaddown): ?>
<div class="post post-ad"><?php $this->options->txtaddown(); ?></div>
<?php endif; ?>
<!-- comments -->
<h3 class="main__title"><?php _e('发表评论'); ?></h3>
<?php $this->need('comments.php'); ?>
<!-- end comments -->
</div>

<?php if ($this->fields->down): ?>
<?php $this->need('down - sider.php'); ?>
<?php else: ?>
<?php $this->need('info - sider.php'); ?>
<?php endif; ?>

</div>
</div>
</main>
<!-- end main content -->

<!-- footer -->
<?php $this->need('footer.php'); ?>
<!-- end footer -->

4 changes: 2 additions & 2 deletions spzac/post - list.php
Original file line number Diff line number Diff line change
@@ -36,11 +36,11 @@

<div class="post__stats">
<div>
<i class="icon ion-ios-text"></i> <span><?php $this->commentsNum('0 评论', '1 条评论', '%d 条评论'); ?></span>
<svg t="1608227204673" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="34526" width="16" height="16"><path d="M512 512m-450.56 0a450.56 450.56 0 1 0 901.12 0 450.56 450.56 0 1 0-901.12 0Z" fill="#8599ab" p-id="34527"></path><path d="M276.48 512m-71.68 0a71.68 71.68 0 1 0 143.36 0 71.68 71.68 0 1 0-143.36 0Z" fill="#8599ab" p-id="34528"></path><path d="M512 512m-71.68 0a71.68 71.68 0 1 0 143.36 0 71.68 71.68 0 1 0-143.36 0Z" fill="#8599ab" p-id="34529"></path><path d="M747.52 512m-71.68 0a71.68 71.68 0 1 0 143.36 0 71.68 71.68 0 1 0-143.36 0Z" fill="#8599ab" p-id="34530"></path><path d="M880.64 737.28l39.1168 117.3504a40.96 40.96 0 0 1-46.8992 53.10464L737.28 880.59904 880.64 737.28z" fill="#8599ab" p-id="34531"></path></svg> <span><?php $this->commentsNum('0 评论', '1 条评论', '%d 条评论'); ?></span>
</div>

<div class="post__views">
<i class="icon ion-ios-eye"></i> <span><?php Postviews($this); ?></span>
<svg t="1608227074638" class="icon" viewBox="0 0 1249 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="28573" width="16" height="16"><path d="M619.872274 58.528c99.84 1.024 192.544 31.872 280.224 82.272 118.816 68.32 220.736 159.68 305.248 273.92 45.472 61.504 48.448 127.456 4.192 188.064-108.672 148.736-242.528 261.248-407.072 326.752-150.016 59.712-295.776 42.272-437.568-32.608-125.856-66.368-232.352-160.032-322.464-276.544-2.976-3.872-5.824-7.904-8.672-11.904-44.832-63.36-45.12-129.12-0.224-192.352 37.44-52.672 80.608-99.392 127.104-142.336 93.76-86.432 196.448-155.488 315.36-192.48 47.008-14.624 94.976-22.112 143.84-22.848zM361.504274 512.864c0.224 156.48 116.256 259.168 259.52 258.88 141.984-0.288 257.664-103.808 257.632-259.616 0-156.48-116-259.712-259.008-259.584-142.912 0.096-258.368 103.392-258.144 260.32z" p-id="28574" fill="#8599ab"></path><path d="M668.768274 351.648c-50.848 42.56-63.072 97.088-33.152 145.216 30.72 49.376 81.6 55.968 137.792 17.824 8.576 51.232-33.312 123.488-87.904 151.52-64.352 33.056-140.064 13.952-185.824-46.848-44.288-58.848-46.56-144.192-5.504-206.304 40-60.544 114.432-87.104 174.56-61.408z" p-id="28575" fill="#8599ab"></path></svg> <span><?php Postviews($this); ?></span>
</div>
</div>
<div class="deanshadowmd"></div>
68 changes: 56 additions & 12 deletions spzac/post.php

Large diffs are not rendered by default.

128 changes: 128 additions & 0 deletions spzac/post2.php

Large diffs are not rendered by default.

41 changes: 34 additions & 7 deletions spzac/user - sider.php
Original file line number Diff line number Diff line change
@@ -10,27 +10,54 @@
<h2><?php $this->options->title() ?></h2>
<p><?php $this->options->description() ?></p>
</div>
<div class="user__btns user__nofo">
<a href="/" class="user__btn user__btn--blue"><span>主题推荐</span></a>
<a href="/" class="user__btn user__btn--orange"><span>QQ联系</span></a>
<div class="user__btns">
<a href="//niecepub.top" class="user__btn user__btn--blue" tittle="一个致力于EPUB电子书排版制作的平台"><span>书苑精排</span></a>
<a href="//nie.ge" class="user__btn user__btn--orange" tittle="一个专注分享国内外各种资源的平台,日常分享网络上搜集的各种资源、图片、视频、音乐、工具、软件、APP、网站、电子书等"><span>涅槃茶馆</span></a>
</div>
<div class="sidebox__content">
<?php
$this->widget('Widget_Contents_Post_Recent','pageSize=3')->to($recent);
$this->widget('Widget_Contents_Post_Recent','pageSize=5')->to($recent);
if($recent->have()):
while($recent->next()):
?>
<div class="sidebox__job"><div class="sidebox__job-title"><a href="<?php $recent->permalink();?>"><?php $recent->title();?></a><span><i class="icon ion-ios-navigate"></i></span></div></div>
<div class="sidebox__job"><div class="sidebox__job-title"><a href="<?php $recent->permalink();?>"><?php $recent->title();?></a><span><svg t="1608209117213" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5166" width="16" height="16"><path d="M474.091 874.771v34.187c0 28.815 23.57 52.25 52.736 52.25 29.166 0 52.736-23.435 52.736-52.25v-34.187H474.09z m168.253 0v34.187c0 63.578-51.76 115.042-115.517 115.042S411.31 972.536 411.31 908.958v-34.187H43.9v-31.396c0-76.635 38.352-146.57 100.172-188.192V457.122c0-158.82 101.451-297.54 247.954-347.983C397.762 47.915 449.286 0 512 0c62.713 0 114.238 47.915 119.974 109.139 146.503 50.443 247.954 189.163 247.954 347.983v198.061C941.748 696.805 980.1 766.74 980.1 843.375v31.396H642.344z m190.877-174.658l-16.074-8.987V457.122c0-138.622-93.21-258.805-225.017-294.577l-26.475-7.185 3.572-27.204c0.33-2.509 0.496-5.055 0.496-7.63 0-31.886-25.844-57.734-57.723-57.734-31.88 0-57.723 25.848-57.723 57.733 0 2.576 0.167 5.122 0.496 7.63l3.572 27.205-26.475 7.185C300.063 198.317 206.853 318.5 206.853 457.122v234.004l-16.074 8.987c-42.363 23.685-71.916 64.644-81.085 111.866h804.612c-9.169-47.222-38.722-88.181-81.085-111.866z m-253.794-426.92c-14.675-9.233-19.087-28.616-9.856-43.293s28.61-19.09 43.285-9.857c68.94 43.375 121.919 108.61 149.952 185.23 5.957 16.283-2.411 34.314-18.692 40.273-16.28 5.958-34.308-2.411-40.266-18.695-23.238-63.514-67.215-117.664-124.423-153.658z" fill="#222222" p-id="5167"></path></svg></span></div></div>
<?php endwhile; endif;?>
</div>
<div class="sidebox__more">网站简介</div>
<?php $this->need('assets/user - social.php'); ?>
<!--<div class="sidebox__more">网站简介</div>-->
</div>
<!-- end user -->
<div class="sidebox fixside s_ping" >
<h4 class="sidebox__title">小说物语</h4>
<i class="bg-primary"></i>
<div style="padding:30px 20px;background-color: #fafafa;">

<div id="hitokoto" style="color:red;font-size:16px;font-family:黑体,'ht',微软雅黑">漫漫人生路,来去也匆匆。</div></br>
<div style="font-size:16px;text-align:right;font-weight:bold;font-family:'kt',楷体">——《<span id="from">书名</span>》
</div>
<script type="text/javascript">
fetch('https://v1.hitokoto.cn/?c=d')
.then(function (res){
return res.json();
})
.then(function (data) {
var hitokoto = document.getElementById('hitokoto');
hitokoto.innerText = data.hitokoto;
var from = document.getElementById('from');
from.innerText = data.from;
})

.catch(function (err) {
console.error(err);
})
</script>
</div>
</div>







</div>
</div>