From 8439ed9ba5b36fa382e32ea883a0877d6ec536c0 Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Thu, 9 Jun 2011 16:56:39 -0700 Subject: Finished added prices. Added more buttons to the headers. Fixed the categories. --- 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 b69767e..a52d939 100644 --- a/htdocs/postings.php +++ b/htdocs/postings.php @@ -48,7 +48,14 @@ if (isset($_GET['moderate'])) { // Display the post. -echo "

". $post->getName() ."

"; +echo "

". $post->getName(); + +if ($post->getPrice() != 0) { + echo ' - $' . $post->getPrice(); +} + +echo "

"; + echo "

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

"; echo "

Email: getPublicEmail() ."\">" -- cgit v1.2.3