</div> <div id="secondary"> <?php echo displayMonths(); ?> </div></div> </div> <div id="footer"> © <?php echo date("Y") . " <a href=\"http://twitter.com/" . s($config['twitter_screenname']) . "\">" . s($author['realname']) . "</a>"; ?> , powered by <a href="http://pongsocket.com/tweetnest/">Tweet Nest</a> </div> </div> </body> </html> <?php if ($startTime) { echo "<!-- " . round(microtime(true) - $startTime, 5) . " s -->\n"; }
* { font-family: Verdana, Arial, sans-serif; } th, td { border: 1px solid grey; width: 3em; } </style> </head> <body> <?php require "calendar.inc.php"; if (isset($_GET['year'])) { $year = $_GET['year']; if (isset($_GET['month'])) { $month = $_GET['month']; displayCalendar($year, $month); // add a back link echo "<br><a href='exercise10.php?year=" . $year . "'>back to month selection</a>"; } else { displayMonths($year); } } else { displayYears(); } ?> </body> </html>