Last change
on this file since 90 was
85,
checked in by basvannuland, 14 years ago
|
Base for all databases done. not tested. Need frontend to properly test.
|
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 | var_dump($_POST); |
---|
8 | |
---|
9 | /* LOAD SURVEY */ |
---|
10 | if (isset($_POST['UID'])) { |
---|
11 | $sessionID = $_POST['UID']; |
---|
12 | $sessionDBI = new SessionCreationDatabaseInterface($sessionID); |
---|
13 | $info = $sessionDBI->getSurveyInfo(); |
---|
14 | |
---|
15 | $savedSurvey = Survey::getSurvey($info); |
---|
16 | } |
---|
17 | |
---|
18 | $session = Session::getSession($_POST); |
---|
19 | ?> |
---|
20 | |
---|
21 | |
---|
22 | |
---|
23 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
---|
24 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
---|
25 | |
---|
26 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
---|
27 | <head> |
---|
28 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
29 | <title>Session Creation</title> |
---|
30 | <?php new StyleSheet(); ?> |
---|
31 | </head> |
---|
32 | <body> |
---|
33 | <div id="header"> |
---|
34 | <?php new Logo(); ?> |
---|
35 | </div> |
---|
36 | <div id="wrapper"> |
---|
37 | |
---|
38 | <div id="content"> |
---|
39 | <?php |
---|
40 | new SessionCreationTool($session); |
---|
41 | ?> |
---|
42 | </div> |
---|
43 | </div> |
---|
44 | </body> |
---|
45 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.