Changelog
2015-07-01
Added basic API framework.
Made the maximum amount of month you get buy premium for changable.
Moved expire variable for the complete page out of the url and take the data straight from the database.
Redid the supporter page.
Added automatic rank management for premium.
Fixed a multitude of fuckups.
2015-06-30
Added automatic premium after payment.
Added Payments class.
2015-06-29
Changed SAKURA_VTYPE to a SAKURA_STABLE boolean that can be used for only showing things on stable or development builds.
Added topic and post counters to the frontpage.
2015-06-28
Changed Edit icon on profiles.
Added basic topic viewing support.
Fixed bug in the friends system where getFriends() only returns one friend.
Fixed all (found) bugs related to the previously listed change.
Removed getUserProfileData() which decodes the json in the userData column and do it in the getUser() function.
2015-06-27
Added basic topic list support.
Added support for infinite subforums.
Made some of the functions in the Configuration class more readable.
Fixed an error in the password reset process.
Changed the die() in the version checker to a trigger_error().
Put the Forum Listing and Front Page in the same PHP file as they both request nearly identical info (only difference is probably news post/forum posts).
2015-06-21
Added a bbcode parser.
Changed the options next to the avatar on the index panel.
2015-06-20
Removed remaining code for the old profile API.
Fixed settings page being usable when logged out.
Changed & to & in some URLs.
Added friends system.
2015-06-19
Added notification history section contents to settings panel.
2015-06-04
Added /header to profile for spooky things.
Redid some of the users table structure.