Liste de logs un poil plus zoli
This commit is contained in:
parent
e7c362ec12
commit
7ef8a958cc
|
@ -49,25 +49,26 @@ if(!$list || empty($list['dir'])){
|
||||||
<?php __("Here are web logs of your account.<br/>You can download them to do specific extract and statistics.");?>
|
<?php __("Here are web logs of your account.<br/>You can download them to do specific extract and statistics.");?>
|
||||||
</p>
|
</p>
|
||||||
<table class="tlist">
|
<table class="tlist">
|
||||||
|
<thead>
|
||||||
<tr><th><?php __("Name");?></th><th align=center><?php __("Creation Date"); ?></th><th><?php __("Size"); ?></th><th><?php __("Download link");?></th></tr>
|
<tr><th><?php __("Name");?></th><th align=center><?php __("Creation Date"); ?></th><th><?php __("Size"); ?></th><th><?php __("Download link");?></th></tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$col=1;
|
$col=1;
|
||||||
//listing of every logs of the current user.
|
//listing of every logs of the current user.
|
||||||
echo "<pre>";
|
|
||||||
while (list($key,$val)=each($list)){
|
while (list($key,$val)=each($list)){
|
||||||
$col=3-$col;
|
|
||||||
foreach($val as $k => $v){
|
foreach($val as $k => $v){
|
||||||
|
$col=3-$col;
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr class="lst<?php echo $col; ?>">
|
||||||
<td><?php echo $v['name']; ?></td>
|
<td><?php echo $v['name']; ?></td>
|
||||||
<td><?php echo $v['creation_date']; ?></td>
|
<td><?php echo $v['creation_date']; ?></td>
|
||||||
<td><?php echo format_size($v['filesize']); ?></td>
|
<td><?php echo format_size($v['filesize']); ?></td>
|
||||||
<td><?php echo "<a href=\"".$v['downlink']."\">"._("Download")."</a>";?></td>
|
<td><?php echo "<a href=\"".$v['downlink']."\">"._("Download")."</a>";?></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
} //foreach
|
||||||
}
|
} // while
|
||||||
?>
|
?>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue