Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 19th, 2011  |  syntax: None  |  size: 4.88 KB  |  hits: 76  |  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.  */
  6. ?><!DOCTYPE html>
  7. <html <?php language_attributes(); ?>>
  8. <head>
  9. <meta charset="<?php bloginfo( 'charset' ); ?>" />
  10. <title><?php wp_title(); ?></title>
  11. <meta name="description" content="<?php the_meta_description(); ?>">
  12. <link rel="profile" href="http://gmpg.org/xfn/11" />
  13. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  14. <link class="schanger" rel="stylesheet" class="changer" href="<?php echo get_template_directory_uri(); ?>/styles/<?php echo get_option('nets_colorscheme'); ?>.css" type="text/css" />
  15. <link rel="stylesheet" type="text/css" media="all" href="<?php echo get_template_directory_uri(); ?>/fancybox/jquery.fancybox-1.3.4.css" />
  16. <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
  17. <?php
  18. if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
  19. wp_enqueue_script( 'jquery' );
  20. wp_head();
  21. ?>
  22. <script src="<?php echo get_template_directory_uri(); ?>/js/audio-player.js" type="text/javascript"></script>
  23.         <script type="text/javascript">  
  24.                 AudioPlayer.setup("<?php echo get_template_directory_uri(); ?>/js/player.swf",
  25.                 {  
  26.                 width: 600,
  27.                 transparentpagebg: "yes",
  28.                 autostart: "yes",
  29.                 leftbg: "DCDACF",
  30.                 rightbg: "DCDACF",
  31.                 voltrack: "F2EEE3",
  32.                 lefticon: "<?php get_playercolor(); ?>",
  33.                 volslider: "<?php get_playercolor(); ?>",
  34.                 righticon: "<?php get_playercolor(); ?>",
  35.                 loader: "<?php get_playercolor(); ?>",
  36.                 tracker: "DCDACF",
  37.                 track: "F2F0E4",
  38.                 bg: "F2F0E4"
  39.                 });  
  40.         </script>
  41.        
  42. <?php
  43. $thevfont = str_replace(' ','+', get_option('nets_vfont'));
  44. ?>
  45. <?php if (!get_option('nets_fontcode')) { ?>
  46. <link href="http://fonts.googleapis.com/css?family=<?php echo $thevfont; ?>&v2" rel="stylesheet" type="text/css">
  47. <?php } else { echo stripslashes(get_option('nets_fontcode')); }
  48. if (!get_option('nets_fontcode')) {
  49. $familycode = get_option('nets_vfont');
  50. } else { $familycode = get_option('nets_fontfamily'); }
  51. ?>
  52.  
  53.  
  54. <style>
  55. .nextdesc, .lasthead, .caldr h3{font: 20px/27px '<?php echo $familycode; ?>', Arial, sans-serif;}
  56. .entry-title {font: 30px/60px '<?php echo $familycode; ?>', Arial, sans-serif;}
  57. .mainwelcome h1, .daydisplay h1{font: 36px/40px '<?php echo $familycode; ?>', Arial, sans-serif;}
  58. h6.day {font: 50px/40px '<?php echo $familycode; ?>', Arial, sans-serif;}
  59. .widget-title, #content .calmonth h1, .saboutpage h3, .aboutpage h3     {font: 24px/47px '<?php echo $familycode; ?>', Arial, sans-serif;}
  60. .sider .widget-title{font: 19px/22px '<?php echo $familycode; ?>', Arial, sans-serif;font-family: '<?php echo $familycode; ?>', Arial, sans-serif;}
  61. .daydisplayw h1, h6.month, h3#reply-title, h3#comments-title {font: 22px/20px '<?php echo $familycode; ?>', Arial, sans-serif;}
  62. blockquote, #content .entry-content h1, #content .entry-content h2, #content .entry-content h3, #content .entry-content h4, #content .entry-content h5, #content .entry-content h6{font-family: '<?php echo $familycode; ?>', Georgia,Arial, sans-serif;}
  63. .shortcalentry a, #content .finfo h4{font: 22px/20px '<?php echo $familycode; ?>', Arial, sans-serif;} 
  64. .dirr a{font: 18px/49px '<?php echo $familycode; ?>', Arial, sans-serif;}
  65. #content .calexplain p {font: 18px/24px '<?php echo $familycode; ?>', Arial, sans-serif;}
  66.  
  67. </style>
  68.  
  69. <!--[if IE 7.0]>
  70. <style>
  71. .micfront, .movfront {float: right; margin: -30px 20px 0 20px;cursor: pointer; }
  72. .fppostli a.postera     {height: 65px; line-height: 22px; overflow: hidden;display:block;text-decoration:none;margin-top: -20px;}
  73. </style>
  74.  <![endif]-->
  75. </head>
  76.  
  77.  
  78. <body <?php body_class(); ?> >
  79.  
  80. <div id="topbg">
  81.         <div id="access" class="container" role="navigation">
  82.                 <?php if (get_option('nets_themelogo') && get_option('nets_themelogo') != 'no image uploaded') { ?>
  83.                 <a href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img class="logoimg" src="<?php echo get_option('nets_themelogo'); ?>"></a>
  84.                 <?php } else { ?>
  85.                 <a href="<?php echo home_url(); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img class="logoimg" src="<?php echo get_template_directory_uri(); ?>/styles/<?php echo get_option('nets_colorscheme'); ?>/logo.png"></a>
  86.                 <?php } ?>
  87.                 <?php if (get_option('nets_countdown')  != 'true') { ?>
  88.                 <div class="eventd">
  89.                         <div class="nextdesc"><?php echo get_option('nets_sptnextev')?></div>
  90.                         <?php get_for_timer(); ?>
  91.                 </div>
  92.                 <?php } ?>
  93.                 <div class="clear"></div>
  94.                 <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'wp-church' ); ?>"><?php _e( 'Skip to content', 'wp-church' ); ?></a></div>
  95.                 <?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
  96.                 <div class="clear"></div>
  97.         </div>
  98. </div>