From 0f6020c647a3c7f8a6b7b82f3ee5c853fc6013a9 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Wed, 16 Jul 2025 17:19:40 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=B8=BA=E7=AE=A1=E7=90=86=E7=95=8C?= =?UTF-8?q?=E9=9D=A2=E6=B7=BB=E5=8A=A0Font=20Awesome=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refactor: 更新配置文件和密码设置 style: 统一按钮和表单元素的图标样式 --- .htaccess | 6 ++++- admin/addapp.php | 39 ++++++++++++++------------------ admin/announcements.php | 24 ++++++++++---------- admin/editapp.php | 44 ++++++++++--------------------------- admin/index.php | 8 ++++--- admin/login.php | 12 +++++----- admin/manage_developers.php | 28 ++++++++++++----------- admin/manage_tags.php | 24 ++++++++++---------- admin/manage_versions.php | 24 ++++++++++---------- admin/review_apps.php | 12 +++++----- admin/system_info.php | 18 ++++++++------- app.php | 22 +++++++++---------- 12 files changed, 128 insertions(+), 133 deletions(-) diff --git a/.htaccess b/.htaccess index 5e2f2ac..83e285e 100644 --- a/.htaccess +++ b/.htaccess @@ -9,4 +9,8 @@ ErrorDocument 404 /error_pages/404.html RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d -RewriteRule ^api(/.*)?$ api.php?action=$1 [QSA,L] \ No newline at end of file +RewriteRule ^api(/.*)?$ api.php?action=$1 [QSA,L] +Header append X-Powered-By "LeonAPP Server" +Header append X-System-Discription "LeonAPP Server System, a powerful APP store system." +Header append X-System-Author "LeonMMcoset" +Header append X-System-Email "leonmmcoset@outlook.com" diff --git a/admin/addapp.php b/admin/addapp.php index d0574d0..14d90a1 100644 --- a/admin/addapp.php +++ b/admin/addapp.php @@ -103,9 +103,16 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['add_app'])) { } ?> - + - 添加应用 + + + 添加App - <?php echo APP_STORE_NAME; ?> + + + + + @@ -195,26 +202,14 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['add_app'])) {
- +
- - - 按住Ctrl键可选择多个标签 -
-
+ -
- + - +
- +
- +
- +
- + 取消
diff --git a/admin/announcements.php b/admin/announcements.php index 8739f16..bac7b54 100644 --- a/admin/announcements.php +++ b/admin/announcements.php @@ -63,6 +63,8 @@ $result = $conn->query($sql); 公告管理 - <?php echo APP_STORE_NAME; ?> + + @@ -159,28 +161,28 @@ $result = $conn->query($sql); -

发布公告

+

发布公告

- +
- +
- +
-

公告列表

+

公告列表

- - - - - + + + + + @@ -191,7 +193,7 @@ $result = $conn->query($sql); diff --git a/admin/editapp.php b/admin/editapp.php index 61c1515..bef833e 100644 --- a/admin/editapp.php +++ b/admin/editapp.php @@ -127,6 +127,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['edit_app'])) { 编辑App - <?php echo APP_STORE_NAME; ?> + + @@ -192,36 +194,14 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['edit_app'])) {
- -
-
- - -
按住Ctrl键可选择多个标签
-
-
- - +
- + + +
+
+ - +
仅在上传新安装包时填写
- +
- +
- + 取消 diff --git a/admin/index.php b/admin/index.php index ff67e7b..4e18fb6 100644 --- a/admin/index.php +++ b/admin/index.php @@ -64,6 +64,8 @@ if (!$resultApps) { App管理 - <?php echo APP_STORE_NAME; ?> + + @@ -146,7 +148,7 @@ if (!$resultApps) {

App列表

- 标签管理 + 标签管理
ID标题发布者发布时间操作ID标题发布者发布时间操作
- +
@@ -166,8 +168,8 @@ if (!$resultApps) {
- 编辑 - 版本管理 + 编辑 + 版本管理 + + @@ -120,7 +122,7 @@ if (!isset($_SESSION['admin'])) {
-
管理员登录
+
管理员登录
+ + @@ -245,7 +247,7 @@ if (!$stmt) { });
-

管理开发者用户

+

管理开发者用户

调试信息:
 查询SQL: 
 查询结果行数: 
@@ -263,21 +265,21 @@ if (!$stmt) {
         
             
@@ -286,11 +288,11 @@ if (!$stmt) {
         
-                    
-                    
-                    
-                    
-                    
+                    
+                    
+                    
+                    
+                    
@@ -301,10 +303,10 @@ if (!$stmt) {
                         
diff --git a/admin/manage_tags.php b/admin/manage_tags.php
index 56bd142..452b370 100644
--- a/admin/manage_tags.php
+++ b/admin/manage_tags.php
@@ -67,6 +67,8 @@ $tagsResult = $conn->query("SELECT * FROM tags ORDER BY created_at DESC");
     标签管理 - 应用商店后台
+    
+    
ID用户名邮箱注册时间操作ID用户名邮箱注册时间操作
- 编辑 + 编辑
- +