<?php
include("class.readdir.php");
$read = $readdir->lees("map/naar/dir/");
$stats = array("dirs" => $readdir->stats("dirs"), "files" => $readdir->stats("files"));
?>
<center>
<table border="0" cellpadding="5" cellspacing="0" width="80%">
<tr>
<td width="50%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<?php
foreach($read['dirs'] as $dir) {
?>
<tr>
<td><?php echo $dir; ?></td>
</tr>
<?php
}
?>
</table>
</td>
<td width="50%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<?php
foreach($read['files'] as $file) {
?>
<tr>
<td><?php echo $file; ?></td>
</tr>
<?php
}
?>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center"><?php echo "<b>".$stats['dirs']."</b> dirs en <b>".$stats['files']."</b> bestanden."; ?></td>
</tr>
</table>
</center>
<?php
include("class.readdir.php");
$read = $readdir->lees("map/naar/dir/");
$stats = array("dirs" => $readdir->stats("dirs"), "files" => $readdir->stats("files")); ?>
<center>
<table border="0" cellpadding="5" cellspacing="0" width="80%">
<tr>
<td width="50%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<?php
foreach($read['dirs'] as $dir) {
?>
<tr>
<td>
<?php echo $dir; ?></td>
</tr>
<?php
}
?>
</table>
</td>
<td width="50%" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="90%">
<?php
foreach($read['files'] as $file) {
?>
<tr>
<td>
<?php echo $file; ?></td>
</tr>
<?php
}
?>
</table>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center">
<?php echo "<b>".$stats['dirs']."</b> dirs en <b>".$stats['files']."</b> bestanden."; ?></td>
</tr>
</table>
</center>