Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 16th, 2012  |  syntax: None  |  size: 4.09 KB  |  views: 12  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3.  * The Header for our theme.
  4.  */
  5.   $settings = get_option( "ntl_theme_settings" );
  6. ?>
  7.  
  8. <!DOCTYPE html>
  9. <html <?php language_attributes(); ?>>
  10. <head>
  11. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  12. <title><?php wp_title(); ?></title>
  13. <link rel="profile" href="http://gmpg.org/xfn/11" />
  14. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  15. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  16. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/musicstyles/musicplayer.css" />
  17. <link class="schanger" rel="stylesheet"  href="<?php echo get_template_directory_uri(); ?>/styles/<?php echo $settings['ntl_theme_bg']; ?>.css" type="text/css" />
  18.  
  19.  
  20. <?php if ($settings['ntl_disable_audio'] != 'off') { ?>
  21. <style type="text/css">
  22.         div.innertab { background:#333; opacity:0.15; filter:alpha(opacity=15); }
  23.         span.mp3-finding, span.mp3-loading { opacity:1; filter:alpha(opacity=100); }
  24.         div.img_mp3j a:hover img { border-color:#34A2D9; }
  25.         span.mp3j-link-play, span.textbutton_mp3j:hover, div.transport-MI div { color:#768D99; }
  26.         span.mp3j-link-play:hover, span.textbutton_mp3j, div.transport-MI div:hover { color:#34A2D9; }
  27. </style>
  28.  
  29. <script type="text/javascript"><!--
  30.         var foxPP_indicator_tint = '#5CC9FF';
  31.         var foxPP_screentext = '#525252';
  32.         var foxPP_playlist_img = 'url("<?php echo get_template_directory_uri(); ?>/images/pl-darken1.png") repeat-x left 0px';
  33.         var foxPP_playlist_colour = '#fafafa';
  34.         var foxPP_playlist_opac = '1';
  35.         var foxPP_playlist_text = '#525252';
  36.         var foxPP_playlist_current = '#34A2D9';
  37.         var foxPP_playlist_hover = '#768D99';
  38.         var foxPP_playlist_divider = 'transparent; background-image:none';
  39.         var foxPP_screen_background = '#333';
  40.         var foxPP_screen_opac = '0.15';
  41.         var foxPP_loader_bar_colour = '#34A2D9';
  42.         var foxPP_loader_bar_opac = '0.7';
  43.         var foxPP_posbar_colour = '#5CC9FF url("<?php echo get_template_directory_uri(); ?>/images/posbar-darken2-2.png") repeat-y right top';
  44.         var foxPP_posbar_opac = '1';
  45.         var foxPP_listBGa_hover = 'transparent ';
  46.         var foxPP_listBGa_current = 'transparent url("<?php echo get_template_directory_uri(); ?>/images/t40w.png") repeat';
  47. //-->
  48. </script>
  49. <script type="text/javascript"><!--
  50.         var popup_width = 450;
  51.         var silence_mp3 = "<?php echo get_template_directory_uri(); ?>/media/silence.mp3";
  52.         var foxPP_bodycolour = "#fff";
  53.         var foxPP_bodyimg = ""; var
  54.         foxPP_stylesheet = "<?php echo get_template_directory_uri(); ?>/musicstyles/player.css";
  55.         var foxPP_fixedcss = "false";
  56.         var popup_maxheight = "600";
  57. //-->
  58. </script>
  59. <?php } ?>
  60.  
  61. <?php
  62. if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
  63. wp_enqueue_script( 'jquery' );
  64. ?>
  65.  
  66. <?php
  67. wp_head();
  68. ?>
  69.  
  70.  
  71. <?php if ($settings['ntl_disable_audio'] != 'off') { ?>
  72. <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery.jplayer.min.js"></script>
  73. <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jfunc.js"></script>
  74. <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jplay.js"></script>
  75. <?php } ?>
  76.  
  77. </head>
  78.  
  79.  
  80. <body <?php body_class(); ?> >
  81.        
  82.        
  83.         <!-- Adding the background image -->
  84.         <?php echo cp_get_bgimg(); ?>
  85.        
  86.        
  87.         <!-- Adding the menu & logo -->
  88.         <div class="mainlogo timerhide">
  89.                 <div class="container clear">
  90.                         <div id="access" role="navigation">
  91.                         <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) );  ?>
  92.                         </div>
  93.                         <a class="logo" href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img class="logoimg" src="<?php echo $settings['ntl_theme_logo']; ?>"></a>    
  94.                 </div> 
  95.         </div> 
  96.        
  97.        
  98.        
  99.         <!-- Getting the slideshow above the menu -->
  100.        
  101.         <?php if ($settings['ntl_slide_type'] == 'content') { ?>
  102.         <!-- Netlabs functions for adding the slideshow -->
  103.         <?php if (is_home()){ ?>
  104.         <div class="container clear slidecontainer">
  105.                         <?php lets_get_slideshow(); ?>
  106.                        
  107.         </div>
  108.         <?php } } ?>
clone this paste RAW Paste Data