8fd5a490042141ef0787d24d40b7ad4261c103c1
[atutor.git] / docs / install / include / header.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2010                                              */
6 /* http://atutor.ca                                                     */
7 /* This program is free software. You can redistribute it and/or        */
8 /* modify it under the terms of the GNU General Public License          */
9 /* as published by the Free Software Foundation.                        */
10 /************************************************************************/
11 if (!defined('AT_INCLUDE_PATH')) { exit; }
12 error_reporting(E_ALL ^ E_NOTICE);
13
14 if ($step < 4) {
15         error_reporting(0);
16         include('../include/config.inc.php');
17         error_reporting(E_ALL ^ E_NOTICE);
18         if (defined('AT_INSTALL')) {
19                 include_once(AT_INCLUDE_PATH.'common.inc.php');
20                 echo print_meta_redirect();
21                 exit;
22         }
23 }
24
25 $install_steps[0] = array('name' => 'Introduction');
26 $install_steps[1] = array('name' => 'Terms of Use');
27 $install_steps[2] = array('name' => 'Database');
28 $install_steps[3] = array('name' => 'Accounts &amp; Preferences');
29 $install_steps[4] = array('name' => 'Content Directory');
30 $install_steps[5] = array('name' => 'Save Configuration');
31 $install_steps[6] = array('name' => 'Anonymous Usage Collection');
32 $install_steps[7] = array('name' => 'Done!');
33
34 ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
35 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="utf-8"> 
36 <head>
37         <title>ATutor Installation</title>
38         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
39         <link rel="stylesheet" href="stylesheet.css" type="text/css" />
40 </head>
41 <body>
42 <div style="height: 70px; vertical-align: bottom; background-color: #354A81">
43         <h1 id="header">ATutor <?php echo $new_version; ?> Installation</h1>
44         <img src="../images/AT_Logo_1_sm.png" height="35" width="97" alt="ATutor Logo" id="logo" />
45 </div>
46 <div class="content">