diff --git a/README.md b/README.md index a973ed0..5671ba0 100755 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ RewriteRule config/(.*).(php)$ – [F] * 2021-11-17 v2.4.3 - 增加登录验证码 -- 修复粘贴上传不显示删除连接 +- 一些优化 * 2021-11-14 v2.4.2 - 增加上传日志 diff --git a/admin/terms.php b/admin/terms.php index b2bfcf1..6636384 100755 --- a/admin/terms.php +++ b/admin/terms.php @@ -28,7 +28,6 @@ require_once APP_ROOT . '/application/header.php';

服务条款


访问我们网站除主页和本“条款”页面以外的任何页面,即表示您同意这些使用条款和我们的隐私政策。如果您不同意,请不要使用我们的网站。

-

您使用我们的网站进行除简单访问/查看之外的任何事情(即上传、下载、评论等),不仅构成您的同意,而且构成您的电子签名,这意味着您受这些条款的合同约束,并且通过我们的隐私政策。

  1. 您使用我们的网站进行除简单访问/查看之外的任何事情(即上传、下载、评论等),不仅构成您的同意,而且构成您的电子签名,这意味着您受这些条款的合同约束,并且通过我们的隐私政策。
  2. 我们保留在使用过多带宽或以其他方式滥用系统的用户帐户上禁用直接链接的权利。 @@ -92,5 +91,9 @@ require_once APP_ROOT . '/application/header.php'; +
  3. 快捷工具
  4. -
  5. 上传统计
  6. +
  7. 上传统计
  8. '; diff --git a/public/static/EasyImage.js b/public/static/EasyImage.js index c633f1b..c367efe 100755 --- a/public/static/EasyImage.js +++ b/public/static/EasyImage.js @@ -201,7 +201,7 @@ $('#btndel').on('click', function () { }); })(); /**************************************************************** -* 百度统计 +* */ var _hmt = _hmt || []; (function () { diff --git a/sponsor/README.md b/sponsor/README.md new file mode 100755 index 0000000..f8d3ec4 --- /dev/null +++ b/sponsor/README.md @@ -0,0 +1,26 @@ +# Donate-Page simple + + + +#### 直接 Fork 之后需要修改以下内容为你的账户 + + /script.js:4-6 对应账户的二维码路径 + + /index.html:28 PayPal.me 改为现在收款页面,这样可以删除原来的按钮方式了。 + + /index.html:37 `` + +#### 针对不同项目可以直接在 URL 加入项目参数和金额,不过仅仅作用于 PayPal 方式. + +`https://kaiyuan.github.io/donate-page/simple/?item='donate-page&price=2'` + + +#### 使用 `iframe` 嵌入页面的代码,高度至少 `240px`,宽度至少 `310px`! + +``` + +``` + +### License + +Released under the MIT license. diff --git a/sponsor/images/alipay.jpg b/sponsor/images/alipay.jpg new file mode 100755 index 0000000..dbb96e2 Binary files /dev/null and b/sponsor/images/alipay.jpg differ diff --git a/sponsor/images/alipay.svg b/sponsor/images/alipay.svg new file mode 100755 index 0000000..2e78967 --- /dev/null +++ b/sponsor/images/alipay.svg @@ -0,0 +1,46 @@ + + + + + + + + + + +]> + + + + + + + + + + + + + + + + + + + diff --git a/sponsor/images/github.svg b/sponsor/images/github.svg new file mode 100755 index 0000000..7d9f99f --- /dev/null +++ b/sponsor/images/github.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/sponsor/images/like.svg b/sponsor/images/like.svg new file mode 100755 index 0000000..44adab3 --- /dev/null +++ b/sponsor/images/like.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/sponsor/images/wechat.jpg b/sponsor/images/wechat.jpg new file mode 100755 index 0000000..1ad164a Binary files /dev/null and b/sponsor/images/wechat.jpg differ diff --git a/sponsor/images/wechat.svg b/sponsor/images/wechat.svg new file mode 100755 index 0000000..c5d50af --- /dev/null +++ b/sponsor/images/wechat.svg @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/sponsor/index.html b/sponsor/index.html new file mode 100755 index 0000000..ee46715 --- /dev/null +++ b/sponsor/index.html @@ -0,0 +1,367 @@ + + + + + + + Sponsor-打赏作者-简单图床 EasyImage2.0 + + + + + + +
    打赏作者
    + +
    +
    +
    + + + + + + \ No newline at end of file diff --git a/sponsor/script.js b/sponsor/script.js new file mode 100755 index 0000000..f5f6452 --- /dev/null +++ b/sponsor/script.js @@ -0,0 +1,38 @@ +jQuery(document).ready(function() { + var QRBox = $('#QRBox'); + var MainBox = $('#MainBox'); + var AliPayQR = './images/alipay.jpg'; + var WeChanQR = './images/wechat.jpg'; + + + + function showQR(QR) { + if (QR) { + MainBox.css('background-image','url('+QR+')'); + } + $('#DonateText,#donateBox,#github').addClass('blur'); + QRBox.fadeIn(300,function(argument) { + MainBox.addClass('showQR'); + }); + } + + $('#donateBox>li').click(function(event) { + var thisID = $(this).attr('id'); + if (thisID === 'AliPay') { + showQR(AliPayQR); + } else if (thisID === 'WeChat') { + showQR(WeChanQR); + } + }); + + MainBox.click(function(event) { + MainBox.removeClass('showQR').addClass('hideQR'); + setTimeout (function(a) { + QRBox.fadeOut(300,function(argument) { + MainBox.removeClass('hideQR'); + }); + $('#DonateText,#donateBox,#github').removeClass('blur'); + },600); + + }); +}); \ No newline at end of file diff --git a/sponsor/style.css b/sponsor/style.css new file mode 100755 index 0000000..074d8a2 --- /dev/null +++ b/sponsor/style.css @@ -0,0 +1,252 @@ +html, html>body { + margin: 0px !important; + padding: 0px !important; + height: 100%; + width: 100%; +} +body { + font-family: "Helvetica Neue", Ubuntu, "WenQuanYi Micro Hei", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Micro Hei Mono", "WenQuanYi Zen Hei", "WenQuanYi Zen Hei", "Apple LiGothic Medium", "SimHei", "ST Heiti", "WenQuanYi Zen Hei Sharp", Arial, sans-serif; + -webkit-font-smoothing:antialiased; + line-height: 1.8em; + text-shadow: 0 0 1px rgba(255,255,255,0.1); + background: #fff; +} +img {border-width: 0px;} +a{ + color: #000; + text-decoration: none; + outline:none; + border:none; +} +.list, .list li, .list-left li { + list-style: none; + list-style-type: none; + margin: 0px; + padding: 0px; +} +.pos-f { + position: fixed; +} +.left-100 { + width: 100%; + height: 100%; +} +.blur { + -webkit-filter: blur(3px); + filter: blur(3px); +} +.tr3 { + transition: all .3s; +} +#DonateText { + position: fixed; + font-size: 12px; + width: 70px; + height: 70px; + line-height: 70px; + color: #fff; + background: #ffd886 url(images/like.svg) no-repeat center 10px; + background-size: 20px; + border-radius: 35px; + text-align: center; + left: calc(50% - 120px); + top: calc(50% - 60px); + z-index: -1; + transform: rotatez(-15deg ); +} +#donateBox { + left: calc(50% - 90px); + top: calc(50% - 15px); + background-color: #fff; + border: 1px solid #ddd; + border-radius: 6px; + width: 150px; + height: 28px; + float: left; + z-index: 1; +} +#donateBox li { + width: 74px; + float: left; + text-align: center; + border-left: 1px solid #ddd; + background: no-repeat center center; + background-color: rgba(204, 217, 220,0.1); + background-size: 45px; + transition: all .3s; + cursor: pointer; + overflow: hidden; + line-height: 600px; + height: 28px; + -webkit-filter: grayscale(1); + filter: grayscale(1); + opacity: 0.5; +} +#donateBox li:hover { + background-color: rgba(204, 217, 220,0.3); + -webkit-filter: grayscale(0); + filter: grayscale(0); + opacity: 1; +} +#donateBox>li:first-child { + border-width: 0; +} +#donateBox a { + display: block; +} + +#donateBox #AliPay { + background-image: url(images/alipay.svg); +} +#donateBox #WeChat { + background-image: url(images/wechat.svg); +} +#QRBox { + top: 0; + left: 0; + z-index: 1; + background-color: rgba(255,255,255,0.3); + display: none; + perspective: 400px; +} +#MainBox { + cursor: pointer; + position: absolute; + text-align: center; + width: 200px; + height: 200px; + left: calc(50% - 100px); + top: calc(50% - 100px); + background: #fff no-repeat center center; + background-size: 190px; + border-radius: 6px; + box-shadow: 0px 2px 7px rgba(0,0,0,0.3); + opacity: 0; + transition: all 1s ease-in-out; + transform-style: preserve-3d; + transform-origin: center center; + overflow: hidden; +} + +#github { + width: 24px; + height: 24px; + left: calc(50% + 50px); + top: calc(50% - 30px); + background: no-repeat center center url(images/github.svg); + background-size: contain; + opacity: 0.3; + transform: rotatez(15deg ); +} +[data-footnote] { + position: relative; + overflow: hidden; +} +[data-footnote]:hover { + overflow: visible; +} +[data-footnote]::before, [data-footnote]::after { + position: absolute; + transition: all .3s; + transform: translate3d(-50%,0,0); + opacity: 0; + left: 37px; + z-index: 10; +} +[data-footnote]::before { + content: attr(data-footnote); + border-radius: 6px; + background-color: rgba(100,100,100,0.8); + color: #fff; + height: 24px; + line-height: 24px; + padding: 0 6px; + font-size: 12px; + white-space: nowrap; + top: -24px; + left: 37px; +} +[data-footnote]::after { + content: ''; + border: 5px solid #333; + border-color: rgba(100,100,100,0.8) transparent transparent transparent; + top: 0; + left: 37px; +} +[data-footnote]:hover::before,[data-footnote]:hover::after { + opacity: 1; +} +[data-footnote]:hover::before,[data-footnote]:hover::after { + transform: translate3d(-50%,-7px,0); +} + +#MainBox.showQR { + opacity: 1; + animation-name:showQR; + animation-duration:3s; + animation-timing-function:ease-in-out; + animation-iteration-count:1; + animation-fill-mode:forwards; + -webkit-animation:showQR 3s ease-in-out 0s 1 normal forwards; +} +@keyframes showQR { + from { + transform: rotateX(90deg); + } + 8% { + opacity: 1; + transform: rotateX(-60deg); + } + 18% { + opacity: 1; + transform: rotateX(40deg); + } + 34% { + opacity: 1; + transform: rotateX(-28deg); + } + 44% { + opacity: 1; + transform: rotateX(18deg); + } + 58% { + opacity: 1; + transform: rotateX(-12deg); + } + 72% { + opacity: 1; + transform: rotateX(9deg); + } + 88% { + opacity: 1; + transform: rotateX(-5deg); + } + 96% { + opacity: 1; + transform: rotateX(2deg); + } + to { + opacity: 1; + } +} +#MainBox.hideQR { + opacity: 1; + animation-name:hideQR; + animation-duration:0.5s; + animation-timing-function:ease-in-out; + animation-iteration-count:1; + animation-fill-mode:forwards; + -webkit-animation:hideQR 0.5s ease-in-out 0s 1 normal forwards; +} +@keyframes hideQR { + from { + } + 20%,50% { + transform: scale(1.08,1.08); + opacity: 1; + } + to { + opacity: 0; + transform: rotateZ(40deg) scale(0.6,0.6); + } +} \ No newline at end of file