ok
this works too :
<?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]";
getvbpvars();
include("header.php");
//OpenTable();
if (!$bbuserinfo[usergroupid]==1 || $bbuserinfo[usergroupid]==3 || $bbuserinfo[usergroupid]==11) {
eval("dooutput(\"".gettemplate('contact_error')."\ ");");
} else {
eval("dooutput(\"".gettemplate('contact')."\");");
}
//CloseTable();
include("footer.php");
?>
|