<?
// description for users table 

$admin_table = 1;

$user_var_size = array ();
$user_bind_var = array ();

$user_var =	array (
	"unixdate",		// timestamp (registration date)
	"userid",		// login
	"password",		// password
	"username",		// Name + firstname
	"name",			// User name
	"firstname",	// First name
	"useraddress",	// email
	"homepage",		// Home Page URL
	"country",		// Country
	"details",		// About me
	"userpriv",		// privilege : user, moderator, admin, root
	"state",			// "P": pending, "1": active, "0": inactive/locked -> see user_states[] in init.inc
	"totallogins",	// number of logins 
	"lastlogin",	// last login (date/time in seconds)
	"mailok",		// Is it ok to mail user?
	"totalposts",	// number of contributions (all forums) 
	"lastpost",		// last post (date/time in seconds)
	"lastforumpost",	// forum where the last post was made
	"signature",	// signature
	"picture",		// Avatar 
	"icq",			// ICQ # 
	"aim",			// AOL Instant Messenger
	"msn",			// MSN
	"yahoo"			// Yahoo IM
);


$user_var_size["unixdate"]="INT";
$user_var_size["userid"]="32";
$user_var_size["password"]="32";
$user_var_size["username"]="64";
$user_var_size["name"]="32";
$user_var_size["firstname"]="32";
$user_var_size["useraddress"]="255";
$user_var_size["homepage"]="255";
$user_var_size["country"]="255";
$user_var_size["details"]="255";
$user_var_size["userpriv"]="10";
$user_var_size["state"]="1";
$user_var_size["totallogins"]="INT";
$user_var_size["lastlogin"]="INT";
$user_var_size["mailok"]="1";
$user_var_size["totalposts"]="INT";
$user_var_size["lastpost"]="INT";
$user_var_size["lastforumpost"]="64";
$user_var_size["signature"]="255";
$user_var_size["picture"]="255";
$user_var_size["icq"]="32";
$user_var_size["aim"]="32";
$user_var_size["msn"]="32";
$user_var_size["yahoo"]="32";

$user_bind_var["userid"]=1;
$user_bind_var["username"]=1;
$user_bind_var["useraddress"]=1;

?>