<?php
/*
This PHP script was created by Michael Kubler on the 14th January, 2009, for www.kublermdk.com
http://www.kublermdk.com/2009/01/14/wordpress-php-script-monthswordpress-php-script-months/
Feel free to edit this as required.
For any enquiries, email contact@kublermdk.com
*/
$current_date time() - (86400 3); //Set the date to a few days ago.
for($i 0$i <= 100$i++)
{
    
$current_date $current_date 86400;
    if(
date("F"$current_date 86400) !== $current_month//Display the next month header bit if it's changed.
    
{
        
$current_month date("F"$current_date 86400); //I want the month listed before the 1st day, hence the +86400, which is the number of seconds in a day.
        
echo "\t<p style=\"text-align: center;\">---------------------<br />\n";
        echo 
"\t<strong>$current_month</strong><br />\n";
        echo 
"\t---------------------</p>\n";
    }
    
    
?>
    <span style="text-decoration: underline;"><?php echo date("l jS"$current_date 86400); ?> :</span>
    <ul>
        <li> &nbsp;-
        <li> &nbsp;-
        <li> &nbsp;-
    </ul>
    <?php
}
?>