Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/mirrors.php
diff options
context:
space:
mode:
Diffstat (limited to 'mirrors.php')
-rw-r--r--mirrors.php14
1 files changed, 13 insertions, 1 deletions
diff --git a/mirrors.php b/mirrors.php
index dc69e7a..096f89c 100644
--- a/mirrors.php
+++ b/mirrors.php
@@ -275,8 +275,10 @@ EOF;
<th>Mirror URL</th>
<th>Protocol</td>
<th>Country</th>
+ <th>Completion</th>
+ <th>Delay</th>
+ <th>Last Sync</th>
EOF;
-//protocol url country country_code last_sync start delay duration_avg duration_stddev isos ipv4 ipv6 active recently_active completion_pct count score
print <<<EOF
</tr>
</thead>
@@ -297,6 +299,15 @@ EOF;
print " </span>\n";
print " " . $row["country"] . "\n";
print " </td>\n";
+ print " <td>\n";
+ print " " . $row["completion_pct"] . "\n";
+ print " </td>\n";
+ print " <td>\n";
+ print " " . $row["delay"] . "\n";
+ print " </td>\n";
+ print " <td>\n";
+ print " " . $row["last_sync"] . "\n";
+ print " </td>\n";
print " </tr>\n";
if ($oddity == "odd")
$oddity = "even";
@@ -313,6 +324,7 @@ EOF;
<pre>
EOF;
}
+// for debugging
// print json_encode($content, JSON_PRETTY_PRINT);
print <<<EOF
</pre>