Location: PHPKode > scripts > BlogHelper > DisplayBlog.php
<?
  //DisplayBlog.php
  include("common.inc");
  include("common_db.inc");
  include("ViewBlog.inc");

  displayPage();

function displayPage()
{
  $author="YourName";
  displayHeader("$author's blog -- created with BlogHelper by Andrew Freed","","");

  print "<h1>$author's Blog</h1>\n";

  //Retrieve the number of entries to display, and the initial offset
  global $numEntries;
  $skip = $_GET['skip'];
  If( !IsSet($skip) || $skip == "")
     $skip = "0";

  //Display the latest numEntries blog entries by author, skipping skip entries
  displayEntries($author,$numEntries,$skip);

  //Print links to the archive
  printLinks($author,$numEntries,$skip);

  displayFooter();
}

?>
Return current item: BlogHelper