This is a direct port of Simple Groupware v. 0.745 with bootstrap integration and correction of the mysql php functions that were decrepit in it