ok am trying to get too big for my boots here, i cant seem to get this to work:
know why ?
<?php
error_reporting(7);
include ("../../mainfile.php");
$index = 1;
global $Pmenu,$breadcrumb;
$Pmenu="";
$breadcrumb="Account Activation";
$defaultmessage = "Your message here... \n\n - $bbuserinfo[username]";
$defaultemail = "$bbuserinfo[email]";
$unwantedgroups = array('1', '6', '11');
getvbpvars();
include("header.php");
//OpenTable();
if ($bbuserinfo[usergroupid] == $unwantedgroups) {
eval("dooutput(\"".gettemplate('contact_error')."\ ");");
} else {
eval("dooutput(\"".gettemplate('contact')."\");");
}
//CloseTable();
include("footer.php");
?>
am trying to use an array, to get the same result.
|