|
@@ -28,6 +28,11 @@ $dirname = htmlspecialchars($dirinfo['name']);
|
|
$comments_data = get_comments($dirinfo['id'], 'dir');
|
|
$comments_data = get_comments($dirinfo['id'], 'dir');
|
|
$comments = generate_comment_field($comments_data, 'dir', $dirinfo['id']);
|
|
$comments = generate_comment_field($comments_data, 'dir', $dirinfo['id']);
|
|
|
|
|
|
|
|
+$topcomment = '';
|
|
|
|
+if ($dirinfo['comment']) {
|
|
|
|
+ $topcomment = '<h3>' . htmlspecialchars($dirinfo['comment']) . '</h3>';
|
|
|
|
+}
|
|
|
|
+
|
|
?><!DOCTYPE html>
|
|
?><!DOCTYPE html>
|
|
<html>
|
|
<html>
|
|
<head>
|
|
<head>
|
|
@@ -45,6 +50,7 @@ const scriptUrlPrefix = <?=$config['basepath']?>;
|
|
<h1>Obrazki: <?=$dirname?></h1>
|
|
<h1>Obrazki: <?=$dirname?></h1>
|
|
<div id="image-list">
|
|
<div id="image-list">
|
|
<a class="gora" href="."></a><h2>... wybierz dowolny obrazek, najlepiej pierwszy.</h2>
|
|
<a class="gora" href="."></a><h2>... wybierz dowolny obrazek, najlepiej pierwszy.</h2>
|
|
|
|
+<?=$topcomment?>
|
|
<?=$content?>
|
|
<?=$content?>
|
|
</div>
|
|
</div>
|
|
<div id="comments">
|
|
<div id="comments">
|