diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..35410cacdc5e87f985c93a96520f5e11a5c822e4
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# 默认忽略的文件
+/shelf/
+/workspace.xml
+# 基于编辑器的 HTTP 客户端请求
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/library-management-system.iml b/.idea/library-management-system.iml
new file mode 100644
index 0000000000000000000000000000000000000000..c956989b29ad0767edc6cf3a202545927c3d1e76
--- /dev/null
+++ b/.idea/library-management-system.iml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000000000000000000000000000000000000..9428175b5d1ab88ea9deb342a0f03ef828915028
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f324872a8ba94b4ec07a8aad82965487b3b15d57
--- /dev/null
+++ b/.idea/php.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000000000000000000000000000000000000..35eb1ddfbbc029bcab630581847471d7f238ec53
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/assort_delete.php b/admin/assort_delete.php
new file mode 100644
index 0000000000000000000000000000000000000000..b8eb18d9b446e0b17a890ba6cd7a801a5f81bf0f
--- /dev/null
+++ b/admin/assort_delete.php
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
分类管理
+
+
+
+
+
+
+
+
+
+ ID |
+ 分类名称 |
+ 分类说明 |
+ 操作 |
+
+
+
+ ';
+ echo ''.$row['id'].' | ';
+ echo ''.$row['assort_name'].' | ';
+ echo ''.$row['other'].' | ';
+ echo ' | ';
+ echo '';
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
分类管理
+
+
+
+
+
+
+
+
+
+ ID |
+ 分类名称 |
+ 分类说明 |
+ 操作 |
+
+
+
+ ';
+ echo ''.$row['id'].' | ';
+ echo ''.$row['assort_name'].' | ';
+ echo ''.$row['other'].' | ';
+ echo ' | ';
+ echo '';
+ }
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+0){
+ $_SESSION['assort_name']=$assort_name;
+ alert('该图书分类已经存在','assort_new.php');
+ exit();
+}
+
+
+//向assort数据表新增一个用户数据
+$sql= "INSERT INTO assort (assort_name,other)
+VALUES ('$assort_name','$other')";
+
+//判断登录是否成功
+$rs=mysqli_query($conn,$sql);
+if($rs){
+ $_SESSION['assort_name']=$assort_name;
+ alert('添加成功','assort_list.php');
+}
+else{
+ alert('添加失败','assort_new.php');
+}
\ No newline at end of file
diff --git a/admin/assort_update.php b/admin/assort_update.php
new file mode 100644
index 0000000000000000000000000000000000000000..f9e7ac44dce25c93dedff69a3e9d345712fe663f
--- /dev/null
+++ b/admin/assort_update.php
@@ -0,0 +1,19 @@
+