"); - print_r(""); - printf(" - %s%s", - $this->title, $topRight); - - // Display tags - for($i = 0; $i < count($this->tags); $i++) { - $tag = $this->tags[$i]; - printf(" - - %s - ", $tag["color"], $tag["name"]); - } - - // Display publish date and end metadata div - printf("Last edited on: %s - ", date("Y-m-d", strtotime($this->date_edited))); - - // Display hrule, article content and end the article - printf("
"); - for($i = 0; $i < count($this->comments); $i++){ - $this->comments[$i]->display_comment(); - } - printf("
-
-
Article not found
--
- I am sorry, but I couldn't find an article with this ID. -
-- %s
"); - -// Display post comment form. -if(is_null($blogPost->address)) -{ - printf(" -
Comments:
- -Comments:
- -