Last change
on this file since 91 was
91,
checked in by basvannuland, 14 years ago
|
start with dashboard database
|
File size:
1.0 KB
|
Rev | Line | |
---|
[56] | 1 | <?php |
---|
| 2 | require 'classes/master.php'; |
---|
[58] | 3 | |
---|
| 4 | if (is_null($_SESSION['username'])) |
---|
| 5 | redirect('index.php'); |
---|
[69] | 6 | |
---|
[85] | 7 | /* LOAD SURVEY */ |
---|
| 8 | if (isset($_POST['UID'])) { |
---|
| 9 | $sessionID = $_POST['UID']; |
---|
| 10 | $sessionDBI = new SessionCreationDatabaseInterface($sessionID); |
---|
| 11 | $info = $sessionDBI->getSurveyInfo(); |
---|
| 12 | |
---|
| 13 | $savedSurvey = Survey::getSurvey($info); |
---|
| 14 | } |
---|
| 15 | |
---|
[69] | 16 | $session = Session::getSession($_POST); |
---|
[56] | 17 | ?> |
---|
[69] | 18 | |
---|
| 19 | |
---|
| 20 | |
---|
[56] | 21 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
| 22 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
| 23 | |
---|
| 24 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
| 25 | <head> |
---|
| 26 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
| 27 | <title>Session Creation</title> |
---|
[61] | 28 | <?php new StyleSheet(); ?> |
---|
[56] | 29 | </head> |
---|
| 30 | <body> |
---|
| 31 | <div id="header"> |
---|
| 32 | <?php new Logo(); ?> |
---|
| 33 | </div> |
---|
| 34 | <div id="wrapper"> |
---|
| 35 | |
---|
| 36 | <div id="content"> |
---|
| 37 | <?php |
---|
[69] | 38 | new SessionCreationTool($session); |
---|
[56] | 39 | ?> |
---|
| 40 | </div> |
---|
| 41 | </div> |
---|
| 42 | </body> |
---|
| 43 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.