/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to index.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-13 12:48:33 UTC
  • mfrom: (9.1.2 extremedating)
  • Revision ID: gustav.hartvigsson@gmail.com-20130413124833-hicxuqfdhae3bdv6
Merged stuff

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html>
 
2
 
 
3
<?PHP
 
4
        include 'php/db.php';
 
5
        $firstname = $db->exec("SELECT firstName from Users");
 
6
        $surname = $db->exec("SELECT surName from Users");
 
7
?>
 
8
 
 
9
<html>
 
10
<!--
 
11
    ExtremeDating - a Hackathon 2013 project.
 
12
    Copyright (C) 2013 Gustav Hartvigsson <gustav.hartvigsson@gmail.com>
 
13
    Copyright (C) 2013 Daniel Johansson <maila@danieljohansson.nu>
 
14
 
 
15
 
 
16
    This program is free software: you can redistribute it and/or modify
 
17
    it under the terms of the GNU Affero General Public License as
 
18
    published by the Free Software Foundation, either version 3 of the
 
19
    License, or (at your option) any later version.
 
20
 
 
21
    This program is distributed in the hope that it will be useful,
 
22
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
23
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
24
    GNU Affero General Public License for more details.
 
25
 
 
26
    You should have received a copy of the GNU Affero General Public License
 
27
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
28
-->
 
29
        <header>
 
30
                <title>Lunchdating</title>
 
31
                <link rel="stylesheet" type="text/css" href="css/main.css"/>
 
32
                <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
 
33
        </header>
 
34
        <body id="wrapper">
 
35
                <div id="profile">
 
36
                        <div id="profileheader">
 
37
                                <p id="profilename"><?php echo $firstname . " " . $surname ?></p>
 
38
                        </div>
 
39
                        <div id="profileimg">
 
40
                                <img src="img/profilemockup.jpg"/>
 
41
                                <p id="smallheader">Personer jag vill träffa:</p>
 
42
                                <p id="profilelink">Herp Derp</p>
 
43
                                <p id="profilelink">Jane Doe</p>
 
44
                                <p id="smallheader">Personer som vill träffa mig:</p>
 
45
                                <p id="profilelink">Jane Doe</p>
 
46
                        </div>
 
47
                        <div id="wallflow">
 
48
                        </div>
 
49
                </div>
 
50
        </body>
 
51
</html>