summaryrefslogtreecommitdiffstats
path: root/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/index.php')
-rw-r--r--www/index.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/www/index.php b/www/index.php
index bc55638..ac4bb50 100644
--- a/www/index.php
+++ b/www/index.php
@@ -33,7 +33,7 @@ table, td, tr, th {
<table>
<tr>
<th>pridobljeno</th>
- <td><?= date("d. m. Y. H:i:s", $t->getCreationDate()) ?></td>
+ <td><?= date("d. m. Y H:i:s", $t->getCreationDate()) ?></td>
<tr>
<th>tip</th>
<td><?= $t->getProtocol() ?></td>
@@ -59,6 +59,14 @@ table, td, tr, th {
<th>odjemalec vira</th>
<td><?= htmlspecialchars($t->getRootData()["source"]["v"]) ?></td>
<?php } ?>
+ <tr>
+ <th>velikost koščka</th>
+ <td><?= $t->getPieceLength()/1024; ?> kB</td>
+<?php if (!empty($t->getSource())) { ?>
+ <tr>
+ <th>izvor</th>
+ <td><?= htmlspecialchars($t->getSource()) ?></td>
+<?php } ?>
</table>
<?php
function p ($k, $v) {
@@ -76,3 +84,6 @@ foreach ($t->getFileTree() as $k => $v)
p($k, $v);
echo "</ul>";
?>
+<?php if (preg_match("/Development Server/", $_SERVER["SERVER_SOFTWARE"])) { ?>
+<h1 style=color:red>interna stran, dostop prepovedan</h1>
+<?php } ?>