I am doing the links in the UserCP, as I want different links to show depending on which profile is logged in and it won't show the other ones
I have a hairdressing directory and it will show the options for the price list edits for hairdressers (userid=9) but it won't show the edit price list to beauticians (userid=10)
Here's my code (USERCP_SHELL):
Code:
<if condition="$userinfo[usergroupid] == 9">
<tr><td class="$navclass[men]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=men">Edit Price List (Men)</a></td></tr>
<tr><td class="$navclass[women]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=women">Edit Price List (Women)</a></td></tr>
</if>
<if condition="$userinfo[usergroupid] == 10">
<tr><td class="$navclass[waxing]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=waxing">Edit Waxing</a></td></tr>
<tr><td class="$navclass[nails]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=nails">Edit Nails</a></td></tr>
<tr><td class="$navclass[facials]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=facials">Edit Facials</a></td></tr>
</if>