修复显示

pull/18/head
icret 2021-05-22 12:04:54 +08:00
parent e1d1d4ec0a
commit c29f54ba00
1 changed files with 82 additions and 96 deletions

View File

@ -66,6 +66,8 @@ if (isset($_POST['delDir'])) {
</span>
<input type="text" class="form-control" id="exampleInputMoney1" value="<?php echo privateToken(); ?>">
</div>
</div>
<div class="col-md-4">
<div class="form-group">
<label for="exampleInputMoney6">
根据Token查找用户ID
@ -78,6 +80,7 @@ if (isset($_POST['delDir'])) {
</form>
</div>
<div class="col-md-4">
<div id="title" style="margin: 10px;"></div>
<form class="form-condensed" action="<?php $_SERVER['PHP_SELF']; ?>" method="post">
<div class="form-group">
@ -91,7 +94,9 @@ if (isset($_POST['delDir'])) {
</button>
</form>
</div>
<div class="col-md-12">
<div class="col-md-4">
<div id="delimgurl"></div>
<div id="title" style="margin: 10px;"></div>
<form class="form-condensed" method="get" action="del.php" id="form" name="delForm" onSubmit="getStr();" target="_blank">
<div class="form-group">
@ -103,29 +108,6 @@ if (isset($_POST['delDir'])) {
<input type="submit" class="btn btn-mini btn-primary" value="删除" />
</form>
</div>
</div>
<div class="col-md-12">
<div class="col-md-4">
<form class="form-condensed" action="index.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label>
API上传测试 - 选择图片
</label>
<div class="form-group">
<input type="file" name="image" class="form-control" accept="image/*">
</div>
<div class="form-group">
<label>
输入Token
</label>
<input type="text" name="token" class="form-control" placeholder="请输入Token" />
</div>
</div>
<button type="submit" class="btn btn-mini btn-primary">
API上传
</button>
</form>
</div>
<div class="col-md-4">
<form action="../libs/compressing.php" method="post" target="_blank">
<div class="form-group">
@ -169,8 +151,8 @@ if (isset($_POST['delDir'])) {
</tbody>
</table>
</div>
</div>
<div class="col-md-12">
</div>
<div class="col-md-12">
<div class="col-md-4">
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="post">
<div class="form-group">
@ -180,6 +162,8 @@ if (isset($_POST['delDir'])) {
<button type="submit" class="btn btn-mini btn-danger">删除目录</button>
</form>
</div>
</div>
</div>
</div>
</div>
@ -195,7 +179,9 @@ if (isset($_POST['delDir'])) {
}
function getWord() {
oTi.innerHTML = '<img src="' + oBtn.value + '" width="200" class="img-rounded" /><br />';
var delimgurl = document.getElementById("delimgurl");
delimgurl.innerHTML += '<img src="' + oBtn.value + '" width="200" class="img-rounded" /><br />';
//oTi.innerHTML = '<img src="' + oBtn.value + '" width="200" class="img-rounded" /><br />';
}
// 仅选择日期