Advertisement
Guest User

Headwurdz

a guest
Jan 31st, 2011
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 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=Yanone+Kaffeesatz:light,regular,bold&amp;subset=latin' 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, p#slogan, #menu, #top-overlay, #featured-overlay, span.overlay, .entry-content p.meta-info, #controllers span#right-arrow, #controllers span#left-arrow, #footer-content, #footer');</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. <body<?php if ( is_front_page() || is_home() ) echo ' id="home"'; ?>>
  39. <div id="header">
  40. <div id="header-inner">
  41. <div class="container">
  42. <a href="<?php bloginfo('url'); ?>">
  43. <?php $logo = (get_option('askit_logo') <> '') ? get_option('askit_logo') : get_bloginfo('template_directory').'/images/logo.png'; ?>
  44. <img src="<?php echo $logo; ?>" alt="AskIt Logo" id="logo"/>
  45. </a>
  46.  
  47. <?php $menuClass = 'nav';
  48. $menuID = 'primary-menu';
  49. $primaryNav = '';
  50. if (function_exists('wp_nav_menu')) {
  51. $primaryNav = wp_nav_menu( array( 'theme_location' => 'primary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false, 'walker' => new description_walker() ) );
  52. };
  53. if ($primaryNav == '') { ?>
  54. <ul id="<?php echo $menuID; ?>" class="<?php echo $menuClass; ?>">
  55. <?php if (get_option('askit_home_link') == 'on') { ?>
  56. <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php _e('Home','AskIt') ?></a></li>
  57. <?php }; ?>
  58.  
  59. <?php show_page_menu($menuClass,false,false); ?>
  60.  
  61. <?php show_categories_menu($menuClass,false); ?>
  62. </ul> <!-- end ul#nav -->
  63. <?php }
  64. else echo($primaryNav); ?>
  65.  
  66. </div> <!-- end .container -->
  67. </div> <!-- end #header-inner -->
  68. </div> <!-- end #header -->
  69.  
  70. <div id="header-bottom">
  71. <div class="container">
  72. <?php $menuClass = 'nav clearfix';
  73. $menuID = 'secondary-menu';
  74. $secondaryNav = '';
  75. if (function_exists('wp_nav_menu')) {
  76. $secondaryNav = wp_nav_menu( array( 'theme_location' => 'secondary-menu', 'container' => '', 'fallback_cb' => '', 'menu_class' => $menuClass, 'menu_id' => $menuID, 'echo' => false ) );
  77. };
  78. if ($secondaryNav == '') { ?>
  79. <ul id="<?php echo $menuID; ?>" class="<?php echo $menuClass; ?>">
  80. <?php if (get_option('askit_home_link') == 'on') { ?>
  81. <li <?php if (is_home()) echo('class="current_page_item"') ?>><a href="<?php bloginfo('url'); ?>"><?php _e('Home','AskIt') ?></a></li>
  82. <?php }; ?>
  83.  
  84. <?php show_page_menu($menuClass,false,false); ?>
  85.  
  86. <?php show_categories_menu($menuClass,false); ?>
  87. </ul> <!-- end ul#nav -->
  88. <?php }
  89. else echo($secondaryNav); ?>
  90.  
  91. <div id="search-bar">
  92. <form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
  93. <input type="text" value="<?php _e('search this site...','AskIt'); ?>" name="s" id="searchinput" />
  94.  
  95. <input type="image" src="<?php bloginfo('template_directory'); ?>/images/search-icon.png" id="searchsubmit" />
  96. </form>
  97. </div> <!-- end #search-bar -->
  98.  
  99. </div> <!-- end .container -->
  100. </div> <!-- end #header-bottom -->
  101.  
  102. <div id="content" >
  103. <div id="right-shadow">
  104. <div id="top-shadow"></div>
  105. <div class="container clearfix">
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement