Location: PHPKode > projects > LogithequePHP > logi/templates/defaut/header.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><title>{$nomsite}{$nomprog}</title>
<meta name="description" content="{$slogan}">
<meta name="author" content="PHPsoft" />
	<meta http-equiv="content-type" content="text/html;charset=utf8" />
	<link rel="stylesheet" href="templates/{$template}/images/style.css" type="text/css" />
	<link rel="stylesheet" href="{$url}/thicbox.css" type="text/css" />
	<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.0/jquery.min.js"></script>
<script type="text/javascript" src="{$url}/js/thicbox.js"></script>
<script type="text/javascript" language="javascript" src="{$url}/js/comment.js"></script>
<script type="text/javascript" language="javascript" src="{$url}/js/behavior.js"></script>
<script type="text/javascript" language="javascript" src="{$url}/js/rating.js"></script>
<script type="text/javascript" src="{$url}/js/animatedcollapse.js"></script>
<link rel="stylesheet" type="text/css" href="{$url}/default.css" />
<link rel="stylesheet" type="text/css" href="{$url}/rating.css" />
</head>
<body>
	<div class="content">
		<div class="header">
			<div class="top_info">
			{$hbig}
			</div>
			<div class="logo">
				<h1><a href="#" title="Retour à l'accueil">{$nomsite}</a></h1>
			</div>
		</div>
		
		<div class="bar">
			<ul>
				{section name=bar loop=$menubar}
				{if $menuactif == $menubar[bar].nomcat}
				<li><a href="index.php?os={$menubar[bar].nomcat}" class="active">{$menubar[bar].nomcat}</a></li>
				{else}
				<li><a href="index.php?os={$menubar[bar].nomcat}">{$menubar[bar].nomcat}</a></li>
				{/if}
				{/section}
			</ul>
		</div>
		<div class="search_field">
			<form method="get" action="search.php">
				<p>
				<input type="hidden" value="{$menuactif}" name="os" />
				<input type="text" name="search" class="search" />
				<input type="submit" value="Rechercher" />
				</p>
			</form>
		</div></p>
		<div class="subheader">
			<p>{if isset($smarty.session.login) && ($smarty.session.admin) == 'admin'}Bonjour <b>admin</b> |
					<a href="admin.php">Panneau d'administration</a> | <a href="mesinfos.php">Mes infos</a> | <a href="logout.php">Deconnexion</a>
					{elseif isset($smarty.session.login)}Bonjour <b>{$smarty.session.login}</b> | 
					<a href="membre.php">Espace membre</a> | <a href="logout.php">Deconnexion</a>
					{else}
					Pas encore membre ? | <a href="inscription.php">Inscrivez vous !</a>{/if}</p>
		</div>
Return current item: LogithequePHP