source: Dev/branches/rest-dojo-ui/Cartis/questioncreation.php @ 312

Last change on this file since 312 was 312, checked in by jkraaijeveld, 13 years ago
File size: 980 bytes
Line 
1<?php
2require 'classes/master.php';
3$questionDBI = new QuestionCreationDatabaseInterface();
4/* If a question is saved */
5if(isset($_POST['questionCode']))
6{
7    echo $questionDBI->setQuestionInfo($_POST); // save to DB
8}
9
10$questions = Loader::loadFullQuestions();
11?>
12<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
13    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
14
15<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
16    <head>
17        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
18            <title>Question Database</title>
19            <?php new StyleSheet(); ?>
20    </head>
21    <body>
22        <div id="header">
23            <?php new Logo(); ?>
24        </div>
25        <div id="wrapper">
26
27            <div id="content">
28                <?php var_dump($_POST);      ?>
29                <?php
30                    new QuestionCreationTool($questions);
31                ?>
32            </div>
33        </div>
34    </body>
35</html>
Note: See TracBrowser for help on using the repository browser.