Guest User

Untitled

a guest
Jan 24th, 2013
118
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?> class="no-js">
  3. <head>
  4. <meta charset=<?php bloginfo('charset'); ?> />
  5. <title><?php bloginfo('name'); ?> | <?php is_home() || is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <?php require(ghostpool_inc . 'options.php'); ?>
  8. <?php require(ghostpool_inc . 'page-styling.php'); ?>
  9. <?php wp_head(); ?>
  10. </head>
  11.  
  12. <!--[if !IE]><!-->
  13. <body <?php body_class($gp_settings['browser'].' '.$gp_settings['layout'].' '.$gp_settings['padding'].' '.$gp_settings['frame'].' '.$gp_settings['skin']); ?>>
  14.  
  15. <div id="fb-root"></div>
  16. <script>(function(d, s, id) {
  17. var js, fjs = d.getElementsByTagName(s)[0];
  18. if (d.getElementById(id)) return;
  19. js = d.createElement(s); js.id = id;
  20. js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  21. fjs.parentNode.insertBefore(js, fjs);
  22. }(document, 'script', 'facebook-jssdk'));</script>
  23.  
  24.  
  25. <!--<![endif]-->
  26. <!--[if gt IE 8]>
  27. <body <?php body_class('ie9 '.$gp_settings['browser'].' '.$gp_settings['layout'].' '.$gp_settings['padding'].' '.$gp_settings['frame'].' '.$gp_settings['skin']); ?>>
  28. <![endif]-->
  29. <!--[if lt IE 9]>
  30. <body <?php body_class('ie8 '.$gp_settings['browser'].' '.$gp_settings['layout'].' '.$gp_settings['padding'].' '.$gp_settings['frame'].' '.$gp_settings['skin']); ?>>
  31. <![endif]-->
  32.  
  33. <?php global $gp_settings; ?>
  34.  
  35.  
  36. <!-- BEGIN HEADER OUTER -->
  37.  
  38. <div id="header-outer" class="page-outer">
  39.  
  40.  
  41. <!-- BEGIN PAGE INNER -->
  42.  
  43. <div class="page-inner">
  44.  
  45.  
  46. <!-- BEGIN LOGIN/REGISTER LINKS -->
  47.  
  48. <?php if($theme_bp_links == "0" && function_exists('bp_is_active')) { ?>
  49.  
  50. <div id="bp-links">
  51.  
  52. <?php if(is_user_logged_in()) { ?>
  53.  
  54. <a href="<?php echo wp_logout_url(esc_url($_SERVER['REQUEST_URI'])); ?>" class="bp-logout-link"><?php _e('Logout', 'gp_lang'); ?></a>
  55.  
  56. <?php } else { ?>
  57.  
  58. <a href="<?php if($theme_login_url) { echo $theme_login_url; } else { echo wp_login_url(); } ?>" class="bp-login-link"><?php _e('Login', 'gp_lang'); ?></a>
  59.  
  60. <?php if(bp_get_signup_allowed()) { ?><a href="<?php echo bp_get_signup_page(false); ?>" class="bp-register-link"><?php _e('Register', 'gp_lang'); ?></a><?php } ?>
  61.  
  62. <?php } ?>
  63.  
  64. </div>
  65.  
  66. <div class="clear"></div>
  67.  
  68. <?php } ?>
  69.  
  70. <!-- END LOGIN/REGISTER LINKS -->
  71.  
  72.  
  73. <!-- BEGIN HEADER INNER -->
  74.  
  75. <div id="header-inner">
  76.  
  77.  
  78. <!-- BEGIN HEADER LEFT -->
  79.  
  80. <div id="header-left">
  81.  
  82.  
  83. <!-- BEGIN LOGO -->
  84.  
  85. <<?php if(is_home() OR is_front_page()) { ?>h1<?php } else { ?>div<?php } ?> id="logo" style="<?php if($theme_logo_top) { ?> margin-top: <?php echo $theme_logo_top; ?>px;<?php } ?><?php if($theme_logo_left) { ?> margin-left: <?php echo $theme_logo_left; ?>px;<?php } ?><?php if($theme_logo_bottom) { ?> margin-bottom: <?php echo $theme_logo_bottom; ?>px;<?php } ?>">
  86.  
  87. <span class="logo-details"><?php bloginfo('name'); ?> | <?php is_home() || is_front_page() ? bloginfo('description') : wp_title(''); ?></span>
  88.  
  89. <?php if($theme_logo) { ?><a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php echo($theme_logo); ?>" alt="<?php bloginfo('name'); ?>" /></a><?php } else { ?><a href="<?php echo home_url(); ?>" title="<?php bloginfo('name'); ?>"><span class="default-logo"></span></a><?php } ?>
  90.  
  91. </<?php if(is_home() OR is_front_page()) { ?>h1<?php } else { ?>div<?php } ?>>
  92.  
  93. <!-- END LOGO -->
  94.  
  95.  
  96. </div>
  97.  
  98. <!-- END HEADER LEFT -->
  99.  
  100.  
  101. <!-- BEGIN CONTACT INFO -->
  102.  
  103. <?php if($theme_contact_info) { ?>
  104. <div id="contact-info">
  105. <?php echo do_shortcode(stripslashes($theme_contact_info)); ?>
  106. </div>
  107. <?php } ?>
  108.  
  109. <!-- END CONTACT INFO -->
  110.  
  111.  
  112. <!-- BEGIN HEADER RIGHT -->
  113.  
  114. <div id="header-right">
  115.  
  116.  
  117. <!-- BEGIN NAV -->
  118.  
  119. <div id="nav">
  120.  
  121. <?php wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&fallback_cb=null'); ?>
  122.  
  123. <?php wp_nav_menu(array('theme_location' => 'header-nav', 'walker' => new gp_mobile_menu(), 'items_wrap' => '<select class="mobile-menu">%3$s</select>', 'container' => '', 'menu_class' => 'mobile-menu', 'sort_column' => 'menu_order', 'fallback_cb' => 'null')); ?>
  124.  
  125.  
  126. <!-- BEGIN SOCIAL ICONS -->
  127.  
  128. <span id="social-icons">
  129.  
  130. <?php if($theme_rss_button == "1") {} else { ?><a href="<?php if($theme_rss) { ?><?php echo($theme_rss); ?><?php } else { ?><?php bloginfo('rss2_url'); ?><?php } ?>" class="rss-icon" title="<?php _e('RSS Feed', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  131.  
  132. <?php if($theme_twitter) { ?><a href="<?php echo $theme_twitter; ?>" class="twitter-icon" title="<?php _e('Twitter', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  133.  
  134. <?php if($theme_facebook) { ?><a href="<?php echo $theme_facebook; ?>" class="facebook-icon" title="<?php _e('Facebook', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  135.  
  136. <?php if($theme_digg) { ?><a href="<?php echo $theme_digg; ?>" class="digg-icon" title="<?php _e('Digg', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  137.  
  138. <?php if($theme_delicious) { ?><a href="<?php echo $theme_delicious; ?>" class="delicious-icon" title="<?php _e('Delicious', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  139.  
  140. <?php if($theme_dribbble) { ?><a href="<?php echo $theme_dribbble; ?>" class="dribbble-icon" title="<?php _e('Dribbble', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  141.  
  142. <?php if($theme_youtube) { ?><a href="<?php echo $theme_youtube; ?>" class="youtube-icon" title="<?php _e('YouTube', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  143.  
  144. <?php if($theme_vimeo) { ?><a href="<?php echo $theme_vimeo; ?>" class="vimeo-icon" title="<?php _e('Vimeo', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  145.  
  146. <?php if($theme_linkedin) { ?><a href="<?php echo $theme_linkedin; ?>" class="linkedin-icon" title="<?php _e('LinkedIn', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  147.  
  148. <?php if($theme_googleplus) { ?><a href="<?php echo $theme_googleplus; ?>" class="googleplus-icon" title="<?php _e('Google+', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  149.  
  150. <?php if($theme_myspace) { ?><a href="<?php echo $theme_myspace; ?>" class="myspace-icon" title="<?php _e('MySpace', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  151.  
  152. <?php if($theme_flickr) { ?><a href="<?php echo $theme_flickr; ?>" class="flickr-icon" title="<?php _e('Flickr', 'gp_lang'); ?>" rel="nofollow" target="_blank"></a><?php } ?>
  153.  
  154. <?php echo stripslashes($theme_additional_social_icons); ?>
  155.  
  156. </span>
  157.  
  158. <!-- END SOCIAL ICONS -->
  159.  
  160.  
  161. </div>
  162.  
  163. <!-- END NAV -->
  164.  
  165.  
  166. </div>
  167.  
  168. <!-- BEGIN HEADER RIGHT -->
  169.  
  170.  
  171. <!-- BEGIN TOP CONTENT -->
  172.  
  173. <?php if($gp_settings['top_content_panel'] == "Show") { ?>
  174.  
  175. <div id="top-content" class="<?php if(get_post_meta($post->ID, 'ghostpool_top_content', true)) { ?> top-content-stripes<?php } ?><?php if($gp_settings['title'] == "Show") { ?> page-title-width<?php } ?>">
  176.  
  177.  
  178. <!-- BEGIN TOP CONTENT LEFT -->
  179.  
  180. <?php if($gp_settings['title'] == "Show") { ?>
  181.  
  182.  
  183. <div class="left">
  184.  
  185.  
  186. <!-- BEGIN TITLE -->
  187.  
  188. <h1 class="page-title">
  189. <?php if(is_single() OR is_page()) { ?>
  190. <?php the_title(); ?>
  191. <?php } elseif(is_search()) { ?>
  192. <?php echo $wp_query->found_posts; ?> <?php _e('search results for', 'gp_lang'); ?> "<?php echo esc_html($s); ?>"
  193. <?php } elseif(is_category()) { ?>
  194. <?php single_cat_title(); ?>
  195. <?php } elseif(is_tag()) { ?>
  196. <?php single_tag_title(); ?>
  197. <?php } elseif(is_author()) { ?>
  198. <?php wp_title(''); ?><?php _e('\'s Posts'); ?>
  199. <?php } elseif(is_404()) { ?>
  200. <?php _e('Page Not Found', 'gp_lang'); ?>
  201. <?php } elseif(function_exists('is_bbpress') && is_bbpress()) { ?>
  202. <?php wp_title(''); ?>
  203. <?php } elseif(is_archive()) { ?>
  204. <?php _e('Archives', 'gp_lang'); ?> <?php wp_title(' / '); ?>
  205. <?php } ?>
  206. </h1>
  207.  
  208. <!-- END TITLE -->
  209.  
  210.  
  211. <!-- BEGIN POST META -->
  212.  
  213. <?php if(is_singular() && ($gp_settings['meta_date'] == "0" OR $gp_settings['meta_author'] == "0" OR $gp_settings['meta_cats'] == "0" OR $gp_settings['meta_comments'] == "0")) { ?>
  214. <div class="post-meta">
  215. <?php if($gp_settings['meta_author'] == "0") { ?><span class="author-icon"><a href="<?php echo get_author_posts_url($post->post_author); ?>"><?php the_author_meta('display_name', $post->post_author); ?></a></span><?php } ?>
  216. <?php if($gp_settings['meta_date'] == "0") { ?><span class="clock-icon"><?php the_time(get_option('date_format')); ?></span><?php } ?>
  217. <?php if($gp_settings['meta_cats'] == "0") { ?><span class="folder-icon"><?php the_category(', '); ?></span><?php } ?>
  218. <?php if($gp_settings['meta_comments'] == "0" && 'open' == $post->comment_status) { ?><span class="speech-icon"><?php comments_popup_link(__('0', 'gp_lang'), __('1', 'gp_lang'), __('%', 'gp_lang'), 'comments-link', ''); ?></span><?php } ?>
  219. </div>
  220. <?php } ?>
  221.  
  222. <!-- END POST META -->
  223.  
  224.  
  225. </div>
  226.  
  227.  
  228. <?php } ?>
  229.  
  230. <!-- END TOP CONTENT LEFT -->
  231.  
  232.  
  233. <!-- BEGIN TOP CONTENT RIGHT -->
  234.  
  235. <?php if($gp_settings['search'] == "Show" OR $gp_settings['breadcrumbs'] == "Show") { ?>
  236.  
  237.  
  238. <div class="right">
  239.  
  240.  
  241. <!-- BEGIN SEARCH FORM -->
  242.  
  243. <?php if($gp_settings['search'] == "Show") { ?>
  244.  
  245. <?php if(function_exists('bp_is_active')) { ?>
  246.  
  247. <form action="<?php echo bp_search_form_action(); ?>" method="post" id="searchform" class="bp-searchform">
  248. <input type="text" id="searchbar" name="search-terms" value="<?php echo isset( $_REQUEST['s'] ) ? esc_attr( $_REQUEST['s'] ) : ''; ?>" />
  249. <?php echo bp_search_form_type_select(); ?>
  250. <input type="submit" name="searchsubmit" id="searchsubmit" value="<?php _e( 'Search', 'buddypress' ); ?>" />
  251. <?php wp_nonce_field( 'bp_search_form' ); ?>
  252. </form>
  253.  
  254. <?php } else { ?>
  255.  
  256. <?php get_search_form(); ?>
  257.  
  258. <?php } ?>
  259.  
  260. <?php } ?>
  261.  
  262. <!-- END SEARCH FORM -->
  263.  
  264.  
  265. <!-- BEGIN BREADCRUMBS -->
  266.  
  267. <?php if($gp_settings['breadcrumbs'] == "Show") { ?>
  268. <div id="breadcrumbs"><?php echo the_breadcrumb(); ?></div>
  269. <?php } ?>
  270.  
  271. <!-- END BREADCRUMBS -->
  272.  
  273.  
  274. </div>
  275.  
  276.  
  277. <?php } ?>
  278.  
  279. <!-- END TOP CONTENT RIGHT -->
  280.  
  281.  
  282. <div class="clear"></div>
  283.  
  284.  
  285. <?php echo stripslashes(do_shortcode(get_post_meta($post->ID, 'ghostpool_top_content', true))); ?>
  286.  
  287.  
  288. </div>
  289.  
  290. <?php } ?>
  291.  
  292. <!-- END TOP CONTENT -->
  293.  
  294.  
  295. <div class="clear"></div>
  296.  
  297. </div>
  298.  
  299. <!-- BEGIN HEADER INNER -->
  300.  
  301.  
  302. </div>
  303.  
  304.  
  305. </div>
  306.  
  307. <!-- END HEADER OUTER -->
  308.  
  309.  
  310. <!-- BEGIN PAGE OUTER -->
  311.  
  312. <div class="page-outer">
  313.  
  314.  
  315. <!-- BEGIN PAGE INNER -->
  316.  
  317. <div class="page-inner">
  318.  
  319.  
  320. <!-- BEGIN CONTENT WRAPPER -->
  321.  
  322. <div id="content-wrapper">
RAW Paste Data