Topic: Need help restricting access to profile groups
I am sure this is a n easy fix, but it I am not a programer so.....
I need to restrict certain members from being able to see a certain profile group so I use this code
!-- IF group_label != "Premium" OR session.group_id == "1" OR session.group_id == "5" -->
<li><a href="javascript:void(0)" id="profile_data_{rowcnt}_tab" onclick="switch_tabs('profile_data', {rowcnt}, 0, 1)">{group_name}</a></li>
<!-- ENDIF -->
But I also need to restrict other members from seeing other profile groups
!-- IF group_label != "Logup" OR session.group_id == "3" OR session.group_id == "7" -->
<li><a href="javascript:void(0)" id="profile_data_{rowcnt}_tab" onclick="switch_tabs('profile_data', {rowcnt}, 0, 1)">{group_name}</a></li>
<!-- ENDIF -->
How do I write it?