Advertisement
Guest User

header.php

a guest
Aug 8th, 2011
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.87 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  3. <head>
  4. <meta charset=<?php bloginfo('charset'); ?> />
  5. <title><?php kommiku_title('&laquo; ', true, 'right'); ?><?php bloginfo('name'); ?></title>
  6.  
  7.  
  8. <link rel="alternate" type="application/rss+xml" title="<?=$series['title']?> RSS Feed |<?php bloginfo('name'); ?>" href="<?=HTTP_HOST.get_option( "kommiku_url_feed" ).'/'.$series["slug"]; ?>" />
  9. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  10.  
  11. <?php require(ghostpool_inc . 'options.php'); ?>
  12.  
  13. <meta name="description" content="<?php if(is_single()) { ?><?php single_post_title(); ?><?php } elseif(is_page()) { ?><?php wp_title('&laquo; ', true, 'right'); ?><?php bloginfo('name'); ?><?php } else { bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php } ?>" />
  14. <?php if($theme_keywords) { ?><meta name="keywords" content="<?php echo $theme_keywords; ?>" /><?php } ?>
  15.  
  16. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/reset.css" media="screen" />
  17. <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" media="screen" />
  18. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/prettyPhoto.css" media="screen" />
  19.  
  20. <!--[if IE]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/style-ie.css" media="screen" /><![endif]-->
  21. <!--[if IE 7]><link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/style-ie7.css" media="screen" /><![endif]-->
  22.  
  23. <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
  24. <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
  25. <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
  26.  
  27. <?php if($theme_favicon_ico) { ?><link rel="icon" href="<?php echo($theme_favicon_ico); ?>" type="image/vnd.microsoft.icon" />
  28. <link rel="SHORTCUT ICON" href="<?php echo($theme_favicon_ico); ?>" /><?php } ?>
  29. <?php if($theme_favicon_png) { ?><link rel="icon" type="image/png" href="<?php echo($theme_favicon_png); ?>" /><?php } ?>
  30. <?php if($theme_apple_icon) { ?><link rel="apple-touch-icon" href="<?php echo($theme_apple_icon); ?>" /><?php } ?>
  31.  
  32. <?php require(ghostpool_inc . 'skins.php'); ?>
  33.  
  34. <?php require(ghostpool_inc . 'styling.php'); ?>
  35.  
  36. <?php if(is_singular()) wp_enqueue_script('comment-reply'); ?>
  37. <?php wp_enqueue_script("jquery"); ?>
  38. <?php wp_head(); ?>
  39.  
  40. <?php if($theme_custom_css) { ?><style><?php echo stripslashes($theme_custom_css); ?></style><?php } ?>
  41.  
  42. <script src="<?php bloginfo('template_directory'); ?>/lib/scripts/mediaplayer/jwplayer.js"></script>
  43. <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"></script>
  44. <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
  45. <script src="<?php bloginfo('template_directory'); ?>/js/jquery.cycle.all.min.js"></script>
  46. <script src="<?php bloginfo('template_directory'); ?>/js/jquery.prettyPhoto.js"></script>
  47. <script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.kwicks-1.5.1.js"></script>
  48. <script src="<?php bloginfo('template_directory'); ?>/js/custom.js"></script>
  49.  
  50. <script src="<?php bloginfo('stylesheet_directory'); ?>/js/cufon-yui.js"></script>
  51. <?php if($theme_nevis == "0") { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/nevis_700.font.js"></script><?php } ?>
  52. <?php if($theme_chunkfive) { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/ChunkFive_400.font.js"></script><?php } ?>
  53. <?php if($theme_journal) { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/Journal_400.font.js"></script><?php } ?>
  54. <?php if($theme_leaguegothic) { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/League_Gothic_400.font.js"></script><?php } ?>
  55. <?php if($theme_quicksand) { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/Quicksand_Book_400-Quicksand_Bold_700-Quicksand_Book_Oblique_oblique_400-Quicksand_Bold_Oblique_oblique_700.font.js"></script><?php } ?>
  56. <?php if($theme_sansation) { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/Sansation_400-Sansation_700.font.js"></script><?php } ?>
  57. <?php if($theme_vegur) { ?><script src="<?php bloginfo('stylesheet_directory'); ?>/js/fonts/Vegur_400-Vegur_700-Vegur_300.font.js"></script><?php } ?>
  58. <?php if(($theme_nevis == "0") OR $theme_chunkfive OR $theme_journal  OR $theme_leaguegothic OR $theme_quicksand OR $theme_sansation OR $theme_vegur) { ?>
  59. <script>Cufon.replace('h1,h2,h3,h4,h5,h6', {hover: true});
  60. Cufon.replace('.page-title,.widget h3,.caption-light h2', {hover: true, textShadow: '1px 1px white'});
  61. <?php echo stripslashes($theme_cufon_code); ?></script>
  62. <?php } ?>
  63.  
  64. <script>var rootFolder='<?php bloginfo('template_directory'); ?>';</script>
  65. <script>
  66. var expanded;
  67.             jQuery('#expand').click(function() {
  68.                 if(expanded == true) {
  69.                     $j("#theBigImage").addClass('constraintImage');
  70.                     expanded = false;
  71.                     $j("#expand").removeClass('iconResize').addClass('iconExpand');;
  72.                 } else {
  73.                     $j("#theBigImage").removeClass('constraintImage');
  74.                     expanded = true;
  75.                     $j("#expand").removeClass('iconExpand').addClass('iconResize');;
  76.                 }
  77.             });
  78. </script>
  79. <?php echo stripslashes($theme_scripts); ?>
  80.  
  81. <?php kommiku_rating_header();?>
  82.  
  83. </head>                
  84. <body class="no-js">
  85.  
  86. <script>
  87.     var el = document.getElementsByTagName("body")[0];
  88.     el.className = "";
  89. </script>
  90.  
  91. <?php if($theme_theme_options_box == "1") { require(ghostpool_inc . 'theme-options-box.php'); } ?>
  92.  
  93. <a href="#top_arrow"></a>
  94.  
  95. <div class="<?php if(function_exists('is_admin_bar_showing') && is_admin_bar_showing()) { ?>header-admin-bar<?php } ?>">
  96.  
  97.     <div id="header-background"></div>
  98.     <div id="header-border"></div>
  99.    
  100.     <div id="page-stripe"></div>
  101.  
  102. </div>
  103.  
  104. <!--Begin Page Wrapper-->
  105. <div id="page-wrapper">
  106.    
  107.     <!--Begin Header-->
  108.     <div id="header">
  109.        
  110.         <!--Begin Logo-->
  111.         <div id="logo">
  112.            
  113.             <?php if($theme_custom_logo_text) { ?><h1><a href="<?php bloginfo('url'); ?>"><?php echo $theme_custom_logo_text; ?></a></h1><?php } else { ?><?php if($theme_custom_logo) { ?><a href="<?php bloginfo('url'); ?>"><img src="<?php echo($theme_custom_logo); ?>"></a><?php } else { ?><a href="<?php bloginfo('url'); ?>"><span></span></a><?php } ?><?php } ?>
  114.  
  115.         </div>
  116.         <!--End Logo-->
  117.  
  118.         <!--Begin Header Widget-->
  119.         <?php if(is_active_sidebar('header')) { ?>
  120.             <div id="header-widget">
  121.                 <?php dynamic_sidebar('header'); ?>
  122.             </div>
  123.         <?php } ?>
  124.         <!--End Header Widget-->
  125.                
  126.     </div> 
  127.     <!--End Header-->
  128.            
  129.     <div class="clear"></div>
  130.            
  131.     <!--Begin Nav-->
  132.     <div id="nav">
  133.        
  134.         <?php wp_nav_menu('sort_column=menu_order&container=ul&theme_location=header-nav&fallback_cb=null'); ?>
  135.        
  136.         <?php if($theme_search_form == "1") {} else { get_search_form(); } ?>
  137.        
  138.     </div>
  139.     <!--End Nav-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement