Subversion Repositories Sites.obs-saisons.fr

Rev

Rev 94 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
93 aurelien 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
3
	<head>
4
		<?php print $head ?>
5
    	<title><?php print $head_title ?></title>
6
    	<?php print $styles ?>
7
    	<?php print $scripts ?>
8
    	<!--[if lt IE 7]>
9
      		<?php print phptemplate_get_ie_styles(); ?>
10
    	<![endif]-->
11
  	</head>
12
 
13
  	<body<?php print phptemplate_body_class($left, $right); ?>>
14
 
15
		<div id="header-region" class="clear-block">
16
			<?php print $header; ?>
17
 
18
		</div>
19
 
20
		<div id="wrapper" class="zone_principale">
21
			<div class="navigation_niveau_1">
22
				<?php if (isset($primary_links)) : ?>
23
					<?php print theme('links', $primary_links, array('class' => 'links primary-links')) ?>
24
				<?php endif; ?>
25
				<?php if (isset($secondary_links)) : ?>
26
					<?php print theme('links', $secondary_links, array('class' => 'links secondary-links')) ?>
27
				<?php endif; ?>
28
			</div>
29
 
30
			<?php $saisons = array('printemps', 'ete', 'automne','hiver'); $saison = $saisons[rand(0,3)]; ?>
31
			<div id="header" class="<?= $saison; ?>">
32
				<div id="logo-floater">
33
		        	<?php
34
						if ($logo || $site_title) {
35
							print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
36
							if ($logo) {
37
								print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
38
							}
39
							print $site_html .'</a></h1>';
40
						}
41
					?>
42
				</div>
43
 
44
			</div> <!-- /header -->
45
 
46
			<div id="left">
47
				<?php if ($left): ?>
48
		        	<div id="sidebar-left" class="sidebar">
49
		          		<?php print $left ?>
50
		        	</div>
51
		      <?php endif; ?>
52
			</div><!-- /navigation -->
53
 
54
 
55
			<div id="center">
56
	          <?php print $breadcrumb; ?>
57
	          <?php if ($title): print '<h2'. ($tabs ? ' class="with-tabs"' : '') .'>'. $title .'</h2>'; endif; ?>
58
	          <?php print $help; ?>
59
 
60
	          <?php print $content ?>
61
 
62
	          <?php print $feed_icons ?>
63
 
64
      		</div><!-- centre -->
65
 
66
      		<div id="footer">
67
				<?php print $footer_message ?>
68
			</div><!-- pied de page -->
69
 
70
			      		<div id="right">
71
	      		<?php if ($right): ?>
72
					<div id="sidebar-right" class="sidebar">
73
						<?php print $right ?>
74
					</div><!-- zone droite -->
75
				<?php endif; ?>
76
			</div>
77
 
78
		</div> <!--fermeture div zone-principale-->
79
	</body>
80
</html>