| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 | 
|---|
| 2 | <html xmlns="http://www.w3.org/1999/xhtml" <?php if (function_exists('language_attributes')) { language_attributes(); }?>>
 | 
|---|
| 3 | 
 | 
|---|
| 4 | <head profile="http://gmpg.org/xfn/11">
 | 
|---|
| 5 | <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
 | 
|---|
| 6 | 
 | 
|---|
| 7 | <title><?php bloginfo('name');
 | 
|---|
| 8 | if ( is_single() ) {
 | 
|---|
| 9 |         _e('» Blog Archive', 'xpress');
 | 
|---|
| 10 | }
 | 
|---|
| 11 | wp_title(); ?></title>
 | 
|---|
| 12 | 
 | 
|---|
| 13 | <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
 | 
|---|
| 14 | <link rel="alternate" type="application/rss+xml" title="<?php printf(__('%s RSS Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('rss2_url'); ?>" />
 | 
|---|
| 15 | <link rel="alternate" type="application/atom+xml" title="<?php printf(__('%s Atom Feed', 'xpress'), get_bloginfo('name')); ?>" href="<?php bloginfo('atom_url'); ?>" />
 | 
|---|
| 16 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
 | 
|---|
| 17 | <?php
 | 
|---|
| 18 | // comment-replay.js load  @since 2.7.0
 | 
|---|
| 19 | if (function_exists('wp_enqueue_script')) { // not function Ver2.0
 | 
|---|
| 20 |         if ( is_singular() ){  //not function Ver2.0
 | 
|---|
| 21 |                 wp_enqueue_script( 'comment-reply' );
 | 
|---|
| 22 |         }
 | 
|---|
| 23 | }
 | 
|---|
| 24 | ?>
 | 
|---|
| 25 | <?php wp_head(); ?>
 | 
|---|
| 26 | </head>
 | 
|---|
| 27 | <body <?php if(function_exists('body_class')) body_class(); ?>>
 | 
|---|
| 28 | <div id="xpress_page">
 | 
|---|
| 29 |         <div id="xpress-header-bar">
 | 
|---|
| 30 | <div id="xpress_header" role="banner">
 | 
|---|
| 31 |                         <div id="xpress-header-bar-top">
 | 
|---|
| 32 |                         <div class="xpress-header-title">
 | 
|---|
| 33 |                                 <?php  if (xpress_selected_author_id('echo=0') && function_exists('get_avatar')) echo get_avatar(xpress_selected_author_id('echo=0'),$size = '32'); ?>
 | 
|---|
| 34 |                                 <a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a>
 | 
|---|
| 35 |                         </div>
 | 
|---|
| 36 |                         <div class="xpress-conditional-title">
 | 
|---|
| 37 |                                   <?php xpress_conditional_title();?> 
 | 
|---|
| 38 |                         </div>
 | 
|---|
| 39 |                         <div class="xpress-description">
 | 
|---|
| 40 |                                 <?php bloginfo('description'); ?>
 | 
|---|
| 41 |                         </div>
 | 
|---|
| 42 |                 </div>
 | 
|---|
| 43 |         
 | 
|---|
| 44 |                 <div id="menu_div">
 | 
|---|
| 45 |                         <div id="access">
 | 
|---|
| 46 |                                 <?php if (function_exists('wp_nav_menu')) wp_nav_menu( array( 'sort_column' => 'menu_order', 'container_class' => 'menu-aheader' ) ); ?> 
 | 
|---|
| 47 |                         </div><!-- #access -->
 | 
|---|
| 48 |                         <div id="xpress-menu">
 | 
|---|
| 49 |                                 <div class="menu-header">
 | 
|---|
| 50 |                                         <div class="menu">
 | 
|---|
| 51 |                                                 <ul>
 | 
|---|
| 52 |                                                         <?php
 | 
|---|
| 53 |                                                                 if(xpress_is_multiblog()){
 | 
|---|
| 54 |                                                                         $blog_details = get_blog_details(1);
 | 
|---|
| 55 |                                                                         $site_url = $blog_details->siteurl;
 | 
|---|
| 56 |                                                                         echo '<li><a href="' . $site_url . '/">' . __('Main Page','xpress') . '</a></li>';
 | 
|---|
| 57 |                                                                 }
 | 
|---|
| 58 |                                                         ?>
 | 
|---|
| 59 |                                                         <li><a href="<?php echo get_option('home'); ?>/"><?php _e('Blogs Home','xpress')?></a></li>
 | 
|---|
| 60 |                                                         <?php if(xpress_is_contributor()) { echo '<li>'. xpress_post_new_link('link_title='. __('Post New','xpress'). '&echo=0').'</li>'; }?>
 | 
|---|
| 61 |                                                 </ul>
 | 
|---|
| 62 |                                         </div><!-- #menu -->
 | 
|---|
| 63 |                                 </div><!-- #menu-header -->
 | 
|---|
| 64 |                         </div><!-- #xpress-menu -->
 | 
|---|
| 65 |                 </div><!-- #menu_div -->
 | 
|---|
| 66 |         </div><!-- #xpress-header-bar -->
 | 
|---|
| 67 |         </div><!-- #xpress-header-bar -->
 | 
|---|