Guest User

Untitled

a guest
Jun 16th, 2015
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 6.27 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <?php if(isset($_GET['color'])){
  3.    $color=$_GET['color'];
  4. }
  5. else{
  6.    $color=$_COOKIE['color'];
  7. }?>
  8. <html lang="fr" id="<?php echo $color; ?>">
  9.     <head>
  10.         <meta charset="utf-8">
  11.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  12.         <meta name="viewport" content="width=device-width, initial-scale=1">
  13.         <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  14.         <meta name="description" content="">
  15.         <meta name="author" content="BaBe">
  16.         <link rel="icon" href="../../favicon.ico">
  17.         <meta http-equiv="cache-control" content="no-cache" />
  18.         <title>OLY | Site de l'association Ouvrir Les Yeux</title>
  19.  
  20.  
  21.         <link href="<?php bloginfo('stylesheet_url');?>" rel="stylesheet">
  22.  
  23.         <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
  24.         <!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  25. <![endif]-->
  26.         <?php wp_enqueue_script("wpbootstrap_scripts_with_jquery"); ?>
  27.         <?php wp_head(); ?>
  28.     </head>
  29.  
  30.     <body>
  31.         <div class="container">
  32.             <div class="row">
  33.                 <div class="header_ban col-md-12">
  34.                     <a href="<?php echo site_url(); ?>"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/header.png" alt="Bannière Ouvrir Les Yeux" class="img-responsive"/></a>
  35.                 </div>
  36.             </div>
  37.             <div class="row">
  38.                 <div class="col-md-12">
  39.                     <div class="row" id="pre-nav">
  40.                         <div id="don-soutien" class="col-md-3">
  41.                             <a href=#><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/logo_don.png" alt="Bouton des dons"/>DON</a>
  42.                             <a href=#><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/logo_soutien.png"  alt="Bouton des soutiens"/>SOUTIEN</a>
  43.                         </div>
  44.                         <div id="mediatheque" class="col-md-3">
  45.                             <a href=#><span class="flaticon-computerscreen11"></span></a>
  46.                             <a href=#><span class="flaticon-picture64"></span></a>
  47.                             <a href=#><span class="flaticon-news2"></span></a>
  48.                             <a href=#><span class="flaticon-headphone4"></span></a>
  49.                         </div>
  50.                         <div id="recherche" class="col-md-3">
  51.  
  52.                             <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/">
  53.                                 <div class="input-group custom-search-form">
  54.                                     <span class="input-group-btn">
  55.                                         <button class="btn btn-default" type="button">
  56.                                             <span class="glyphicon glyphicon-search"></span>
  57.                                         </button>
  58.                                     </span>
  59.                                     <input type="text" value="<?php the_search_query(); ?>" name='s' id='s' class="form-control" maxlength="64" placeholder="Rechercher...">
  60.                                 </div><!-- /input-group -->
  61.                             </form>
  62.  
  63.                         </div>
  64.                         <div id="accessibilite" class="col-md-3">
  65.                             <a href="<?php bloginfo('home');?>?color=jaune" class="access_lien"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/access/jaune.png" alt ="noir sur jaune" class="access_img"/></a>
  66.                             <a href="<?php bloginfo('home');?>?color=blanc" class="access_lien"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/access/blanc.png" alt ="noir sur blanc" class="access_img"/></a>
  67.                             <a href="<?php bloginfo('home');?>?color=bleu" class="access_lien"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/access/bleu.png" alt ="jaune sur bleu" class="access_img"/></a>
  68.                             <a href="<?php bloginfo('home');?>?color=noir" class="access_lien"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/access/noir.png" alt ="blanc sur noir" class="access_img"/></a>
  69.                             <a href="<?php bloginfo('home');?>?color=rouge" class="access_lien"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/access/rouge.png" alt ="blanc sur rouge" class="access_img"/></a>
  70.                             <a href="<?php bloginfo('home');?>?color=reset" class="access_lien"><img src="<?php echo get_template_directory_uri() ;?>/bootstrap/img/access/reset.png" alt ="réinitialiser les couleurs" class="access_img"/></a>
  71.                         </div>
  72.  
  73.                     </div>
  74.                 </div>
  75.             </div>
  76.  
  77.             <div class="row">
  78.                 <div class="header_ban col-md-12">
  79.                     <nav id="menu" class="navbar navbar-default" role="navigation">
  80.                         <!-- Brand and toggle get grouped for better mobile display -->
  81.                         <div class="navbar-header visible-xs">
  82.                             <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
  83.                                 <span class="sr-only">Toggle navigation</span>
  84.                                 <span class="icon-bar"></span>
  85.                                 <span class="icon-bar"></span>
  86.                                 <span class="icon-bar"></span>
  87.                             </button>
  88.                             <a class="navbar-brand" href="<?php echo site_url(); ?>"><?php bloginfo('name'); ?></a>
  89.                         </div>
  90.  
  91.                         <!-- Collect the nav links, forms, and other content for toggling -->
  92.                         <div class="collapse navbar-collapse navbar-ex1-collapse">
  93.                             <?php wp_nav_menu(array(
  94.    'container_class' => 'menu-header',
  95.     'theme_location' => 'primary',
  96.     'items_wrap' => '<ul id="%1$s" class="%2$s nav navbar-nav">%3$s</ul>',
  97.     'walker' => new BS3_Walker_Nav_Menu,
  98. )); ?>
  99.                         </div><!-- /.navbar-collapse -->
  100.                     </nav>
  101.                 </div>
  102.             </div>
Advertisement
Add Comment
Please, Sign In to add comment