<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> <head profile="http://gmpg.org/xfn/11"> <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> <title><?php bp_page_title() ?></title> <?php do_action( 'bp_head' ) ?> <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_directory'); ?>/slideshow/slideshow.css" /> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/Library/jQuery/jQuery.js?hFileLastModified=1269279446"></script> <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/Slideshow/Slideshow.js" charset="utf-8"></script> <?php if ( function_exists( 'bp_sitewide_activity_feed_link' ) ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php _e('Site Wide Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_sitewide_activity_feed_link() ?>" /> <?php endif; ?> <?php if ( function_exists( 'bp_member_activity_feed_link' ) && bp_is_member() ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_displayed_user_fullname() ?> | <?php _e( 'Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_member_activity_feed_link() ?>" /> <?php endif; ?> <?php if ( function_exists( 'bp_group_activity_feed_link' ) && bp_is_group() ) : ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> | <?php bp_current_group_name() ?> | <?php _e( 'Group Activity RSS Feed', 'buddypress' ) ?>" href="<?php bp_group_activity_feed_link() ?>" /> <?php endif; ?> <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts RSS Feed', 'buddypress' ) ?>" href="<?php bloginfo('rss2_url'); ?>" /> <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> <?php _e( 'Blog Posts Atom Feed', 'buddypress' ) ?>" href="<?php bloginfo('atom_url'); ?>" /> <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> <?php wp_head(); ?> </head> <body <?php body_class() ?> id="bp-default"> <?php do_action( 'bp_before_header' ) ?> <div id="toppanel"> <a href="<?php echo get_option('home'); ?>"><img class="logo" src="<?php bloginfo('stylesheet_directory'); ?>/img/logo-small.png" alt="Teen Cancer Circle" /></a> </div> <div id="wrapper"> <div id="header"> <div id="navi"> <ul id="nav"> <li class="nav-font">Dashboard</li> <li<?php if ( bp_is_front_page() ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a> </li> <?php if ( 'activity' != bp_dtheme_page_on_front() && bp_is_active( 'activity' ) ) : ?> <li<?php if ( bp_is_page( BP_ACTIVITY_SLUG ) ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_ACTIVITY_SLUG ?>/" title="<?php _e( 'Activity', 'buddypress' ) ?>"><?php _e( 'Activity', 'buddypress' ) ?></a> </li> <?php endif; ?> <li<?php if ( bp_is_page( BP_MEMBERS_SLUG ) || bp_is_member() ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_MEMBERS_SLUG ?>/" title="<?php _e( 'Members', 'buddypress' ) ?>"><?php _e( 'Members', 'buddypress' ) ?></a> </li> <?php if ( bp_is_active( 'groups' ) ) : ?> <li<?php if ( bp_is_page( BP_GROUPS_SLUG ) || bp_is_group() ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_GROUPS_SLUG ?>/" title="<?php _e( 'Groups', 'buddypress' ) ?>"><?php _e( 'Groups', 'buddypress' ) ?></a> </li> <?php if ( bp_is_active( 'forums' ) && bp_is_active( 'groups' ) && ( function_exists( 'bp_forums_is_installed_correctly' ) && !(int) bp_get_option( 'bp-disable-forum-directory' ) ) && bp_forums_is_installed_correctly() ) : ?> <li<?php if ( bp_is_page( BP_FORUMS_SLUG ) ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_FORUMS_SLUG ?>/" title="<?php _e( 'Forums', 'buddypress' ) ?>"><?php _e( 'Forums', 'buddypress' ) ?></a> </li> <?php endif; ?> <?php endif; ?> <?php if ( bp_is_active( 'blogs' ) && bp_core_is_multisite() ) : ?> <li<?php if ( bp_is_page( BP_BLOGS_SLUG ) ) : ?> class="selected"<?php endif; ?>> <a href="<?php echo site_url() ?>/<?php echo BP_BLOGS_SLUG ?>/" title="<?php _e( 'Blogs', 'buddypress' ) ?>"><?php _e( 'Blogs', 'buddypress' ) ?></a> </li> <?php endif; ?> <?php wp_list_pages( 'title_li=&depth=1&exclude=2' . bp_dtheme_page_on_front() ); ?> <?php do_action( 'bp_nav_items' ); ?> </ul><!-- #nav --> </div><!-- #navi --> <div id="search-bar"> <div class="padder"> <?php if ( !is_user_logged_in() ) : ?> <?php else : ?> <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form"> <input type="text" id="search-terms" name="search-terms" value="search" /> <?php echo bp_search_form_type_select() ?> <input type="submit" name="search-submit" id="search-submit" value="<?php _e( 'Search', 'buddypress' ) ?>" /> <?php wp_nonce_field( 'bp_search_form' ) ?> </form><!-- #search-form --> <?php do_action( 'bp_search_login_bar' ) ?> <?php endif; ?> </div><!-- .padder --> </div><!-- #search-bar --> <?php do_action( 'bp_header' ) ?> </div><!-- #header --> <div id="date"> <?php echo date("dS F, Y"); ?> </div><!-- #date --> <?php do_action( 'bp_after_header' ) ?> <?php do_action( 'bp_before_container' ) ?> <div id="container">