1 <?php require_once get_template_directory()."/BX_functions.php"; ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
8 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
9 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen,projection" />
10 <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
11 <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
12 <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
13 <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
16 <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?> </title>
22 <!-- wrap starts here -->
28 <h1 id="logo-text"><a href="https://2007.stateofthemap.org"><?php bloginfo('name'); ?></a></h1>
29 <h2 id="slogan"><?php bloginfo('description'); ?></h2>
31 <!-- <?php include (TEMPLATEPATH . "/searchform.php"); ?> -->
38 <li <?php if (is_home()) echo " id=\"current\""; ?>><a href="<?php echo get_settings('home'); ?>">Latest News</a></li>
40 $pages = BX_get_pages();
42 foreach ($pages as $page) {
44 $page_title = $page->post_title;
45 $page_name = $page->post_name;
46 if ($page_name == "archives") {
47 (is_page($page_id) || is_archive() || is_search() || is_single())?$selected = ' id="current"':$selected='';
48 echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Archives</a></li>\n";
50 elseif($page_name == "about") {
51 (is_page($page_id))?$selected = ' id="current"':$selected='';
52 echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">About</a></li>\n";
54 elseif ($page_name == "contact") {
55 (is_page($page_id))?$selected = ' id="current"':$selected='';
56 echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">Contact</a></li>\n";
58 elseif ($page_name == "about_short") {/*ignore*/}
60 (is_page($page_id))?$selected = ' id="current"':$selected='';
61 echo "<li".$selected."><a href=\"".get_page_link($page_id)."\">$page_title</a></li>\n";