|
|
|
|
@ -60,11 +60,11 @@
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
$(function () {
|
|
|
|
|
$(function() {
|
|
|
|
|
|
|
|
|
|
//更新静态页,异步请求队列(setp_set个)
|
|
|
|
|
var setp_set = 4;
|
|
|
|
|
$('#update').on('click', function () {
|
|
|
|
|
$('#update').on('click', function() {
|
|
|
|
|
var $data = $('.data');
|
|
|
|
|
for (var i = 0; i < setp_set; i++) {
|
|
|
|
|
dg_ajax($data, i, setp_set);
|
|
|
|
|
@ -72,7 +72,7 @@
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//下拉选站点
|
|
|
|
|
$('a.sss').on('click', function () {
|
|
|
|
|
$('a.sss').on('click', function() {
|
|
|
|
|
var site = $(this).html();
|
|
|
|
|
location.href = '/info.php/login/change_site/' + site + '/?url=/cache/update/';
|
|
|
|
|
});
|
|
|
|
|
@ -91,14 +91,14 @@
|
|
|
|
|
data: {
|
|
|
|
|
'<?php echo ($post_para); ?>': file
|
|
|
|
|
},
|
|
|
|
|
success: function (data) {
|
|
|
|
|
success: function(data) {
|
|
|
|
|
star = star + step;
|
|
|
|
|
current.find('.msg_wait').css('color', 'blue').html('成功');
|
|
|
|
|
count_num(num_zero);
|
|
|
|
|
//console.log(star+''+file);
|
|
|
|
|
dg_ajax(dom, star, step);
|
|
|
|
|
},
|
|
|
|
|
error: function () {
|
|
|
|
|
error: function() {
|
|
|
|
|
current.find('.msg_wait').css('color', 'red').html('重试');
|
|
|
|
|
dg_ajax(dom, star, step);
|
|
|
|
|
}
|
|
|
|
|
@ -134,6 +134,9 @@
|
|
|
|
|
<li>
|
|
|
|
|
<a class="sss">gm</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a class="sss">gm_jp</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a class="sss">vc</a>
|
|
|
|
|
</li>
|
|
|
|
|
@ -176,8 +179,8 @@
|
|
|
|
|
<span class="mt12 label label-important none" id="count_num">已更新0个页面 进度0%</span>
|
|
|
|
|
<form class="form-search" id="path_search" action="#" method="post">
|
|
|
|
|
<input type="text" placeholder="输入路径删选,例如:/tours/。" value="<?php if (isset($_POST['p'])) {
|
|
|
|
|
echo ($_POST['p']);
|
|
|
|
|
} ?>" class="input-medium search-query" name="p" />
|
|
|
|
|
echo ($_POST['p']);
|
|
|
|
|
} ?>" class="input-medium search-query" name="p" />
|
|
|
|
|
<button type="submit" class="btn">筛选</button>
|
|
|
|
|
</form>
|
|
|
|
|
<a id="update" class="btn mr10 btn-info">更新</a>
|
|
|
|
|
@ -204,7 +207,7 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$c++;
|
|
|
|
|
?>
|
|
|
|
|
?>
|
|
|
|
|
<tr class="data">
|
|
|
|
|
<td>
|
|
|
|
|
<?php echo ($c); ?>
|
|
|
|
|
|