<!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>
body { font-family: Arial, sans-serif; margin: 0; padding: 20px; background: #f5f5f5; }
.container { max-width: 1200px; margin: 0 auto; background: white; padding: 20px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.header { background: #4CAF50; color: white; padding: 10px 20px; margin: -20px -20px 20px -20px; border-radius: 5px 5px 0 0; }
.nav { margin-bottom: 20px; }
.nav a { margin-right: 15px; color: #333; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; }
input[type="text"], input[type="email"], input[type="password"], select { width: 300px; padding: 8px; border: 1px solid #ddd; border-radius: 3px; }
button, .btn { background: #4CAF50; color: white; border: none; padding: 10px 20px; border-radius: 3px; cursor: pointer; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: #45a049; }
.error { color: #f44336; background: #ffebee; padding: 10px; border-radius: 3px; margin-bottom: 15px; }
.success { color: #4CAF50; background: #e8f5e8; padding: 10px; border-radius: 3px; margin-bottom: 15px; }
.table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.table th, .table td { border: 1px solid #ddd; padding: 8px; text-align: left; }
.table th { background: #f2f2f2; }
.pagination { margin-top: 20px; }
.pagination a { margin-right: 10px; }
.status-active { color: green; }
.status-inactive { color: red; }
</style>
</head>
<body>
<div class="container">
<div class="header">
<h1>用户管理系统</h1>
</div>
<div class="nav"><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3F">首页</a><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dlogin">登录</a><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dregister">注册</a></div><h2>欢迎使用用户管理系统</h2>
<p>这是一个单文件的用户注册登录系统,支持:</p>
<ul>
<li>用户注册、登录、退出</li>
<li>邮箱验证和密码加密</li>
<li>IP地址记录和限制</li>
<li>第三方网站接口调用</li>
<li>用户状态管理</li>
<li>超级管理员功能</li>
</ul>
<p>请选择以下操作:</p>
<p><a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dlogin" class="btn">登录</a> <a href="?url=https%3A%2F%2Fweb.daaee.cn%2F%3Faction%3Dregister" class="btn">注册</a></p>
<h3>API接口说明</h3>
<p>第三方网站可以通过以下接口集成:</p>
<pre>
登录接口:
POST web.daaee.cn/2026/user.php?api=1&action=login
参数:email, password, site(站点名称), callback(回调URL)
验证Token:
GET web.daaee.cn/2026/user.php?api=1&action=verify_token&token=TOKEN&site=SITE_NAME
用户注册:
POST web.daaee.cn/2026/user.php?api=1&action=register
参数:email, password, nickname
退出登录:
GET web.daaee.cn/2026/user.php?api=1&action=logout&token=TOKEN
</pre></div></body></html>