cBrooks Core
These files have been incorporated from a user control panel that was written a while ago on another project of mine, and have been bootstrapped into this project as a means of boosting the security / efficiency of the user authentication, database access, and mailer functions. While these all may not stay such as they are, and may in fact be streamlined later on, or altogether replaced, they certainly suffice for the time being.
cb_auth_utils.inc.php
Currently loaded by the main, 'index.php' page (which is where all the action starts with the gbm,) this file takes care of pretty much all of the authentication for the site. Simply executing this file through an include will process the authentication.
Ref CbAuthUtils
cb_database_utils.inc.php
Going strictly by the title of this file, I am sure you can derive the content. This file deals entirely with connecting to and performing transactions on the database.
Ref CbDatabaseUtils
cb_mail_utils.inc.php
Houses functions used primarily for sending out email from the gbm; be that to existing members of the site, or to prospective ones.
Ref CbMailUtils
cb_User.class.php
This is the User Information Architecture, and the use of this is the primary method of accessing information on site members that is stored in the database. Using the getUser function found in CbAuthUtils, you can retrieve an object populated with all the user data for a given site member; that information is stored on an instance of the CbrooksUserClass object.
Ref CbrooksUserClass
cb_user_stat.cron.php
This is simply a small script written to be run as a cron job in the background. It's primary function is to time out users that have left the site without logging out.
