Changeset 38 for Dev/trunk/index.php
- Timestamp:
- 07/22/11 17:13:04 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Dev/trunk/index.php
r36 r38 1 <?php require 'classes/master.php'; //should be at top of every page ?> 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 10 array_push($surveys, $aSurvey); 11 array_push($surveys, $bSurvey); 12 array_push($surveys, $cSurvey); 13 ?> 2 14 3 15 <!DOCTYPE html> … … 7 19 <title>Facilitator</title> 8 20 <link rel="stylesheet" type="text/css" href="css/style.css" /> 21 <script type="text/javascript" src="js/menu.js"></script> 9 22 </head> 10 23 <body> … … 19 32 <?php 20 33 SurveyButton::newSurveyButton(); 21 SurveyButton::loadSurveyButton( );34 SurveyButton::loadSurveyButton($surveys); 22 35 ?> 23 36 </div>
Note: See TracChangeset
for help on using the changeset viewer.