Typo fix - fshockopen to fsockopen
Engine -> Installer cleanup
Added tab spacing to code to make it easier to read
Fixed Install::ln() to actually use relevant line break endings depending on Operating System
Changed Directory/File chmod & function_exists checking to be easy to add more if required
Reduced number of lines used to do Step 3
Removed majority of the javascript from the php file and placed it into Engine -> JS -> Install.js
Redone Step 5 to make it load faster
 - No longer queries the sql server 3 times to get database names, now all stored in $database
 - Cleaned up REALM DB DETECTION and now using javascript to generate all input fields
Step 6, no longer does all the sql queries all in one and will be using a jquery.get call to do an async setup
	to keep user updated as the install process is done (NOT COMPLETE YET)
ToDo:
* Finish Step 6
* Readd Step 7 & 8
* Cleanup html & overview section
* Document functions
Removed some more unneeded spacing
Completed Engine -> Installer -> Install.php Step 6
Added some additional functions to Engine -> JS -> Install.js
Added 6 more languages to Engine -> Lang -> English -> Installer.php
Added Creation of Tables and wwc2_config initial values for Install Step 6

ToDo
 * Add the 6 languages to the other language files
 * Add Step 7 & 8 to Engine -> Installer -> Install.php
 * Complete Step 6 subsections in Engine -> Installer -> Dynamic -> db_install.php
Finished Engine -> Installer -> Step 6
 - May need a few cleanup and more error reporting

Fixed a missing function call & added checkadmin() to Engine -> JS -> Install.js
Added Engine -> Installer -> Step 7

ToDo
* Debug Step 7
* Readd Step 8
* Code Cleanup
Finished changes to Engine -> Installer
Fixed news comment adding due to `datepost` field not having a default value.
Fixed Posted xx minutes ago, it now correctly shows the right amount of minutes/seconds.
Fixed notice warnings of some unset variables
Fixed issue where $realm_data is empty in Engine -> Func -> Required
Fixed Power.css file location within power.js
Fixed some file location for images in power.css

ToDo
 * Debug the installer changes
 * Add languages where needed to language file
Updated to Version 1.1.6
Reapplied changes to news_comments.php & power.css
Fixed notice errors within admincp/iframe_update.php
Minor Changes, full list below *v1.1.7*

Fixed notice error in iframe_update.php when installing a module
Changed href="#" to be href="javascript:void();" this will prevent the page from scrolling back to the top
Added mysql_querys to start_transaction, end_transaction
 - Also added cancel_transaction to cause a ROLLBACK
Fixed an issue in Engine -> Func -> Required where the default plugins (Account Details, Server Status, Vote) were not showing
Fixed Engine -> Installer sql query for news post so that it has line spacing in it.
Slight javascript changes, fixes a few issues where document.getElementById function doesn't exist (some wierd browsers out there!)
Minor Cleanup/Rearrange of Engine -> News

Manually changed Version to 1.1.7

ToDo
 - Remove automatic updating
Shoutbox Module

Not 100% sure of how the module system is meant to work at this stage so
I've combined a module (shoutbox.php) with a plugin (body3-1-1-1.php)
The shoutbox module will appear on the right hand side of the page
Visit ?page=shoutbox to install it

ToDo
 * Add link into the shoutbox plugin so that it will tell you if its installed or not
 * Look into making it 100% module rather than half module, half plugin
Shoutbox changes

Seperated the javascript from the php by placing
	all the functions into Engine -> JS -> Shoutbox.js
Removed the need for php callback to update times (now handled via js)
Updated shoutbox self installation to add itself to the module_userpanel exclude list
Now only 2 variables that need adjusting (refresh time & idle time)
Added a message and link if the shoutbox variables haven't been installed yet
Added a background color to new shouts to highlight them as they are added to the shoutbox

Shoutbox.js - removed a spacing
Shoutbox.php - Replaced mysql_insert_id() call with $db->insert_id()
Updated jquery version from 1.4.2 to 1.7.1
Added jquery UI version 1.8
Added languages introduced in
* SHA: 545047064c8b751b16c0c2a735212ab4854596f1
Static Classes - Html & Form

Converted Html class and Form class to be static with static functions and variables.

This change now allows the developer to use Html::FuncName(); Form::$VariableName,
rather than having to global $html, $form; $html->FuncName(); $form->VariableName;
Removed .zip backup
New library directory and loader class library, now allowing for different database servers

Current functions
 ~ _htmlspecialchars($string)

 ~ supported_databases($dbtype = false)
	if $dbtype then checks its a database type in library::$supportdbs
	else returns library::$supportdbs
 ~ create_dblink(&$dblink, $type)
	Sets $dblink to a class depending on $type
	example: library::create_dblink($con, "mysql");

Added an abstract class Database, to help with database type extensions
Added mysql database support to the library and updated all of openwowcms to use it

Added Cache .php files to gitignore list to prevent commiting of cached files
Spacing to arcemu, mangos, trinity files
Removed engine/db folder, as we are now using the library one
Fixed a notice error in $realm_names (modules/profile.php)
Library -> module_base class

(note: may revert in the future, this is just a test to see if it makes things easier or not)

This new class is a base class for modules which:
 - makes modules accessible via plugins
 - Allows for install if it has sql queries to execute
 - Allows for ajax callbacks

Take a look at engine/modules/shoutbox.php for a working example

At this stage it doesn't really offer much so not worth using till its complete

*Other changes*
 Removed unused files, note.php, techtest.php, dutch/.svn files
 Fixed a typo in languages "you\'ve already registered" should be "you've already registered"
 Added a $isplugin = true; to the loading of plugins, this is for the module class to know if it should return $module->plugin()

ToDo
 * Update the other modules to use the new class structure (done shoutbox & profile so far)
Added Html::recache_cachefile function
Added module_base::$showInUserpanel variable, if set to false it will add the class name to the 'module_userpanel' ignore list
When a module is installed using the module_base class it will now recache the config file
Fixed some php errors (only visible when website is uploaded to a host)
Fixed path roots on some includes
Added index.php to some of the forms, this fixes issues where index.php isn't considered a default document
Thanks to sharkbit for pointing out that the location of uppercase saving of the password
and the effects it can have if done like this

fixes #2
Readded checkTable for realm database detection
Added default ports for RA & Soap

fixes #1
Added an ajaxkey security class

This class is used to set a $_SESSION['ajaxkey'] variable, which can make ajax callbacks expire after a set time

Small Example:
// Set this on first page load
ajaxkey::createkey(uniqueid, expiretimeinsecs, actionname);
// Have this in ajax php callback
$validSession = ajaxkey::verifykey(uniqueid, expiretimeinsecs, actionname);
if ($validSession == false) die('Session expired');

Added additional check to make sure that its a valid AjaxRequest by also checking HTTP_REFERER