diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-06-09 16:56:39 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-06-09 16:56:39 -0700 |
commit | 8439ed9ba5b36fa382e32ea883a0877d6ec536c0 (patch) | |
tree | cb49279c74804503d42c543e4a2c244695d5ce8a /htdocs/postings.php | |
parent | 0b1deccfe6cbe7fca0a6abd03abb18cafca59c60 (diff) |
Finished added prices. Added more buttons to the headers. Fixed the categories.
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() ."\">" |