Tienes que poner echos en todo lo que vas a mostrar y siempre borrar las " que traen los HTML , el codigo debe quedar algo como esto:
Código PHP:
<?php
if(isset($_SESSION["imagehost-user"]) && !empty($_SESSION["imagehost-user"])){
echo "<li class=\"Estilo4\"><a href=\"/account.php\">Mi Cuenta</a></li>";
}
else{
echo "<table align=right bgcolor=#666666 style=float:right; margin-top:-34px; >";
echo "<tr class=dropdown>";
echo "<td align=right>Usuario:";
echo "<input type=text name=username size=10></td>";
echo "<td align=right>Password:";
echo "<input type=password name=password size=10> </td>";
echo "<td align=right><input type=submit value=Entrar name=login> </td>";
echo "<td width=100 align=right> <center><a href=register.php title=Click here to join now!>";
echo "<img src=images/join.gif border=0 onMouseOver=this.src='images/join1.png'; onMouseOut=this.src='images/join.gif';>";
echo "</a> </center>";
echo "</table>";
}
?>