May I suggest, if you ae using version 4.1.x, try this:
BEFORE:
Code:
{include file="main/subheader.tpl" title=$lng.lbl_products_info}
INSERT:
Code:
{if $usertype eq "A" or $usertype eq "P"}
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td valign="top">{$lng.lbl_referred_by}</td>
<td>
{if $customer.referer}
{$customer.referer}
{else}
{$lng.lbl_unknown}
{/if}
</td>
</tr>
<tr>
<td colspan="2" valign="top" height="10"> </td>
</tr>
</table>
{/if}
I agree with QVS -- I like it on top of the page... One thing though -- for xhtml, you really MUST use lowercase tr and td tags if you want to validate.
This is confirmed good with 4.1.7