All in one $stmt line doesn't work, had to break it out
BUG FIX: Removed extra )
Placeholder logged in -> main.php
Includes for loggedIn check and some extra debug to main.php
Added isAdmin checks for USER_ADMIN permission in $_SESSION
Added canCreateUser checks for CREATE_USERS permission in $_SESSION
Removed Debug code and moved to $_SESSION lookups
Implemented loggedIn user lookup
Added logoutSession function to unset and destroy $_SESSION when logging
out
Page that logs the user out and redirects them to the login page
BUG FIX: Needed $mysqli read connection before loggedIn include
TODO Refactoring: Going to keep all ugly $_SESSION direct calls inside
session.php
Added getUserId - returns the logged in User ID
Implemented Skeleton of main user view
Will contain functions relating to interacting with a users inbox
TODO Preview on SMS messages shouldn't have subject and we should cut
only show the lines prefixed by Message up until the footer
Added defaultHelper flag so we can get unassigned contacts for this
inbox (if true)
Added Inbox CSS styles
Added images for inbox icons + gimp file
Helper Class to parse out XpressMS SMS messages and leave you with only
the Message body (or a preview if you run it statically with 2 args)
Helper class that uses jericho to parse out HTML as plain text
Added Jericho lib for HTML to text parsing