-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.php
1051 lines (848 loc) · 67.3 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<script>
//禁用“确认重新提交表单”
window.history.replaceState(null, null, window.location.href);
</script>
<head>
<meta name="viewport" content="width=device-width, initial-scale=0.7, minimum-scale=0.8, maximum-scale=2.0, user-scalable=yes" />
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>义眼丁真收集站</title>
<link href="font-awesome-4.7.0\css\font-awesome.css" rel="stylesheet" type="text/css" />
<link href="index.css" rel="stylesheet" type="text/css" />
<link href="favicon.ico" rel="shortcut icon">
<script type="text/javascript" src="https://pss.bdstatic.com/r/www/cache/static/protocol/https/jquery/jquery-1.10.2.min_65682a2.js"></script>
<script type="text/javascript" src="js\jquery-form.js"></script>
</head>
<body onresize="checkpicsize()">
<div id="large-box">
<img id="large-img-box">
<button onclick="largeboxoff()">欣赏完毕</button>
</div>
<div id="advice-box">
<button id="close-advice-button" onclick="closeadvicebox()"><em>关闭</em></button>
<div id="advice-content">
<br/><br/><br/>
<h1>创作建议</h1>
<img id="ideaunlimited-pic">
<h1>关于本站的使用</h1>
<h3>ps:139742188,加群聊天吧</h3>
<h2>中心区域</h2>
<p>你可以使用 <em id="status-switch-icon" class="fa fa-random"></em> 按钮来进行搜索模式与随机模式的切换,默认状态下是随机模式。</p>
<h3>随机模式</h3>
<p>点击右下角的 <em class="fa fa-refresh"></em> 按钮来随机一张图片,在一秒之后可以再次请求。受限于服务器压力,加载速度可能不是那么理想,敬请见谅。</p>
<p>点击图片来放大。</p>
<p>你觉得太慢的话就提交下反馈吧,或者通过右下角的统计功能看看刷新量来判断服务器的压力。</p>
<p>不要在反馈里骂人,鼠鼠受不了。</p>
<p>左上角有个😅,那是绷功能,我也不知道是干什么的。</p>
<h3>搜索模式</h3>
<p>在搜索框中输入内容(id或者关键词)来进行查找,点击搜索结果即会跳转。</p>
<h2>关于上传</h2>
<p>上传时,请上传我们支持的格式(jpg\png\jpeg\gif),请尽量将图片大小控制在2MB以内捏,所有上传的图片均会经过人工审核,审核速度有快有慢。</p>
<p>上传的图片描述中,如果遇到不能填写的部分,请打一个空格,我将进行二次删改。</p>
<p>特别烂的活就不要传了,如果图片与本站主题一点关系都没有是不会收录的。不是标准的yy开头的图片也可以上传哦。</p>
<p>如果你发现了不对劲的东西,请通过页面底部的反馈通道提出,特别感谢。</p>
<p>如果上传的内容中有违反中华人民共和国法律的,本站将直接删除,多次上传将封禁ip。</p>
<p>请不要重复上传无意义内容……</p>
<h2>作者</h2>
<p><a target="_blank" href="https://space.bilibili.com/206149936">
<svg t="1650785793374" class="icon" viewBox="0 0 1129 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1918" width="200" height="200">
<path d="M234.909 9.656a80.468 80.468 0 0 1 68.398 0 167.374 167.374 0 0 1 41.843 30.578l160.937 140.82h115.07l160.936-140.82a168.983 168.983 0 0 1 41.843-30.578A80.468 80.468 0 0 1 930.96 76.445a80.468 80.468 0 0 1-17.703 53.914 449.818 449.818 0 0 1-35.406 32.187 232.553 232.553 0 0 1-22.531 18.508h100.585a170.593 170.593 0 0 1 118.289 53.109 171.397 171.397 0 0 1 53.914 118.288v462.693a325.897 325.897 0 0 1-4.024 70.007 178.64 178.64 0 0 1-80.468 112.656 173.007 173.007 0 0 1-92.539 25.75h-738.7a341.186 341.186 0 0 1-72.421-4.024A177.835 177.835 0 0 1 28.91 939.065a172.202 172.202 0 0 1-27.36-92.539V388.662a360.498 360.498 0 0 1 0-66.789A177.03 177.03 0 0 1 162.487 178.64h105.414c-16.899-12.07-31.383-26.555-46.672-39.43a80.468 80.468 0 0 1-25.75-65.984 80.468 80.468 0 0 1 39.43-63.57M216.4 321.873a80.468 80.468 0 0 0-63.57 57.937 108.632 108.632 0 0 0 0 30.578v380.615a80.468 80.468 0 0 0 55.523 80.469 106.218 106.218 0 0 0 34.601 5.632h654.208a80.468 80.468 0 0 0 76.444-47.476 112.656 112.656 0 0 0 8.047-53.109v-354.06a135.187 135.187 0 0 0 0-38.625 80.468 80.468 0 0 0-52.304-54.719 129.554 129.554 0 0 0-49.89-7.242H254.22a268.764 268.764 0 0 0-37.82 0z m0 0" fill="#20B0E3" p-id="1919"></path>
<path d="M348.369 447.404a80.468 80.468 0 0 1 55.523 18.507 80.468 80.468 0 0 1 28.164 59.547v80.468a80.468 80.468 0 0 1-16.094 51.5 80.468 80.468 0 0 1-131.968-9.656 104.609 104.609 0 0 1-10.46-54.719v-80.468a80.468 80.468 0 0 1 70.007-67.593z m416.02 0a80.468 80.468 0 0 1 86.102 75.64v80.468a94.148 94.148 0 0 1-12.07 53.11 80.468 80.468 0 0 1-132.773 0 95.757 95.757 0 0 1-12.875-57.133V519.02a80.468 80.468 0 0 1 70.007-70.812z m0 0" fill="#20B0E3" p-id="1920"></path>
</svg>
PencilCore
</a></p>
<p><a target="_blank" href="https://github.com/PencilCore/yiyandingzhen">
<svg t="1651677394814" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2046" width="200" height="200"><path d="M512 85.333333C276.266667 85.333333 85.333333 276.266667 85.333333 512a426.410667 426.410667 0 0 0 291.754667 404.821333c21.333333 3.712 29.312-9.088 29.312-20.309333 0-10.112-0.554667-43.690667-0.554667-79.445333-107.178667 19.754667-134.912-26.112-143.445333-50.133334-4.821333-12.288-25.6-50.133333-43.733333-60.288-14.933333-7.978667-36.266667-27.733333-0.554667-28.245333 33.621333-0.554667 57.6 30.933333 65.621333 43.733333 38.4 64.512 99.754667 46.378667 124.245334 35.2 3.754667-27.733333 14.933333-46.378667 27.221333-57.045333-94.933333-10.666667-194.133333-47.488-194.133333-210.688 0-46.421333 16.512-84.778667 43.733333-114.688-4.266667-10.666667-19.2-54.4 4.266667-113.066667 0 0 35.712-11.178667 117.333333 43.776a395.946667 395.946667 0 0 1 106.666667-14.421333c36.266667 0 72.533333 4.778667 106.666666 14.378667 81.578667-55.466667 117.333333-43.690667 117.333334-43.690667 23.466667 58.666667 8.533333 102.4 4.266666 113.066667 27.178667 29.866667 43.733333 67.712 43.733334 114.645333 0 163.754667-99.712 200.021333-194.645334 210.688 15.445333 13.312 28.8 38.912 28.8 78.933333 0 57.045333-0.554667 102.912-0.554666 117.333334 0 11.178667 8.021333 24.490667 29.354666 20.224A427.349333 427.349333 0 0 0 938.666667 512c0-235.733333-190.933333-426.666667-426.666667-426.666667z" fill="#000000" p-id="2047"></path></svg>
本项目的Github托管
</a></p>
<p>与作者交流可以通过阿b私信或者加群139742188。</p>
<p>本站是2022五一做出来的,纯手写,没有使用框架,所以质量很屑。</p>
<h2>捐赠</h2>
<p>捐赠纯属自愿,我没有从任何人汲取钱财,我只是把收款二维码放在这里,我没有强迫任何人付钱。所有所得只是为了让站点访问更快。</p>
<p>若要捐赠请标注:你是为这个站点捐赠的。</p>
<a href="alipay.png" target="_blank">我的支付宝</a>
<h2>愿景</h2>
<p>希望这个站点再往后被人打开时,会有人了解到这个抽象的网络时期,知道鼠鼠们的想象力是无限的捏。</p>
<h2>待添加的功能</h2>
<ul>
<li><del>反馈系统</del>(做好了)</li>
<li><del>点赞按钮</del>(做好了)</li>
<li>收集到两千张换图床</li>
</ul>
</div>
</div>
<div id="blurbox">
<div class="bg">
<div class="bg-1"></div>
</div>
<div id="particles-js"></div>
<script>
if (document.body.clientWidth > 1) {
var script1 = document.createElement('script');
script1.setAttribute('type', 'text/javascript');
script1.setAttribute('src', "particles.js");
document.getElementById("particles-js").appendChild(script1);
var script2 = document.createElement('script');
script2.setAttribute('type' , 'text/javascript');
script2.setAttribute('src', "js\\particles-app.js");
document.getElementById("particles-js").appendChild(script2);
}
</script>
<!-- 中间的大盒子 -->
<div id="pic-box">
<script>
function status_switch() {
// 开关图标切换
if (!document.getElementById("status-switch-icon").classList.contains('fa-search')) {
{
document.getElementById("status-switch-icon").classList.remove('fa-random');
document.getElementById("status-switch-icon").classList.add('fa-search', 'fa-flip-horizontal');
}
document.getElementById('rand-pic-section').classList.remove("big-box-scale-up");
document.getElementById('rand-pic-section').classList.add("big-box-scale-down");
setTimeout(function() {
document.getElementById('rand-pic-section').style.display = "none";
}, 399);
setTimeout(function() {
document.getElementById('pic-search-section').style.display = "block";
document.getElementById('pic-search-section').classList.add("big-box-scale-up");
document.getElementById('pic-search-section').classList.remove("big-box-scale-down");
}, 399);
} else {
document.getElementById("status-switch-icon").classList.remove('fa-search', 'fa-flip-horizontal');
document.getElementById("status-switch-icon").classList.add('fa-random');
document.getElementById('pic-search-section').classList.remove("big-box-scale-up");
document.getElementById('pic-search-section').classList.add("big-box-scale-down");
setTimeout(function() {
document.getElementById('pic-search-section').style.display = "none";
}, 399);
setTimeout(function() {
document.getElementById('rand-pic-section').style.display = "block";
document.getElementById('rand-pic-section').classList.add("big-box-scale-up");
document.getElementById('rand-pic-section').classList.remove("big-box-scale-down");
}, 399);
}
}
function showlargebox() {
document.getElementById('blurbox').style.filter="blur(5.2px)";
document.getElementById('blurbox').classList.add("blurbox");
document.getElementById('large-box').classList.add("fade-in");
document.getElementById('large-box').style.display="block";
setTimeout(function(){
document.getElementById('large-box').classList.remove("fade-in");
},299);
}
function largeboxoff(){
document.getElementById('blurbox').style.filter="none";
document.getElementById('large-box').classList.add("fade-out");
setTimeout(function(){
document.getElementById('large-box').style.display="none";
document.getElementById('large-box').classList.remove("fade-out");
},299);
document.getElementById('blurbox').classList.remove("blurbox");
}
function openadvicebox() {
document.getElementById('blurbox').style.filter="blur(5.2px)";
document.getElementById('blurbox').classList.add("blurbox");
document.getElementById('advice-box').classList.add("fade-in");
document.getElementById('advice-box').style.display="block";
setTimeout(function(){
document.getElementById('advice-box').classList.remove("fade-in");
},299);
}
function closeadvicebox(){
document.getElementById('blurbox').style.filter="none";
document.getElementById('advice-box').classList.add("fade-out");
setTimeout(function(){
document.getElementById('advice-box').style.display="none";
document.getElementById('advice-box').classList.remove("fade-out");
},299);
document.getElementById('blurbox').classList.remove("blurbox");
}
//基于class做状态转换
</script>
<!-- 随机搜索切换按钮 -->
<div onclick="status_switch()" id="status-switch-box" class="nav-button">
<em id="status-switch-icon" class="fa fa-random">
</em>
</div>
<div onclick="openadvicebox()" id="show-advice-box" class="nav-button"><em id="show-advice-icon" class="fa fa-question">
</em></div>
<div onclick="beng()" id="beng-box" class="nav-button"><em id="beng-icon" >😅</em><em id="beng-num"></em></div>
<div id="pic-box-icon">
<a onclick="getpic(0)"><img id="pic-box-icon-img" src="favicon.png" alt="义眼丁真收集站"></a>
</div>
<div id="rand-pic-section">
<div id='pic'>
<img alt="" id='rand-pic' onclick="showlargebox()">
</div>
<div id="pic-info-title">
<h1 id="fore-title"></h1>
<h2 id="mid-title">
</h1>
<h2 id="suffix-title">
</h1>
</div>
<button onclick="getpic()" type="$_GET" name="rand" class="rand-button" id="rand-button"><em class="fa fa-refresh"></em></button>
<script type="text/javascript">
var i_pic_size = 0;
window.i_pic_size = i_pic_size;
function checkfontsize() {
var suffix_length = document.getElementById("suffix-title").innerText.length;
var mid_length = document.getElementById("mid-title").innerText.length;
var fore_length = document.getElementById("fore-title").innerText.length;
var maxlength = 12;
if (suffix_length > maxlength && window.i_pic_size == 0) {
// document.getElementById("pic-box").style.width = 400 + 'px';
document.getElementById("suffix-title").style.fontSize = 20 + 'px';
document.getElementById("suffix-title").style.top = 0 + 'px';
window.i_pic_size = window.i_pic_size + 1;
} else if (suffix_length <= 2 && window.i_pic_size == 0) {
// document.getElementById("pic-box").style.width = 400 + 'px';
document.getElementById("suffix-title").style.fontSize = 40 + 'px';
document.getElementById("suffix-title").style.top = -5 + 'px';
window.i_pic_size = window.i_pic_size + 1;
} else {
// document.getElementById("pic-box").style.width = 'fit-content';
document.getElementById("suffix-title").style.fontSize = 30 + 'px';
document.getElementById("suffix-title").style.top = 0 + 'px';
}
}
function checkpicsize() {
document.getElementById("large-img-box").style.maxWidth = (window.innerWidth - 100) +"px";
document.getElementById("large-img-box").style.maxHeight = (window.innerHeight - 200) +"px";
document.getElementById("large-box").style.maxWidth = (window.innerWidth - 100) +"px";
document.getElementById("large-box").style.maxHeight = (window.innerHeight - 150) +"px";
var suffix_length = document.getElementById("suffix-title").innerText.length;
var maxlength = 12;
document.getElementById("rand-pic").style.maxWidth = (window.innerWidth - 100) + "px";
if(document.getElementById("rand-pic").width >= 400 && window.innerWidth > 1200 && suffix_length > maxlength){
document.getElementById("pic-box").style.minWidth = "1180px";
}else if(document.getElementById("rand-pic").width < 400 && window.innerWidth > 1200 && suffix_length < maxlength){
document.getElementById("pic-box").style.minWidth = "700px";
}else if(document.getElementById("rand-pic").width < 400 && window.innerWidth > 1200 && suffix_length > maxlength){
document.getElementById("pic-box").style.minWidth = "1180px";
}else if(document.getElementById("rand-pic").width >= 500 && window.innerWidth > 1200 && suffix_length < maxlength){
document.getElementById("pic-box").style.minWidth = "1180px";
}else if(document.getElementById("rand-pic").width < 400 && window.innerWidth < 1200 && suffix_length < maxlength){
document.getElementById("pic-box").style.minWidth = "300px";
}
}
function beng(pic_id,add1) {
var bengtimes = sessionStorage.getItem("bengtimes");
bengtimes = parseInt(bengtimes) + 1;
sessionStorage.setItem("bengtimes",bengtimes);
if(parseInt(sessionStorage.getItem("bengtimes"))<=5){
$.ajax({
url: "beng.php",
type: "post",
dataType: "text",
data: {
pic_id,
add1
},
success: function(resultjson) {
var bengjson = JSON.parse(resultjson);
console.log(bengjson);
var beng = bengjson[0].beng;
beng = parseInt(beng);
document.getElementById("beng-num").innerHTML = beng;
}
})}else{
document.getElementById("beng-num").innerHTML = "别绷了";
}
}
function getpic(id) {
document.getElementById("beng-box").setAttribute("onclick","beng(" + id + "," + 1 + ")");
console.log("图片获取开始");
$.ajax({
url: "timesbeenrequired.php",
type: "post",
dataType: "text",
data: {
hasRequired : true,
},
success: function(resultjson) {
var resultjson = JSON.parse(resultjson);
var totalrequired = resultjson[0].totalrequired;
window.totalrequired = totalrequired;
document.getElementById("totalrequired").innerHTML = totalrequired;
}
})
if (id !== null && id !== undefined) {
if (window.i_pic_size !== 0) {
window.i_pic_size = 0;
}
$.ajax({
url: "getpic.php",
type: "post",
dataType: "text",
data: {
id
},
success: function(resultjson) {
sessionStorage.setItem("bengtimes",0);
var picinfo = JSON.parse(resultjson);
var fore = picinfo[0].fore.fore;
var mid = picinfo[0].mid.mid;
var suffix = picinfo[0].suffix.suffix;
var picpath = picinfo[0].picpath[0];
document.getElementById("beng-box").setAttribute("onclick","beng(" + id + "," + 1 + ")");
beng(id,0);
document.getElementById("fore-title").innerHTML = fore;
document.getElementById("mid-title").innerHTML = mid;
document.getElementById("suffix-title").innerHTML = suffix;
document.getElementById("pic-id").innerHTML = id;
loading();
document.getElementById("rand-pic").src = picpath;
document.getElementById("large-img-box").src = picpath;
document.title = fore + "|" + "义眼丁真收集站";
}
})
} else {
if (window.i_pic_size !== 0) {
window.i_pic_size = 0;
}
$.getJSON("getpic.php", function(picjson) {
sessionStorage.setItem("bengtimes",0);
var picinfo = picjson;
var verified = picinfo[0].verified[0];
if(verified == 0){
getpic();
}
if(picinfo[0].fore.fore){
var fore = picinfo[0].fore.fore;
var rand = picinfo[0].rand;
var mid = picinfo[0].mid.mid;
var suffix = picinfo[0].suffix.suffix;
var picpath = picinfo[0].picpath.pic_path;
document.getElementById("beng-box").setAttribute("onclick","beng(" + rand + "," + 1 + ")");
beng(rand,0);
document.getElementById("fore-title").innerHTML = fore;
document.getElementById("mid-title").innerHTML = mid;
document.getElementById("suffix-title").innerHTML = suffix;
document.getElementById("pic-id").innerHTML = rand;
loading();
document.getElementById("rand-pic").src = picpath;
document.getElementById("large-img-box").src = picpath;
document.title = fore + "|" + "义眼丁真收集站";
console.log(picinfo,verified);
}
else{
getpic();
}
})
}
}
var loading_i = 0;
window.loading_i = loading_i;
function loading() {
if (window.loading_i == 1){
document.getElementById("loading-anime").remove();
document.getElementById("loading-text").remove();
window.loading_i = 0;
}
document.getElementById("rand-button").setAttribute("onclick"," ");
document.getElementById("rand-button").classList.add("rand-button-active");
document.getElementById("rand-pic").style.display = "none";
var loading = document.createElement("i");
var loadingtext = document.createElement("i");
loading.className = "fa fa-circle fa-spin fa-3x fa-fw margin-bottom";
loading.id = "loading-anime";
loadingtext.innerText = "加载中";
loadingtext.id = "loading-text";
document.getElementById("pic").appendChild(loading);
document.getElementById("pic").appendChild(loadingtext);
console.log("loading");
window.loading_i = 1;
setTimeout(function(){
document.getElementById("rand-button").classList.remove("rand-button-active");
document.getElementById("rand-button").setAttribute("onclick","getpic()");
},1000);
document.getElementById("rand-pic").onload = function() {
document.getElementById("rand-pic").style.display = "block";
loading.remove();
loadingtext.remove();
console.log("loading complete");
window.loading_i = 0;
//延时一秒
checkfontsize();
checkpicsize();
}
}
</script>
</div>
<div class="pic-id-box">
<i id="pic-id"></i>
</div>
<div id="pic-search-section">
<form autocomplete="off">
<input oninput="showsearchresult()" onkeydown="return keydown(event)" name="search-name" id="search-box" type="search" placeholder="输入id或关键词以搜索">
</form>
<div id="search-result-box"></div>
<script type="text/javascript">
function keydown(e) {
if(e.keyCode===13){
return false
}
}
function showsearchresult() {
if (document.getElementById("search-box").value == "") {
$("#search-result-box").empty();
return false;
}
search_result_box = document.getElementById("search-result-box");
result_li = document.createElement("a");
result_li.innerHTML = "正在查询";
result_li.className = "search-result";
search_result_box.appendChild(result_li);
$.ajax({
url: "livesearch.php",
type: "post",
dataType: "text",
data: {
"search-name": document.getElementById("search-box").value
},
success: function(resultjson) {
$("#search-result-box").empty();
var search_result_box, result_li;
var resultjson = JSON.parse(resultjson);
console.log(resultjson);
// 返回结果数量
var resultnum = resultjson[0].result.length;
//yy数组
var resultfore = [];
for (i = 0; i < resultnum; i++) {
search_result_box = document.getElementById("search-result-box");
resultfore.push(resultjson[0].result[i][1]);
result_li = document.createElement("a");
result_li.innerHTML = resultjson[0].result[i][1] + " " + resultjson[0].result[i][2] + " " + resultjson[0].result[i][3];
result_li.className = "search-result";
id = resultjson[0].result[i][0];
result_li.id = "search-result" + id;
result_li_id = "search-result" + id;
search_result_box.appendChild(result_li);
document.getElementById(result_li_id).setAttribute("onclick", "livesearchclick(" + id + ")");
}
if (resultnum == 0) {
search_result_box = document.getElementById("search-result-box");
result_li = document.createElement("a");
result_li.innerHTML = "无结果捏";
result_li.className = "search-result";
search_result_box.appendChild(result_li);
} else {
result_li = document.createElement("a");
result_li.innerHTML = "共"+ resultjson[0].result.length + "个结果";
result_li.className = "search-result";
search_result_box.appendChild(result_li);
}
}
})
}
function livesearchclick(id) {
getpic(id);
status_switch();
}
</script>
</div>
</div>
<div id="bg-text">www.yiyandingzhen.top</div>
<!-- 底部导航 -->
<div id="bottom-site-info">
<!-- 开关底部导航栏 -->
<script>
function declaration() {
if (!document.getElementById("declaration-box").style.display) {
document.getElementById('declaration-box').style.display = "block";
document.getElementById('declaration-box').classList.add("box-scale-up");
uploadoff()
recommendationoff()
statisticsoff()
feedbackoff()
document.getElementById('declaration-box').classList.remove("box-scale-down");
} else {
declarationoff()
}
}
function declarationoff() {
document.getElementById('declaration-box').classList.remove("box-scale-up");
document.getElementById('declaration-box').classList.add("box-scale-down");
setTimeout(function() {
document.getElementById('declaration-box').style.display = "";
}, 200);
}
function recommendation() {
if (!document.getElementById("recommendation-box").style.display) {
document.getElementById('recommendation-box').style.display = "block";
document.getElementById('recommendation-box').classList.add("box-scale-up");
declarationoff()
uploadoff()
statisticsoff()
feedbackoff()
document.getElementById('recommendation-box').classList.remove("box-scale-down");
} else {
recommendationoff()
}
}
function recommendationoff() {
document.getElementById('recommendation-box').classList.remove("box-scale-up");
document.getElementById('recommendation-box').classList.add("box-scale-down");
setTimeout(function() {
document.getElementById('recommendation-box').style.display = "";
}, 200);
}
function upload() {
if (!document.getElementById("upload-box").style.display) {
document.getElementById('upload-box').style.display = "block";
document.getElementById('upload-box').classList.add("box-scale-up");
declarationoff()
recommendationoff()
statisticsoff()
feedbackoff()
document.getElementById('upload-box').classList.remove("box-scale-down");
} else {
uploadoff();
}
}
function uploadoff() {
document.getElementById('upload-box').classList.remove("box-scale-up");
document.getElementById('upload-box').classList.add("box-scale-down");
setTimeout(function() {
document.getElementById('upload-box').style.display = "";
}, 200);
}
function statistics() {
if (!document.getElementById("statistics-box").style.display) {
document.getElementById('statistics-box').style.display = "block";
document.getElementById('statistics-box').classList.add("box-scale-up");
declarationoff()
recommendationoff()
uploadoff()
feedbackoff()
document.getElementById('statistics-box').classList.remove("box-scale-down");
} else {
statisticsoff();
}
}
function statisticsoff() {
document.getElementById('statistics-box').classList.remove("box-scale-up");
document.getElementById('statistics-box').classList.add("box-scale-down");
setTimeout(function() {
document.getElementById('statistics-box').style.display = "";
}, 200);
}
function feedback() {
if (!document.getElementById("feedback-box").style.display) {
document.getElementById('feedback-box').style.display = "block";
document.getElementById('feedback-box').classList.add("box-scale-up");
declarationoff()
recommendationoff()
uploadoff()
statisticsoff()
document.getElementById('feedback-box').classList.remove("box-scale-down");
} else {
feedbackoff()
}
}
function feedbackoff() {
document.getElementById('feedback-box').classList.remove("box-scale-up");
document.getElementById('feedback-box').classList.add("box-scale-down");
setTimeout(function() {
document.getElementById('feedback-box').style.display = "";
}, 200);
}
function uploadfeedback() {
if(!document.getElementById('feedback-textarea').value){
document.getElementById('feedback-textarea').setAttribute('placeholder','你得写点再传啊,不然我看啥。')
return false;
}
var FeedbackToUpload = new FormData(document.getElementById("feedback-form"));
$.ajax({
cache: false,
url: "feedback.php",
type: "post",
processData: false,
contentType: false,
data: FeedbackToUpload,
success: function(resultjson) {
var resultjson = JSON.parse(resultjson);
document.getElementById("feedback-upload-button").innerHTML = "提交成功";
document.getElementById("feedback-button").innerHTML = "提交成功";
feedbackoff();
setTimeout(function(){
document.getElementById("feedback-upload-button").innerHTML = "我 好 啦";
document.getElementById("feedback-button").innerHTML = "反馈捏";
},10000);
}
})
}
</script>
<a id="feedback-button" onclick="feedback()">反馈</a>
<div id="feedback-box">
<form id="feedback-form">
<textarea name="feedback" id="feedback-textarea" placeholder="发现了不对劲的东西,或者有什么想对作者说的,都写出来吧,也可以留下联系方式,我会看的qwq"></textarea></form>
<button id="feedback-upload-button" onclick="uploadfeedback()">我 好 了</button>
</div>
<div onclick="declaration()" class="nav-button" id="declaration-button"><a>声明</a></div>
<div onclick="recommendation()" class="nav-button" id="recommendation-button"><a>引流</a></div>
<div onclick="upload()" class="nav-button" id="upload-button"><a>上传</a></div>
<div onclick="statistics()" class="nav-button" id="statistics-button"><a>统计</a></div>
<div id="declaration-box">
<p>欢迎来到义眼丁真收集站。</p>
<p>这里收集了广大网友为<ruby>丁真珍珠<rt>བསྟན་འཛིན་བརྩོན་འགྲུས་</rt></ruby>先生所制作的义眼丁真图片。</p>
<p>大部分内容来自互联网与用户上传,不代表本站管理者的意见,如果侵犯到您的权益请联系我,但我本人并没有任何对丁真本人的恶意。</p>
<p>虽然大家可能抱着恶搞的心态在制作这些图片,但是请多多支持中国扶贫事业,不要以戏谑的眼光去看待我们的基层工作者,这是一项关乎民生的千年大计。</p>
<p>我相信大家的三棺一定很正吧。</p>
</div>
<div id="recommendation-box">
<ul id="recommendation-list">
<a target="_blank" href="https://tieba.baidu.com/f?kw=%E5%AD%99%E7%AC%91%E5%B7%9D&ie=utf-8">
<li>
<svg t="1650785579855" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1403" width="200" height="200">
<path d="M1024 862.826667a161.152 161.152 0 0 1-161.173333 161.173333h-701.632a161.152 161.152 0 0 1-161.173334-161.173333v-701.632a161.194667 161.194667 0 0 1 161.173334-161.173334h701.632a161.194667 161.194667 0 0 1 161.173333 161.173334v701.632z" fill="#306FB6" p-id="1404"></path>
<path d="M828.842667 250.261333h-173.461334v-36.522666a17.066667 17.066667 0 0 0-17.066666-17.066667h-41.941334a17.045333 17.045333 0 0 0-17.045333 17.066667v263.296h-24.896a17.066667 17.066667 0 0 0-17.045333 17.066666V810.218667a17.066667 17.066667 0 0 0 17.045333 17.088h257.365333a17.066667 17.066667 0 0 0 17.066667-17.088v-58.986667h-0.256v-198.144h0.256v-58.986667a17.066667 17.066667 0 0 0-17.066667-17.066666H655.381333v-150.72h173.461334a17.066667 17.066667 0 0 0 17.066666-17.066667v-41.941333a17.066667 17.066667 0 0 0-17.066666-17.045334z m-93.376 302.848c9.429333 0 17.045333 7.637333 17.045333 17.066667v164.010667a17.066667 17.066667 0 0 1-17.045333 17.066666h-104.981334a17.045333 17.045333 0 0 1-17.045333-17.066666v-164.010667a17.066667 17.066667 0 0 1 17.045333-17.066667h104.981334zM197.909333 657.408h41.941334a17.088 17.088 0 0 0 17.088-17.088v-358.741333h174.528v358.741333a17.066667 17.066667 0 0 0 17.045333 17.088h41.941333a17.088 17.088 0 0 0 17.088-17.088v-417.749333c0-9.408-7.658667-17.066667-17.088-17.066667h-292.522666a17.066667 17.066667 0 0 0-17.045334 17.066667v417.749333a17.024 17.024 0 0 0 17.024 17.088z" fill="#FFFFFF" p-id="1405"></path>
<path d="M492.970667 739.2v-0.170667a110.656 110.656 0 0 1-110.656-110.656h-0.106667v-296.042666a17.066667 17.066667 0 0 0-17.066667-17.045334h-41.941333a17.045333 17.045333 0 0 0-17.045333 17.045334v296.042666h-0.362667a110.677333 110.677333 0 0 1-110.677333 110.656v0.170667a17.045333 17.045333 0 0 0-17.045334 17.066667v42.112a17.066667 17.066667 0 0 0 17.045334 17.066666 186.602667 186.602667 0 0 0 148.928-74.176 186.624 186.624 0 0 0 148.928 74.176 17.045333 17.045333 0 0 0 17.045333-17.066666v-42.112a17.024 17.024 0 0 0-17.045333-17.066667z" fill="#FFFFFF" p-id="1406"></path>
<path d="M865.450667 873.685333c17.664-3.797333 15.253333-24.896 14.741333-29.504-0.874667-7.125333-9.237333-19.541333-20.586667-18.581333-14.293333 1.28-16.362667 21.930667-16.362666 21.930667-1.962667 9.557333 4.608 29.952 22.208 26.154666z m18.752 36.693334c-0.533333 1.493333-1.664 5.290667-0.682667 8.597333 1.962667 7.402667 8.405333 7.744 8.405333 7.744h9.258667v-22.613333h-9.898667a10.837333 10.837333 0 0 0-7.082666 6.272z m14.037333-72.085334c9.749333 0 17.621333-11.221333 17.621333-25.109333 0-13.866667-7.872-25.088-17.621333-25.088-9.728 0-17.642667 11.221333-17.642667 25.088 0 13.888 7.893333 25.109333 17.642667 25.109333z m41.984 1.664c13.034667 1.706667 21.418667-12.202667 23.082667-22.762666 1.706667-10.538667-6.698667-22.762667-15.936-24.853334-9.258667-2.112-20.778667 12.672-21.845334 22.357334-1.258667 11.797333 1.685333 23.573333 14.698667 25.258666z m31.936 61.973334s-20.16-15.594667-31.936-32.448c-15.957333-24.874667-38.634667-14.762667-46.208-2.112-7.552 12.650667-19.328 20.629333-20.992 22.741333-1.685333 2.090667-24.362667 14.336-19.328 36.672 5.034667 22.336 22.72 21.909333 22.72 21.909333s13.013333 1.28 28.138667-2.112c15.104-3.349333 28.117333 0.832 28.117333 0.832s35.306667 11.818667 44.970667-10.944c9.621333-22.72-5.482667-34.538667-5.482667-34.538666z m-60.394667 33.877333h-22.954666c-9.92-1.984-13.866667-8.746667-14.357334-9.898667-0.490667-1.173333-3.306667-6.613333-1.813333-15.850666 4.288-13.866667 16.490667-14.848 16.490667-14.848h12.224v-15.04l10.410666 0.149333v55.488z m42.752-0.170667h-26.410666c-10.24-2.624-10.709333-9.92-10.709334-9.92v-29.205333l10.709334-0.170667v26.261334c0.64 2.794667 4.117333 3.306667 4.117333 3.306666h10.88v-29.397333h11.413333v39.125333z m37.376-77.994666c0-5.034667-4.181333-20.224-19.733333-20.224-15.552 0-17.642667 14.336-17.642667 24.469333 0 9.685333 0.810667 23.189333 20.16 22.741333 19.328-0.426667 17.216-21.909333 17.216-26.986666z" fill="#FFFFFF" p-id="1407"></path>
</svg>
孙笑川吧
</li>
</a>
<a target="_blank" href="https://www.bilibili.com/bangumi/play/ep433964?spm_id_from=333.337.0.0&from_spmid=666.25.episode.0">
<li>
<svg t="1650785793374" class="icon" viewBox="0 0 1129 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1918" width="200" height="200">
<path d="M234.909 9.656a80.468 80.468 0 0 1 68.398 0 167.374 167.374 0 0 1 41.843 30.578l160.937 140.82h115.07l160.936-140.82a168.983 168.983 0 0 1 41.843-30.578A80.468 80.468 0 0 1 930.96 76.445a80.468 80.468 0 0 1-17.703 53.914 449.818 449.818 0 0 1-35.406 32.187 232.553 232.553 0 0 1-22.531 18.508h100.585a170.593 170.593 0 0 1 118.289 53.109 171.397 171.397 0 0 1 53.914 118.288v462.693a325.897 325.897 0 0 1-4.024 70.007 178.64 178.64 0 0 1-80.468 112.656 173.007 173.007 0 0 1-92.539 25.75h-738.7a341.186 341.186 0 0 1-72.421-4.024A177.835 177.835 0 0 1 28.91 939.065a172.202 172.202 0 0 1-27.36-92.539V388.662a360.498 360.498 0 0 1 0-66.789A177.03 177.03 0 0 1 162.487 178.64h105.414c-16.899-12.07-31.383-26.555-46.672-39.43a80.468 80.468 0 0 1-25.75-65.984 80.468 80.468 0 0 1 39.43-63.57M216.4 321.873a80.468 80.468 0 0 0-63.57 57.937 108.632 108.632 0 0 0 0 30.578v380.615a80.468 80.468 0 0 0 55.523 80.469 106.218 106.218 0 0 0 34.601 5.632h654.208a80.468 80.468 0 0 0 76.444-47.476 112.656 112.656 0 0 0 8.047-53.109v-354.06a135.187 135.187 0 0 0 0-38.625 80.468 80.468 0 0 0-52.304-54.719 129.554 129.554 0 0 0-49.89-7.242H254.22a268.764 268.764 0 0 0-37.82 0z m0 0" fill="#20B0E3" p-id="1919"></path>
<path d="M348.369 447.404a80.468 80.468 0 0 1 55.523 18.507 80.468 80.468 0 0 1 28.164 59.547v80.468a80.468 80.468 0 0 1-16.094 51.5 80.468 80.468 0 0 1-131.968-9.656 104.609 104.609 0 0 1-10.46-54.719v-80.468a80.468 80.468 0 0 1 70.007-67.593z m416.02 0a80.468 80.468 0 0 1 86.102 75.64v80.468a94.148 94.148 0 0 1-12.07 53.11 80.468 80.468 0 0 1-132.773 0 95.757 95.757 0 0 1-12.875-57.133V519.02a80.468 80.468 0 0 1 70.007-70.812z m0 0" fill="#20B0E3" p-id="1920"></path>
</svg>
纪录片《无穷之路》
</li>
</a>
<a target="_blank" href="https://www.bilibili.com/video/BV1fV411W7Ss?p=1&share_medium=iphone&share_plat=ios&share_session_id=65FF7373-4F44-4039-9970-4553B726E560&share_source=QQ&share_tag=s_i×tamp=1651819046&unique_k=EhqHRI6">
<li>
<svg t="1650785793374" class="icon" viewBox="0 0 1129 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1918" width="200" height="200">
<path d="M234.909 9.656a80.468 80.468 0 0 1 68.398 0 167.374 167.374 0 0 1 41.843 30.578l160.937 140.82h115.07l160.936-140.82a168.983 168.983 0 0 1 41.843-30.578A80.468 80.468 0 0 1 930.96 76.445a80.468 80.468 0 0 1-17.703 53.914 449.818 449.818 0 0 1-35.406 32.187 232.553 232.553 0 0 1-22.531 18.508h100.585a170.593 170.593 0 0 1 118.289 53.109 171.397 171.397 0 0 1 53.914 118.288v462.693a325.897 325.897 0 0 1-4.024 70.007 178.64 178.64 0 0 1-80.468 112.656 173.007 173.007 0 0 1-92.539 25.75h-738.7a341.186 341.186 0 0 1-72.421-4.024A177.835 177.835 0 0 1 28.91 939.065a172.202 172.202 0 0 1-27.36-92.539V388.662a360.498 360.498 0 0 1 0-66.789A177.03 177.03 0 0 1 162.487 178.64h105.414c-16.899-12.07-31.383-26.555-46.672-39.43a80.468 80.468 0 0 1-25.75-65.984 80.468 80.468 0 0 1 39.43-63.57M216.4 321.873a80.468 80.468 0 0 0-63.57 57.937 108.632 108.632 0 0 0 0 30.578v380.615a80.468 80.468 0 0 0 55.523 80.469 106.218 106.218 0 0 0 34.601 5.632h654.208a80.468 80.468 0 0 0 76.444-47.476 112.656 112.656 0 0 0 8.047-53.109v-354.06a135.187 135.187 0 0 0 0-38.625 80.468 80.468 0 0 0-52.304-54.719 129.554 129.554 0 0 0-49.89-7.242H254.22a268.764 268.764 0 0 0-37.82 0z m0 0" fill="#20B0E3" p-id="1919"></path>
<path d="M348.369 447.404a80.468 80.468 0 0 1 55.523 18.507 80.468 80.468 0 0 1 28.164 59.547v80.468a80.468 80.468 0 0 1-16.094 51.5 80.468 80.468 0 0 1-131.968-9.656 104.609 104.609 0 0 1-10.46-54.719v-80.468a80.468 80.468 0 0 1 70.007-67.593z m416.02 0a80.468 80.468 0 0 1 86.102 75.64v80.468a94.148 94.148 0 0 1-12.07 53.11 80.468 80.468 0 0 1-132.773 0 95.757 95.757 0 0 1-12.875-57.133V519.02a80.468 80.468 0 0 1 70.007-70.812z m0 0" fill="#20B0E3" p-id="1920"></path>
</svg>
能带给人美的欣赏的歌曲
</li>
</a>
<a target="_blank" href="https://space.bilibili.com/672328094?spm_id_from=333.337.0.0">
<li>
<svg t="1650785793374" class="icon" viewBox="0 0 1129 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1918" width="200" height="200">
<path d="M234.909 9.656a80.468 80.468 0 0 1 68.398 0 167.374 167.374 0 0 1 41.843 30.578l160.937 140.82h115.07l160.936-140.82a168.983 168.983 0 0 1 41.843-30.578A80.468 80.468 0 0 1 930.96 76.445a80.468 80.468 0 0 1-17.703 53.914 449.818 449.818 0 0 1-35.406 32.187 232.553 232.553 0 0 1-22.531 18.508h100.585a170.593 170.593 0 0 1 118.289 53.109 171.397 171.397 0 0 1 53.914 118.288v462.693a325.897 325.897 0 0 1-4.024 70.007 178.64 178.64 0 0 1-80.468 112.656 173.007 173.007 0 0 1-92.539 25.75h-738.7a341.186 341.186 0 0 1-72.421-4.024A177.835 177.835 0 0 1 28.91 939.065a172.202 172.202 0 0 1-27.36-92.539V388.662a360.498 360.498 0 0 1 0-66.789A177.03 177.03 0 0 1 162.487 178.64h105.414c-16.899-12.07-31.383-26.555-46.672-39.43a80.468 80.468 0 0 1-25.75-65.984 80.468 80.468 0 0 1 39.43-63.57M216.4 321.873a80.468 80.468 0 0 0-63.57 57.937 108.632 108.632 0 0 0 0 30.578v380.615a80.468 80.468 0 0 0 55.523 80.469 106.218 106.218 0 0 0 34.601 5.632h654.208a80.468 80.468 0 0 0 76.444-47.476 112.656 112.656 0 0 0 8.047-53.109v-354.06a135.187 135.187 0 0 0 0-38.625 80.468 80.468 0 0 0-52.304-54.719 129.554 129.554 0 0 0-49.89-7.242H254.22a268.764 268.764 0 0 0-37.82 0z m0 0" fill="#20B0E3" p-id="1919"></path>
<path d="M348.369 447.404a80.468 80.468 0 0 1 55.523 18.507 80.468 80.468 0 0 1 28.164 59.547v80.468a80.468 80.468 0 0 1-16.094 51.5 80.468 80.468 0 0 1-131.968-9.656 104.609 104.609 0 0 1-10.46-54.719v-80.468a80.468 80.468 0 0 1 70.007-67.593z m416.02 0a80.468 80.468 0 0 1 86.102 75.64v80.468a94.148 94.148 0 0 1-12.07 53.11 80.468 80.468 0 0 1-132.773 0 95.757 95.757 0 0 1-12.875-57.133V519.02a80.468 80.468 0 0 1 70.007-70.812z m0 0" fill="#20B0E3" p-id="1920"></path>
</svg>
🥵顿顿解馋🥵小草莓🍓
</li>
</a>
<a target="_blank" href="https://space.bilibili.com/1463028352?spm_id_from=333.337.0.0">
<li>
<svg t="1650785793374" class="icon" viewBox="0 0 1129 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1918" width="200" height="200">
<path d="M234.909 9.656a80.468 80.468 0 0 1 68.398 0 167.374 167.374 0 0 1 41.843 30.578l160.937 140.82h115.07l160.936-140.82a168.983 168.983 0 0 1 41.843-30.578A80.468 80.468 0 0 1 930.96 76.445a80.468 80.468 0 0 1-17.703 53.914 449.818 449.818 0 0 1-35.406 32.187 232.553 232.553 0 0 1-22.531 18.508h100.585a170.593 170.593 0 0 1 118.289 53.109 171.397 171.397 0 0 1 53.914 118.288v462.693a325.897 325.897 0 0 1-4.024 70.007 178.64 178.64 0 0 1-80.468 112.656 173.007 173.007 0 0 1-92.539 25.75h-738.7a341.186 341.186 0 0 1-72.421-4.024A177.835 177.835 0 0 1 28.91 939.065a172.202 172.202 0 0 1-27.36-92.539V388.662a360.498 360.498 0 0 1 0-66.789A177.03 177.03 0 0 1 162.487 178.64h105.414c-16.899-12.07-31.383-26.555-46.672-39.43a80.468 80.468 0 0 1-25.75-65.984 80.468 80.468 0 0 1 39.43-63.57M216.4 321.873a80.468 80.468 0 0 0-63.57 57.937 108.632 108.632 0 0 0 0 30.578v380.615a80.468 80.468 0 0 0 55.523 80.469 106.218 106.218 0 0 0 34.601 5.632h654.208a80.468 80.468 0 0 0 76.444-47.476 112.656 112.656 0 0 0 8.047-53.109v-354.06a135.187 135.187 0 0 0 0-38.625 80.468 80.468 0 0 0-52.304-54.719 129.554 129.554 0 0 0-49.89-7.242H254.22a268.764 268.764 0 0 0-37.82 0z m0 0" fill="#20B0E3" p-id="1919"></path>
<path d="M348.369 447.404a80.468 80.468 0 0 1 55.523 18.507 80.468 80.468 0 0 1 28.164 59.547v80.468a80.468 80.468 0 0 1-16.094 51.5 80.468 80.468 0 0 1-131.968-9.656 104.609 104.609 0 0 1-10.46-54.719v-80.468a80.468 80.468 0 0 1 70.007-67.593z m416.02 0a80.468 80.468 0 0 1 86.102 75.64v80.468a94.148 94.148 0 0 1-12.07 53.11 80.468 80.468 0 0 1-132.773 0 95.757 95.757 0 0 1-12.875-57.133V519.02a80.468 80.468 0 0 1 70.007-70.812z m0 0" fill="#20B0E3" p-id="1920"></path>
</svg>
理塘丁真
</li>
</a>
<a target="_blank" href="https://zh.wikipedia.org/wiki/%E4%B8%81%E7%9C%9F">
<li>
<svg t="1650810336859" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1707" width="200" height="200">
<path d="M966.784 233.6a15.04 15.04 0 0 1-3.008 8.992c-2.016 2.592-4.192 4-6.784 4-20 2.016-36.384 8.416-48.992 19.2-12.8 10.816-25.792 31.808-39.2 62.4L662.4 793.6c-1.408 4.384-5.216 6.4-11.392 6.4a13.12 13.12 0 0 1-11.392-6.4l-115.808-242.016-133.184 242.016c-2.816 4.384-6.4 6.4-11.392 6.4-6.016 0-9.792-2.208-11.808-6.4L164.832 328.416c-12.608-28.8-26.016-48.992-40-60.384s-33.6-18.592-58.592-21.184c-2.208 0-4.192-1.184-6.016-3.392a10.976 10.976 0 0 1-2.784-7.808c0-7.584 2.208-11.392 6.4-11.392 17.984 0 36.992 0.8 56.8 2.4 18.4 1.6 35.584 2.4 51.808 2.4 16.416 0 36-0.8 58.4-2.4 23.392-1.6 44.192-2.4 62.4-2.4 4.384 0 6.4 3.808 6.4 11.392s-1.408 11.2-4 11.2c-18.016 1.408-32.384 6.016-42.816 13.792s-15.584 18.016-15.584 30.816c0 6.4 2.208 14.592 6.4 24.192l167.392 378.4 95.2-179.616-88.608-185.792c-16-33.184-28.992-54.592-39.2-64.192s-25.792-15.392-46.592-17.6c-2.016 0-3.616-1.184-5.408-3.392s-2.592-4.8-2.592-7.808c0-7.584 1.792-11.392 5.6-11.392 18.016 0 34.592 0.8 49.792 2.4 14.592 1.6 30.016 2.4 46.592 2.4 16.192 0 33.184-0.8 51.392-2.4 18.592-1.6 36.992-2.4 55.008-2.4 4.384 0 6.4 3.808 6.4 11.392s-1.216 11.2-4 11.2c-36.192 2.4-54.208 12.8-54.208 30.816 0 8 4.192 20.608 12.608 37.6l58.592 119.008 58.4-108.8c8-15.392 12.192-28.384 12.192-38.816 0-24.8-18.016-38.016-54.208-39.584-3.2 0-4.8-3.808-4.8-11.2 0-2.816 0.8-5.184 2.4-7.584s3.2-3.584 4.8-3.584c12.992 0 28.8 0.8 47.808 2.4 18.016 1.6 32.992 2.4 44.608 2.4 8.384 0 20.608-0.8 36.8-2.016a612.48 612.48 0 0 1 51.392-2.816c3.2 0 4.8 3.2 4.8 9.6 0 8.608-3.008 12.992-8.8 12.992-20.992 2.208-38.016 8-50.784 17.408s-28.8 30.816-48 64.416l-78.208 143.2 105.216 214.4 155.392-361.408c5.408-13.184 8-25.408 8-36.384 0-26.4-18.016-40.416-54.208-42.208-3.2 0-4.8-3.808-4.8-11.2 0-7.584 2.4-11.392 7.2-11.392 13.216 0 28.8 0.8 47.008 2.4 16.8 1.6 30.784 2.4 42.016 2.4 12 0 25.6-0.8 41.216-2.4 16.192-1.6 30.784-2.4 43.808-2.4 4 0 6.016 3.2 6.016 9.6z" p-id="1708"></path>
</svg>
<ruby>丁真珍珠<rt>བསྟན་འཛིན་བརྩོན་འགྲུས་</rt></ruby>
</li>
</a>
<a target="_blank" href="https://m.weibo.cn/u/7524392184">
<li>
<svg t="1651741484531" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2861" width="200" height="200">
<path d="M470.016 195.616C338.656 140.8 0 407.424 0 632.224 0 763.84 166.4 896 441.472 896c336.96 0 499.136-229.312 443.2-341.728-35.712-71.68-126.24-77.952-131.936-97.152-3.712-12.416 41.664-86.976-7.424-127.072-83.776-68.416-226.176 29.92-242.176 12.416-9.984-10.944 37.696-117.312-33.12-146.88z" fill="#E31C34" p-id="2862"></path><path d="M721.12 606.24c10.784 110.016-118.304 212.384-288.32 228.672-169.984 16.256-316.48-59.744-327.264-169.76-10.752-110.048 118.304-212.416 288.32-228.672 169.984-16.288 316.48 59.744 327.264 169.76z" fill="#FFFFFF" p-id="2863"></path><path d="M548.32 611.904c20.8 73.536-33.248 152.768-120.736 176.96-87.488 24.224-175.264-15.744-196.096-89.28-20.8-73.536 33.28-152.768 120.768-176.992 87.488-24.224 175.264 15.776 196.064 89.28z m-155.616 47.36c11.584 24.64-2.688 55.424-31.872 68.832-29.152 13.44-62.176 4.352-73.76-20.256-11.552-24.64 2.72-55.424 31.872-68.832 29.184-13.44 62.208-4.352 73.76 20.256z m38.272-12.8c11.36-5.216 16.928-17.216 12.416-26.816-4.512-9.6-17.376-13.12-28.736-7.904-11.392 5.216-16.96 17.248-12.416 26.816 4.48 9.6 17.376 13.12 28.736 7.904z" fill="#000000" p-id="2864"></path><path d="M698.816 143.264c15.584-3.808 31.904-5.824 48.768-5.824 111.68 0 202.176 89.504 202.176 199.936 0 24.384-4.416 47.68-12.416 69.216a36.608 36.608 0 0 0 21.984 47.136 37.248 37.248 0 0 0 47.68-21.76c11.008-29.504 16.992-61.408 16.992-94.592C1024 186.4 900.256 64 747.584 64c-22.912 0-45.216 2.752-66.592 8a36.704 36.704 0 0 0-27.136 44.48c4.928 19.648 25.056 31.68 44.96 26.784z" fill="#FD9940" p-id="2865"></path><path d="M731.616 271.424c5.12-1.184 10.432-1.824 15.968-1.824a68.16 68.16 0 0 1 68.544 67.776c0 8.192-1.472 15.936-4.064 23.104a36.608 36.608 0 0 0 22.24 47.008 37.248 37.248 0 0 0 47.552-22.016c5.504-15.04 8.512-31.264 8.512-48.096 0-77.984-63.936-141.216-142.784-141.216-11.36 0-22.464 1.344-33.152 3.84a36.704 36.704 0 0 0-27.52 44.224 37.12 37.12 0 0 0 44.704 27.2z" fill="#FD9940" p-id="2866"></path></svg>
理塘丁真
</li>
</a>
</ul>
</div>
<div id="upload-box">
<div id="upload-pic-box">
<a id="pic-path">上传一张图片吧</a>
<form id="upload-form">
<input onchange="validateFileType()" type="file" accept="image/gif,image/jpeg,image/jpg,image/png,image/svg" name="user-upload" id="user-upload">
</div>
<input class="upload-input" id="upload-input-fore" name="upload-input-fore" oninput="showpicstatus()" placeholder="义眼丁真">
<input class="upload-input" id="upload-input-mid" name="upload-input-mid" placeholder="鉴定为">
<input class="upload-input" id="upload-input-suffix" name="upload-input-suffix" placeholder="假">
</form>
<a id="upload-checkbox-box"><input id="upload-checkbox" type="checkbox">我确定我没有上传<strong>任何</strong>反动、R18以及暴力的图片</a>
<a id="show-upload-status"></a>
<button onclick="uploadpic()" type="$_POST" name="upload" class="upload-pic-button"><em class="fa fa-upload"></em></button>
<script>
function uploadpic() {
if (!document.getElementById("user-upload").value) {
document.getElementById("show-upload-status").innerHTML = "请上传一张图片";
} else if (document.getElementById("upload-input-fore").value == "" || document.getElementById("upload-input-mid").value == "" || document.getElementById("upload-input-suffix").value == "") {
document.getElementById("show-upload-status").innerHTML = "请输入信息(没有的打一个空格)";
} else if (document.getElementById("upload-checkbox").checked == false) {
document.getElementById("show-upload-status").innerHTML = "请勾选";
} else if (document.getElementById("upload-checkbox").checked == true && document.getElementById("user-upload").value) {
document.getElementById("show-upload-status").innerHTML = "正在上传";
var picToUpload = new FormData(document.getElementById("upload-form"));
$.ajax({
cache: false,
url: "userupload.php",
type: "post",
processData: false,
contentType: false,
data: picToUpload,
success: function(resultjson) {
var resultjson = JSON.parse(resultjson);
console.log(resultjson);
if (resultjson[0].sql == true){
document.getElementById("show-upload-status").innerHTML = "上传成功,序号为" + resultjson[0].id;
document.getElementById("upload-input-fore").value = "";
document.getElementById("upload-input-mid").value = "";
document.getElementById("upload-input-suffix").value = "";
document.getElementById("user-upload").value = "";
}
if(resultjson[0].sql == false){
document.getElementById("show-upload-status").innerHTML = "上传失败,你是不是上传了脚本呀,可爱捏";
document.getElementById("upload-input-fore").value = "";
document.getElementById("upload-input-mid").value = "";
document.getElementById("upload-input-suffix").value = "";
document.getElementById("user-upload").value = "";
}
}
})
}
}
function showpicstatus() {
$.ajax({
url: "useruploadcheck.php",
type: "post",
dataType: "text",
data: {
"search-name": document.getElementById("upload-input-fore").value
},
success: function(resultjson) {
var upload_status;
var resultjson = JSON.parse(resultjson);
// 返回结果数量
var resultnum = resultjson[0].result.length;
for (i = 0; i < resultnum; i++) {
if (resultjson[0].result[0][0] == 0) {
document.getElementById("pic-path").innerHTML = "这个丁真还没被上传过";
} else if (resultjson[0].result[0][0] == window.totalpicnum) {
document.getElementById("pic-path").innerHTML = "这个丁真还没被上传过";
} else {
document.getElementById("pic-path").innerHTML = "有" + resultjson[0].result[0][0] + "个类似的丁真,查一下是否重复";
}
}
}
})
};
function showfilename() {
var file = document.getElementById("user-upload").value;
var image = document.querySelector("img");
var filepath = file.substring(file.lastIndexOf("\\") + 1);
if (!file) {
document.getElementById("pic-path").innerHTML = "上传失败了,再试试?";
}
if (file) {
document.getElementById("pic-path").innerHTML = "在下方输入这个丁真的信息";
document.getElementById("upload-pic-box").classList.add("upload-pic-box-success");
}
}
function validateFileType() {
var fileName = document.getElementById("user-upload").value;
var idxDot = fileName.lastIndexOf(".") + 1;
var extFile = fileName.substr(idxDot, fileName.length).toLowerCase();
if (extFile == "jpg" || extFile == "jpeg" || extFile == "png" || extFile == 'gif') {
showfilename();
} else {
alert("你怎么骗我,\n哼,上传点正常格式的照片!(jpg/png/gif)");
}
}
</script>
</div>
<div id="statistics-box">
<em id="total-pic-num"></em>
<i id="total-pic-num-text" >张照片已收集</i>
<br/>
<em id="totalvisit"></em>
<i id="totalvisit-text" >次访问</i>
<br/>
<em id="waittoverify"></em>
<i id="waittoverify-text" >张照片待审核</i>
<br/>
<em id="totalrequired"></em>
<i id="totalrequired-text" >次请求</i>
<!-- 页面统计 -->
<script>
$.getJSON("getsiteinfo.php", function(siteinfojson) {
var siteinfo = siteinfojson;
var waittoverify = siteinfo[0].wait_to_verify[0];
var totalpicnum = siteinfo[0].total_pic_num[0];
document.getElementById("total-pic-num").innerHTML = totalpicnum;
document.getElementById("waittoverify").innerHTML = waittoverify;
window.totalpicnum = totalpicnum;
window.waittoverify = waittoverify;
})
window.onload=function() {
$.ajax({
url: "timesbeenopen.php",
type: "post",
dataType: "text",
data: {
"hasloaded": true
},
success: function(resultjson) {
var resultjson = JSON.parse(resultjson);
var totalvisit = resultjson[0].totalvisit;
document.getElementById("totalvisit").innerHTML = totalvisit;
}
})
getpic();
document.getElementById('ideaunlimited-pic').src="pic/ideaunlimited.jpg";
}
function IsPC(){
var userAgentInfo = navigator.userAgent;
var Agents = new Array("Android", "iPhone", "SymbianOS", "Windows Phone", "iPad", "iPod");
var flag = true;
for (var v = 0; v < Agents.length; v++) {