Ciao prova così:
Codice PHP:
<?
session_start
();

$first_name=$_SESSION["first_name"];

if (empty(
$first_name)){
?> 





<center>Ciao benvenuto su pm25.it, puoi fare il login [url="homepage.php"]Qui[/url], oppure registrarti <a href="iscrizione.php">Qui
</a>
©2007 PM25.it
</center>

<center><?
} else { include 'db.php'
include (
'personale.php');
?></center>
 <center>[url="logout.php"]Logout[/url]</center> 
<? ?>
la variabile $first_name che valore contiene? lo passi tramite form?