summaryrefslogtreecommitdiff
path: root/htdocs/postings.php
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs/postings.php')
-rw-r--r--htdocs/postings.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/htdocs/postings.php b/htdocs/postings.php
index 5c3dd55..7550e18 100644
--- a/htdocs/postings.php
+++ b/htdocs/postings.php
@@ -50,9 +50,16 @@ if (isset($_GET['moderate'])) {
echo "<h2>". $post->getName() ."</h2>";
-echo "<p>". $post->getDescription() ."</p>";
+echo "<p>Date: ". date('r', $post->getTimestamp()) ."</p>";
+echo "<p class=\"desc\">".
+ str_replace("\n", '<br />', $post->getDescription())
+ ."</p>";
+foreach ($post->getImages() as $imgid) {
+ echo "<p><img src=\"". $GLOBALS['CONFIG']['urlroot']
+ . "/postimages/$imgid\" /></p>";
+}
require_once "src/footer.inc.php";