Created
May 13, 2012 22:13
-
-
Save adahhane/2690470 to your computer and use it in GitHub Desktop.
Header Page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (wp_loaded() === true) { ?><!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 name="description" content="<?php bloginfo('description') ?>" /> | |
<title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title> | |
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> | |
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> | |
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> | |
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" /> | |
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | |
<link rel="stylesheet" type="text/css" href="<?php bloginfo('template_directory'); ?>/glide.css" media="screen" /> | |
<?php | |
wp_enqueue_script('jquery'); | |
wp_enqueue_script('cufon', get_stylesheet_directory_uri() . '/js/cufon.js'); | |
wp_enqueue_script('Myriad', get_stylesheet_directory_uri() . '/js/Myriad_Pro_700.font.js'); | |
wp_enqueue_script('Effects', get_stylesheet_directory_uri() .'/js/effects.js'); | |
wp_enqueue_script('Coin', get_stylesheet_directory_uri() .'/js/coin-slider.min.js'); | |
wp_enqueue_script('sprinkle', get_stylesheet_directory_uri() .'/js/sprinkle.js'); | |
wp_enqueue_script('jquery-ui-personalized-1.5.2.packed', get_stylesheet_directory_uri() .'/js/jquery-ui-personalized-1.5.2.packed.js'); | |
?> | |
<script type="text/javascript"><!--//--><![CDATA[//><!-- | |
sfHover = function() { | |
if (!document.getElementsByTagName) return false; | |
var sfEls1 = document.getElementById("catmenu").getElementsByTagName("li"); | |
for (var i=0; i<sfEls1.length; i++) { | |
sfEls1[i].onmouseover=function() { | |
this.className+=" sfhover1"; | |
} | |
sfEls1[i].onmouseout=function() { | |
this.className=this.className.replace(new RegExp(" sfhover1\\b"), ""); | |
} | |
} | |
var sfEls1 = document.getElementById("menu").getElementsByTagName("li"); | |
for (var i=0; i<sfEls1.length; i++) { | |
sfEls1[i].onmouseover=function() { | |
this.className+=" sfhover"; | |
} | |
sfEls1[i].onmouseout=function() { | |
this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); | |
} | |
} | |
} | |
if (window.attachEvent) window.attachEvent("onload", sfHover); | |
//--><!]]></script> | |
<?php wp_get_archives('type=monthly&format=link'); ?> | |
<?php //comments_popup_script(); // off by default ?> | |
<?php | |
if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); | |
wp_head(); ?> | |
<style type="text/css"> | |
.auto-style1 { | |
border-width: 0px; | |
} | |
.auto-style2 { | |
text-align: center; | |
} | |
</style> | |
</head><?php } ?> | |
<body> | |
<div id="wrapper" class="rounded"> | |
<div id="top"> | |
<img alt="" src="http://www.mbi-maroc.com/header.png" width="992" height="115" /> | |
<?php include (TEMPLATEPATH . '/topad.php'); ?> | |
</div> | |
<div id="catmenucontainer" class="auto-style2"> | |
<?php | |
wp_nav_menu( array( 'container_id' => 'catmenu','theme_location' => 'primary','fallback_cb'=> '' ) ); ?> | |
<!--<a href="http://www.mbi-maroc.com"> | |
<img alt="Accueil" class="auto-style1" longdesc="Accueil" src="http://www.mbi-maroc.com/wp-content/themes/aniss/menu/Acc.jpg"></a> | |
<a href="http://www.mbi-maroc.com/presentation/"> | |
<img alt="Présentation" class="auto-style1" longdesc="Présentation" src="http://www.mbi-maroc.com/wp-content/themes/aniss/menu/pres.jpg"></a> | |
<a href="http://www.mbi-maroc.com/nos-biens"> | |
<img alt="Nos Biens" class="auto-style1" longdesc="Nos Biens" src="http://www.mbi-maroc.com/wp-content/themes/aniss/menu/biens.jpg"></a> | |
<a href="http://www.mbi-maroc.com/nos-projets"> | |
<img alt="Nos Projets" class="auto-style1" longdesc="Nos Projets" src="http://www.mbi-maroc.com/wp-content/themes/aniss/menu/proj.jpg"></a> | |
<a href="http://www.mbi-maroc.com/plan-dacces"> | |
<img alt="Solutions" class="auto-style1" longdesc="Solutions" src="http://www.mbi-maroc.com/wp-content/themes/aniss/menu/solutions.jpg"></a> | |
<a href="http://www.mbi-maroc.com/contact"> | |
<img alt="Contact" class="auto-style1" longdesc="Contact" src="http://www.mbi-maroc.com/wp-content/themes/aniss/menu/contact.jpg"></a>--></div> | |
<div id="casing"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment