<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML <?=_DOCTYPE?>//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo _DOCTYPE_LANG; ?> >
<head>
<!-- PHP Nanomus 2010 by Cyril Levert - Mini CMS without database XHTML 1.0 Strict valide -->
<title> <?php
if ( ! empty( $meta_title ) ) echo $meta_title.', ';
if ( ! empty( $page ) && $page != 'home' ) echo str_replace('_', ' ', ucfirst( $page ) ).', ';
echo SITENAME;
?>
</title>
<?php
if ( URL_SITE != '' )
echo "<base href='".URL_SITE."' />\n";
?>
<meta http-equiv="content-type" content="text/html; charset='<?php echo _CHARSET; ?>'" />
<meta http-equiv="content-script-type" content="text/javascript" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="pragma" content="no-cache" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="author" content="Cyril Levert" />
<meta name="copyright" content="Copyright (c) by Cyril Levert for Nanomus CMS" />
<meta name="owner" content="http://www.php-nanomus.org" />
<meta name="language" content="fr" />
<meta http-equiv="content-language" content="en-en, fr, fr-be, fr-ca, fr-lu, fr-ch" />
<meta name="Publisher" content="Cyril Levert" />
<meta name="Date-Creation-yyyymmdd" content="20100117" />
<meta name="description" content="<?php echo html_entity_decode($meta_desc).METADESC; ?>" />
<meta name="keywords" content="<?php echo html_entity_decode($meta_key).METAKEY; ?>" />
<link rel="canonical" href="<?php echo $canonical; ?>" />
<link rel="shortcut icon" href="<?php echo URL_SITE; ?>favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="<?php echo URL_SITE; ?>templates/<?php echo STYLE; ?>.css" type="text/css" />
<?php
if ( @ ! empty( $_SESSION['identite'] ) )
echo '<link rel="stylesheet" href="'.URL_SITE.'templates/admin.css" type="text/css" />'."\n";
echo '</head>'."\n";
?>
<body>
<div id="header">
<h1><?php echo SITENAME; ?></h1>
<h2><?php echo SLOGAN; ?></h2>
</div>
<div id="mid">
<div id="side">
<?php echo menu( $page ); ?>
</div>
<div id="main">
<?php echo $tpl->content; ?>
</div>
<div id="break"></div>
</div>
<div id="footer">
© Nanomus CMS - Mini CMS without database.
</div>
<div id="copy">
Powered by <a href='http://www.php-nanomus.org' title='PHP Nanomus CMS'>PHP Nanomus</a> <?php echo login(); ?>
</div>
</body>
</html>