{* Display logged in/logout message *} {if $state == "logged_in" && $email != ""} {/if} {if $state == "logged_in" && $email != ""} {/if}
 logged in as:
 {$email}
 log out
VegaDNS
tinydns administration - version {$version}

{* Display menu at top at all times now *} {if $state == "logged_in" && $email != ""} {if $account_type == 'senior_admin' || $account_type == 'group_admin'} {/if}
Domains  |   New Domain  |   Edit My Account |   DNS Query
Accounts  |   Add Account  |   Default Records  {if $account_type == 'senior_admin'} |   Import Domains via AXFR  {/if}
{/if}

{* Display messages *}
{php}display_msg(){/php}