database = new Database(SQL_HOST, SQL_USER, SQL_PASS, SQL_DB, $this); $this->configuration = new Configuration($this); $this->encryption = new Encryption($this); $this->authentication = new Authenticate($this); } // Page redirect function redirect($url) { header("Location: $url"); } // Error function error($title, $msg) { print(""); print(""); print(""); print("
$title
"); print($msg); print("
"); if($_SESSION['admin'] == 1) require_once("admins/footer.php"); else require_once("clients/footer.php"); die(); } } ?>