checkDB()) die("Already installed."); if(isset($_POST) && array_key_exists("install",$_POST)) { $users->initializeDB(); $Projects->initializeDB(); $Bugs->initializeDB(); $Comments->initializeDB(); header("location: login.php?err=".urlencode("Installation is successful.")); } echo $xhtml->head('Installation','admin'); echo '
'; if(isset($errorMessage) && (count($errorMessage) > 0)) echo '

'.xHTML::Protect($errorMessage[0]).'

'; echo '
Installation

We\'re going to create the database needed by Bug Manager for you.

An admin user account will be created with "admin" as login and "abcd" as password, change the password as soon as you will be connected.

'; echo $xhtml->foot(TRUE); ?>