I have no idea which line is 66, but code like this:
elseif ( $zone == refs && $id == bad )
... is a problem. Perhaps you mean
elseif ( $zone == 'refs' && $id == 'bad' )
Also, as Jack pointed out, you can do this
if ($moon == 'full'){
?>
<b> lots of html here without print statements
<b> lots of html here without print statements
<b> lots of html here without print statements
<b> lots of html here without print statements
<?
}
... which, once you get used to the idea, is much easier to read, easier to write, and faster to process.