source: Dev/trunk/applicationcreation.php @ 76

Last change on this file since 76 was 75, checked in by fpvanagthoven, 14 years ago

Application should now just be RDF-saved. Beginning on DashboardTool?.php.

File size: 1.0 KB
RevLine 
[56]1<?php
2require 'classes/master.php';
[58]3
4if (is_null($_SESSION['username']))
5    redirect('index.php');
[75]6
7$application = null;
8
9/* TODO: Bas! Dit aanpassen zodat application wordt opgeslagen. */
10if(!empty($_POST))
11{
12        $title = $_POST['applicationTitle'];
13        $description = $_POST['applicationDescription'];
14        $application = new Application($title, $description);
15        var_dump($application);
16}
17
[56]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>Application Creation</title>
[66]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
[75]36                    new ApplicationCreationTool($application);
[56]37                ?>
38            </div>
39        </div>
40    </body>
41</html>
Note: See TracBrowser for help on using the repository browser.