Advertisement
Guest User

Untitled

a guest
Mar 14th, 2011
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 5.97 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" <?php language_attributes(); ?>>
  3. <head profile="http://gmpg.org/xfn/11">
  4. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  5.  
  6. <!-- Meta Images -->
  7. <?php if(pagelines('favicon')):?><link rel="shortcut icon" href="<?php echo pagelines('favicon');?>" type="image/x-icon" /><?php endif;?>
  8. <?php if(pagelines('touchicon')):?><link rel="apple-touch-icon" href="<?php echo pagelines('touchicon');?>" /><?php endif;?>
  9. <meta name="google-site-verification" content="nXTZBPb3t3Z_QGo0DhJypaixr2GxApm6mVmm6hzF2Rw" />
  10.  
  11. <script type="text/javascript">
  12.  
  13. var _gaq = _gaq || [];
  14. _gaq.push(['_setAccount', 'UA-10789995-2']);
  15. _gaq.push(['_trackPageview']);
  16.  
  17. (function() {
  18. var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  19. ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  20. var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  21. })();
  22.  
  23. </script>
  24.  
  25. <!-- Title and External Script Integration -->
  26. <?php
  27. global $bbpress_forum;
  28. if($bbpress_forum ):?>
  29. <title><?php bb_title() ?></title>
  30. <?php bb_feed_head(); ?>
  31. <?php bb_head(); ?>
  32. <link rel="stylesheet" href="<?php bb_stylesheet_uri(); ?>" type="text/css" />
  33. <?php else:?>
  34. <title><?php if(is_front_page()) { echo SITENAME; } else { wp_title(''); } ?></title>
  35. <?php endif;?>
  36.  
  37. <!-- WordPress Stuff -->
  38. <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats -->
  39. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  40. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  41. <?php if ( is_single() || is_page()) wp_enqueue_script( 'comment-reply' ); ?> <!-- This makes the comment box appear where the ‘reply to this comment’ link is -->
  42. <?php wp_enqueue_script("jquery"); ?>
  43. <?php wp_head(); ?>
  44.  
  45. <!-- Stylesheets -->
  46. <link rel="stylesheet" href="<?php echo CORE_CSS.'/reset.css';?>" type="text/css" media="screen" />
  47. <link rel="stylesheet" href="<?php echo CORE_CSS.'/wp_core.css';?>" type="text/css" media="screen" />
  48. <link rel="stylesheet" href="<?php echo THEME_ROOT.'/style.css';?>" type="text/css" media="screen" />
  49.  
  50. <?php if(VPRO):?><link rel="stylesheet" href="<?php echo PRO_CSS.'/pro.css';?>" type="text/css" media="screen" />
  51. <?php endif; ?>
  52.  
  53. <?php if(VPRO && pagelines('colorscheme', $post->ID) == 'black'):?><link rel="stylesheet" href="<?php echo PRO_CSS.'/color_black.css';?>" type="text/css" media="screen" /><?php endif;?>
  54. <?php if(VPRO && pagelines('colorscheme', $post->ID) == 'green'):?><link rel="stylesheet" href="<?php echo PRO_CSS.'/color_green.css';?>" type="text/css" media="screen" /><?php endif;?>
  55. <?php if(VPRO && pagelines('colorscheme', $post->ID) == 'orange'):?><link rel="stylesheet" href="<?php echo PRO_CSS.'/color_orange.css';?>" type="text/css" media="screen" /><?php endif;?>
  56. <?php if(VPRO && pagelines('colorscheme', $post->ID) == 'red'):?><link rel="stylesheet" href="<?php echo
  57. PRO_CSS.'/color_red.css';?>" type="text/css" media="screen" /><?php endif;?>
  58.  
  59. <!-- Modules w/ Javascript -->
  60. <?php if((is_page_template('page-carousel.php') || is_page_template('page-carousel-full.php')) && VPRO) include (CORE_INITS.'/init_carousel.php');?>
  61.  
  62. <?php if((is_page_template('page-feature.php') || is_page_template('page-feature-page.php') || (is_home() && pagelines('featureblog'))) && VPRO) include (CORE_INITS.'/init_feature.php');?>
  63.  
  64. <?php if(pagelines('enable_drop_down') && VPRO) include (CORE_INITS.'/init_dropdown.php');?>
  65.  
  66. <?php if(DEMO) include(THEME_LIB.'/init_picker.php');?>
  67.  
  68. <?php include (THEME_LIB.'/_ie_fixes.php'); ?>
  69. <?php include (THEME_LIB.'/_customcss.php'); ?>
  70.  
  71. <!-- Font Replacement -->
  72. <?php if(VPRO) include(THEME_LIB.'/_font_replacement.php');?>
  73. <?php if (pagelines('headerscripts')) echo pagelines('headerscripts');?>
  74. </head>
  75. <body <?php body_class(); ?>>
  76. <?php if (pagelines('asynch_analytics')) echo pagelines('asynch_analytics');?>
  77. <div id="site">
  78. <div id="wrapper">
  79. <?php if(DEMO) include(LIB.'/_picker.php');?>
  80.  
  81. <div id="header" class="fix">
  82. <div class="content fix">
  83. <div class="headline">
  84. <?php if(pagelines('custom_header')):?>
  85. /" title="<?php bloginfo('name');?>"><img src="<?php echo pagelines('custom_header');?>" alt="<?php bloginfo('name');?>" />
  86. <?php else:?>
  87. <h1 class="site-title">/" title="<?php _e('Home',TDOMAIN);?>"><?php bloginfo('name');?></h1>
  88. <h6 class="site-description"><?php bloginfo('description');?></h6>
  89. <?php endif;?>
  90. </div>
  91. <div class="icons">
  92.  
  93. <?php if(pagelines('rsslink')):?>
  94. " class="rsslink">
  95. <?php endif;?>
  96.  
  97. <?php if(VPRO):?>
  98. <?php if(pagelines('twitterlink')):?>
  99. " class="twitterlink">
  100. <?php endif;?>
  101. <?php if(pagelines('facebooklink')):?>
  102. " class="facebooklink">
  103. <?php endif;?>
  104. <?php if(pagelines('linkedinlink')):?>
  105. " class="linkedinlink">
  106. <?php endif;?>
  107. <?php if(pagelines('youtubelink')):?>
  108. " class="youtubelink">
  109. <?php endif;?>
  110. <?php endif;?>
  111.  
  112. </div>
  113. </div>
  114. </div>
  115. <div class="container fix <?php if(m_pagelines('sidebar_layout', $post->ID) == 'left') echo 'sidebar_left';?>">
  116. <div class="effect containershadow">
  117. <div class="effect containershadow_rpt">
  118. <div id="sitenav" class="content fix">
  119. <div id="nav" class="fix">
  120. <?php if(pagelines('enable_drop_down')):?>
  121. <ul class="dropdown clearfix">
  122. <?php else:?>
  123. <ul class="clearfix">
  124. <?php endif;?>
  125.  
  126. <li class="page_item ">/" title="<?php _e('Home',TDOMAIN);?>"><?php _e('Home',TDOMAIN);?>
  127. <?php
  128. $frontpage_id = get_option('page_on_front');
  129. if($bbpress_forum && pagelinesforum('exclude_pages')){ $forum_exclude= ','.pagelinesforum('exclude_pages');}
  130. else{ $forum_exclude = '';}
  131. wp_list_pages('exclude='.$frontpage_id.$forum_exclude.'&depth=3&title_li=');?>
  132.  
  133. </div><!-- /nav -->
  134. <div class="clear"></div>
  135. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement