fadsf

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
added credit to the cookieng challenge

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
added an index.php page to the pages/ folder in order to hide the folder's contents

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
Merging bytemonster's unit tests
Focus on the first field of each form of the installation process
Link to the login page at the end of the installation
Corrections to the installation state menu on the right
Update index.php

Useragent header starts with browser name and may contain other details like browser platform, operating system. Added regex to see if Useragent "starts" with required browser name.
Update index.php

Added regex to match spaces,semicolon,script-type(type="text/javascript") attributes.
Status of challenge 1 is updated only if the form has been submitted
Izon challenge for hackademic and alterations to db.sql to automatically install the challenge
Installation: entered values are saved in session variables
Installer: admin password saved in session variables
Fixes the errors showing undefined variables

-earlier the variables were being considered even before they were set, now the script first checks if they have been set and thus ensures that false errors are not generated
Comments translation for Izon Challenge
Added the exhibition mode, if the flag is set in the configuration file, then you put any credentials in the login page and the Guest user logs in, it's a fully functional normal user. If the user is not part of any classes you run the script HACKADEMIC_INSTALL/misc_scripts/add_Guest_to_every_class.php to add the Guest to every class

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
Adds a die(); function after every header call

-Earlier the header function was not being stopped or exiting from execution, so the script will be executed till the end, and can cause some unexpected behavior. Therefore, now using a die() after every header() of “Location” to close the connection
fixed the db a little

Signed-off-by: Spyros Gasteratos <morfeas3000@gmail.com>
Installer now uses MySQLi
Correct check if database exists (and option to clean it before installation)