|
@@ -8,7 +8,7 @@ $dirs = get_dir_list();
|
|
$dirs_html = '';
|
|
$dirs_html = '';
|
|
|
|
|
|
foreach ($dirs as $dir) {
|
|
foreach ($dirs as $dir) {
|
|
- $dirs_html .= '<tr><td><a href="' . $config['basepath'] . 'dir.php?dir=' . urlencode($dir['path']) . '">' . htmlspecialchars($dir['name']) . '</a></td><td>' . $dir['count'] . '</td><td>' . date('j.m.Y', $dir['date']) . '</td><td>' . count_comments($dir['id'], 'dir') . '</td></tr>';
|
|
|
|
|
|
+ $dirs_html .= '<tr><td><a href="' . $config['basepath'] . 'dir.php?dir=' . urlencode($dir['path']) . '">' . htmlspecialchars($dir['name']) . '</a></td><td>' . $dir['count'] . '</td><td>' . date('j.m.Y', $dir['date']) . '</td><td>' . count_comments($dir['id'], 'dir') . '</td><td>' . count_comments_all_dir_images($dir['id']) . '</td></tr>';
|
|
}
|
|
}
|
|
|
|
|
|
?><!DOCTYPE html>
|
|
?><!DOCTYPE html>
|
|
@@ -21,7 +21,7 @@ foreach ($dirs as $dir) {
|
|
<body>
|
|
<body>
|
|
<h1>Dostępne katalogi z obrazkami</h1>
|
|
<h1>Dostępne katalogi z obrazkami</h1>
|
|
Uwaga, nowy skrypt. Zgłoś problemy administratorowi.
|
|
Uwaga, nowy skrypt. Zgłoś problemy administratorowi.
|
|
-<table id="dirlist"><tr><th>Nazwa</th><th>Obrazków</th><th>Utworzono</th><th>Komentarzy<br>do katalogu</th></tr>
|
|
|
|
|
|
+<table id="dirlist"><tr><th>Nazwa</th><th>Obrazków</th><th>Utworzono</th><th>Komentarzy<br>do katalogu</th><th>Komentarzy<br>do obrazków</th></tr>
|
|
<?=$dirs_html?>
|
|
<?=$dirs_html?>
|
|
</table>
|
|
</table>
|
|
<a class="k4" href="http://k4be.pl/"></a>
|
|
<a class="k4" href="http://k4be.pl/"></a>
|