I got as far as this:
PHP Code:
$tabselected = '';
$tablinks = '';
if (THIS_SCRIPT == 'osc_shop')
{
$vbulletin->options['selectednavtab']='oscShop';
$tabselected = ' class="selected"';
if (is_member_of($vbulletin->userinfo, 6))
{
$tablinks = '<ul class="floatcontainer">
<li><a href="misc.php">Misc</a></li>
</ul>';
}
if ($vbulletin->userinfo['userid'])
{
$tablinks .= '<ul class="floatcontainer">
<li><a href="account.php">My Account</a></li>
<li><a href="shopping_cart.php">Cart Contents</a></li>
<li><a href="checkout_shipping.php">Checkout</a></li>
</ul> ';
}
}
$template_hook['navtab_middle'] .= '<li'.$tabselected.'><a class="navtab" href="shop.php">Shop</a>'.$tablinks.'</li>' ;
But
My Account is on top of
Misc.
Can anyone help with this, please.