<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>网页保存系统</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: Arial, sans-serif; line-height: 1.6; padding: 20px; background: #f5f5f5; }
.container { max-width: 1200px; margin: 0 auto; }
.header { background: #fff; padding: 20px; border-radius: 5px; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 15px; }
.form-control { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.btn { padding: 10px 20px; background: #007bff; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; }
.btn:hover { background: #0056b3; }
.message { padding: 10px; margin-bottom: 20px; border-radius: 4px; }
.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.table { width: 100%; background: white; border-collapse: collapse; margin-bottom: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
.table th { background: #f8f9fa; font-weight: bold; }
.table tr:hover { background: #f8f9fa; }
.pagination { display: flex; justify-content: center; list-style: none; padding: 20px 0; }
.pagination li { margin: 0 5px; }
.pagination a { display: block; padding: 8px 12px; background: white; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #007bff; }
.pagination a:hover { background: #007bff; color: white; }
.pagination .active a { background: #007bff; color: white; }
.search-form { margin-bottom: 20px; }
.search-box { display: flex; }
.search-box input { flex: 1; margin-right: 10px; }
.json-link { float: right; color: #007bff; text-decoration: none; }
.json-link:hover { text-decoration: underline; }
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>网页保存系统</h1>
<form method="post" action="">
<div class="form-group">
<input type="text" name="url" class="form-control" placeholder="输入要保存的网页URL (例如: https://example.com)" required>
</div>
<div class="form-group">
<label>
<input type="checkbox" name="sync_backup" checked>
同步到备用平台
</label>
</div>
<button type="submit" class="btn">保存网页</button>
</form>
</div>
<div class="search-form">
<form method="get" action="">
<div class="search-box">
<input type="text" name="search" class="form-control" placeholder="搜索标题或网址..." value="">
<button type="submit" class="btn">搜索</button>
</div>
</form>
<a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Ftype%3Djson%26search%3D%26page%3D1" class="json-link">JSON格式</a>
</div>
<table class="table">
<thead>
<tr>
<th>ID</th>
<th>标题</th>
<th>原网址</th>
<th>本地地址</th>
<th>文件大小</th>
<th>保存时间</th>
<th>同步状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>武威塑胶跑道厂家-武威塑胶跑道施工、价格 - 优正体育</td>
<td>
<a href="https://www.daaee.cn/wuwei/" target="_blank">
https://www.daaee.cn/wuwei/ </a>
</td>
<td>
<a href="?url=https%3A%2F%2Fweb.daaee.cn%2Fsaved_pages%2Fwww_daaee_cn_wuwei_5c0ae2c1ca87bbd5d1d7ba0b4b2701c4.html" target="_blank">查看本地页面</a>
</td>
<td>10.82 KB</td>
<td>2026-01-26 02:59:55</td>
<td>未同步</td>
<td>
<a href="?url=https%3A%2F%2Fweb.daaee.cn%2Fdetail.php%3Fid%3D1">详情</a> |
<a href="?url=https%3A%2F%2Fweb.daaee.cn%2Fdetail.php%3Fid%3D1%26type%3Djson">JSON</a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>