From b2a7cfb9b152dcad1333b92dde76af3a164af8f6 Mon Sep 17 00:00:00 2001 From: jesse Date: Fri, 27 May 2011 11:57:02 -0700 Subject: Got image posting finished. --- htdocs/postings.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'htdocs/postings.php') 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 "

". $post->getName() ."

"; -echo "

". $post->getDescription() ."

"; +echo "

Date: ". date('r', $post->getTimestamp()) ."

"; +echo "

". + str_replace("\n", '
', $post->getDescription()) + ."

"; +foreach ($post->getImages() as $imgid) { + echo "

"; +} require_once "src/footer.inc.php"; -- cgit v1.2.3