diff --git a/application/views/cache/update.php b/application/views/cache/update.php index 617012fe..13120dc3 100644 --- a/application/views/cache/update.php +++ b/application/views/cache/update.php @@ -3,6 +3,7 @@ 更新静态页-v1.0a + @@ -84,11 +85,11 @@ //file = encodeURI(file); current.find('.msg_wait').css('color', 'red').html('更新中'); $.ajax({ - url: '', + url: '', dataType: 'json', type: 'POST', data: { - '': file + '': file }, success: function (data) { star = star + step; @@ -109,7 +110,7 @@ var num_zero = 1; function count_num(num) { - $('#count_num').html('已更新' + num + '个页面 进度' + (Math.ceil(num * 100 / )) + '% ').show(); + $('#count_num').html('已更新' + num + '个页面 进度' + (Math.ceil(num * 100 / )) + '% ').show(); num_zero++; } }); @@ -123,7 +124,7 @@ 缓存目录 - 个 + 含文件 - 个 + 已更新0个页面 进度0% 更新 @@ -194,34 +195,36 @@ - $it) { - // $encode = mb_detect_encoding($it, array('ASCII', 'GBK', 'ISO-8859-1', 'UTF-8')); - // $_it = mb_convert_encoding($it, 'UTF8', $encode); - $_it = preg_replace('/#(.*)$/i', '', $it); - if (strlen($it) != strlen($_it)) - continue; - $c++; - ?> + $it) { + // $encode = mb_detect_encoding($it, array('ASCII', 'GBK', 'ISO-8859-1', 'UTF-8')); + // $_it = mb_convert_encoding($it, 'UTF8', $encode); + $_it = preg_replace('/#(.*)$/i', '', $it); + if (strlen($it) != strlen($_it)) { + continue; + } + + $c++; + ?> - + - 100) { ?> - - .......... - + 100) {?> + + .......... + - - - + + + - + - + 无操作 - +