-
Analyzing your requirements and generating your website…
-
- Loading…
-
-
= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-
This page will update automatically as the plan is implemented.
-
Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
+
+
+
-
-
- Page updated: = htmlspecialchars($now) ?> (UTC)
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Day
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 示例图片后续上传
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/login.php b/login.php
new file mode 100644
index 0000000..485784b
--- /dev/null
+++ b/login.php
@@ -0,0 +1,73 @@
+query("SELECT setting_value FROM settings WHERE setting_key = 'site_logo'");
+$site_logo = $stmt->fetchColumn() ?: 'assets/pasted-20260207-134833-7329dc42.jpg';
+
+$error = '';
+
+if ($_SERVER['REQUEST_METHOD'] === 'POST') {
+ $username = $_POST['username'] ?? '';
+ $password = $_POST['password'] ?? '';
+
+ if ($username === 'admin') {
+ $stmt = $pdo->prepare("SELECT password FROM users WHERE username = 'admin'");
+ $stmt->execute();
+ $user = $stmt->fetch();
+
+ if ($user && password_verify($password, $user['password'])) {
+ $_SESSION['admin_logged_in'] = true;
+ header('Location: admin.php');
+ exit;
+ } else {
+ $error = '用户名或密码错误';
+ }
+ } else {
+ $error = '权限不足';
+ }
+}
+?>
+
+
+
+
+
+
登录 - 财神组聊天框架
+
+
+
+
+
+
+
+
+
+
管理登录
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/logout.php b/logout.php
new file mode 100644
index 0000000..37bc5ab
--- /dev/null
+++ b/logout.php
@@ -0,0 +1,5 @@
+