'Upcoming conferences', 'cfp' => 'Calling for papers', ); $announcements = ''; } else { $announcements = ''; } // Prepare featured content. $features = " "; // Wrap announcements and features in a content element $content = "
$announcements $features
"; // Write out common header site_header("Hypertext Preprocessor", array( 'current' => 'home', 'onload' => 'boldEvents();', 'headtags' => array( '', '' ), 'link' => array( array( "rel" => "search", "type" => "application/opensearchdescription+xml", "href" => $MYSITE . "phpnetimprovedsearch.src", "title" => "Add PHP.net search" ), array( "rel" => "alternate", "type" => "application/atom+xml", "href" => $MYSITE . "releases.atom", "title" => "PHP Release feed" ), ), 'elephpants' => true ) ); // Print body of home page. print_view('homepage/sidebar.php', array('news' => $NEWS_ENTRIES)); print $content; // Print the common footer. site_footer( array("atom" => "/feed.atom") // Add a link to the feed at the bottom );