web/wp-content/themes/aparatus/header.php
changeset 1 0d28b7c10758
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/aparatus/header.php	Fri Mar 12 13:29:04 2010 +0000
@@ -0,0 +1,113 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head profile="http://gmpg.org/xfn/11">
+
+	<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
+
+	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />	
+	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->	
+	
+	<?php global $options;
+ 		foreach ($options as $value) {
+			 if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); 
+		}
+	} ?>            
+	 <?php switch ($apa_style_sheet) {
+		 case "maroon":?>
+			 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url');?>" type="text/css" media="screen" />
+		 <?php break; ?>    
+		 <?php case "black":?>
+			 <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/black.css" type="text/css" media="screen" />
+		 <?php break; ?>
+		 <?php case "blue":?>
+			 <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/blue.css" type="text/css" media="screen" />
+		 <?php break; ?>
+		 <?php case "green":?>
+			 <link rel="stylesheet" href="<?php	bloginfo('template_directory'); ?>/green.css" type="text/css" media="screen" />
+			 <?php break; ?>    
+	<?php }?>
+	
+	
+		
+	<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
+	<link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
+	<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
+	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+	
+	
+	<!--[if lt IE 7]>       
+	<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/scripts/unitpngfix.js"></script>
+	<link href="<?php bloginfo('template_directory'); ?>/forie6.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8"/>	
+	<![endif]-->
+	<!--[if IE 7]>
+	<link href="<?php bloginfo('template_directory'); ?>/forie7.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8"/>		
+	<![endif]-->
+	<!--[if IE 8]>
+	<link href="<?php bloginfo('template_directory'); ?>/forie8.css" rel="stylesheet" type="text/css" media="screen" title="no title" charset="utf-8"/>		
+	<![endif]-->
+
+
+	<!--Css SmoothGallery-->
+	<link rel="stylesheet" href="<?php bloginfo('template_url'); ?>/gallery-css/jd.gallery.css" type="text/css" media="screen"/>
+	<?php wp_enqueue_script("jquery"); ?>
+	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/mootools.js"></script>	
+	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/jd.gallery.js"></script>
+	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/mootabs1.2.js"></script>
+	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/cufon-yui.js"></script>
+	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/scripts/League_Gothic_400.font.js"></script>
+	<?php wp_get_archives('type=monthly&format=link'); ?>
+	<?php //comments_popup_script(); // off by default ?>
+	<?php wp_head(); ?>
+	
+	<script type="text/javascript">  
+	Cufon.replace('a#logo, .title-area, .post-title-big, #comments h3 , h3#response-title, .author-name, .sidebar-row h3, #logo-footer');
+	</script>
+	<script type="text/javascript">
+		sfHover = function() {
+			var sfEls = document.getElementById("nav2").getElementsByTagName("LI");
+			for (var i=0; i<sfEls.length; i++) {
+				sfEls[i].onmouseover=function() {
+					this.className+=" sfhover";
+				}
+				sfEls[i].onmouseout=function() {
+					this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
+				}
+			}
+		}
+		if (window.attachEvent) window.attachEvent("onload", sfHover);
+	</script>
+	<script type="text/javascript" charset="utf-8">
+			window.addEvent('domready', init);
+			function init() {
+				myTabs1 = new mootabs('myTabs', {height: '320px', width: '300px', changeTransition: Fx.Transitions.Back.easeOut, mouseOverClass: 'over'});
+				
+			}
+	</script>
+</head>
+<body>
+<div id="header">
+
+
+
+<div id="twitter-badge"><a href="http://twitter.com/<?php if ($apa_Twitter == ''){echo '_fearlessflyer';}else{echo $apa_Twitter;} ?>">follow</a></div><!--twitter-badge-->
+
+<a id="logo" href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a>
+<div id="navigation">
+<div id="page-nav">
+<ul>
+<li id="welcome" class="current_page_item2"><a href="<?php bloginfo('url');?>" title="Home">Welcome</a></li>
+<?php wp_list_pages('title_li=&depth=1&sort_column=menu_order'); ?>
+</ul>
+<span id="login"><a href="<?php echo get_option('home'); ?>/wp-admin/">Login to Site</a></span>
+</div><!--page-nav-->
+
+
+<div id="cat-nav">
+<ul id="nav2">
+<?php wp_list_categories('title_li=&sort_column=menu_order');?>
+</ul>
+
+</div><!--cat-nav-->
+</div><!--navigation-->
+</div><!--header-->
+<div id="wrap">
\ No newline at end of file