source: Dev/trunk/sessioncreation.php @ 191

Last change on this file since 191 was 96, checked in by fpvanagthoven, 14 years ago

End of day commit

File size: 1000 bytes
Line 
1<?php
2require 'classes/master.php';
3
4if (is_null($_SESSION['username']))
5    redirect('index.php');
6
7/* LOAD SURVEY */
8if (isset($_POST['UID'])) {
9    $sessionID = $_POST['UID'];
10    $sessionDBI = new SessionCreationDatabaseInterface($sessionID);
11    $info = $sessionDBI->getSessionInfo();
12}
13
14$session = Session::getSession($_POST);
15?>
16
17
18
19<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
20    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
21
22<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
23    <head>
24        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
25            <title>Session Creation</title>
26            <?php new StyleSheet(); ?>
27    </head>
28    <body>
29        <div id="header">
30            <?php new Logo(); ?>
31        </div>
32        <div id="wrapper">
33
34            <div id="content">
35                <?php
36                    new SessionCreationTool($session);
37                ?>
38            </div>
39        </div>
40    </body>
41</html>
Note: See TracBrowser for help on using the repository browser.