diff --git a/.htaccess b/.htaccess
index 9e25198..221c82c 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,4 +1,6 @@
RewriteEngine On
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
-RewriteRule ^(.*)$ index.php/$1 [L]
\ No newline at end of file
+RewriteCond %{REQUEST_FILENAME} -s [OR]
+RewriteCond %{REQUEST_FILENAME} -l [OR]
+RewriteCond %{REQUEST_FILENAME} -d
+RewriteRule ^.*$ - [NC,L]
+RewriteRule ^.*$ index.php [NC,L]
\ No newline at end of file
diff --git a/application/views/admin/images.php b/application/views/admin/images.php
index 4b6b165..003433f 100644
--- a/application/views/admin/images.php
+++ b/application/views/admin/images.php
@@ -25,7 +25,7 @@
-
+
-
+
diff --git a/application/views/user/header.php b/application/views/user/header.php
index 4e39827..37fe49c 100644
--- a/application/views/user/header.php
+++ b/application/views/user/header.php
@@ -19,7 +19,6 @@
-
diff --git a/static/js/admin.js b/static/js/admin.js
index 58b1a0a..9fb9930 100644
--- a/static/js/admin.js
+++ b/static/js/admin.js
@@ -215,4 +215,18 @@ function version(){
type: 2,
content: '/maintain/version' //这里content是一个URL,如果你不想让iframe出现滚动条,你还可以content: ['http://sentsin.com', 'no']
});
-}
\ No newline at end of file
+}
+
+//全选按钮
+$("#checkAll").click(function() {
+ if (this.checked) {
+ $("input[name='chk']:checkbox").each(function() { //遍历所有的name为selectFlag的 checkbox
+ $(this).attr("checked", true);
+ })
+ } else { //反之 取消全选
+ $("input[name='chk']:checkbox").each(function() { //遍历所有的name为selectFlag的 checkbox
+ $(this).attr("checked", false);
+ //alert("f");
+ })
+ }
+})