Skip to content

Commit faab36c

Browse files
authored
Update status.php
1 parent 71f0a7f commit faab36c

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

trunk/web/status.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -546,17 +546,13 @@ function formatTimeLength($length) {
546546
$view_status[$i][8]= $row['in_date'];
547547
}
548548
if($total_count>0) $avg_delay/= $total_count;
549-
?>
550549

551-
<?php
552550
/////////////////////////Template
553551
if (isset($_GET['cid']))
554552
require("template/".$OJ_TEMPLATE."/conteststatus.php");
555553
else
556554
require("template/".$OJ_TEMPLATE."/status.php");
557-
/////////////////////////Common foot
558-
if(file_exists('./include/cache_end.php'))
559-
require_once('./include/cache_end.php');
555+
560556

561557
//触发Remote judge模块
562558
$remote_delay=5; //最小轮询周期,单位秒
@@ -566,5 +562,7 @@ function formatTimeLength($length) {
566562
<iframe src='remote.php' width=0 height=0 ></iframe>
567563
<?php
568564
}
569-
?>
570565

566+
/////////////////////////Common foot
567+
if(file_exists('./include/cache_end.php'))
568+
require_once('./include/cache_end.php');

0 commit comments

Comments
 (0)