/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
1
<!DOCTYPE html>
9.1.1 by Daniel Johansson
moved login.php, started using db in index.php
2
3
<?PHP
4
	include 'php/db.php';
15 by Daniel Johansson
Fixed stuffz
5
	$userinfo = $db->query("SELECT firstName from Users WHERE loginName="$username);
13 by Daniel Johansson
fixed Query of names on firstpage
6
	$self = $userinfo->fetchAll();
7
	$firstName = $self [0]['firstName'];
15 by Daniel Johansson
Fixed stuffz
8
	$userinfo = $db->query("SELECT surName from Users WHERE loginName="$username);
13 by Daniel Johansson
fixed Query of names on firstpage
9
	$self = $userinfo->fetchAll();
10
	$surName = $self [0]['surName'];
9.1.1 by Daniel Johansson
moved login.php, started using db in index.php
11
?>
12
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
13
<html>
5 by Gustav Hatvigsson
added licingsing information to the CSS and index.php
14
<!--
15
    ExtremeDating - a Hackathon 2013 project.
16
    Copyright (C) 2013 Gustav Hartvigsson <gustav.hartvigsson@gmail.com>
17
    Copyright (C) 2013 Daniel Johansson <maila@danieljohansson.nu>
18
19
20
    This program is free software: you can redistribute it and/or modify
21
    it under the terms of the GNU Affero General Public License as
22
    published by the Free Software Foundation, either version 3 of the
23
    License, or (at your option) any later version.
24
25
    This program is distributed in the hope that it will be useful,
26
    but WITHOUT ANY WARRANTY; without even the implied warranty of
27
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28
    GNU Affero General Public License for more details.
29
30
    You should have received a copy of the GNU Affero General Public License
31
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
32
-->
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
33
	<header>
34
		<title>Lunchdating</title>
2.1.2 by Daniel Johansson
Fixed first test of profile page
35
		<link rel="stylesheet" type="text/css" href="css/main.css"/>
2.1.5 by Daniel Johansson
Edited html
36
		<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
37
	</header>
38
	<body id="wrapper">
39
		<div id="profile">
2.1.6 by Daniel Johansson
Splitted out profile, started firstpage for flow
40
			<div id="profileheader">
17 by Daniel Johansson
made sweet love to new index.php
41
			<div id="logo">
42
				<img src="img/logo.png"/>
43
			</div>
13 by Daniel Johansson
fixed Query of names on firstpage
44
				<p id="profilename"><?php echo $firstName . " " . $surName;?></p>
2.1.6 by Daniel Johansson
Splitted out profile, started firstpage for flow
45
			</div>
46
			<div id="profileimg">
47
				<img src="img/profilemockup.jpg"/>
48
				<p id="smallheader">Personer jag vill träffa:</p>
49
				<p id="profilelink">Herp Derp</p>
50
				<p id="profilelink">Jane Doe</p>
51
				<p id="smallheader">Personer som vill träffa mig:</p>
52
				<p id="profilelink">Jane Doe</p>
53
			</div>
54
			<div id="wallflow">
55
			</div>
2.1.1 by Daniel Johansson
Added csses, index.php and image folder
56
		</div>
57
	</body>
5 by Gustav Hatvigsson
added licingsing information to the CSS and index.php
58
</html>