|
|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
|
<head>
|
|
|
|
|
<title>更新静态页-v1.0a</title>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
|
|
|
<link href="//int.mycht.cn/bootstrap/css/bootstrap.min.css" rel="stylesheet"/>
|
|
|
|
|
<script type="text/javascript" src="//int.mycht.cn/js/jquery.js"></script>
|
|
|
|
|
<script type="text/javascript" src="//int.mycht.cn/bootstrap/js/bootstrap.min.js"></script>
|
|
|
|
|
@ -42,7 +42,7 @@ $(function() {
|
|
|
|
|
var current = dom.eq(star);
|
|
|
|
|
if (current.length) {
|
|
|
|
|
var file = current.find('.file').attr('title');
|
|
|
|
|
file = encodeURI(file);
|
|
|
|
|
//file = encodeURI(file);
|
|
|
|
|
current.find('.msg_wait').css('color','red').html('更新中');
|
|
|
|
|
$.ajax({
|
|
|
|
|
url : '<?php echo($cache_api);?>',
|
|
|
|
|
@ -124,13 +124,16 @@ $(function() {
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody class="data_group">
|
|
|
|
|
<?php foreach($file as $key=>$it) { ?>
|
|
|
|
|
<?php foreach($file as $key=>$it) {
|
|
|
|
|
$encode = mb_detect_encoding($it, array('ASCII','GBK','ISO-8859-1','UTF-8'));
|
|
|
|
|
$_it = mb_convert_encoding($it, 'UTF8', $encode);
|
|
|
|
|
?>
|
|
|
|
|
<tr class="data">
|
|
|
|
|
<td><?php echo($key+1);?></td>
|
|
|
|
|
<?php if (strlen($it)>100) { ?>
|
|
|
|
|
<td class="file" title="<?php echo($it);?>"><?php echo(substr($it, 0, 40));?>..........<?php echo(substr($it, -35));?></td>
|
|
|
|
|
<?php if (strlen($_it)>100) { ?>
|
|
|
|
|
<td class="file" title="<?php echo($_it);?>"><?php echo(substr($_it, 0, 40));?>..........<?php echo(substr($_it, -35));?></td>
|
|
|
|
|
<?php } else { ?>
|
|
|
|
|
<td class="file" title="<?php echo($it);?>"><?php echo($it);?></td>
|
|
|
|
|
<td class="file" title="<?php echo($_it);?>"><?php echo($_it);?></td>
|
|
|
|
|
<?php } ?>
|
|
|
|
|
<td><?php echo($file_time[$it]); ?></td>
|
|
|
|
|
<td class="msg_wait">无操作</td>
|
|
|
|
|
|