Last change
on this file since 95 was
91,
checked in by basvannuland, 14 years ago
|
start with dashboard database
|
File size:
1.0 KB
|
Line | |
---|
1 | <?php |
---|
2 | require 'classes/master.php'; |
---|
3 | |
---|
4 | if (is_null($_SESSION['username'])) |
---|
5 | redirect('index.php'); |
---|
6 | |
---|
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 | |
---|
16 | $session = Session::getSession($_POST); |
---|
17 | ?> |
---|
18 | |
---|
19 | |
---|
20 | |
---|
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> |
---|
28 | <?php new StyleSheet(); ?> |
---|
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 |
---|
38 | new SessionCreationTool($session); |
---|
39 | ?> |
---|
40 | </div> |
---|
41 | </div> |
---|
42 | </body> |
---|
43 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.