8
$userinfo = $db->query("SELECT firstName from Users WHERE loginName="$username);
9
$self = $userinfo->fetchAll();
10
$firstName = $self [0]['firstName'];
11
$userinfo = $db->query("SELECT surName from Users WHERE loginName="$username);
12
$self = $userinfo->fetchAll();
13
$surName = $self [0]['surName'];
18
ExtremeDating - a Hackathon 2013 project.
19
Copyright (C) 2013 Gustav Hartvigsson <gustav.hartvigsson@gmail.com>
20
Copyright (C) 2013 Daniel Johansson <maila@danieljohansson.nu>
23
This program is free software: you can redistribute it and/or modify
24
it under the terms of the GNU Affero General Public License as
25
published by the Free Software Foundation, either version 3 of the
26
License, or (at your option) any later version.
28
This program is distributed in the hope that it will be useful,
29
but WITHOUT ANY WARRANTY; without even the implied warranty of
30
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31
GNU Affero General Public License for more details.
33
You should have received a copy of the GNU Affero General Public License
34
along with this program. If not, see <http://www.gnu.org/licenses/>.
37
<title>Lunchdating</title>
38
<link rel="stylesheet" type="text/css" href="css/main.css"/>
39
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
43
<div id="profileheader">
45
<img src="img/logo.png"/>
47
<p id="profilename"><?php echo $firstName . " " . $surName;?></p>
50
<img src="img/profilemockup.jpg"/>
51
<p id="smallheader">Personer jag vill träffa:</p>
52
<p id="profilelink">Herp Derp</p>
53
<p id="profilelink">Jane Doe</p>
54
<p id="smallheader">Personer som vill träffa mig:</p>
55
<p id="profilelink">Jane Doe</p>