Index.php
Defines constant _VALID_MOS to '1', same as index.php in the main site.
Also checks to see if configuration.php is in the root. If not, it includes the installation index and exits the program.
Requires configuration.php from the root.
Requires classes/mambo.php from the root as well.
Declares a database object called $database and an access control list labeled $acl.
If the form variable 'submit' is set, attempt to log the user in with the given username and password. Also, check to make sure that the appropriate access level has been defined. If everything is ok, start a session, record the information and end it, then send the user to index2.php. Else, output an "Incorrect username and password" message and quit the script.
Else, output a page where the administrator can log in.