diff --git a/src/dede/templets/content_list.htm b/src/dede/templets/content_list.htm
index 726ba4e0..b42bad4f 100755
--- a/src/dede/templets/content_list.htm
+++ b/src/dede/templets/content_list.htm
@@ -6,13 +6,13 @@
-
+
-
-
-
-
-
+
+
+
+
+
diff --git a/src/dede/templets/index2.htm b/src/dede/templets/index2.htm
index 8a0d1911..86e601e5 100755
--- a/src/dede/templets/index2.htm
+++ b/src/dede/templets/index2.htm
@@ -46,31 +46,27 @@
文件管理
模板管理
会员中心':''; ?>
- 更新网站
网站主页
-
@@ -108,31 +104,31 @@
jQuery('#menufra').get(0).src = url1;
jQuery('#main').get(0).src = url2;
}
- /*(function ($) {
+ (function ($) {
$("#skinlist>li").click(function () {
- var adminskin = $(this).index() + 1;
- var csshref = "images/style" + adminskin + "/style.css";
- $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') });
- $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif')
- $('link').each(function () {
- if ($(this).attr('href').match(/style.css$/)) {
- $(this).attr('href', csshref);
- }
- });
- $(this).children('div').attr('class', 'sel');
- $(window.frames["menu"].document).find("link").each(function () {
- if ($(this).attr('href').match(/style.css$/)) {
- $(this).attr('href', csshref);
- }
- });
- $(window.frames["main"].document).find("link").each(function () {
- if ($(this).attr('href').match(/style.css$/)) {
- $(this).attr('href', csshref);
- }
- });
- $.get('index_body.php?dopost=setskin&cskin=' + adminskin);
- });
- })(jQuery);*/
+ var adminskin = $(this).index() + 1;
+ var csshref = "images/style" + adminskin + "/style.css";
+ $("#skinlist>li").each(function () { $(this).children('div').attr('class', '') });
+ $("#topdedelogo").attr('src', 'images/style' + adminskin + '/admin_top_logo.gif')
+ $('link').each(function () {
+ if ($(this).attr('href').match(/style.css$/)) {
+ $(this).attr('href', csshref);
+ }
+ });
+ $(this).children('div').attr('class', 'sel');
+ $(window.frames["menu"].document).find("link").each(function () {
+ if ($(this).attr('href').match(/style.css$/)) {
+ $(this).attr('href', csshref);
+ }
+ });
+ $(window.frames["main"].document).find("link").each(function () {
+ if ($(this).attr('href').match(/style.css$/)) {
+ $(this).attr('href', csshref);
+ }
+ });
+ $.get('index_body.php?dopost=setskin&cskin=' + adminskin);
+ });
+ })(jQuery);