Last change
on this file since 38 was
38,
checked in by fpvanagthoven, 14 years ago
|
Surveys can be loaded with UID.
|
File size:
1.2 KB
|
Rev | Line | |
---|
[38] | 1 | <?php require 'classes/master.php'; //should be at top of every page |
---|
[10] | 2 | |
---|
[38] | 3 | /* make an array of survey mock objects */ |
---|
| 4 | $surveys = array(); |
---|
| 5 | |
---|
| 6 | $aSurvey = new Survey('71a5c2ee19f172c6f0fe22ec1bfa2083', 'TestGameTest Survey Title'); |
---|
| 7 | $bSurvey = new Survey('0e999e625e6c45867e2c64b5228c684d', 'Ultimate Survey'); |
---|
| 8 | $cSurvey = new Survey('dceea2af20c3ce6a7175dd0e96e0f2cb', 'Super Survey'); |
---|
| 9 | |
---|
| 10 | array_push($surveys, $aSurvey); |
---|
| 11 | array_push($surveys, $bSurvey); |
---|
| 12 | array_push($surveys, $cSurvey); |
---|
| 13 | ?> |
---|
| 14 | |
---|
[10] | 15 | <!DOCTYPE html> |
---|
| 16 | <html> |
---|
| 17 | <head> |
---|
| 18 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
---|
| 19 | <title>Facilitator</title> |
---|
| 20 | <link rel="stylesheet" type="text/css" href="css/style.css" /> |
---|
[38] | 21 | <script type="text/javascript" src="js/menu.js"></script> |
---|
[10] | 22 | </head> |
---|
| 23 | <body> |
---|
| 24 | <div id="header"> |
---|
| 25 | <div id="logo">CPSFacilitator Tool </div> |
---|
| 26 | </div> |
---|
[11] | 27 | |
---|
[10] | 28 | <div id="wrapper"> |
---|
| 29 | |
---|
| 30 | <div id="content"> |
---|
| 31 | <div id="menu"> |
---|
[36] | 32 | <?php |
---|
| 33 | SurveyButton::newSurveyButton(); |
---|
[38] | 34 | SurveyButton::loadSurveyButton($surveys); |
---|
[36] | 35 | ?> |
---|
[10] | 36 | </div> |
---|
| 37 | </div> |
---|
| 38 | </div> |
---|
| 39 | </body> |
---|
| 40 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.