13 GS changes. 3 functionality feature.

-9-10:
TODO completed.

13:
Added appCore interface. Still needs a lot more work, 0.7-imgbb here we come!

34-35, 65:
Added class upload to the property list for easier access to *its* properties.

46-51:
Storing the option for skipping (most) parsing declarations as a property, I'm really unsure about it.

63, 74, 85, 97, 105, 129, 158, -265, 371, 379, 540-541, 573, 584:
Storing board info as a property now instead of storing it in the database results bank.

102-103:
Making the postbox toggleable. Ugh.

286-325, 674-716:
Moved viewSingleThread() from its own function back to init().

384-394:
Added a query for fetching parent data in case the thread is locked.

397:
Forgetfulness.

412, 417:
Spaces.

428-439:
Added onpost locking functionality.

441-446:
Added raw HTML functionality.

463-467:
Added a new check for locking.

481-488:
Removed the godhorrible local variables.

493:
No list(), just initialize the upload instance with our data, and have all those pesky variables as your public properties.

497, 553-559:
Changed to accommodate class upload's update.

500-510:
Changes to accomodate Raw HTML.

527, 549:
Added email field. Why wasn't it there?
4 GS changes. 1 functionality feature. 1 bugfix.

160:
Naming.

216, 220, 222, 224, 226, 232, 234, 236:
Changed most to direct to the boards application.

260:
Wording.

262-264:
Added locked indicator.

273, 312:
Compressed and given 'structure' rights.

281-282:
This left a [] in OPs.

293:
Note.
1 functionality feature.

7:
Added favicon because at this point I feel like I have OCD from the lack of an icon. Sadly, this did not fix the issue. Not included as a real GC.

21:
Made postbox optional. Ugh.
4:
Tried to use icon. Despair settled b/c failure.
2 GC changes.

15:
Commented-out a comment........

18:
Made this into an interface.

20-21:

Updated to modern.
Upload class. Will need major rewrite at some point.
2:
Disclaimer.

13:
Added appCore.
9 GS changes. 1 bugfix

53:
Added a locked property for posting.

55:
Added an id property for posting.

88-110:
Repairing, some debugging.

188:
Reverted earlier change.

304-307:
Added if block to reduce PHP notices.

310-313:
Added if block to reduce PHP notices.

352:
Accessing directly @ DB instead of going through the post object.

428:
clarified comment

465:
Corrected property name.

548-550:
Fetching ID in a different section now, but this creates an, albeit tiny, race effect. I'll have to fix it. TODO IMGBB

552-554:
Storing latest_preview in local variable because bind_param was complaining. tmp

555-576:
Changed to use db prepare statement. Planned to do this in IMGBB, but eh.

631-641:
Doubt this is actually necessary, but just toying with the algorithm right now. Other than the try/catch blocks, changed it to use the provided query object.
2 GS changes. 1 bugfix.

5:
Changed to use base url.

250, 327:
Changed to use tal:content, gave it the original filename instead of the server filename.

251, 328:
Removed original filename from list of filedata, it's now appearing over at the actual link.
17 GS changes.

179:
Fixed comment.

185:
Since I stopped checking whether run() is true, it's pointless to return FALSE. Added a hard exit() instead, should be later patched up.

192:
Made it automatically init(). Seems fairly pointless though, might as well just use a constructor.

216, 220:
Postponed to 0.7-imgbb

398-399:
note to self

411-415:
Ugh.

421-422, 553-554, 682, 691-692, 701-702, 711-712, 721, 733, 757, 772-774, 786-788, 1165, 1237-1239, 1369-1372, 1389-1400, 1474-1478:
Cleanup, updating comments.

474, 480, 489:
Using property instead of local variable now.

476, 762:
Renamed from 'Working' to 'Master'.

522-528:
Hotfix

509:
Unused variable from versions past; commented out.

841:
Done, no longer on TODO.

936-939, 992-1013:
Commented out $id and relevant algorithm. I see no use for it right now.

969-970:
Commented out debugging.

981-986:
Loading user group data manually since bootAnon/bootRegistered have been merged.

860, 988, 1016-1061:
Merged to boot();

1057-1060, 1120-1123:
 Thus, added a bootstaff() option for loading staff stuff. Doubt this will stay until the end, but mostly throwing things in the air and punching holes and reworking them to patch things up.

 1213-1221:
 Added $qobject and $query_error for accessing mysqli_result/mysqli_stmt and their error messages, respectively.

 1248-1261:
 Added abstract prepare($query) function to replace the build query function.

 1299, 1315, 1320, 1325, 1362, 1380, 1410, 1432:
 Updated to use MYSQLI constants and from the deprecated MYSQL constants.

 1332, 1334, 1593:
 Changed to use $qobject.

 1342:
 Changed to use $query_error.

 1531-1561:
 Added prepare to the extended class.

 1572-1584:
 Updated mysql_db execute logic to be a bit smarter.
3 GS changes.

20:
Commented-out $post_index, not used anymore, about half of these aren't used actually.

22:
Moved to be with the rest of the public properties.

37, 94-98, 145-149:
Cleanup: updated comments.

158-171:
Added file_original() for front-end. Fetches original filename and formats it, adding a &hellip; and substr if necessary.

186-224:
Commented-out deprecated functions.
1 GS change. 1 functionality feature. 1 bugfix

16-18, 63-69:
Cleanup; updated comments.

33-45:
Added escapeQuotes function mostly for interfaces that allow a user to interact with database rows.

72:
Fixed, there was a random dot in <a> elements.

85-95:
Made them all nice and aligned.
7 GS changes.

20:
Added $file_size.

21, 33:
Added $file_size_raw

27-32, 54-60:
Aligned.

-31-33, -132:
No need for them anymore because we use stmt->prepare now.

55:
Fill the property $file_size_raw with the filesize of the uploaded file in bytes.

56:
Fill the property $file_size with the formatted data in file_size_raw.

134:
Removed surrounding quotation marks because we now use stmt->prepare

187-207:
Added a function for formatting bytes, thanks php.net for not making me reinvent the wheel
1 GS change.

60:
Commented-out because this seems like a remnant of the algorithm for the menubar.
2 GS changes. 1 bugfix

25, 42, 87:
Added condition so that there won't be an empty <class />

32:
Cleanup; using tal:content now and added structure rights.

38:
Using exists instead of true, my bad.
21-23:
Cleanup; updated comments.
46-52:
Cleanup; updated comments.
Merge remote-tracking branch 'origin/master'