-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
139 lines (136 loc) · 7.13 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
<?php
/**
* FILE_NAME: index.php
* Author: Ivey
* Date: 2019/10/10 14:27
*/
?>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>imgurl - mrddy图床</title>
<?php include "static/view/head.html"; ?>
<script crossorigin="anonymous" integrity="sha384-4RTCcfPYk9Ynbsqfb8mxO6fADyCH+Hd9RaSvW6xO9/icE1biaZ1uw/qCx2BdQB2n"
src="https://lib.baomitu.com/bootstrap-fileinput/5.0.6/js/fileinput.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-LBn99WQzkTDqv2h5L8yIOywHmqQvPsnkZZwxIg5ikQnHP2WbXhrKdLsUF65TgANs"
src="https://lib.baomitu.com/bootstrap-fileinput/5.0.6/js/plugins/piexif.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-X03VuPfgj8rBD0thhiay5PNx+BvsaJZFXcfIsgh259SWkOoVuZdnw+OykP2UG7lJ"
src="https://lib.baomitu.com/bootstrap-fileinput/5.0.6/js/plugins/purify.min.js"></script>
<script crossorigin="anonymous" integrity="sha384-cuvJnJFRVnh5sfgGvFy3Yq55ljj4zer/VhFoCJp9puj5+3GR8s4cT48vqPafhLtu"
src="https://lib.baomitu.com/bootstrap-fileinput/5.0.6/themes/fas/theme.min.js"></script>
</head>
<body>
<?php include "static/view/nav.html"; ?>
<div class="container Hidove-main">
<div class="page-header">
<p>单文件最大5 MB,单次最多上传10个文件.</p>
</div>
<div class="card mb-3">
<div class="card-body">
<h5 class="card-title">免费图床点击单选或多选</h5>
<div class="btn-group-toggle" data-toggle="buttons" id="apitype">
<label class="btn btn-outline-secondary active">
<input type="checkbox" checked autocomplete="off" name="apitype" value="ali" title="阿里图床">阿里图床
</label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="Catbox" title="Catbox">Catbox
</label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="SouGou" title="搜狗">搜狗 </label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="xiaomi" title="小米">小米 </label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="BaiDu" title="百度">百度 </label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="Qihoo" title="奇虎">奇虎 </label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="SuNing" title="苏宁">苏宁 </label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="Neteasy" title="网易">网易 </label>
<label class="btn btn-outline-secondary">
<input type="checkbox" autocomplete="off" name="apitype" value="toutiao" title="头条">头条 </label>
</div>
</div>
</div>
<div class="post">
<form enctype="multipart/form-data">
<div class="form-group">
<input id="Hidove" type="file" name="HidoveImage" multiple="true" class="file"
data-overwrite-initial="false" data-min-file-count="1" data-max-file-count="10"
accept="image/*">
</div>
</form>
</div>
<div id="showurl" style="display:none;">
<ul id="navTab" class="nav nav-tabs">
<li class="nav-item">
<a aria-selected="true" data-toggle="tab" role="tab" class="nav-link active" href="#urlcode">URL</a>
</li>
<li class="nav-item"><a aria-selected="false" data-toggle="tab" role="tab" class="nav-link"
href="#htmlcode">HTML</a></li>
<li class="nav-item"><a aria-selected="false" data-toggle="tab" role="tab" class="nav-link"
href="#bbcode">BBCode</a></li>
<li class="nav-item"><a aria-selected="false" data-toggle="tab" role="tab" class="nav-link"
href="#markdown">Markdown</a></li>
<li class="nav-item"><a aria-selected="false" data-toggle="tab" role="tab" class="nav-link"
href="#markdownwithlink">Markdown with Link</a></li>
</ul>
<div id="navTabContent" class="tab-content">
<div id="urlcode" class="tab-pane active show">
<div class="card card-default">
<div class="card-body Hidove-imageucode">
<table class="table table-bordered">
<tbody id="urlcodes">
</tbody>
</table>
</div>
</div>
</div>
<div id="htmlcode" class="tab-pane">
<div class="card card-default">
<div class="card-body Hidove-imageucode">
<table class="table table-bordered">
<tbody id="htmlcodes">
</tbody>
</table>
</div>
</div>
</div>
<div id="bbcode" class="tab-pane">
<div class="card card-default">
<div class="card-body Hidove-imageucode">
<table class="table table-bordered">
<tbody id="bbcodes">
</tbody>
</table>
</div>
</div>
</div>
<div id="markdown" class="tab-pane">
<div class="card card-default">
<div class="card-body Hidove-imageucode">
<table class="table table-bordered">
<tbody id="markdowncodes">
</tbody>
</table>
</div>
</div>
</div>
<div id="markdownwithlink" class="tab-pane">
<div class="card card-default">
<div class="card-body Hidove-imageucode">
<table class="table table-bordered">
<tbody id="markdowncodes2">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include "static/view/foot.html"; ?>
<script src="static/js/upload.js?asd"></script>
</body>
</html>