web/wp-content/themes/IRI-Theme/header.php
branchwordpress
changeset 109 03b0d1493584
child 110 1e6e4baafa3d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/themes/IRI-Theme/header.php	Wed Dec 23 17:55:33 2009 +0000
@@ -0,0 +1,97 @@
+<!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" <?php language_attributes(); ?>>
+<head profile="http://gmpg.org/xfn/11">
+	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
+	<meta http-equiv="X-UA-Compatible" content="IE=8" />
+	<title><?php wp_title(''); ?> <?php if ( !(is_404()) && (is_single()) or (is_page()) or (is_archive()) ) { ?> :: <?php } ?> <?php bloginfo('name'); ?></title>
+	<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
+	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
+	<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
+        <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/style.css" type="text/css" media="screen, projection" />
+    <!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/lib/ie.css" type="text/css" media="screen, projection" /><![endif]--> 
+	<!-- Javascripts  -->
+	<!-- <script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.1.3.1.pack.js"></script> -->
+	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/functions.js"></script>
+	<!--<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.js"></script>-->
+	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-1.3.2.min.js"></script>
+	<script type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery-ui-1.7.2.custom.min.js"></script>
+	<!--[if lt IE 7]>
+	<script defer type="text/javascript" src="<?php bloginfo('stylesheet_directory'); ?>/js/pngfix.js"></script>
+	<![endif]-->
+   <!--[if gte IE 5.5]>
+   <script language="javaScript" src="<?php bloginfo('stylesheet_directory'); ?>/js/dhtml.js" type="text/javaScript"></script>
+   <![endif]-->
+	<!-- Show the grid and baseline  -->
+	<style type="text/css">
+/*		.container { background: url(<?php bloginfo('stylesheet_directory'); ?>/css/lib/img/grid.png); }*/
+	</style>
+	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
+	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
+	<?php wp_head(); ?>
+	
+    <script type="text/javascript">  
+        $(document).ready(function() {  
+            $('#accordion').accordion();  
+			//alert("test");
+			
+			// search
+			$("#s").mouseover(function() {
+				$(this).animate({ backgroundColor: "#FFFFFF" }, 500);
+			}).mouseout(function(){
+				$(this).animate({ backgroundColor: "#CCCCCC" }, 500);
+			});
+			
+			
+			// menu li 
+			/*
+			$(".post").mouseover(function() {
+				$(this).animate({ backgroundColor: "#e7e7e7" }, 500);
+			}).mouseout(function(){
+				$(this).stop();
+				$(this).animate({ backgroundColor: "#FFFFFF" }, 500);
+			});
+			*/
+
+        });  
+		
+
+
+    </script>  
+</head>
+<body>
+<?php /*echo("debug = ".wp_title('')." lang = ".language_attributes() ); */?>
+<div class="container">
+
+<!-- Header -->
+  <div class="column span-24" id="header">
+       <a href="<?php echo get_option('home'); ?>" title="<?php bloginfo('name'); ?>"  class="logo"><img alt="<?php bloginfo('name'); ?>" src="<?php bloginfo('stylesheet_directory'); ?>/images/logo-iri-petit.png" /></a> 
+  </div>
+
+<!-- Navigation -->
+<div class="column span-24 large" id="nav">
+<div class="content">
+	<ul id="navmenu-h">
+		<li><a href="<?php echo get_settings('home'); ?>">Acceuil</a></li>
+		<?php dp_list_categories('&exclude=1,8,16&'); ?>
+		
+
+		<li class="alignright"><a href="<?php bloginfo('rss2_url'); ?>" style="padding: 2px 5px 0 5px;"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/rss.png" style="padding:4px;" alt="rss icon" /></a></li>
+		
+		
+		<li class="alignright">
+			<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
+				<div  id="searchB" >
+				
+					<input type="text" name="s" id="s"
+								 value="<?php echo wp_specialchars($search_text, 1); ?>"
+								 onfocus="clearInput('s', '<?php echo wp_specialchars($search_text, 1); ?>')" 
+								 onblur="clearInput('s', '<?php echo wp_specialchars($search_text, 1); ?>')"
+					/>
+				
+				</div>
+			</form>
+		</li>
+		
+	</ul>
+</div>
+</div>
\ No newline at end of file