source: Dev/trunk/sessioncreation.php @ 201

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

End of day commit

File size: 1000 bytes
RevLine 
[56]1<?php
2require 'classes/master.php';
[58]3
4if (is_null($_SESSION['username']))
5    redirect('index.php');
[69]6
[85]7/* LOAD SURVEY */
8if (isset($_POST['UID'])) {
9    $sessionID = $_POST['UID'];
10    $sessionDBI = new SessionCreationDatabaseInterface($sessionID);
[96]11    $info = $sessionDBI->getSessionInfo();
[85]12}
13
[69]14$session = Session::getSession($_POST);
[56]15?>
[69]16
17
18
[56]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>
[96]24        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
[56]25            <title>Session Creation</title>
[61]26            <?php new StyleSheet(); ?>
[56]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
[69]36                    new SessionCreationTool($session);
[56]37                ?>
38            </div>
39        </div>
40    </body>
41</html>
Note: See TracBrowser for help on using the repository browser.