<?php
include("include/setsession.php");
if (isset($_SESSION['iduser'])) {
?>
	<div id="header01">
    	<a href="index.php" title="home"><img src="img/logo.png" border="0" /></a>
    </div>
    <div id="header03"><?php if($s_logo!='') echo '<img src="'.$pathpublic.$s_logo.'" border="0" />'; ?></div>
    <div id="header02">
		Ciao <?php echo $s_nome ?>&nbsp;&nbsp;<button id="logout" onClick="location.href='logout.php'">logout</button>
    </div>
<?php
} else {
?>
	<div id="header01"><a href="index.php" title="home"><img src="img/logo.png" border="0" /></a></div>
    <div id="header02"></div>
    <div id="header03"></div>
<?php
}
?>