xushubieli пре 3 месеци
родитељ
комит
6b88a591c0
2 измењених фајлова са 3 додато и 3 уклоњено
  1. +2
    -2
      src/admin/article_description_main.php
  2. +1
    -1
      src/admin/makehtml_archives_action.php

+ 2
- 2
src/admin/article_description_main.php Прегледај датотеку

@@ -81,7 +81,7 @@ if ($dojob == '') {
exit();
}
$dvlen = $tjlen * 2;
$tjsta = "<div style='width:260px;height:16px;border:1px solid #28a745;text-align:left'><div style='width:$dvlen;height:16px;background:#28a745'></div></div>";
$tjsta = "<div style='width:260px;height:16px;border:1px solid #28a745;text-align:left'><div style='width:$dvlen%;height:16px;background:#28a745'></div></div>";
$tjsta .= "<br>完成处理文档总数的 $tjlen %";
$nurl = "article_description_main.php?totalnum=$totalnum&startdd={$startdd}&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}";
ShowMsg($tjsta, $nurl, 0, 500);
@@ -141,7 +141,7 @@ if ($dojob == '') {
$tjlen = 100;
}
$dvlen = $tjlen * 2;
$tjsta = "<div style='width:260px;height:16px;border:1px solid #28a745;text-align:left'><div style='width:$dvlen;height:16px;background:#28a745'></div></div>";
$tjsta = "<div style='width:260px;height:16px;border:1px solid #28a745;text-align:left'><div style='width:$dvlen%;height:16px;background:#28a745'></div></div>";
$tjsta .= "<br>完成处理文档总数的 $tjlen %";
if ($tjnum < $totalnum) {
$nurl = "article_description_main.php?totalnum=$totalnum&startdd=".($startdd + $pagesize)."&pagesize=$pagesize&table={$table}&field={$field}&dsize={$dsize}&msize={$msize}&channel={$channel}&dojob={$dojob}";


+ 1
- 1
src/admin/makehtml_archives_action.php Прегледај датотеку

@@ -80,7 +80,7 @@ $ttime = number_format(($ttime / 60), 2);
//返回提示信息
$tjlen = $totalnum > 0 ? ceil(($tjnum / $totalnum) * 100) : 100;
$dvlen = $tjlen * 2;
$tjsta = "<div style='width:260px;height:16px;border:1px solid #28a745;text-align:left'><div style='width:$dvlen;height:16px;background:#28a745'></div></div>";
$tjsta = "<div style='width:260px;height:16px;border:1px solid #28a745;text-align:left'><div style='width:$dvlen%;height:16px;background:#28a745'></div></div>";
$tjsta .= "<br>本次用时:".number_format($t2, 2).",总用时:$ttime 分钟,到达位置:".($startdd + $pagesize)."<br>完成创建文件总数的 $tjlen %";
//速度测试
if ($tjnum < $totalnum) {


Loading…
Откажи
Сачувај