Location: PHPKode > scripts > BlogHelper > common.inc
<?
  //common.inc


/*
displayHeader takes as an argument a title string.
It prints out the standard header including the image and style-sheet.
*/
function displayHeader($title, $metaKeywords="", $metaDescription="")
{
?>
<html>
<head>

<meta name="Title" content="<?=$title?>">
<meta name="Keywords" content="<?=$metaKeywords?>">
<meta name="Description" content="<?=$metaDescription?>"

<style type="text/css">
<!--
        /**** Container for each blog entry ****/
        .blogentry{
            border:1px 1px 1px 1px solid #000;
            width:700px; 
            padding: 10px;
        }

        /**** Title of blog entry ****/        
        .entrytitle{
            FONT-WEIGHT: bold;
        }

        /**** Main blog entry text ****/
        .blogcomment{
           width:600px;
           padding-top: 10px;
           padding-bottom: 5px;
        }

        /**** Date for each blog entry ****/
        .entrydate{
           font-style: italic;
        }

        /**** Container for each blog archive links ****/
        .blogarchivelinks{
           padding-bottom: 20px;
           margin-top: -15px;
        }

        /**** Blog archive link ****/
        .blogarchivelink{
           FONT-WEIGHT: bold; 
           text-decoration:none; 
           COLOR: black
        }

        /**** Footer info ****/
        #footerLegal{
                position: relative;
                left:0px;
                top: 0px;
        }
-->
</style>

    <title><?=$title?></title>

</head>
<body>
<?
}


/*
displayFooter takes no arguments.
It prints a standard HTML footer including the development and contact info.
*/
function displayFooter()
{
?>
   <div id=footerLegal>This blog created with <a href="http://freedville.homeip.net/oss">BlogHelper</a> by <a href="http://freedville.homeip.net">Andrew R Freed</a>.  <a href="http://freedville.homeip.net/oss/download.php?package=BlogHelper">Download</a> your copy today!</div>

</body>
</html>

<?
}
?>
Return current item: BlogHelper