diff options
Diffstat (limited to 'htdocs/postings.php')
-rw-r--r-- | htdocs/postings.php | 9 |
1 files changed, 8 insertions, 1 deletions
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 "<h2>". $post->getName() ."</h2>"; +echo "<h2>". $post->getName(); + +if ($post->getPrice() != 0) { + echo ' - $' . $post->getPrice(); +} + +echo "</h2>"; + echo "<p>Date: ". date('r', $post->getTimestamp()) ."</p>"; echo "<p>Email: <a href=\"mailto:". $post->getPublicEmail() ."\">" |