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