layout('layout', ['title' => 'media', 'css' => $css . 'home.css']) ?>
start('page') ?>
insert('backtopbar', ['user' => $user, 'tab' => 'media', 'pagelist' => $pagelist]) ?>
Explorer
folder | files |
' . $dirname . '';
} else {
$folder = '├─📁' . $dirname;
}
echo '';
echo '' . str_repeat(' ', $deepness) . $folder . ' | ';
echo '' . $dir['dirfilecount'] . ' | ';
echo '
';
foreach ($dir as $key => $value) {
if (is_array($value)) {
treecount($value, $key, $deepness + 1, $path . DIRECTORY_SEPARATOR . $key, $currentdir, $opt);
}
}
}
treecount($dirlist, 'media', 0, 'media', $dir, $opt);
?>
= $dir ?>
Print this content on your page
%MEDIA?path== substr($dir, 6) ?>&sortby== $opt['sortby'] ?>&order== $opt['order'] ?>%
issupereditor()) { ?>
issupereditor()) { ?>
stop('page') ?>