<?PHP
/*
 *	$Id: userforum_fields.php,v 1.4 2005/03/10 14:02:57 mdruilhe Exp $
 *	Description for user-forum table
 */

$admin_table = 1;

unset ($bn_var);
unset ($bn_var_size);

$bn_var = array (
	"unixdate",		// timestamp (registration date)
	"userid",		// user login
	"bn_name",		// forum_name
	"listpriv",		// list right access
	"readpriv",		// read right access
	"writepriv",	// write right access
	"modpriv",		// moderator of this forum (1=yes, admin is moderator of the site)
	"totalread",	// number of hits in this forum
	"totalpost",	// number of posts in this forum
	"lastpost",		// last post date/time
	"state"			// "P": pending, "1": active, "0": inactive/locked -> see user_states[] in init.inc
);

$bn_var_size["unixdate"]="INT";
$bn_var_size["userid"]="32";
$bn_var_size["bn_name"]="64";
$bn_var_size["listpriv"]="INT";
$bn_var_size["readpriv"]="INT";
$bn_var_size["writepriv"]="INT";
$bn_var_size["modpriv"]="INT";
$bn_var_size["totalread"]="INT";
$bn_var_size["totalpost"]="INT";
$bn_var_size["lastpost"]="INT";
$bn_var_size["state"]="1";

?>