Browse Source

优化

pull/16/head
xiaoz 6 years ago
parent
commit
b9caec7a46
  1. 4
      admin/picadmin.php
  2. 8
      admin/senioradmin.php
  3. 2
      admin/smadmin.php
  4. 3
      found.php
  5. 2
      functions/version.txt
  6. 2
      tpl/admin/footer.php
  7. 2
      tpl/admin/header.php
  8. 2
      tpl/user/footer.php
  9. 2
      tpl/user/header.php

4
admin/picadmin.php

@ -32,7 +32,8 @@ @@ -32,7 +32,8 @@
$id = $img['id'];
?>
<div class="layui-col-lg4 picadmin">
<a id = "imgid<?php echo $id; ?>" href="javascript:;" onclick = "adminshow('<?php echo $imgurl ?>',<?php echo $id; ?>)"><img src="<?php echo $imgurl; ?>"></a>
<!-- <a id = "imgid<?php echo $id; ?>" href="javascript:;" onclick = "adminshow('<?php echo $imgurl ?>',<?php echo $id; ?>)"></a> -->
<img lay-src="<?php echo $imgurl; ?>" layer-src="<?php echo $imgurl; ?>" alt="图片ID: <?php echo $id; ?>">
</div>
<?php } ?>
</div>
@ -41,6 +42,7 @@ @@ -41,6 +42,7 @@
<div class="page">
<a href="?type=<?php echo $type; ?>&page=<?php echo $up; ?>" class="layui-btn">上一页</a>
<a href="?type=<?php echo $type; ?>&page=<?php echo $down; ?>" class="layui-btn">下一页</a>
<!-- <a href="javascript:;" onclick = "delall()" class="layui-btn layui-btn-danger">删除本页</a> -->
</div>
</div>
<!-- 翻页按钮END -->

8
admin/senioradmin.php

@ -67,8 +67,12 @@ @@ -67,8 +67,12 @@
}
?>
<tr id = "imgid<?php echo $id; ?>">
<td><?php echo $id; ?></td>
<td><a id = "imgid<?php echo $id; ?>" href="javascript:;" onclick = "adminshow('<?php echo $imgurl ?>',<?php echo $id; ?>)"><?php echo $img['path']; ?></a></td>
<td><a href="javascript:;" onclick = "copyurl('<?php echo $imgurl; ?>')"><?php echo $id; ?></a></td>
<td>
<a id = "imgid<?php echo $id; ?>" href="javascript:;" onclick = "adminshow('<?php echo $imgurl ?>',<?php echo $id; ?>)">
<?php echo $img['path']; ?>
</a>
</td>
<td><a href="javascript:;" onclick = "ipquery('<?php echo $img['ip']; ?>')"><?php echo $img['ip']; ?></a></td>
<td><?php echo $img['date']; ?></td>
<td>

2
admin/smadmin.php

@ -34,7 +34,7 @@ @@ -34,7 +34,7 @@
<?php foreach ($imgs as $img) {
?>
<div class="layui-col-lg4 picadmin">
<a id = "imgid<?php echo $img['id']; ?>" href="javascript:;" onclick = "smshow('<?php echo $img['url'] ?>',<?php echo $img['id']; ?>)"><img src="<?php echo $img['url'] ?>"></a>
<img lay-src="<?php echo $img['url']; ?>" layer-src="<?php echo $img['url']; ?>" alt="ID: <?php echo $img['id']; ?>" />
</div>
<?php } ?>
</div>

3
found.php

@ -24,7 +24,8 @@ @@ -24,7 +24,8 @@
$imgid = $img['id'];
?>
<div class="layui-col-lg4">
<a href="javascript:;" onclick = "userpreview('<?php echo $imgurl ?>',<?php echo $imgid; ?>)"><img src="<?php echo $imgurl ?>"></a>
<!-- <a href="javascript:;" onclick = "userpreview('<?php echo $imgurl ?>',<?php echo $imgid; ?>)"></a> -->
<img lay-src="<?php echo $imgurl ?>" layer-src="<?php echo $imgurl ?>">
</div>
<?php } ?>
</div>

2
functions/version.txt

@ -1 +1 @@ @@ -1 +1 @@
v1.1(20180506)
v1.1(20180630)

2
tpl/admin/footer.php

@ -13,6 +13,6 @@ @@ -13,6 +13,6 @@
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="../static/layui/layui.js"></script>
<script src="../static/embed.js?v=1.1"></script>
<script src="../static/embed.js?v=1.2"></script>
</body>
</html>

2
tpl/admin/header.php

@ -11,7 +11,7 @@ @@ -11,7 +11,7 @@
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="../favicon.ico" />
<link rel="stylesheet" href="../static/layui/css/layui.css">
<link rel="stylesheet" href="../static/style.css?v=1.1">
<link rel="stylesheet" href="../static/style.css?v=1.2">
<script src = "https://libs.xiaoz.top/clipBoard.js/clipBoard.min.js"></script>
</head>
<body>

2
tpl/user/footer.php

@ -18,6 +18,6 @@ @@ -18,6 +18,6 @@
<!-- 底部END -->
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<script src="./static/layui/layui.js"></script>
<script src="./static/embed.js?v=1.1"></script>
<script src="./static/embed.js?v=1.2"></script>
</body>
</html>

2
tpl/user/header.php

@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="Bookmark" href="favicon.ico" />
<link rel="stylesheet" href="./static/layui/css/layui.css">
<link rel="stylesheet" href="./static/style.css?v=1.10506">
<link rel="stylesheet" href="./static/style.css?v=1.10630">
<script src = "https://libs.xiaoz.top/clipBoard.js/clipBoard.min.js"></script>
</head>
<body>

Loading…
Cancel
Save