diff --git a/admin/index.php b/admin/index.php
index 774cb17..2c89843 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -1,51 +1,32 @@
-
-
-
-
- ImgURL后台管理
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+
+
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+
+
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+ 人生就像是一场修行 |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/admin/pics.php b/admin/pics.php
new file mode 100644
index 0000000..036cc08
--- /dev/null
+++ b/admin/pics.php
@@ -0,0 +1,72 @@
+select("uploads",["id","dir","date"],["user" => "user","ORDER" => ["id" => "DESC"],"LIMIT" => 12]);
+ break;
+ case 'admin':
+ $listpic = $database->select("uploads",["id","dir","date"],["user" => "admin","ORDER" => ["id" => "DESC"],"LIMIT" => 12]);
+ break;
+ default:
+ ;
+ break;
+ }
+
+?>
+
+
+
+
+
+ 图片路径 |
+ 上传时间 |
+ 选项 |
+
+
+
+
+
+ |
+ |
+ 删除 |
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config.php b/config.php
index c191f4d..52c434b 100644
--- a/config.php
+++ b/config.php
@@ -1,9 +1,12 @@
'sqlite',
- 'database_file' => 'data/imgurl.db3'
+ 'database_file' => $App.'/data/imgurl.db3'
]);
$config = array(
diff --git a/import.php b/import.php
index bcdcfb2..7389cd8 100644
--- a/import.php
+++ b/import.php
@@ -6,7 +6,7 @@
$month = $_GET['month'];
$date = $year.$month;
$user = $_GET['user'];
- $thedate = '20'.$year.'-'.$month.'-01';
+ $thedate = '20'.$year.$month.'01';
//echo $thedate;
diff --git a/static/admin.css b/static/admin.css
index 73e9292..aa8f7c7 100644
--- a/static/admin.css
+++ b/static/admin.css
@@ -3,4 +3,40 @@
margin:0;
padding:0;
background-color:#393D49;
+}
+
+#footer{
+ width:100%;
+ margin-top:40px;
+ padding:0;
+ background-color:#F5F5F5;
+ position:fixed;
+ bottom:0;
+}
+#footer p{
+ padding:16px;
+ color:#999999;
+}
+#sidebar{
+ margin-top:40px;
+ margin-bottom:80px;
+}
+.left-menu{
+ margin-left:30px;
+}
+.left-menu li{
+ padding:5px;
+
+}
+.left-menu li a{
+ padding-left:12px;
+}
+.left-menu h2{
+ font-size:16px;
+ border-left:5px #009E94 solid;
+ padding:8px;
+ background-color:#F2F2F2;
+}
+#showpic td{
+ width:177px;
}
\ No newline at end of file
diff --git a/tpl/admin/footer.php b/tpl/admin/footer.php
new file mode 100644
index 0000000..ab381c2
--- /dev/null
+++ b/tpl/admin/footer.php
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+