aboutsummaryrefslogtreecommitdiff
path: root/src/admin/contest.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2017-07-31 15:26:22 +0000
committerCassio de Campos <cassiopc@gmail.com>2017-07-31 15:26:22 +0000
commite27a846a4ac142400c1ab9ad6d4fb7bc253ba1bc (patch)
treecd2ab12876961fe413d2d0be62afccb8514f9eaa /src/admin/contest.php
parentd74d62660fbc18866364564d470d0a0447ee3d59 (diff)
downloadboca-e27a846a4ac142400c1ab9ad6d4fb7bc253ba1bc.tar.gz
boca-e27a846a4ac142400c1ab9ad6d4fb7bc253ba1bc.zip
show update time
Diffstat (limited to 'src/admin/contest.php')
-rw-r--r--src/admin/contest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/admin/contest.php b/src/admin/contest.php
index ddffed4..5843bd6 100644
--- a/src/admin/contest.php
+++ b/src/admin/contest.php
@@ -210,6 +210,11 @@ echo $contest;
<input type="text" name="mainsiteurl" value="<?php echo $ct["contestmainsiteurl"]; ?>" size="40" maxlength="200" />
</td>
</tr>
+<?php
+ $exd = explode(' ',$ct["contestmainsiteurl"]);
+ if(count($exd) >= 4 && is_numeric($exd[3]) && $exd[3] > 0)
+ echo "<tr><td width=\"35%\" align=right>Last update from mainsite:</td><td width=\"65%\">" . dateconv($exd[3]) . "</td></tr>\n";
+?>
<tr>
<td width="35%" align=right>Unlock password (only use it within a <b>secure network</b>):</td>
<td width="65%">