Have you tried simply:
<?if ($eDateEnd) {?>
to <?=$eDateEnd?>
<?}?>
I've had good luck with that syntax in the past.
==================
<snip>
For some reason I can't get it to work. I tried:
<? if (!is_null($eDateEnd))
{?>
to <?=$eDateEnd?>
<?}?>
What am I doing wrong?
</snip>