Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- global $options;
- foreach ($options as $value) {
- if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); }
- }
- ?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
- <head profile="http://gmpg.org/xfn/11">
- <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <?php if (strlen($wpzoom_misc_favicon) > 1 ) { ?><link rel="shortcut icon" href="<?php echo "$wpzoom_misc_favicon";?>" type="image/x-icon" /><?php } ?>
- <title><?php if ($wpzoom_seo_enable == 'Enable') { wpzoom_titles(); } else { wp_title('-'); echo ' | '; bloginfo('name'); } ?></title>
- <meta http-equiv="content-type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
- <?php if ($wpzoom_seo_enable == 'Enable') {
- if (is_single() || is_page() ) : if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
- <meta name="description" content="<?php echo strip_tags(get_the_excerpt()); ?>" />
- <?php meta_post_keywords(); ?>
- <?php endwhile; endif; elseif(is_home()) : ?>
- <meta name="description" content="<?php if (strlen($wpzoom_meta_desc) < 1) { bloginfo('description');} else {echo"$wpzoom_meta_desc";}?>" />
- <?php meta_home_keywords(); ?>
- <?php endif; ?>
- <?php wpzoom_index(); ?>
- <?php wpzoom_canonical(); } ?>
- <link rel="stylesheet" type="text/css" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
- <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/custom.css" media="screen" />
- <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php if (strlen($wpzoom_misc_feedburner) < 10) { bloginfo('rss2_url');} else {echo"$wpzoom_misc_feedburner";} ?>" />
- <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
- <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
- <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
- <?php wp_enqueue_script('jquery'); ?>
- <?php wp_head(); ?>
- <script type='text/javascript'>
- jQuery(document).ready(function() {
- jQuery("#menuhead ul").css({display: "none"}); // Opera Fix
- jQuery("#menuhead li").hover(function(){
- jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(268);
- },function(){
- jQuery(this).find('ul:first').css({visibility: "hidden"});
- });
- });
- </script>
- <script src="<?php bloginfo('template_directory'); ?>/js/jquery.slider.js" type="text/javascript"></script>
- <script src="<?php bloginfo('template_directory'); ?>/js/tabs.js" type="text/javascript"></script>
- </head>
- <body <?php body_class(); ?>>
- <div id="wrap">
- <div id="preheader">
- <div class="wrap">
- <div id="social">
- <ul>
- <?php if (strlen($wpzoom_misc_twitter) > 1) { ?><li><a href="http://twitter.com/<?php echo $wpzoom_misc_twitter; ?>"><img src="<?php bloginfo('template_directory'); ?>/images/icon_twitter.png" alt="" /> Follow on Twitter</a></li><?php } ?>
- <li><a href="<?php bloginfo('rss2_url');?>" rel="nofollow"><img src="<?php bloginfo('template_directory'); ?>/images/icon_rss.png" alt="" />Subscribe by RSS</a></li>
- </ul>
- </div>
- <div id="nav1">
- <?php wp_nav_menu( array('container' => '', 'container_class' => '', 'menu_class' => '', 'depth' => '1', 'menu_id' => '', 'sort_column' => 'menu_order', 'theme_location' => 'helpful' ) ); ?>
- </div>
- <div class="clear"> </div>
- </div><!-- end .wrap -->
- </div><!-- end #preheader -->
- <div id="header">
- <div class="wrap">
- <div id="logo"><a href="<?php echo get_option('home'); ?>"><?php if ($wpzoom_misc_logo_path) { ?><img src="<?php echo "$wpzoom_misc_logo_path";?>" alt="<?php bloginfo('name'); ?>" /><?php } else { ?><img src="<?php bloginfo('template_directory'); ?>/images/logo.png" alt="<?php bloginfo('name'); ?>" /><?php } ?></a></div>
- <?php if ($wpzoom_ad_head_select == 'Yes') {?><div id="bannerHead"><?php echo stripslashes($wpzoom_ad_head_code); ?></div><?php } ?>
- <div class="clear"> </div>
- </div><!-- end .wrap -->
- </div><!-- end #header -->
- <div id="mainNav">
- <div class="wrap">
- <div id="search">
- <form method="get" action="<?php echo get_option('home'); ?>">
- <input type="text" name="s" id="setop" onblur="if (this.value == '') {this.value = '<?php _e('search','wpzoom');?>';}" onfocus="if (this.value == '<?php _e('search','wpzoom');?>') {this.value = '';}" value="<?php _e('search','wpzoom');?>" />
- <input type="image" src="<?php bloginfo('template_directory'); ?>/images/iconFormSearch.png" id="searchsubmittop" class="submit" />
- </form>
- </div><!-- end #search -->
- <div id="nav">
- <?php wp_nav_menu( array('container' => '', 'container_class' => '', 'menu_class' => '', 'menu_id' => 'menuhead', 'sort_column' => 'menu_order', 'theme_location' => 'primary' ) ); ?>
- </div>
- </div><!-- end .wrap -->
- </div><!-- end #mainNav -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement