          <ul id="nav">
            <li><a href="{$smarty.server.PHP_SELF}">Home</a></li>
            {if $smarty.session.AUTHENTICATED|default:"0" == 1}
            <li><a href="{$smarty.server.PHP_SELF}?page=account&action=edit">My Account</a>
              <ul>
                <li><a href="{$smarty.server.PHP_SELF}?page=account&action=edit">Edit Account</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=account&action=workers">My Workers</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=account&action=transactions">Transactions</a></li>
                {if !$GLOBAL.config.disable_notifications}<li><a href="{$smarty.server.PHP_SELF}?page=account&action=notifications">Notifications</a></li>{/if}
                {if !$GLOBAL.config.disable_invitations}<li><a href="{$smarty.server.PHP_SELF}?page=account&action=invitations">Invitations</a></li>{/if}
                <li><a href="{$smarty.server.PHP_SELF}?page=account&action=qrcode">QR Codes</a></li>
              </ul>
            </li>
            {/if}
            {if $smarty.session.AUTHENTICATED|default:"0" == 1 && $GLOBAL.userdata.is_admin == 1}
            <li><a href="{$smarty.server.PHP_SELF}?page=admin">Admin Panel</a>
              <ul>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=monitoring">Monitoring</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=user">User Info</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=wallet">Wallet Info</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=transactions">Transactions</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=settings">Settings</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=news">News</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=reports">Reports</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=admin&action=poolworkers">Pool Workers</a></li>
              </ul>
            </li>
            {/if}
            {if $smarty.session.AUTHENTICATED|default}
            <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=pool">Statistics</a>
              <ul>
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=pool">Pool Stats</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=blocks">Block Stats</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=graphs">Hashrate Graphs</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=round">Round Stats</a></li>
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=blockfinder">Block Finder Stats</a></li>
                {if $GLOBAL.config.monitoring_uptimerobot_api_keys|default:"0"}<li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=uptime">Uptime Stats</a></li>{/if}
              </ul>
            </li>
            {else}
            <li><a href="{$smarty.server.PHP_SELF}?page=statistics">Statistics</a>
              <ul>
            {if $GLOBAL.acl.pool.statistics}
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=pool">Pool Stats</a></li>
            {/if}
            {if $GLOBAL.acl.block.statistics}
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=blocks">Block Stats</a></li>
            {/if}
            {if $GLOBAL.acl.round.statistics}
                <li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=round">Round Stats</a></li>
            {/if}
     		{if $GLOBAL.acl.blockfinder.statistics}
     			<li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=blockfinder">Block Finder Stats</a></li>
     		{/if}
            {if $GLOBAL.acl.uptime.statistics}
                {if $GLOBAL.config.monitoring_uptimerobot_api_keys|default:"0"}<li><a href="{$smarty.server.PHP_SELF}?page=statistics&action=uptime">Uptime Stats</a></li>{/if}
            {/if}
              </ul>
            {/if}
            <li><a href="{$smarty.server.PHP_SELF}?page=gettingstarted">Getting Started</a></li>
            <li><a href="{$smarty.server.PHP_SELF}?page=support">Support</a></li>
            {if !$GLOBAL.website.about.disabled}
            <li><a href="{$smarty.server.PHP_SELF}?page=about&action=pool">About</a>
            {/if}
              <ul>
                <li><a href="{$smarty.server.PHP_SELF}?page=about&action=pool">This Pool</a></li>
                {if !$GLOBAL.website.api.disabled}<li><a href="{$smarty.server.PHP_SELF}?page=about&action=api">API Reference</a></li>{/if}
                {if !$GLOBAL.website.donors.disabled}<li><a href="{$smarty.server.PHP_SELF}?page=about&action=donors">Pool Donors</a></li>{/if}
              </ul>
            </li>
            {if $smarty.session.AUTHENTICATED|default == 1}<li><a href="{$smarty.server.PHP_SELF}?page=logout">Logout</a></li>{else}<li><a href="{$smarty.server.PHP_SELF}?page=register">Register</a></li>{/if}
          </ul>
