Skip to content

Commit

Permalink
Update status.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Dec 25, 2024
1 parent 71f0a7f commit faab36c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions trunk/web/status.php
Original file line number Diff line number Diff line change
Expand Up @@ -546,17 +546,13 @@ function formatTimeLength($length) {
$view_status[$i][8]= $row['in_date'];
}
if($total_count>0) $avg_delay/= $total_count;
?>

<?php
/////////////////////////Template
if (isset($_GET['cid']))
require("template/".$OJ_TEMPLATE."/conteststatus.php");
else
require("template/".$OJ_TEMPLATE."/status.php");
/////////////////////////Common foot
if(file_exists('./include/cache_end.php'))
require_once('./include/cache_end.php');


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

/////////////////////////Common foot
if(file_exists('./include/cache_end.php'))
require_once('./include/cache_end.php');

0 comments on commit faab36c

Please sign in to comment.