I'm looking for feedback on a fairly substantial bit of code today. It's called UserCake, and it's meant as a simple frame work for sites requiring user management and limited access pages. I didn't start it, but it's been around for a while, and I've taken over running the project. We've just got it to the point where we're Beta Testing 2.0 -- and that's what I'm asking you all to look at.
If you don't have time to look through the entire code base, I'm particularly interested in feedback on the functions file. models/funcs.php