spID;
$roles = $user->roles;
$email= $user->mail;
$mod=”ID=$id”;
$mod.=”&email=$email”;
if (in_array(“Parent”,$roles)) {
$mod=$mod.”&role=pa”;
} else if (in_array(“Professional”,$roles)) {
$mod=$mod.”&role=pr”;
}
if (in_array(“ConfUser”,$roles)) $mod=$mod.”&conf=1″;
if (in_array(“LearningTree”,$roles)) $mod=$mod.”&wksp1=1″;
if (in_array(“Lifespan”,$roles)) $mod=$mod.”&wksp2=1″;
if (in_array(“Meltdowns”,$roles)) $mod=$mod.”&wksp3=1″;
if (in_array(“Regulatory”,$roles)) $mod=$mod.”&wksp4=1″;
if($id==”” || $id==”0″ || $id==0)
{
echo “If you have already signed up for the portal, please log in with your user name and password on the right hand side of this page.
If you are a new user please sign up for the portal, and then register for the course and/or workshops.
“;
}
else
{
echo ““;
}
?>