Ok so ive made a little progress, I figured out that if I add
Code:
{if $groupid == "1"}
testing
{/if}
To the page manager and
Code:
{php}
$userid=$_SESSION["uid"];
$result=select_query("tblclients","groupid",array( "id"=>$userid));
$data = mysql_fetch_array($result);
$groupid = $data["groupid"];
$this->assign('groupid',$groupid);
{/php}
to the pagemanager index.tpl I can get it to show the content only for that group. So now this works great.
Now figure out how to make a link to each. I want to use the $groupid in the link to change to their group when they click the link, but I haven't figured that much out yes.
Any ideas?
Thanks again.