Last change
on this file since 76 was
59,
checked in by fpvanagthoven, 14 years ago
|
Absolutely had to do something about styling. Also some other things.
|
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 | if (isset($_GET['id'])) |
---|
8 | { |
---|
9 | $surveyID = $_GET['id']; |
---|
10 | |
---|
11 | $surveyDBI = new SurveyDatabaseInterface($surveyID); |
---|
12 | $info = $surveyDBI->getSurveyInfo(); |
---|
13 | |
---|
14 | $savedSurvey = Survey::getSurvey($info); |
---|
15 | |
---|
16 | // var_dump($_POST); |
---|
17 | } |
---|
18 | else |
---|
19 | redirect('index.php'); |
---|
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>Survey</title> |
---|
28 | <?php new StyleSheet(); ?> |
---|
29 | <script type="text/javascript" src="js/menu.js"></script> |
---|
30 | </head> |
---|
31 | |
---|
32 | <body> |
---|
33 | <div id="header"> |
---|
34 | <?php new Logo(); ?> |
---|
35 | </div> |
---|
36 | |
---|
37 | <div id="wrapper"> |
---|
38 | <div id="content"> |
---|
39 | <?php new SurveyTool($savedSurvey); ?> |
---|
40 | </div> |
---|
41 | </div> |
---|
42 | </body> |
---|
43 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.