Lionel
02-16-2002, 04:23 PM
I'd like to add an else statement to the below, but I am not sure on how to place the brackets.
if ($bbuserinfo['userid']==0) {
eval("\$adpopup = \"".gettemplate('ad_popup')."\";");
}
else{
eval("\$adpopup = \"".gettemplate('ad_nopopup')."\";");
}
if ($bbuserinfo['userid']==0) {
eval("\$adpopup = \"".gettemplate('ad_popup')."\";");
}
else{
eval("\$adpopup = \"".gettemplate('ad_nopopup')."\";");
}