Advertisement
Guest User

Untitled

a guest
Mar 29th, 2012
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.40 KB | None | 0 0
  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 language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5. <meta http-equiv="X-UA-Compatible" content="IE=7" />
  6. <title><?php elegant_titles(); ?></title>
  7. <?php elegant_description(); ?>
  8. <?php elegant_keywords(); ?>
  9. <?php elegant_canonical(); ?>
  10.  
  11. <link href='http://fonts.googleapis.com/css?family=Droid+Sans:regular,bold' rel='stylesheet' type='text/css' />
  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 bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  15. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  16. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  17.  
  18. <!--[if lt IE 7]>
  19. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie6style.css" />
  20. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/DD_belatedPNG_0.0.8a-min.js"></script>
  21. <script type="text/javascript">DD_belatedPNG.fix('img#logo, #search-form, .thumbnail .overlay, .big .thumbnail .overlay, .entry-content, .bottom-bg, #controllers span#left-arrow, #controllers span#right-arrow, #content-bottom-bg, .post, #comment-wrap, .post-content, .single-thumb .overlay, .post ul.related-posts li, .hr, ul.nav ul li a, ul.nav ul li a:hover, #comment-wrap #comment-bottom-bg, ol.commentlist, .comment-icon, #commentform textarea#comment, .avatar span.overlay, li.comment, #footer .widget ul a, #footer .widget ul a:hover, #sidebar .widget, #sidebar h3.widgettitle, #sidebar .widgetcontent ul li, #tabbed-area, #tabbed-area li a, #tabbed .tab ul li');</script>
  22. <![endif]-->
  23. <!--[if IE 7]>
  24. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie7style.css" />
  25. <![endif]-->
  26. <!--[if IE 8]>
  27. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/ie8style.css" />
  28. <![endif]-->
  29.  
  30. <script type="text/javascript">
  31. document.documentElement.className = 'js';
  32. </script>
  33.  
  34. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  35. <?php wp_head(); ?>
  36.  
  37. </head>
  38. <?php $et_body_class = get_option('thestyle_cufon') == 'false' ? 'cufon-disabled' : '';?>
  39. <body <?php body_class( $et_body_class ); ?>>
  40. <div id="container">
  41. <div id="container2">
  42. <div id="header">
  43. <a href="<?php bloginfo('url'); ?>">
  44. <?php $logo = (get_option('thestyle_logo') <> '') ? get_option('thestyle_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?>
  45. <img src="<?php echo esc_url($logo); ?>" alt="TheStyle Logo" id="logo"/>
  46. </a>
  47. <div id="header-bottom" class="clearfix">
  48. <?php $menuClass = 'nav';
  49. $menuID = 'primary';
  50. $primaryNav = '';
  51. if (function_exists('wp_nav_menu')) {
  52. $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false ) );
  53. };
  54. if ($primaryNav == '') { ?>
  55. <ul id="<?php echo $menuID; ?>" class="<?php echo $menuClass; ?>">
  56. <?php if (get_option('thestyle_home_link') == 'on') { ?>
  57. <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php esc_html_e('Home','TheStyle') ?></a></li>
  58. <?php }; ?>
  59.  
  60. <?php show_page_menu($menuClass,false,false); ?>
  61.  
  62. <?php show_categories_menu($menuClass,false); ?>
  63. </ul> <!-- end ul#nav -->
  64. <?php }
  65. else echo($primaryNav); ?>
  66.  
  67. <div id="search-form">
  68. <form method="get" id="searchform" action="<?php echo home_url(); ?>">
  69. <input type="text" value="<?php esc_attr_e('Search this website...','TheStyle'); ?>" name="s" id="searchinput" />
  70.  
  71. <input type="image" src="<?php bloginfo('template_directory'); ?>/images/<?php if (get_option('thestyle_color_scheme') == 'Gray') echo 'gray/'; ?>search-btn.png" id="searchsubmit" />
  72. </form>
  73. </div> <!-- end #search-form -->
  74.  
  75. </div> <!-- end #header-bottom -->
  76. </div> <!-- end #header -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement