Read full log
- Changed showProfile function to return array of users in stead
  - Is now called showUser($uid), fetches columns with fetch(PDO::FETCH_ASSOC), so you get index as columns and index 2 as info on the specific user.
- Added a functions.php that has several functions
  - All the functions here can be used in index.php without object attached
  - getAllPosts()
    - Gets all the posts from every user
  - getApprovedPosts($uid)
    - Gets approved posts from a specific user
  - getDisapprovedPosts($uid)
    - Gets disapproved posts from a specific user
  - getUser($uid)
    - Gets all information about a specific user
- Added showPosts($uid) in user class
  - Can be used to show posts from specific user
- Moved old home.php to landing.php
- home.php now shows all blog posts sorted by date when you are not logged in, and all posts from currently logged in user if logged in
- admin.php added counter for approved and disapproved posts per user
- Added kolloen as creater of user class in about.php
- Added 2 new themes, can be changed in user settings
Merge branch 'master' of https://github.com/Fumler/blog-cms