Location: PHPKode > projects > Content*Builder > modules/community/loginBox.inc.php
<?php

/*
CREATE TABLE cms_community_user (
  userID int(10) unsigned NOT NULL auto_increment,
  name varchar(50) NOT NULL default '',
  fullname varchar(50) NOT NULL default '',
  password varchar(32) NOT NULL default '',
  registerDate datetime NOT NULL default '0000-00-00 00:00:00',
  email varchar(100) NOT NULL default '',
  options bigint(10) unsigned NOT NULL default '0',
  PRIMARY KEY  (userID),
  UNIQUE KEY name (name)
) TYPE=MyISAM;
*/

if ($community_logout) {
	if(session_is_registered("community_name")) {
		session_destroy();
	}
	$community_check = 0;
}

if(!$community_check) {
	$tpl->assign("community_logged_in", "0");
	$tpl->display("login.template");
} else {
	$tpl->assign("community_logged_in", "1");
	$tpl->display("login.template");
}
?>
Return current item: Content*Builder