source: Dev/trunk/index.php @ 38

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
Line 
1<?php require 'classes/master.php'; //should be at top of every page   
2
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
10array_push($surveys, $aSurvey);
11array_push($surveys, $bSurvey);
12array_push($surveys, $cSurvey);
13?>
14
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" />
21        <script type="text/javascript" src="js/menu.js"></script>
22    </head>
23    <body>
24        <div id="header">
25                <div id="logo">CPSFacilitator Tool </div>
26            </div>
27       
28        <div id="wrapper">
29           
30            <div id="content">
31                <div id="menu">               
32                    <?php
33                    SurveyButton::newSurveyButton();
34                    SurveyButton::loadSurveyButton($surveys);
35                    ?>
36                </div>
37            </div>
38        </div>
39    </body>
40</html>
Note: See TracBrowser for help on using the repository browser.