Advertisement
Guest User

Untitled

a guest
Mar 27th, 2012
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.65 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">
  3. <head profile="http://gmpg.org/xfn/11">
  4.  
  5. <title><?php woo_title(); ?></title>
  6. <?php woo_meta(); ?>
  7. <?php global $woo_options; ?>
  8.  
  9. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  10. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( $woo_options['woo_feed_url'] ) { echo $woo_options['woo_feed_url']; } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
  11. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  12.  
  13. <?php wp_head(); ?>
  14. <?php woo_head(); ?>
  15. <?php
  16.  
  17. if( ( is_home() || is_page_template('template-location.php') || is_active_widget( false,false,'woo_location', true ) ) ){ ?>
  18.  
  19. <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
  20.  
  21. <?php } ?>
  22. </head>
  23.  
  24. <body <?php body_class(); ?>>
  25. <?php woo_top(); ?>
  26.  
  27. <div id="wrapper">
  28.  
  29. <div id="header" class="col-full">
  30.  
  31. <div class="inside-header">
  32.  
  33. <div id="logo">
  34.  
  35. <?php if ($woo_options['woo_texttitle'] <> "true") : $logo = $woo_options['woo_logo']; ?>
  36. <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>">
  37. <img src="<?php if ($logo) echo $logo; else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" />
  38. </a>
  39. <?php endif; ?>
  40.  
  41. <?php if( is_singular() ) : ?>
  42. <span class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
  43. <?php else : ?>
  44. <h1 class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
  45. <?php endif; ?>
  46. <span class="site-description"><?php bloginfo('description'); ?></span>
  47.  
  48. </div><!-- /#logo -->
  49.  
  50. <?php if( ($woo_options['woo_reservations'] == 'true') && ($woo_options['woo_ad_top'] == 'false')) { ?>
  51.  
  52. <div id="reservations">
  53.  
  54. <?php if ( $woo_options['woo_reservations_heading'] ) { ?><span class="heading"><?php echo stripslashes($woo_options['woo_reservations_heading']); ?></span><?php } ?>
  55. <?php if ( $woo_options['woo_reservations_text'] ) { ?><span class="number"><?php echo stripslashes($woo_options['woo_reservations_text']); ?></span><?php } ?>
  56. <a class="button" href="<?php global $wootable; echo get_permalink( $wootable->frontend->bookings_page ); ?>" title="<?php echo stripslashes($woo_options['woo_reservations_button']); ?>"><?php echo stripslashes($woo_options['woo_reservations_button']); ?></a>
  57.  
  58. </div><!-- /#reservations -->
  59.  
  60.  
  61. <?php } else if ( $woo_options['woo_ad_top'] == 'true' ) { ?>
  62. <div id="topad">
  63. <?php if ($woo_options['woo_ad_top_adsense'] <> "") { echo stripslashes($woo_options['woo_ad_top_adsense']); ?>
  64.  
  65. <?php } else { ?>
  66.  
  67. <a href="<?php echo $woo_options['woo_ad_top_url']; ?>"><img src="<?php echo $woo_options['woo_ad_top_image']; ?>" width="468" height="60" alt="advert" /></a>
  68.  
  69. <?php } ?>
  70. </div><!-- /#topad -->
  71. <?php } ?>
  72.  
  73. </div><!-- /.inside -->
  74.  
  75. </div><!-- /#header -->
  76.  
  77. <div id="navigation" class="col-full">
  78. <?php
  79. if ( function_exists('has_nav_menu') && has_nav_menu('primary-menu') ) {
  80. wp_nav_menu( array( 'depth' => 6, 'sort_column' => 'menu_order', 'container' => 'ul', 'menu_id' => 'main-nav', 'menu_class' => 'nav fl', 'theme_location' => 'primary-menu' ) );
  81. } else {
  82. ?>
  83. <ul id="main-nav" class="nav fl">
  84. <?php
  85. if ( isset($woo_options['woo_custom_nav_menu']) AND $woo_options['woo_custom_nav_menu'] == 'true' ) {
  86. if ( function_exists('woo_custom_navigation_output') )
  87. woo_custom_navigation_output();
  88.  
  89. } else { ?>
  90.  
  91. <?php if ( is_page() ) $highlight = "page_item"; else $highlight = "page_item current_page_item"; ?>
  92. <li class="<?php echo $highlight; ?>"><a href="<?php bloginfo('url'); ?>"><?php _e('Home', 'woothemes') ?></a></li>
  93. <?php
  94. //Take out manage reservations page
  95. //$reservation_make_page = get_option('wootable_page_booking');
  96. $reservation_manage_page = get_option('wootable_page_manage');
  97. wp_list_pages('sort_column=menu_order&depth=6&title_li=&exclude='.$reservation_make_page.','.$reservation_manage_page);
  98.  
  99. }
  100. ?>
  101. </ul><!-- /#nav -->
  102. <?php } ?>
  103.  
  104. </div><!-- /#navigation -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement