diff --git a/display.php b/display.php
new file mode 100644
index 0000000..b4d9691
--- /dev/null
+++ b/display.php
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+ 新闻列表 - 2025
+
+
+
+
+
+
+
+
最新新闻
+
+
+
+
+
+ $news): ?>
+
+
+
+
= htmlspecialchars($news['title']) ?>
+
删除
+
+
= nl2br(htmlspecialchars($news['content'])) ?>
+
+ = htmlspecialchars($news['category']) ?>
+ = $news['time'] ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/news.php b/news.php
new file mode 100644
index 0000000..ab6bd6c
--- /dev/null
+++ b/news.php
@@ -0,0 +1,220 @@
+ $title,
+ 'content' => $content,
+ 'categories' => $categories,
+ 'time' => date('Y-m-d H:i:s')
+ ];
+ }
+}
+?>
+
+
+
+
+
+
+ 新闻发布系统
+
+
+
+
+
+
+
+
+
+
+
+
最新动态
+
+ $news): ?>
+
+
+
+
+
+
+
+
+
diff --git a/submit.php b/submit.php
new file mode 100644
index 0000000..f6831ff
--- /dev/null
+++ b/submit.php
@@ -0,0 +1,156 @@
+ $title,
+ 'content' => $content,
+ 'category' => $category,
+ 'time' => date('Y-m-d H:i:s')
+ ];
+ $success = true;
+ } else {
+ $error = true;
+ }
+}
+?>
+
+
+
+
+
+
+ 新闻发布 - 2025
+
+
+
+
+
+
+
+
+
+
+
+ 请填写所有必填字段!
+
+
+
+
+
+
+
+
+
+
+
+
+
+