Exemplo n.º 1
0
							</div>

						</div>
						
					</div>

				</div> <!-- .top -->

				<div class="bottom">

					<div class="inner">

						<nav id="header-menu-nav">
							<ul>
							<?php 
$nb_notifs = Session::isActive() ? ChannelAction::count(array('conditions' => "timestamp > " . Session::get()->last_visit . " AND recipients_ids LIKE '%;" . Session::get()->id . ";%'")) : 0;
$notifs = $nb_notifs > 0 ? 'data-new="' . $nb_notifs . '"' : '';
?>
								<li <?php 
echo in_array(Utils::getCurrentURI(), array('', 'home')) ? 'class="current"' : '';
?>
><a href="<?php 
echo WEBROOT;
?>
"><?php 
echo Translator::get("header.menu.home");
?>
</a></li>
								<li <?php 
echo Utils::getCurrentURI() == 'news' ? 'class="current"' : '';
?>