From 8b7f93988f186c100cc739cd55ea8c712cffb730 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Sun, 22 Dec 2024 11:49:15 +0800 Subject: [PATCH] =?UTF-8?q?feat(login):=20=E6=B7=BB=E5=8A=A0=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E9=A1=B5=E9=9D=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增登录页面,包含用户登录、注册和忘记密码功能 - 集成数据库连接和查询功能 - 添加验证码系统 - 实现用户协议和隐私协议弹窗 - 优化页面样式和交互效果 --- login.php | 727 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 727 insertions(+) create mode 100644 login.php diff --git a/login.php b/login.php new file mode 100644 index 0000000..4416d89 --- /dev/null +++ b/login.php @@ -0,0 +1,727 @@ + +connect_errno) returnJson(['code' => 1, 'msg' => $mySQLi->connect_error]); +$mySQLi->set_charset($_CONFIG_DB['db_charset']); + +// 查询 +$status = 1; +$stmt = $mySQLi->prepare('select server_id from server where status >= ? order by server_id asc limit 1000'); +$stmt->bind_param('d', $status); + +$stmt->bind_result($server_id); +$stmt->execute(); +$stmt->store_result(); + +?> + + + + + + + + + + + + + + + + + + + + <?=$_CONFIG['game_name']?> <?=$_CONFIG['game_description']?> + + + + + + + + + + + + + +
+
+

+ + + + + + +
+ + 我已阅读并同意 用户协议及隐私协议 +
+ 登 录 +
+
+ Linux.Do登录 +
Linux.do登录
+
+
+ +
+
+
+ + + \ No newline at end of file