3 changed files with 161 additions and 91 deletions
Split View
Diff Options
@ -1,106 +1,147 @@ |
|||
<!doctype html> |
|||
<html> |
|||
<head> |
|||
<script type="text/javascript" src="/js/jquery-2.1.1.min.js"></script> |
|||
<script type="text/javascript" src="/js/my.js"></script> |
|||
</script> |
|||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
|||
<title>Admin</title> |
|||
<link rel="stylesheet" href="/css/my.css"> |
|||
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'> |
|||
<script type="text/javascript" src="/js/jquery-2.1.1.min.js"></script> |
|||
<script type="text/javascript" src="/js/my.js"></script> |
|||
</head> |
|||
<body> |
|||
Expiration : <?= $infos['expires']->format('H:i d.m.Y') ?><br>
|
|||
Traffic Restant : <?= intval($infos['trafficleft_gigabytes']) ?>Go (<?= intval($infos['fairuse_left'] * 100) ?>%)<br>
|
|||
<textarea id="urls" name="urls" style="margin: 0px; width: 985px; height: 401px;"></textarea><br> |
|||
<input type="button" id="sub" name="sub" value="submit" onclick="javascript:subURL();"><br> |
|||
Liste des fichiers a traiter :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<div class="account"> |
|||
Expiration : <?= $infos['expires']->format('H:i d.m.Y') ?><br>
|
|||
Traffic Restant : <?= intval($infos['trafficleft_gigabytes']) ?>Go (<?= intval($infos['fairuse_left'] * 100) ?>%)<br>
|
|||
</div> |
|||
<div class="addMulti"> |
|||
<textarea id="urls" name="urls" style="margin: 0px; width: 985px; height: 401px;"></textarea><br> |
|||
<input type="button" id="sub" name="sub" value="submit" onclick="javascript:subURL();"><br> |
|||
</div> |
|||
<div class="list"> |
|||
<?php |
|||
foreach ($listAdded as $result) { |
|||
if (!empty($listAdded)) { |
|||
?>
|
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
<div class="listAdded"> |
|||
Liste des fichiers a traiter :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<?php |
|||
foreach ($listAdded as $result) { |
|||
?>
|
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
<?php |
|||
} |
|||
?>
|
|||
</tbody> |
|||
</table> |
|||
<input type="button" value="Wipe"> |
|||
</div> |
|||
<?php |
|||
} |
|||
|
|||
if (!empty($listDownloading)) { |
|||
?>
|
|||
<div class="listDownloading"> |
|||
Liste des fichiers en cours :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<?php |
|||
foreach ($listDownloading as $result) { |
|||
?>
|
|||
</tbody> |
|||
</table> |
|||
Liste des fichiers en cours :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
<?php |
|||
foreach ($listDownloading as $result) { |
|||
} |
|||
?>
|
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
<?php |
|||
} |
|||
|
|||
if (!empty($listDownloaded)) { |
|||
?>
|
|||
<div class="listDownloaded"> |
|||
Liste des fichiers terminés :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<?php |
|||
foreach ($listDownloaded as $result) { |
|||
?>
|
|||
</tbody> |
|||
</table> |
|||
Liste des fichiers terminés :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
<?php |
|||
foreach ($listDownloaded as $result) { |
|||
} |
|||
?>
|
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<input type="button" value="Wipe"><br> |
|||
</div> |
|||
<?php |
|||
} |
|||
|
|||
if (!empty($listDupp)) { |
|||
?>
|
|||
<div class="listDupp"> |
|||
Liste des fichiers duppliqués :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<?php |
|||
foreach ($listDupp as $result) { |
|||
?>
|
|||
</tbody> |
|||
</table> |
|||
Liste des fichiers duppliqués :<br> |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th>Date</td> |
|||
<th>Filename</td> |
|||
<th>IP</td> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
<?php |
|||
foreach ($listDupp as $result) { |
|||
} |
|||
?>
|
|||
<tr> |
|||
<td><?= $result['timestamp']; ?></td>
|
|||
<td><?= $result['filename']; ?></td>
|
|||
<td><?= $result['event'][0]['ip']; ?></td>
|
|||
</tr> |
|||
</tbody> |
|||
</table> |
|||
<input type="button" value="Wipe"><br> |
|||
</div> |
|||
<?php |
|||
} |
|||
?>
|
|||
</tbody> |
|||
</table> |
|||
</div> |
|||
</body> |
|||
</html> |
|||
Write
Preview
Loading…
Cancel
Save