<?php if (isset ($_SESSION['priv'])) { ?>

<div class="tab">
<ul>
<li>
<a href="?page=pages" <?php if ($page=='pages' and $uid==0) echo "class=\"selected\""; ?>>
All Pages
</a>
</li>

<li>
<a href="?page=pages&uid=<?php echo $_SESSION['id']; ?>&my=1" <?php if ($page == 'pages' and $uid!=0 and $my == 1) echo "class=\"selected\""; ?>>
My Pages</a>
</li>

<li>
<a href="?page=pages&uid=<?php echo $_SESSION['id']; ?>" <?php if ($page == 'pages' and $uid!=0 and $my == 0) echo "class=\"selected\""; ?>>
Bookmarks</a>
</li>


<?php

if ($_SESSION['priv'] == 'Superadmin') { ?>

<li>
<a href="?page=pages_non" <?php if ($page=='pages_non' or $page=='page_non') echo "class=\"selected\""; ?>>
Non Verified
</a>
</li>

<?php } ?>

</ul>
</div>

<?php } ?>
