web/wp-content/themes/aparatus/header.php
changeset 1 0d28b7c10758
equal deleted inserted replaced
0:0d9a58d2c515 1:0d28b7c10758
       
     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 profile="http://gmpg.org/xfn/11">
       
     4 
       
     5 	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
       
     6 
       
     7 	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />	
       
     8 	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->	
       
     9 	
       
    10 	<?php global $options;
       
    11  		foreach ($options as $value) {
       
    12 			 if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); 
       
    13 		}
       
    14 	} ?>            
       
    15 	 <?php switch ($apa_style_sheet) {
       
    16 		 case "maroon":?>
       
    17 			 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url');?>" type="text/css" media="screen" />
       
    18 		 <?php break; ?>    
       
    19 		 <?php case "black":?>
       
    20 			 <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/black.css" type="text/css" media="screen" />
       
    21 		 <?php break; ?>
       
    22 		 <?php case "blue":?>
       
    23 			 <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/blue.css" type="text/css" media="screen" />
       
    24 		 <?php break; ?>
       
    25 		 <?php case "green":?>
       
    26 			 <link rel="stylesheet" href="<?php	bloginfo('template_directory'); ?>/green.css" type="text/css" media="screen" />
       
    27 			 <?php break; ?>    
       
    28 	<?php }?>
       
    29 	
       
    30 	
       
    31 		
       
    32 	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
       
    33 	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
       
    34 	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
       
    35 	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
       
    36 	
       
    37 	
       
    38 	<!--[if lt IE 7]>       
       
    39 	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/unitpngfix.js"></script>
       
    40 	<link href="<?php bloginfo('template_directory'); ?>/forie6.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8"/>	
       
    41 	<![endif]-->
       
    42 	<!--[if IE 7]>
       
    43 	<link href="<?php bloginfo('template_directory'); ?>/forie7.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8"/>		
       
    44 	<![endif]-->
       
    45 	<!--[if IE 8]>
       
    46 	<link href="<?php bloginfo('template_directory'); ?>/forie8.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8"/>		
       
    47 	<![endif]-->
       
    48 
       
    49 
       
    50 	<!--Css SmoothGallery-->
       
    51 	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/gallery-css/jd.gallery.css" type="text/css" media="screen"/>
       
    52 	<?php wp_enqueue_script("jquery"); ?>
       
    53 	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/mootools.js"></script>	
       
    54 	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jd.gallery.js"></script>
       
    55 	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/mootabs1.2.js"></script>
       
    56 	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/cufon-yui.js"></script>
       
    57 	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/League_Gothic_400.font.js"></script>
       
    58 	<?php wp_get_archives('type=monthly&format=link'); ?>
       
    59 	<?php //comments_popup_script(); // off by default ?>
       
    60 	<?php wp_head(); ?>
       
    61 	
       
    62 	<script type="text/javascript">  
       
    63 	Cufon.replace('a#logo, .title-area, .post-title-big, #comments h3 , h3#response-title, .author-name, .sidebar-row h3, #logo-footer');
       
    64 	</script>
       
    65 	<script type="text/javascript">
       
    66 		sfHover = function() {
       
    67 			var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
       
    68 			for (var i=0; i<sfEls.length; i++) {
       
    69 				sfEls[i].onmouseover=function() {
       
    70 					this.className+=" sfhover";
       
    71 				}
       
    72 				sfEls[i].onmouseout=function() {
       
    73 					this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
       
    74 				}
       
    75 			}
       
    76 		}
       
    77 		if (window.attachEvent) window.attachEvent("onload", sfHover);
       
    78 	</script>
       
    79 	<script type="text/javascript" charset="utf-8">
       
    80 			window.addEvent('domready', init);
       
    81 			function init() {
       
    82 				myTabs1 = new mootabs('myTabs', {height: '320px', width: '300px', changeTransition: Fx.Transitions.Back.easeOut, mouseOverClass: 'over'});
       
    83 				
       
    84 			}
       
    85 	</script>
       
    86 </head>
       
    87 <body>
       
    88 <div id="header">
       
    89 
       
    90 
       
    91 
       
    92 <div id="twitter-badge"><a href="http://twitter.com/<?php if ($apa_Twitter == ''){echo '_fearlessflyer';}else{echo $apa_Twitter;} ?>">follow</a></div><!--twitter-badge-->
       
    93 
       
    94 <a id="logo" href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a>
       
    95 <div id="navigation">
       
    96 <div id="page-nav">
       
    97 <ul>
       
    98 <li id="welcome" class="current_page_item2"><a href="<?php bloginfo('url');?>" title="Home">Welcome</a></li>
       
    99 <?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
       
   100 </ul>
       
   101 <span id="login"><a href="<?php echo get_option('home'); ?>/wp-admin/">Login to Site</a></span>
       
   102 </div><!--page-nav-->
       
   103 
       
   104 
       
   105 <div id="cat-nav">
       
   106 <ul id="nav2">
       
   107 <?php wp_list_categories('title_li=&sort_column=menu_order');?>
       
   108 </ul>
       
   109 
       
   110 </div><!--cat-nav-->
       
   111 </div><!--navigation-->
       
   112 </div><!--header-->
       
   113 <div id="wrap">