Advertisement
Guest User

Untitled

a guest
Dec 23rd, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.21 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>
  6. <?php if ( is_home() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php bloginfo('description'); ?><?php } ?>
  7. <?php if ( is_search() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Search Results', 'woothemes'); ?><?php } ?>
  8. <?php if ( is_author() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Author Archives', 'woothemes'); ?><?php } ?>
  9. <?php if ( is_single() ) { ?><?php wp_title(''); ?>&nbsp;|&nbsp;<?php bloginfo('name'); ?><?php } ?>
  10. <?php if ( is_page() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php wp_title(''); ?><?php } ?>
  11. <?php if ( is_category() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Archive', 'woothemes'); ?>&nbsp;|&nbsp;<?php single_cat_title(); ?><?php } ?>
  12. <?php if ( is_month() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Archive', 'woothemes'); ?>&nbsp;|&nbsp;<?php the_time('F'); ?><?php } ?>
  13. <?php if (function_exists('is_tag')) { if ( is_tag() ) { ?><?php bloginfo('name'); ?>&nbsp;|&nbsp;<?php _e('Tag Archive', 'woothemes'); ?>&nbsp;|&nbsp;<?php  single_tag_title("", true); } } ?>
  14. </title>
  15.    
  16. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  17. <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  18. <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('woo_feedburner_url') <> "" ) { echo get_option('woo_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url'); } ?>" />
  19. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  20.    
  21. <!--[if IE 6]>
  22. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/pngfix.js"></script>
  23. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/includes/js/menu.js"></script>
  24. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/ie6.css" />
  25. <![endif]-->   
  26.  
  27. <!--[if IE 7]>
  28. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/css/ie7.css" />
  29. <![endif]-->
  30.    
  31. <?php if ( is_single() ) wp_enqueue_script( 'comment-reply' ); ?>
  32. <?php wp_head(); ?>
  33.  
  34. <!--[if lte IE 7]>
  35. <script type="text/javascript">
  36. jQuery(function() {
  37.     var zIndexNumber = 1000;
  38.     jQuery('div').each(function() {
  39.         jQuery(this).css('zIndex', zIndexNumber);
  40.         zIndexNumber -= 10;
  41.     });
  42. });
  43. </script>
  44. <![endif]-->
  45.  
  46. <script type="text/javascript">
  47. jQuery(window).load(function(){
  48.     jQuery("#loopedSlider").loopedSlider({
  49.     <?php
  50.         $autoStart = 0;
  51.         $slidespeed = 600;
  52.         if ( get_option("woo_slider_auto") == "true" )
  53.            $autoStart = get_option("woo_slider_interval") * 1000;
  54.         else
  55.            $autoStart = 0;
  56.         if ( get_option("woo_slider_speed") <> "" )
  57.             $slidespeed = get_option("woo_slider_speed") * 1000;
  58.     ?>
  59.         autoStart: <?php echo $autoStart; ?>,
  60.         slidespeed: <?php echo $slidespeed; ?>,
  61.         autoHeight: true
  62.     });
  63. });
  64. </script>
  65.  
  66. </head>
  67.  
  68. <?php woo_globals(); // Set global variables ?>
  69.  
  70. <body>
  71.  
  72. <div id="container">
  73.        
  74.     <div id="top">
  75.    
  76.         <?php if ( get_option('woo_nav_top') == "true" ) include( TEMPLATEPATH . '/includes/page-nav.php' ); ?>
  77.  
  78.         <div id="header" class="col-full">
  79.        
  80.             <div id="logo">
  81.                
  82.                 <a href="<?php bloginfo('url'); ?>" title="<?php bloginfo('description'); ?>"><img class="title" src="<?php if ( get_option('woo_logo') <> "" ) { echo get_option('woo_logo'); } else { bloginfo('template_directory'); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a>
  83.                
  84.                 <?php if(is_single() || is_page()) : ?>
  85.                     <span class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></span>
  86.                 <?php else: ?>
  87.                     <h1 class="site-title"><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
  88.                 <?php endif; ?>
  89.                
  90.                     <span class="site-description"><?php bloginfo('description'); ?></span>
  91.                
  92.             </div><!-- /#logo -->
  93.                
  94.             <?php if (get_option('woo_ad_top') == "true") { ?>
  95.             <div id="topad">
  96.                 <?php include (TEMPLATEPATH . "/ads/top_ad.php"); ?>
  97.             </div><!-- /#topad -->
  98.             <?php } elseif (get_option('woo_twitter')) { ?>
  99.             <div id="twitter-top">
  100.                 <div class="logo">
  101.                     <a href="http://www.twitter.com/<?php echo get_option('woo_twitter'); ?>" title="<?php _e('Follow on Twitter', 'woothemes'); ?>"><img src="<?php bloginfo('template_directory'); ?>/images/ico-twitter.png" alt="<?php _e('Twitter', 'woothemes'); ?>" /></a>                
  102.                 </div>
  103.                 <div class="tweet">
  104.                     <ul id="twitter_update_list"><li></li></ul>
  105.                 </div>
  106.             </div><!-- /#topad -->
  107.             <?php } ?>
  108.                        
  109.         </div><!-- /#header -->
  110.        
  111.         <div id="navigation">
  112.        
  113.             <?php if ( get_option('woo_nav_top') <> "true" ) include( TEMPLATEPATH . '/includes/page-nav.php' ); ?>
  114.                        
  115.             <div id="cat-nav">
  116.                 <div class="col-full">
  117.                     <ul id="secnav" class="fl">
  118.                         <?php foreach ( (get_categories('hide_empty=0&exclude='.get_option('woo_nav_exclude') ) ) as $category ) { if ( $category->category_parent == '0' ) { ?>      
  119.                         <li>
  120.                             <a href="<?php echo get_category_link($category->cat_ID); ?>"><?php echo $category->cat_name; ?><?php if ( $GLOBALS[desc] ) { ?><br/><span><?php echo $category->category_description; ?></span><?php } ?></a>
  121.                            
  122.                             <?php if (get_category_children($category->cat_ID) ) { ?>
  123.                             <ul><?php wp_list_categories('title_li&child_of=' . $category->cat_ID ); ?></ul>
  124.                             <?php } ?>
  125.                         </li>        
  126.                         <?php } } ?>
  127.                     </ul><!-- /#nav2 -->
  128.                    
  129.                     <?php if ( get_option('woo_search_disable') <> "true" ) : ?>
  130.                     <div id="search" class="fr">
  131.                         <form method="get" id="searchform" action="<?php bloginfo('url'); ?>">
  132.                             <input type="text" class="field" name="s" id="s"  value="<?php _e('Enter keywords...', 'woothemes') ?>" onfocus="if (this.value == '<?php _e('Enter keywords...', 'woothemes') ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _e('Enter keywords...', 'woothemes') ?>';}" />
  133.                             <input class="submit btn" type="image" src="<?php bloginfo('template_directory'); ?>/images/ico-search.png" value="Go" />
  134.                         </form>
  135.                     </div><!-- /#search -->
  136.                     <?php endif; ?>
  137.                 </div><!-- /.col-full -->
  138.             </div><!-- /#cat-nav -->
  139.            
  140.         </div><!-- /#navigation -->
  141.    
  142.     </div><!--/#top-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement