<div class="paging">
  {if="isLoggedIn()"}
  <div class="paging_privatelinks">
    <a href="?privateonly"> {if="$privateonly"} <img src="images/private_16x16_active.png#" width="16" height="16" title="Click to see all links" alt="Click to see all links"> {else} <img src="images/private_16x16.png#" width="16" height="16" title="Click to see only private links" alt="Click to see only private links"> {/if} </a>
  </div>
  {/if}
  <div class="paging_linksperpage">
    Links per page: <a href="?linksperpage=20">20</a><a href="?linksperpage=50">50</a><a href="?linksperpage=100">100</a>
    <form method="GET" class="linksperpage">
      <input type="text" name="linksperpage">
    </form>
  </div>
  <div class="paginNavigation">
    {if="$previous_page_url"}
    <a href="{$previous_page_url}" class="paging_older">&#x25C4;Older</a>
    {/if}
    <div class="paging_current">
      page {$page_current} / {$page_max}
    </div>
    {if="$next_page_url"}
    <a href="{$next_page_url}" class="paging_newer">Newer&#x25BA;</a>
    {/if}
  </div>
</div>