Advertisement
Guest User

header.php

a guest
Sep 28th, 2011
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 7.01 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">
  3. <head>
  4. <meta http-equiv="X-UA-Compatible" content="IE=8" />
  5. <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
  6.     <meta name="author" content="" />
  7.     <meta name="keywords" content="" />
  8.     <meta name="description" content="" />
  9.     <meta name="robots" content="all" />
  10. <title><?php if (is_home()) { bloginfo('name'); ?><?php } elseif (is_category() || is_page() ||is_single()) { ?> <?php } ?><?php wp_title(''); ?></title>
  11.  
  12. <link rel="stylesheet" type="text/css" media="all" href="<?php echo bloginfo('template_url'); ?>/css/reset.css" />
  13. <link rel="stylesheet" type="text/css" media="all" href="<?php echo bloginfo('template_url'); ?>/css/960.css" />
  14.  
  15. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
  16. <?php if(get_option('favicon')) { ?>
  17. <link rel="shortcut icon" href="<?php echo get_option('favicon'); ?>" type="image/x-icon" />
  18. <?php }else{?><link rel="shortcut icon" href="<?php echo system32_url; ?>/favicon.ico" type="image/x-icon" /> <?php } ?>
  19. <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
  20. <?php wp_head(); ?>
  21.  
  22. <?php $style=get_option("perfectcolors"); if($style){ ?>
  23. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/colors/<?php echo $style; ?>" media="screen" />
  24. <?php
  25.     }
  26.     else
  27.     {
  28. ?>
  29. <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('template_directory'); ?>/colors/default.css" />
  30. <?php } ?>
  31.  
  32. <!-- JQUERY AND EASING BASE -->
  33. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery-1.4.2.min.js"></script>
  34. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.easing.js"></script>
  35.  
  36. <!-- SUPERFISH MENU -->
  37. <link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/css/superfish.css" media="screen" />
  38. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/hoverIntent.js"></script>
  39. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/superfish.js"></script>
  40. <script type="text/javascript">
  41.     // initialise plugins
  42.     jQuery(function(){
  43.         jQuery('ul.sf-menu').superfish();
  44.     });
  45. </script>
  46.  
  47. <!-- PrettyPhoto -->
  48. <link rel="stylesheet" href="<?php echo bloginfo('template_url'); ?>/css/prettyPhoto.css" type="text/css" />
  49. <script src="<?php echo bloginfo('template_url'); ?>/js/jquery.prettyPhoto.js" type="text/javascript"></script>
  50. <script type="text/javascript">
  51.         $(document).ready(function(){
  52.             $("a[rel^='prettyPhoto']").prettyPhoto({theme:'light_square'});
  53.         });
  54. </script>
  55.  
  56. <!-- COMMENTS CSS -->
  57. <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/css/comments.css" type="text/css" media="screen" />
  58.  
  59. <!-- Cufon Font Replacement -->
  60. <script src="<?php bloginfo('template_url'); ?>/js/cufon/cufon-yui.js" type="text/javascript"></script>
  61. <script src="<?php bloginfo('template_url'); ?>/js/cufon/Nobile.js" type="text/javascript"></script>
  62.  
  63. <!-- CUSTOM JS -->
  64. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/custom.js"></script>
  65.  
  66. <!-- CYCLE PLUGIN -->
  67. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jquery.cycle.all.js"></script>
  68.  
  69. <!-- JCAROUSEL CSS -->
  70. <link rel="stylesheet" type="text/css" media="all" href="<?php echo bloginfo('template_url'); ?>/css/slidercss.css" />
  71.  
  72. <!--[if IE 6]>
  73. <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/unitpngfix.js"></script>
  74. <![endif]-->
  75.  
  76.  
  77. </head>
  78. <body>
  79. <!--[if lte IE 6]><script src="sentient/ie6/js/ie6/warning.js"></script><script>window.onload=function(){e("sentient/ie6/js/ie6/")}</script><![endif]-->
  80.  
  81. <!--Topbar SCRIPT NULLED by Bryboy, Sentient Productions, 2011.
  82. <div class="topbar"></div>
  83. Topbar SCRIPT NULLED by Bryboy, Sentient Productions, 2011.-->
  84.  
  85. <!-- WRAPPER -->
  86. <div id="Wrapper">
  87.  
  88.  
  89. <!-- HEADER -->
  90. <div id="header">
  91.     <div class="container_12">
  92.         <div class="grid_7">
  93.  
  94.             <!-- LOGO -->
  95.                
  96.             <div class="logo">
  97.             <?php if(get_option('s_logo')){ ?>
  98.             <a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>">
  99.             <img src="<?php echo get_option('s_logo'); ?>" alt="<?php bloginfo('name'); ?>" />
  100.             </a>
  101.             <?php
  102.             }else { ?>
  103.             <a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>">
  104.             <img src="<?php echo bloginfo('template_url'); ?>/images/logo.png" width="215" height="65" alt="<?php bloginfo('name'); ?>" />
  105.             </a>
  106.             <?php } ?>
  107.         </div>
  108.  
  109.         </div>
  110.         <div class="grid_5">
  111.  
  112.             <!-- HEADER TOP RIGHT -->
  113.             <div class="slogan">
  114. <?php $callnow=get_option("callnow");
  115.     if($callnow) { echo $callnow; }else{ ?>
  116.                 <br>
  117.                 <br>
  118.  
  119. <?php } ?>
  120.  
  121.             </div>
  122.  
  123. <div class="social">
  124.             <ul>
  125.  
  126.  
  127. <?php
  128. // sys_social_bookmark options
  129.  
  130.  
  131.  
  132.  
  133.                             if (get_option('sys_social_bookmark') != '') {
  134.                                 $sys_social_bookmark_icons = explode('#;', get_option('sys_social_bookmark'));
  135.                                 for($i=0;$i<count($sys_social_bookmark_icons);$i++) {
  136.                                     $sys_social_bookmark_icon = explode('#|', $sys_social_bookmark_icons[$i]);
  137.                                     if ($sys_social_bookmark_icon[1] == '') {
  138.                                         $sys_social_bookmark_icon[1] = '#';
  139.                                     }
  140.                             ?>
  141.                    
  142.                 <li><a href="<?php echo($sys_social_bookmark_icon[2]); ?>" title="<?php echo($sys_social_bookmark_icon[0]); ?>"><img src="<?php bloginfo('template_url');?>/images/followus/<?php echo($sys_social_bookmark_icon[1]); ?>" alt=""  /> </a></li>
  143.  
  144.     <?php } } ?>
  145.  
  146.             </ul>
  147.    
  148.     </div>
  149. <div class="clear"></div>
  150.  
  151.         </div><!-- end grid_5-->
  152.     </div><!-- end Containter-->   
  153. </div>
  154. <!-- HEADER -->
  155.    
  156. <div class="clear"></div>
  157.  
  158. <!-- TOP MENU -->
  159. <div class="container_12">
  160.     <div id="menu"><?php
  161.             $navmenu=get_option('navmenu');
  162.             if($navmenu == "0")
  163.             {
  164.             ?>
  165.            
  166.             <?php
  167.                 /* This code retrieves all our admin options. */
  168.                 $pagestopnavigation=get_option("pagestopnavigation");
  169.             ?>
  170.         <ul class="sf-menu">
  171.         <li <?php
  172.                 if (is_home())
  173.                 {
  174.                 echo "class=\"current_page_item\"";
  175.                 }?>>
  176.                 <a href="<?php bloginfo('url') ?>">Home</a>
  177.         </li>
  178.  <?php
  179.                 if (get_option('pagestopnavigation') <> ''){
  180.                     $navpages = implode(",", get_option('pagestopnavigation'));
  181.                     }
  182.                 if($navpages){
  183.                     wp_list_pages('title_li=&include='.$navpages);
  184.                 }else{
  185.                 wp_list_pages('title_li=');  }
  186.                 ?> 
  187.             </ul>
  188.             <?php
  189.             }else
  190.     { ?>
  191.             <?php $wp_version=get_bloginfo('version');
  192.                 $shortname=get_bloginfo('themename');
  193. if($wp_version >= 3.0){
  194.             wp_nav_menu( array( 'theme_location' => 'top-menu', 'menu_class'      => 'sf-menu') );
  195.             } else {
  196.             echo "You are using wordpress $wp_version. Upgrade the wordpress to Version 3.0 or disable the WP Menu from theme option Navigation";
  197.             }
  198.             } ?>   
  199.     </div>
  200. </div>
  201.  
  202.  
  203. <div class="clear"></div>
  204.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement