{if (isset($registered) AND $registered != 0)}

{/if}