|
|
|
@ -10,7 +10,6 @@ |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<div class="account"> |
|
|
|
<!-- TODO : ajouter jour restant --> |
|
|
|
Expiration : <?= $infos['expires']->format('H:i d/m/Y') ?> (<?= $restant ?>)<br>
|
|
|
|
Traffic Restant : <?= intval($infos['trafficleft_gigabytes']) ?>Go (<?= intval($infos['fairuse_left'] * 100) ?>%)<br>
|
|
|
|
</div> |
|
|
|
@ -96,10 +95,15 @@ if (!empty($listDownloaded)) { |
|
|
|
<tbody> |
|
|
|
<?php |
|
|
|
foreach ($listDownloaded as $result) { |
|
|
|
if ($result['href']) { |
|
|
|
$nameLink = '<a href="/downloaded/'.$result['filename'].'">'.$result['filename'].'</a>'; |
|
|
|
} else { |
|
|
|
$nameLink = $result['filename']; |
|
|
|
} |
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['timestamp']; ?></td>
|
|
|
|
<td><?= $result['filename']; ?></td>
|
|
|
|
<td><?= $nameLink; ?></td>
|
|
|
|
<td><?= $result['event'][0]['ip']; ?></td>
|
|
|
|
</tr> |
|
|
|
<?php |
|
|
|
|