|
|
|
@ -11,7 +11,7 @@ |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
<div class="account"> |
|
|
|
Expiration : <?= $infos['expires']->format('H:i d/m/Y') ?> (<?= $restant ?>)<br>
|
|
|
|
Expiration : <?= $infos['expires']->format('d/m/Y') ?> (<?= $restant ?>)<br>
|
|
|
|
Traffic Restant : <?= intval($infos['trafficleft_gigabytes']) ?>Go (<?= intval($infos['fairuse_left'] * 100) ?>%)<br>
|
|
|
|
</div> |
|
|
|
<div class="addMulti"> |
|
|
|
@ -29,7 +29,6 @@ if (!empty($listAdded)) { |
|
|
|
<tr> |
|
|
|
<th>Date</th> |
|
|
|
<th>Filename</th> |
|
|
|
<th>IP</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
@ -37,9 +36,12 @@ if (!empty($listAdded)) { |
|
|
|
foreach ($listAdded as $result) { |
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['time']->format('H:i d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['filename']; ?></td>
|
|
|
|
<td><?= $result['event'][0]['ip']; ?></td>
|
|
|
|
<td><?= $result['time']->format('d/m/Y'); ?></td>
|
|
|
|
<td> |
|
|
|
<img src="/img/ip.png" height=16 width=16 title="<?= $result['event'][0]['ip']; ?>" alt="<?= $result['event'][0]['ip']; ?>"> |
|
|
|
<a href="<?= $result['url']; ?>"><img src="/img/link.png" height=16 width=16></a> |
|
|
|
<?= $result['filename']; ?>
|
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<?php |
|
|
|
} |
|
|
|
@ -68,8 +70,12 @@ if (!empty($listDownloading)) { |
|
|
|
foreach ($listDownloading as $result) { |
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['time']->format('H:i d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['filename']; ?></td>
|
|
|
|
<td><?= $result['time']->format('d/m/Y'); ?></td>
|
|
|
|
<td> |
|
|
|
<img src="/img/ip.png" height=16 width=16 title="<?= $result['event'][0]['ip']; ?>" alt="<?= $result['event'][0]['ip']; ?>"> |
|
|
|
<a href="<?= $result['url']; ?>"><img src="/img/link.png" height=16 width=16></a> |
|
|
|
<?= $result['filename']; ?>
|
|
|
|
</td> |
|
|
|
<td><?= $result['event'][0]['ip']; ?></td>
|
|
|
|
</tr> |
|
|
|
<?php |
|
|
|
@ -90,7 +96,6 @@ if (!empty($listDownloaded)) { |
|
|
|
<tr> |
|
|
|
<th>Date</th> |
|
|
|
<th>Filename</th> |
|
|
|
<th>IP</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
@ -103,9 +108,12 @@ if (!empty($listDownloaded)) { |
|
|
|
} |
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['time']->format('H:i d/m/Y'); ?></td>
|
|
|
|
<td><?= $nameLink; ?></td>
|
|
|
|
<td><?= $result['event'][0]['ip']; ?></td>
|
|
|
|
<td><?= $result['time']->format('d/m/Y'); ?></td>
|
|
|
|
<td> |
|
|
|
<img src="/img/ip.png" height=16 width=16 title="<?= $result['event'][0]['ip']; ?>" alt="<?= $result['event'][0]['ip']; ?>"> |
|
|
|
<a href="<?= $result['url']; ?>"><img src="/img/link.png" height=16 width=16></a> |
|
|
|
<?= $nameLink; ?>
|
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<?php |
|
|
|
} |
|
|
|
@ -134,7 +142,7 @@ if (!empty($listDupp)) { |
|
|
|
foreach ($listDupp as $result) { |
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['time']->format('H:i d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['time']->format('d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['filename']; ?></td>
|
|
|
|
<td><?= $result['event'][0]['ip']; ?></td>
|
|
|
|
</tr> |
|
|
|
@ -165,7 +173,7 @@ if (!empty($streamBegin)) { |
|
|
|
foreach ($streamBegin as $result) { |
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['time']->format('H:i d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['time']->format('d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['filename']; ?></td>
|
|
|
|
<td><?= $result['ip']; ?></td>
|
|
|
|
</tr> |
|
|
|
@ -188,17 +196,20 @@ if (!empty($streamFinished)) { |
|
|
|
<tr> |
|
|
|
<th>Date</th> |
|
|
|
<th>Filename</th> |
|
|
|
<th>IP</th> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<?php |
|
|
|
foreach ($streamFinished as $result) { |
|
|
|
# TODO : dans l'IP, ajouter le resolv
|
|
|
|
?>
|
|
|
|
<tr> |
|
|
|
<td><?= $result['time']->format('H:i d/m/Y'); ?></td>
|
|
|
|
<td><?= $result['filename']; ?></td>
|
|
|
|
<td><?= $result['ip']; ?></td>
|
|
|
|
<td><?= $result['time']->format('d/m/Y'); ?></td>
|
|
|
|
<td> |
|
|
|
<img src="/img/ip.png" height=16 width=16 title="<?= $result['ip']; ?>" alt="<?= $result['ip']; ?>"> |
|
|
|
<a href="<?= $result['url']; ?>"><img src="/img/link.png" height=16 width=16></a> |
|
|
|
<?= $result['filename']; ?>
|
|
|
|
</td> |
|
|
|
</tr> |
|
|
|
<?php |
|
|
|
} |
|
|
|
|