si vas a imprimir tanto código html mejor sal de php con ?> y luego cuando acabes entonces ingresa de nuevo. algo, asi:
Código html:
Ver original...
if($_SESSION['rol']=='admin')
//{
//echo"ola";
{
?>
<center><table width=800 height=485 border=0 background=fondodoggymenu.gif>
<td width=49 height=73> </td> <td width=129> </td> <td width=110><p> </p> <td width=124><h3> <br><br>Bienvenido
 <?php echo $_SESSION['nombre']; ?>
</h3></td> <td width=187> </td> <td height=64> </td> <td><img type=submit src=iconomini.png width=66% height=29 border=0 onclick='this.src = boton3-3.png' onmouseover='this.src = boton2-2.jpg' onmouseout='this.src = iconomini.png' /></img></td> </center>
<?php
}
//else{
// echo"prueba1";
//}
if($_SESSION['rol']=="user")
{
}
...
algo asi, no se si me habré equivocado en algo en el código pero esa es la idea
saludos